/* ============================================================
   PlayVista365.com — Main Stylesheet
   Dark navy + gold editorial theme
   ============================================================ */

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

:root {
  --bg-deep:      #0a0e1a;
  --bg-card:      #111827;
  --bg-card-2:    #141e30;
  --border:       #1f2d45;
  --border-light: #2a3f5f;
  --gold:         #f0b429;
  --gold-light:   #fcd34d;
  --gold-dim:     rgba(240,180,41,0.15);
  --red-dim:      rgba(200,30,30,0.18);
  --text-primary: #e2e8f0;
  --text-muted:   #94a3b8;
  --text-dim:     #64748b;
  --white:        #ffffff;
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-pill:  999px;
  --shadow-card:  0 4px 24px rgba(0,0,0,0.5);
  --shadow-glow:  0 0 32px rgba(240,180,41,0.12);
  --font-main:    'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-serif:   'Georgia', 'Times New Roman', serif;
  --transition:   0.22s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---------- Layout Utilities ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--tight { padding: 40px 0; }
.section--loose { padding: 96px 0; }

/* ---------- NAV ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,14,26,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-nav__logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.site-nav__logo span { color: var(--gold); }

.site-nav__badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--bg-deep);
  background: var(--gold);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a0e1a 0%, #0d1b2e 50%, #0a0e1a 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1606167668584-78701c57f13d?w=1400&q=80&fit=crop');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.18;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,14,26,0.97) 0%, rgba(10,14,26,0.7) 60%, rgba(10,14,26,0.4) 100%);
}

/* Decorative orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
}
.hero__orb--1 {
  width: 400px; height: 400px;
  background: var(--gold);
  top: -100px; right: 5%;
}
.hero__orb--2 {
  width: 300px; height: 300px;
  background: #3b82f6;
  bottom: -80px; right: 25%;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

.hero__left { max-width: 540px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid rgba(240,180,41,0.3);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.hero__title em {
  font-style: normal;
  color: var(--gold);
}

.hero__sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 28px;
  max-width: 420px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.hero__badge-item::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
}

.hero__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.hero__stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
  min-width: 220px;
}

.hero__stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero__update {
  font-size: 0.72rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero__update::before {
  content: '';
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}

/* ---------- PULL QUOTE ---------- */
.pull-quote {
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--border);
}

.pull-quote__text {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
  max-width: 780px;
  position: relative;
  padding-left: 32px;
}

.pull-quote__text::before {
  content: '"';
  position: absolute;
  left: -4px;
  top: -12px;
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
  font-family: var(--font-serif);
}

.pull-quote__source {
  margin-top: 16px;
  padding-left: 32px;
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ---------- BETSSON BANNER CARD ---------- */
.casino-banner-wrap {
  padding: 48px 0 64px;
}

.casino-banner-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.casino-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0;
  background: var(--bg-card-2);
  border: 1px solid rgba(240,180,41,0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow), var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
}

.casino-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(240,180,41,0.18), var(--shadow-card);
}

.casino-banner__logo-panel {
  background: #0d1520;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 110px;
  border-right: 1px solid var(--border);
}

.casino-banner__logo-panel img {
  max-width: 130px;
  filter: brightness(1.1);
}

.casino-banner__info {
  padding: 24px 32px;
}

.casino-banner__name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.casino-banner__bonus {
  font-size: 0.95rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.casino-banner__bonus::before {
  content: '🎁';
  font-size: 1rem;
}

.casino-banner__stars {
  display: flex;
  align-items: center;
  gap: 4px;
}

.casino-banner__star {
  color: var(--gold);
  font-size: 0.9rem;
}

.casino-banner__rating-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: 6px;
}

.casino-banner__cta-panel {
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-left: 1px solid var(--border);
  min-width: 180px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.btn--gold {
  background: var(--gold);
  color: #0a0e1a;
  padding: 14px 28px;
  box-shadow: 0 4px 16px rgba(240,180,41,0.3);
}

.btn--gold:hover {
  background: var(--gold-light);
  color: #0a0e1a;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(240,180,41,0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 10px 20px;
  border: 1px solid var(--border);
  font-size: 0.82rem;
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--wide { padding-left: 40px; padding-right: 40px; }

.casino-banner__disclaimer {
  font-size: 0.68rem;
  color: var(--text-dim);
  text-align: center;
  max-width: 140px;
}

/* ---------- CHECKLIST SECTION ---------- */
.checklist-section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.2;
}

.section-intro {
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 40px;
  font-size: 0.95rem;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.checklist-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: border-color var(--transition);
}

.checklist-item:hover { border-color: rgba(240,180,41,0.3); }

.checklist-item__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-dim);
  border-radius: var(--radius-sm);
}

