/* ============================================================
   Play Slots Real Money — Aurora Mesh Theme
   Atkinson Hyperlegible · #ff0080 / #ff00ff / #26171f
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400;700&display=swap');

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --clr-primary:   #ff0080;
  --clr-secondary: #ff00ff;
  --clr-ink:       #26171f;
  --clr-bg:        #0d0710;
  --clr-surface:   #1a0e19;
  --clr-surface2:  #261323;
  --clr-text:      #f5eefa;
  --clr-muted:     #c9a8cf;
  --clr-border:    rgba(255, 0, 255, 0.18);
  --radius-card:   18px;
  --radius-btn:    8px;
  --max-w:         1160px;
  --col-main:      680px;
  --sidebar-w:     240px;
  --header-h:      96px;
  --font-base:     'Atkinson Hyperlegible', system-ui, sans-serif;
  --transition:    0.22s ease;
}

html {
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  background: var(--clr-bg);
  color: var(--clr-text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- Aurora Mesh Background ---------- */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(255,0,128,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 80% 30%, rgba(255,0,255,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 80%, rgba(38,23,31,0.8) 0%, transparent 70%),
    linear-gradient(160deg, #0d0710 0%, #1a0e19 40%, #0d0710 100%);
  animation: auroraShift 14s ease-in-out infinite alternate;
}

.aurora-bg--subtle {
  opacity: 0.55;
}

@keyframes auroraShift {
  0%   { filter: hue-rotate(0deg) brightness(1); }
  50%  { filter: hue-rotate(18deg) brightness(1.08); }
  100% { filter: hue-rotate(-12deg) brightness(0.96); }
}

@media (prefers-reduced-motion: reduce) {
  .aurora-bg { animation: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 7, 16, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--clr-border);
}

.header-brand {
  display: flex;
  align-items: center;
  padding: 0.5rem 1.5rem;
  border-bottom: 1px solid var(--clr-border);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--clr-text);
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.01em;
}

.logo-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.header-nav-row {
  padding: 0 1.5rem;
}

.primary-nav p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.primary-nav p a {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.75rem;
  color: var(--clr-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  border-radius: var(--radius-btn);
  transition: color var(--transition), background var(--transition);
  min-height: 44px;
  white-space: nowrap;
}

.primary-nav p a:hover,
.primary-nav p a:focus-visible {
  color: var(--clr-text);
  background: rgba(255,0,128,0.12);
}

/* CTA buttons in header */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-btn);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
  cursor: pointer;
}

.cta:hover,
.cta:focus-visible {
  opacity: 0.88;
  transform: translateY(-1px);
}

.cta-signup {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
  color: #fff;
  margin-left: 0.5rem;
}

.cta-login {
  background: transparent;
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
  margin-left: 0.35rem;
}

/* ---------- Layout: Sidebar + Main ---------- */
.layout-with-sidebar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  gap: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  align-items: start;
}

/* Sidebar to the LEFT of content */
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  grid-column: 1;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-card);
  padding: 1.25rem 1rem;
}

.sidebar h2 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-primary);
  margin-bottom: 0.75rem;
}

.sidebar h2 span {
  display: block;
}

.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sidebar-links li a {
  display: block;
  padding: 0.45rem 0.6rem;
  color: var(--clr-muted);
  text-decoration: none;
  font-size: 0.875rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  min-height: 44px;
  line-height: 1.4;
  display: flex;
  align-items: center;
}

.sidebar-links li a:hover,
.sidebar-links li a:focus-visible {
  color: var(--clr-text);
  background: rgba(255,0,128,0.1);
}

.main-content-area {
  grid-column: 2;
  min-width: 0;
}

/* ---------- Hero (Home) ---------- */
.hero-section {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 100vh;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  gap: 3rem;
}

.hero-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  order: 2;
}

.hero-illustration {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  filter: drop-shadow(0 0 32px rgba(255,0,128,0.35));
}

.hero-aside {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-stage-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-secondary);
  border: 1px solid var(--clr-secondary);
  border-radius: 20px;
  padding: 0.2rem 0.75rem;
  width: fit-content;
}

