/* Aphrodite Casino — design system: dark dashboard + colored promo wedges */
:root {
  --bg: #0b0b10;
  --bg-2: #171a2b;
  --bg-3: #1a1b2d;
  --line: #262646;
  --txt: #ffffff;
  --muted: #a8a6b3;
  --muted-2: #c2c0ce;
  --gold-1: #fdcc06;
  --gold-2: #ffea00;
  --lime-1: #f2f55d;
  --lime-2: #fbff21;
  --ink: #090909;
  --r: 10px;
  --r-sm: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--txt);
  background: var(--bg);
}

img { max-width: 100%; height: auto; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

h1, h2, h3 { line-height: 1.25; text-wrap: balance; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.5rem; margin: 0 0 14px; }
h3 { font-size: 1.15rem; margin: 22px 0 10px; }
.section { padding: 34px 16px 6px; }
p { margin: 0 0 14px; }
.section p, .section li { color: var(--muted-2); }
strong { color: var(--txt); }
.center { text-align: center; margin: 16px 0 10px; }

/* ---------- Buttons (spans, JS-driven) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: var(--r);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
  text-align: center;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-1) 0%, var(--gold-2) 100%);
  color: var(--ink);
}
.btn-gold::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.75) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 70% { left: -80%; } 100% { left: 160%; } }
.btn-gold:hover { background: var(--muted); }
.btn-gold:hover::after { animation: none; }

.btn-ghost {
  background: transparent;
  color: var(--txt);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--bg-2); }

.btn-outline {
  background: transparent;
  color: var(--txt);
  border: 1px solid var(--muted);
}
.btn-outline:hover { background: var(--bg-3); border-color: var(--txt); }

.btn-lime {
  background: linear-gradient(138deg, var(--lime-1) 0%, var(--lime-2) 74.32%);
  color: var(--ink);
}
.btn-lime:hover { background: linear-gradient(318deg, var(--lime-1) 0%, var(--lime-2) 74.32%); }

.btn-xl { min-height: 54px; padding: 14px 38px; font-size: 18px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-gold::after { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 16, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.logo { width: 150px; height: auto; flex: none; }
.main-nav { display: none; flex: 1; }
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  transition: color 0.2s ease-in-out;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--txt); }
.header-actions { display: flex; gap: 10px; }
.header-actions .btn { min-height: 42px; padding: 8px 18px; font-size: 14px; }
.header-actions .btn-ghost { display: none; }

@media (min-width: 760px) {
  .header-actions .btn-ghost { display: inline-flex; }
}
@media (min-width: 1000px) {
  .main-nav { display: flex; gap: 2px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: #101223;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.hero-content {
  position: relative;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero h1 { margin-bottom: 10px; }
.hero-content p { color: var(--muted-2); margin-bottom: 16px; }
.hero-note { font-size: 13px; color: var(--muted) !important; margin: 12px 0 0 !important; }

/* ---------- TOC ---------- */
.toc {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 22px;
  margin-top: 26px;
}
.toc h2 { font-size: 1.1rem; margin-bottom: 10px; }
.toc ol {
  list-style: none;
  counter-reset: toc;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 24px;
}
@media (min-width: 700px) { .toc ol { grid-template-columns: 1fr 1fr; } }
.toc li { counter-increment: toc; }
.toc a {
  color: var(--muted-2);
  text-decoration: none;
  display: flex;
  gap: 10px;
  padding: 5px 6px;
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--gold-1);
  font-weight: 700;
  flex: none;
}
.toc a:hover, .toc a:focus-visible { color: var(--txt); background: var(--bg-3); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 16px 0 18px; border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
caption { text-align: left; color: var(--muted); font-size: 13px; padding: 10px 14px; caption-side: bottom; }
caption.sr-only { padding: 0; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: none; }
thead th { background: var(--bg-3); color: var(--txt); font-size: 14px; }
tbody th { color: var(--txt); font-weight: 700; width: 38%; }
td { color: var(--muted-2); }
tbody tr:nth-child(even) { background: rgba(23, 26, 43, 0.5); }
.row-total td { color: var(--gold-2); font-weight: 700; }

ol.steps { margin: 0 0 16px 20px; }
ol.steps li { padding: 4px 0; }

/* ---------- Promo cards (diagonal wedge) ---------- */
.promo-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding-top: 12px;
  padding-bottom: 12px;
}
@media (min-width: 760px) { .promo-row { grid-template-columns: repeat(3, 1fr); } }
.promo-card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  padding: 24px 22px;
  color: var(--txt);
}
.promo-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 52%;
  clip-path: polygon(0 0, 100% 0, 58% 100%, 0 100%);
  opacity: 0.9;
}
.promo-blue { background: #1f35fa; }
.promo-blue::before { background: linear-gradient(138deg, #1f35fa 0%, #4e17a5 74.32%); filter: brightness(1.35); }
.promo-orange { background: #fa771f; }
.promo-orange::before { background: linear-gradient(138deg, #ff5f1b 0%, #ff422d 74.32%); filter: brightness(1.2); }
.promo-indigo { background: #2b3b67; }
.promo-indigo::before { background: linear-gradient(138deg, #14193e 0%, #030045 74.32%); filter: brightness(1.8); }
.promo-body { position: relative; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.promo-body h3 { margin: 0; }
.promo-body p { margin: 0 0 6px; color: rgba(255, 255, 255, 0.88); font-size: 14px; }
.promo-body .btn { min-height: 42px; padding: 8px 22px; font-size: 15px; }

/* ---------- Bonus banner ---------- */
.bonus-banner {
  position: relative;
  border-radius: var(--r);
  border: 1px solid var(--line);
  overflow: hidden;
  margin: 20px 0;
}
.bonus-banner img { display: block; width: 100%; height: auto; }
.banner-cta {
  position: absolute;
  left: 50%;
  bottom: 7%;
  transform: translateX(-50%);
}
@media (max-width: 600px) {
  .banner-cta { position: static; transform: none; display: flex; margin: 12px auto 16px; max-width: 300px; }
  .bonus-banner { background: var(--bg-2); }
}

/* ---------- CTA strips ---------- */
.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(138deg, #1d2ba5 0%, #3d22c4 74.32%);
  border-radius: var(--r);
  padding: 22px 26px;
  margin: 20px 0;
}
.cta-strip p { margin: 0; font-size: 17px; color: var(--txt); }
.cta-final { background: linear-gradient(138deg, #14193e 0%, #030045 74.32%); border: 1px solid #2b3b67; }

/* ---------- Games grid ---------- */
.games-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0 8px;
}
@media (min-width: 560px) { .games-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 860px) { .games-grid { grid-template-columns: repeat(5, 1fr); } }

.game-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.25s ease-in-out, transform 0.25s ease-in-out;
}
.game-card:hover, .game-card:focus-within { border-color: var(--gold-1); transform: translateY(-3px); }
.game-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.game-name {
  margin: 0;
  padding: 10px 12px 12px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  color: var(--txt) !important;
}
.game-name span {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 12.5px;
}
.game-overlay {
  position: absolute;
  top: 0; left: 0; right: 0;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(9, 9, 9, 0.78);
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
  padding: 10px;
}
.game-card:hover .game-overlay,
.game-card:focus-within .game-overlay { opacity: 1; }
.game-overlay .btn { min-height: 38px; padding: 7px 18px; font-size: 14px; width: 82%; }

@media (hover: none) {
  .game-overlay {
    position: static;
    aspect-ratio: auto;
    opacity: 1;
    background: none;
    flex-direction: row;
    padding: 10px 10px 0;
  }
  .game-overlay .btn { width: auto; flex: 1; }
}

/* ---------- Payments ---------- */
.pay-icons {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 16px 0 20px;
}
.pay-icons li {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  min-height: 52px;
}
.pay-icons img { max-height: 28px; width: auto; }
.pay-chip { color: var(--muted-2); font-weight: 700; font-size: 14px; }

/* ---------- Reviews ---------- */
.reviews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 18px 0;
}
@media (min-width: 760px) { .reviews { grid-template-columns: 1fr 1fr; } }
.review {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-1);
  border-radius: var(--r);
  padding: 18px 20px;
}
.review p { margin: 0 0 10px; font-size: 14.5px; }
.review footer { color: var(--muted); font-size: 12.5px; }
.review cite { font-style: normal; font-weight: 700; color: var(--txt); }

/* ---------- FAQ ---------- */
details {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 10px;
  overflow: hidden;
}
summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  color: var(--gold-1);
  font-size: 1.4rem;
  line-height: 1;
  flex: none;
  transition: transform 0.25s ease-in-out;
}
details[open] summary::after { transform: rotate(45deg); }
summary:hover { color: var(--gold-2); }
summary:focus-visible { outline: 3px solid var(--gold-2); outline-offset: -3px; }
details p { padding: 0 18px 16px; margin: 0; color: var(--muted-2); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 36px 0 30px;
  background: #090909;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.footer-cols h3 { margin: 0 0 10px; font-size: 14px; text-transform: uppercase; color: var(--muted); letter-spacing: 0.04em; }
.footer-cols a {
  display: block;
  color: var(--muted-2);
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.2s ease-in-out;
}
.footer-cols a:hover, .footer-cols a:focus-visible { color: var(--txt); }
.trust-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.trust-badges img { display: block; height: 34px; width: auto; opacity: 0.9; }
.footer-legal { color: var(--muted); font-size: 13px; }
.footer-copy { color: #6d6b7a; font-size: 13px; margin: 0; }
