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

:root {
  --navy: #0A1628;
  --navy-card: #1E3054;
  --navy-mid: #162440;
  --green: #006847;
  --green-light: #008A5E;
  --gold: #C9A84C;
  --gold-light: #E0BF6E;
  --cream: #F8F5F0;
  --cream-muted: #D8D4CE;
  --text-dim: #8FA3BE;
  --danger: #D64040;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--cream-muted);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

#popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 10, 25, 0.92);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

html.age-verified #popup-overlay {
  display: none;
}

#popup-box {
  background: var(--navy-card);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  padding: 2.5rem 2rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  text-align: center;
}

#popup-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: var(--gold);
  margin-bottom: .5rem;
}

#popup-box .popup-age {
  display: inline-block;
  background: var(--danger);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  padding: .25rem .75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

#popup-box p {
  color: var(--cream-muted);
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

#popup-box .popup-warning {
  background: rgba(214, 64, 64, .12);
  border: 1px solid rgba(214, 64, 64, .3);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  color: #f08080;
  font-size: .82rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

#popup-confirm {
  width: 100%;
  padding: .9rem 1.5rem;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.popup-links {
  margin-top: 1rem;
  font-size: .78rem;
  color: var(--text-dim);
}

.popup-links a {
  color: var(--gold);
  text-decoration: none;
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, .18);
  padding: .85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.nav-logo span {
  color: var(--gold);
}

.nav-badge {
  font-size: .7rem;
  font-weight: 600;
  background: var(--green);
  color: #fff;
  padding: .2rem .5rem;
  border-radius: 4px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: var(--cream-muted);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-18 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--danger);
  color: var(--danger);
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 22, 40, .98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
}

.mobile-menu li {
  margin: 1rem 0;
}

.mobile-menu a {
  color: var(--cream);
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
}

.breadcrumb {
  padding: 1.25rem 0 0;
  font-size: .82rem;
  color: var(--text-dim);
}

.breadcrumb a {
  color: var(--gold);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.platform-hero {
  padding: 2.5rem 0 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.platform-hero-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}

.platform-hero-logo {
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: var(--radius);
  padding: .6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .1);
}

.platform-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.platform-hero-info h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--cream);
  margin-bottom: .35rem;
}

.platform-hero-tag {
  font-size: .85rem;
  color: var(--text-dim);
  margin-bottom: .75rem;
}

.srij-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: rgba(0, 104, 71, .18);
  border: 1px solid rgba(0, 104, 71, .35);
  color: #4CAF8A;
  font-size: .7rem;
  font-weight: 600;
  padding: .25rem .55rem;
  border-radius: 4px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.platform-hero-score {
  text-align: center;
  background: var(--navy-card);
  border: 1px solid rgba(201, 168, 76, .25);
  border-radius: var(--radius);
  padding: 1.25rem 1.75rem;
  min-width: 140px;
}

.score-big {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.score-big span {
  font-size: 1.2rem;
  color: var(--text-dim);
}

.score-label {
  font-size: .75rem;
  color: var(--text-dim);
  margin-top: .35rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.hero-meta-item {
  font-size: .82rem;
  color: var(--text-dim);
}

.hero-meta-item strong {
  display: block;
  color: var(--cream);
  font-size: .9rem;
  margin-bottom: .15rem;
}

.platform-body {
  padding: 3rem 0 4rem;
}

.platform-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

.content-block {
  background: var(--navy-card);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.content-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--cream);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.content-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--gold-light);
  margin: 1.25rem 0 .6rem;
}