.hero-aside h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--clr-text);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--clr-muted);
  max-width: 520px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius-btn);
  width: fit-content;
  min-height: 44px;
  transition: opacity var(--transition), transform var(--transition);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  opacity: 0.87;
  transform: translateY(-2px);
}

/* ---------- Featured Section (Home child pages) ---------- */
.featured-section {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

.featured-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--clr-text);
}

.featured-section h2 span {
  display: inline;
}

/* ---------- Child list DL (structure lottery: dl > dt > a + dd) ---------- */
.child-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.child-list dt {
  background: var(--clr-surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--clr-border);
  padding: 1.1rem 1.2rem 0.4rem;
  transition: border-color var(--transition);
}

.child-list dt:hover {
  border-color: var(--clr-primary);
}

.child-list dt a {
  color: var(--clr-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  display: block;
}

.child-list dt a:hover,
.child-list dt a:focus-visible {
  color: var(--clr-primary);
}

.child-list dd {
  background: var(--clr-surface);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  border: 1px solid var(--clr-border);
  border-top: none;
  padding: 0.5rem 1.2rem 1rem;
  color: var(--clr-muted);
  font-size: 0.875rem;
  margin: 0;
}

/* ---------- Content Figures ---------- */
.content-figure {
  margin-bottom: 1.5rem;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.content-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.content-figure--empty,
.content-figure--about,
.content-figure--privacy,
.content-figure--data,
.content-figure--faq {
  height: 6px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary), var(--clr-primary));
  background-size: 200% 100%;
  animation: shimmerBar 3s linear infinite;
}

@keyframes shimmerBar {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

@media (prefers-reduced-motion: reduce) {
  .content-figure--empty,
  .content-figure--about,
  .content-figure--privacy,
  .content-figure--data,
  .content-figure--faq {
    animation: none;
  }
}

/* Compare badge */
.content-figure--compare {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  background: linear-gradient(135deg, rgba(255,0,128,0.15), rgba(255,0,255,0.15));
  border: 1px solid var(--clr-border);
}

.compare-badge {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* FAQ icon */
.content-figure--faq {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  background: linear-gradient(135deg, rgba(255,0,128,0.12), rgba(255,0,255,0.12));
  border: 1px solid var(--clr-border);
}

.faq-icon {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- H1 ---------- */
h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--clr-text);
  margin-bottom: 0.6rem;
}

/* ---------- Byline ---------- */
.byline {
  font-size: 0.85rem;
  color: var(--clr-muted);
  margin-bottom: 1rem;
}

.byline time {
  font-style: normal;
}

/* ---------- Stage Badge ---------- */
.stage-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  color: #fff;
}

.stage-awareness    { background: rgba(255,0,128,0.6); }
.stage-consideration { background: rgba(255,0,255,0.5); }
.stage-decision     { background: rgba(160,0,200,0.6); }

/* ---------- Page Content Prose ---------- */
.page-content {
  color: var(--clr-text);
  font-size: 1rem;
  line-height: 1.7;
  max-width: var(--col-main);
}

.page-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--clr-text);
}

.page-content h2 span {
  display: inline;
}

.page-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: var(--clr-text);
}

.page-content h3 span {
  display: inline;
}

.page-content p {
  margin-bottom: 1rem;
}

.page-content ul,
.page-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.page-content li {
  margin-bottom: 0.35rem;
}

.page-content a {
  color: var(--clr-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.page-content a:hover,
.page-content a:focus-visible {
  color: var(--clr-secondary);
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
}

.page-content th,
.page-content td {
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--clr-border);
  text-align: left;
}

.page-content th {
  background: var(--clr-surface2);
  color: var(--clr-secondary);
  font-weight: 700;
}

.page-content td {
  background: var(--clr-surface);
}

.page-content blockquote {
  border-left: 3px solid var(--clr-primary);
  padding: 0.75rem 1rem;
  margin: 1.25rem 0;
  background: var(--clr-surface);
  border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
  color: var(--clr-muted);
}

/* ---------- FAQ Accordion Styling ---------- */
.faq-content details {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-card);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-content summary {
  padding: 1rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--clr-text);
}