.checklist-item__body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.checklist-item__body p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ---------- EDITORIAL TWO-COL ---------- */
.editorial-section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.editorial-dense p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.editorial-dense p:last-child { margin-bottom: 0; }

.editorial-dense strong { color: var(--text-primary); }

.editorial-light { padding-top: 8px; }

.highlight-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.highlight-box h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 6px;
}

.highlight-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.stat-row {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.stat-pill {
  flex: 1;
  background: var(--gold-dim);
  border: 1px solid rgba(240,180,41,0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.stat-pill__value {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

.stat-pill__label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- FAQ ACCORDION ---------- */
.faq-section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.faq-list { max-width: 760px; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-main);
  text-align: left;
  gap: 16px;
  transition: color var(--transition);
}

.faq-toggle:hover { color: var(--gold); }

.faq-toggle__icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border: 1.5px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: all var(--transition);
}

.faq-item.open .faq-toggle__icon {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-body__inner {
  padding: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.8;
}

.faq-item.open .faq-body { max-height: 500px; }

/* ---------- 18+ DISCLAIMER BAR ---------- */
.disclaimer-bar {
  background: var(--red-dim);
  border-top: 1px solid rgba(200,30,30,0.25);
  border-bottom: 1px solid rgba(200,30,30,0.25);
  padding: 18px 0;
}

.disclaimer-bar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.disclaimer-bar__badge {
  flex-shrink: 0;
  width: 44px; height: 44px;
}

.disclaimer-bar__badge img {
  width: 100%; height: 100%;
  object-fit: contain;
}

.disclaimer-bar__text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.disclaimer-bar__text strong { color: var(--text-primary); }

.disclaimer-bar__text a { color: var(--gold); }

/* ---------- FOOTER ---------- */
.site-footer {
  background: #060810;
  border-top: 1px solid var(--border);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.footer-brand__logo {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.footer-brand__logo span { color: var(--gold); }

.footer-brand__desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-nav-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.footer-nav-list { list-style: none; }

.footer-nav-list li { margin-bottom: 8px; }

.footer-nav-list a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

/* Responsible gambling logos section */
.footer-logos-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.footer-logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: center;
}

.footer-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  transition: border-color var(--transition);
  min-height: 56px;
}

.footer-logo-item:hover { border-color: var(--border-light); }

.footer-logo-item img {
  max-height: 36px;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0.9) grayscale(0.2);
  transition: filter var(--transition);
}

.footer-logo-item:hover img { filter: brightness(1.1) grayscale(0); }

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom__copy {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.footer-bottom__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom__links a {
  font-size: 0.75rem;
  color: var(--text-dim);
  transition: color var(--transition);
}

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

.site-footer__divider {
  max-width: 1100px;
  margin: 0 auto;
}

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 0 16px 16px;
  pointer-events: none;
}

.cookie-banner__card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.6);
  backdrop-filter: blur(16px);
  pointer-events: all;
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-banner--visible .cookie-banner__card { transform: translateY(0); }

.cookie-banner__icon { font-size: 1.8rem; flex-shrink: 0; }

.cookie-banner__text {
  flex: 1;
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-banner__text strong { color: var(--text-primary); display: block; margin-bottom: 2px; }

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
}

/* ---------- POLICY PAGES ---------- */
.policy-header {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #0d1520 0%, var(--bg-deep) 100%);
}

.policy-header__back {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.policy-header__back:hover { color: var(--gold); }

.policy-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 12px;
}

.policy-header__meta {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.policy-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.policy-content h2 {
  font-size: 1.3rem;
  color: var(--white);
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.policy-content h2:first-child { margin-top: 0; }

.policy-content p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.policy-content ul {
  margin: 0 0 16px 20px;
}

.policy-content li {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 6px;
}

.policy-content a { color: var(--gold); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__right { display: none; }
  .editorial-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > *:last-child { grid-column: span 2; }
}

@media (max-width: 640px) {
  .casino-banner {
    grid-template-columns: 1fr;
  }
  .casino-banner__logo-panel {
    border-right: none;
    border-bottom: 1px solid var(--border);
    min-width: unset;
    padding: 24px;
  }
  .casino-banner__cta-panel {
    border-left: none;
    border-top: 1px solid var(--border);
    flex-direction: row;
    justify-content: center;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > *:last-child { grid-column: span 1; }
  .footer-logos-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cookie-banner__card { flex-direction: column; text-align: center; }
  .cookie-banner__actions { width: 100%; justify-content: center; }
  .hero__inner { padding: 56px 24px; }
}

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