.content-block p {
  font-size: .92rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.content-block p:last-child {
  margin-bottom: 0;
}

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

.content-block li {
  font-size: .9rem;
  line-height: 1.65;
  margin-bottom: .45rem;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: .5rem;
}

.pros-box,
.cons-box {
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.pros-box {
  background: rgba(0, 104, 71, .12);
  border: 1px solid rgba(0, 104, 71, .3);
}

.cons-box {
  background: rgba(214, 64, 64, .08);
  border: 1px solid rgba(214, 64, 64, .25);
}

.pros-box h3 {
  color: #4CAF8A;
  margin-top: 0;
}

.cons-box h3 {
  color: #e08080;
  margin-top: 0;
}

.pros-box ul,
.cons-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pros-box li,
.cons-box li {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  font-size: .85rem;
}

.pros-box li::before {
  content: '✓';
  color: #4CAF8A;
  font-weight: 700;
}

.cons-box li::before {
  content: '−';
  color: #e08080;
  font-weight: 700;
}

.rating-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}

.rating-table th,
.rating-table td {
  padding: .65rem .75rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.rating-table th {
  color: var(--text-dim);
  font-weight: 500;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.rating-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, .08);
  border-radius: 3px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--gold));
  border-radius: 3px;
}

.rating-bar-val {
  color: var(--gold);
  font-weight: 600;
  min-width: 2rem;
  text-align: right;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.info-card {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
}

.info-card-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-dim);
  margin-bottom: .35rem;
}

.info-card-value {
  font-size: .9rem;
  color: var(--cream);
  font-weight: 500;
}

.verdict-box {
  background: linear-gradient(145deg, rgba(201, 168, 76, .12), rgba(0, 104, 71, .08));
  border: 1px solid rgba(201, 168, 76, .3);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-top: .5rem;
}

.verdict-box h2 {
  border: none;
  padding: 0;
  margin-bottom: .75rem;
}

.platform-sidebar {
  position: sticky;
  top: 5.5rem;
}

.sidebar-card {
  background: var(--navy-card);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.sidebar-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 1rem;
}

.sidebar-cta {
  display: block;
  width: 100%;
  padding: .85rem;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  font-size: .9rem;
  border-radius: var(--radius-sm);
  margin-bottom: .75rem;
  transition: transform .15s, box-shadow .15s;
}

.sidebar-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 104, 71, .4);
}

.sidebar-back {
  display: block;
  width: 100%;
  padding: .75rem;
  background: transparent;
  border: 1px solid rgba(201, 168, 76, .35);
  color: var(--gold);
  text-decoration: none;
  text-align: center;
  font-size: .85rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background .2s;
}

.sidebar-back:hover {
  background: rgba(201, 168, 76, .1);
}

.sidebar-list {
  list-style: none;
}

.sidebar-list li {
  font-size: .85rem;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  display: flex;
  justify-content: space-between;
  gap: .5rem;
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-list span:last-child {
  color: var(--cream);
  font-weight: 500;
  text-align: right;
}

.sidebar-warning {
  background: rgba(214, 64, 64, .1);
  border: 1px solid rgba(214, 64, 64, .25);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: .78rem;
  color: #f08080;
  line-height: 1.55;
}

.detail-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.detail-faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  text-align: left;
  padding: 1rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.detail-faq-a {
  display: none;
  font-size: .85rem;
  line-height: 1.7;
  padding-bottom: 1rem;
  color: var(--text-dim);
}

.detail-faq-a.open {
  display: block;
}

footer {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 3rem 2rem 1.5rem;
}

.footer-grid {
  max-width: 1140px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  color: var(--cream);
  margin-bottom: .75rem;
}

.footer-brand p {
  font-size: .85rem;
  line-height: 1.65;
  color: var(--text-dim);
}

.footer-col h4 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: .5rem;
}

.footer-col a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: .85rem;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-warning {
  max-width: 1140px;
  margin: 0 auto 1.5rem;
  background: rgba(214, 64, 64, .08);
  border: 1px solid rgba(214, 64, 64, .2);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  font-size: .82rem;
  color: #c07070;
  line-height: 1.65;
}

.footer-warning a {
  color: var(--gold);
}

.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: .78rem;
  color: var(--text-dim);
}

.age-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 2px solid var(--danger);
  color: var(--danger);
  border-radius: 50%;
  font-size: .65rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .platform-layout {
    grid-template-columns: 1fr;
  }

  .platform-sidebar {
    position: static;
  }

  .platform-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .platform-hero-logo {
    margin: 0 auto;
  }

  .platform-hero-score {
    margin: 0 auto;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  nav {
    padding: .85rem 1.25rem;
  }

  .container {
    padding: 0 1.25rem;
  }
}