.faq-content summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--clr-primary);
  transition: transform var(--transition);
}

.faq-content details[open] summary::after {
  transform: rotate(45deg);
}

.faq-content details > *:not(summary) {
  padding: 0 1.25rem 1rem;
  color: var(--clr-muted);
}

/* ---------- Author Profile (About) ---------- */
.author-profile {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.author-profile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,0,128,0.07), rgba(255,0,255,0.05));
  pointer-events: none;
}

.author-profile h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-primary);
  margin-bottom: 0.5rem;
}

.author-profile h2 span {
  display: inline;
}

.author-name {
  font-size: 1.25rem;
  color: var(--clr-text);
  margin-bottom: 0.3rem;
}

.author-credentials {
  font-size: 0.875rem;
  color: var(--clr-secondary);
  margin-bottom: 0.75rem;
}

.author-bio {
  font-size: 0.95rem;
  color: var(--clr-muted);
  line-height: 1.65;
}

/* ---------- Ranking Hero ---------- */
.ranking-hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  margin-bottom: 1.5rem;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--clr-ink);
  border-top: 1px solid var(--clr-border);
  margin-top: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}

.footer-col h2 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 0.75rem;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-col h2 span {
  display: inline;
}

.footer-col h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-muted);
  margin-bottom: 0.75rem;
}

.footer-col p {
  font-size: 0.875rem;
  color: var(--clr-muted);
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-col ul li a {
  color: var(--clr-muted);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.3rem 0;
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
  transition: color var(--transition);
}

.footer-col ul li a:hover,
.footer-col ul li a:focus-visible {
  color: var(--clr-primary);
}

.footer-contact address {
  font-style: normal;
  color: var(--clr-muted);
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-contact address a {
  color: var(--clr-muted);
  text-decoration: underline;
  transition: color var(--transition);
}

.footer-contact address a:hover {
  color: var(--clr-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--clr-border);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--clr-muted);
}

.rg-notice {
  font-size: 0.78rem;
  color: var(--clr-muted);
  opacity: 0.8;
  max-width: 520px;
  line-height: 1.5;
}

/* ---------- Child pages div (ranking) ---------- */
.child-pages-section {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

.child-pages-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.child-pages-section h2 span {
  display: inline;
}

/* ---------- Holographic card shimmer utility ---------- */
.holo-card {
  position: relative;
  border-radius: var(--radius-card);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  overflow: hidden;
}

.holo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    transparent 30%,
    rgba(255,255,255,0.06) 50%,
    transparent 70%
  );
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 0.3s;
  opacity: 0;
}

.holo-card:hover::after {
  opacity: 1;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb { background: var(--clr-surface2); border-radius: 4px; }

/* ---------- Focus styles ---------- */
:focus-visible {
  outline: 2px solid var(--clr-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --sidebar-w: 100%;
  }

  .layout-with-sidebar {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem;
  }

  .sidebar {
    position: static;
    grid-column: 1;
    order: 2;
  }

  .main-content-area {
    grid-column: 1;
    order: 1;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 2rem;
    gap: 2rem;
  }

  .hero-figure {
    order: 1;
  }

  .hero-aside {
    order: 2;
  }

  .hero-aside h1 {
    font-size: 1.75rem;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 2rem 1rem 1.5rem;
  }

  .primary-nav p {
    gap: 0.05rem;
  }

  .primary-nav p a {
    font-size: 0.8rem;
    padding: 0.55rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .child-list {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 1.5rem;
  }

  .cta-signup,
  .cta-login {
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
  }

  .primary-nav p a {
    font-size: 0.78rem;
    padding: 0.5rem 0.4rem;
  }
}

/* ---------- Print ---------- */
@media print {
  .aurora-bg,
  .site-header,
  .sidebar,
  .cta {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}