

:root {
  
  --bg-main:       #0d0e12;
  --bg-surface:    #14161d;
  --bg-card:       #1a1c26;
  --bg-card-hover: #222533;
  --border-line:   #2a2d3d;
  --border-bright: #3d4259;

  --gold-primary:  #eab308;
  --gold-hover:    #facc15;
  --gold-dark:     #ca8a04;
  --gold-bg:       rgba(234, 179, 8, 0.1);
  --gold-border:   rgba(234, 179, 8, 0.3);

  --accent-red:    #ef4444;
  --accent-emerald:#10b981;

  --text-main:  #f8fafc;
  --text-soft:  #cbd5e1;
  --text-muted: #808ea3;

  --cyan:       var(--gold-primary);
  --cyan-dark:  var(--gold-dark);
  --gold:       var(--gold-primary);
  --violet:     var(--gold-primary);
  --ice:        #94a3b8;
  --inferno:    var(--accent-red);
  --inferno-dark: #b91c1c;
  --success:    var(--accent-emerald);

  --font-heading: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body:    system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-dropdown: 0 10px 30px rgba(0, 0, 0, 0.8);
}

body, body[data-theme="space"] {
  --bg-main:       #060412;
  --bg-surface:    #0f0b24;
  --bg-card:       #181338;
  --border-line:   rgba(234, 179, 8, 0.22);
  --border-bright: rgba(234, 179, 8, 0.45);
  --gold-primary:  #eab308;
  --gold-hover:    #facc15;
  --gold-bg:       rgba(234, 179, 8, 0.14);
  --gold-border:   rgba(234, 179, 8, 0.4);

  background-color: var(--bg-main);
  background-image:
    radial-gradient(ellipse 90% 60% at 50% 10%, rgba(182, 110, 255, 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 70% 50% at 85% 90%, rgba(234, 179, 8, 0.15) 0%, transparent 60%);
}

body[data-theme="frozen"] {
  --bg-main:       #011b29;
  --bg-surface:    #04293d;
  --bg-card:       #083c5a;
  --border-line:   rgba(0, 240, 255, 0.3);
  --border-bright: rgba(0, 240, 255, 0.6);
  --gold-primary:  #00f0ff;
  --gold-hover:    #7dd3fc;
  --gold-bg:       rgba(0, 240, 255, 0.16);
  --gold-border:   rgba(0, 240, 255, 0.45);

  background-color: var(--bg-main);
  background-image:
    radial-gradient(ellipse 90% 60% at 50% 30%, rgba(0, 240, 255, 0.28) 0%, transparent 70%),
    radial-gradient(ellipse 70% 50% at 15% 80%, rgba(56, 189, 248, 0.22) 0%, transparent 60%);
}

body[data-theme="inferno"] {
  --bg-main:       #1f0406;
  --bg-surface:    #33080b;
  --bg-card:       #4a0c11;
  --border-line:   rgba(255, 85, 0, 0.35);
  --border-bright: rgba(255, 85, 0, 0.65);
  --gold-primary:  #ff5500;
  --gold-hover:    #ff7722;
  --gold-bg:       rgba(255, 85, 0, 0.18);
  --gold-border:   rgba(255, 85, 0, 0.5);

  background-color: var(--bg-main);
  background-image:
    radial-gradient(ellipse 90% 60% at 50% 30%, rgba(255, 85, 0, 0.30) 0%, transparent 70%),
    radial-gradient(ellipse 70% 50% at 85% 80%, rgba(239, 68, 68, 0.25) 0%, transparent 60%);
}

body, header.site-header, .offer-card, .route-card, .fact-item, .calculator-box, .accordion-item, .btn-primary, .section-title::after, footer.site-footer {
  transition: background-color 0.6s ease, border-color 0.6s ease, color 0.6s ease, box-shadow 0.6s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.65;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-main);
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--gold-primary);
  color: #000;
  padding: 8px 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.5px;
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  margin-bottom: 1.2rem;
  color: #ffffff;
}

h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-top: 2.2rem;
  margin-bottom: 1rem;
  color: var(--text-main);
  border-left: 4px solid var(--gold-primary);
  padding-left: 14px;
}

h3 {
  font-size: 1.2rem;
  margin-top: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--gold-primary);
}

h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

p {
  margin-bottom: 1.2rem;
  color: var(--text-soft);
  max-width: 800px;
}
p:last-child { margin-bottom: 0; }

a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--gold-hover);
  text-decoration: underline;
}

ul, ol {
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
  color: var(--text-soft);
}
li { margin-bottom: 0.4rem; }

code, kbd {
  font-family: monospace;
  background: var(--bg-surface);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--gold-primary);
  border: 1px solid var(--border-line);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-column { max-width: 780px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gold-primary);
  color: #000000;
  border-color: var(--gold-primary);
}
.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border-color: var(--border-line);
}
.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-1px);
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 3px 8px;
  border-radius: 4px;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 68px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-line);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none !important;
}
.brand-logo img {
  width: 100px;
  height: auto;
  display: block;
}
.brand-logo span {
  color: var(--gold-primary);
  letter-spacing: 0.3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  border-bottom: 2px solid transparent;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold-primary);
  background: var(--bg-card);
  text-decoration: none;
}
.nav-link.active {
  border-bottom-color: var(--gold-primary);
}

.dropdown-wrapper { position: relative; }

.dropdown-toggle {
  background: none;
  border: none;
  color: var(--text-soft);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.dropdown-toggle:hover {
  color: var(--gold-primary);
  background: var(--bg-card);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dropdown);
  min-width: 190px;
  padding: 6px;
  list-style: none;
  display: none;
  opacity: 0;
  transition: opacity 0.15s;
}
.dropdown-wrapper.open .dropdown-menu { display: block; opacity: 1; }

.dropdown-item {
  display: block;
  padding: 8px 14px;
  color: var(--text-soft);
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.dropdown-item:hover {
  background: var(--bg-card);
  color: var(--gold-primary);
  text-decoration: none;
}

.mobile-toggle {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1.1rem;
}

.breadcrumbs {
  padding: 14px 0;
  font-size: 0.83rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-line);
  margin-bottom: 28px;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0; margin: 0;
}
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin: 0 10px; color: var(--border-bright); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--gold-primary); }

.hero-block {
  padding: 44px 0 52px;
  border-bottom: 1px solid var(--border-line);
  margin-bottom: 40px;
  background: radial-gradient(ellipse 60% 80% at 20% 40%, rgba(234, 179, 8, 0.04) 0%, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-main);
  font-weight: 600;
  margin: 0;
}
.hero-highlights li::before {
  content: "✓";
  color: var(--gold-primary);
  font-weight: 900;
  font-size: 1rem;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-primary);
  margin-bottom: 12px;
  padding: 4px 10px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: 4px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
  margin-bottom: 18px;
}

.hero-subline {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.hero-media-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  box-shadow: var(--shadow-card);
}
.hero-media-box img {
  width: 100%;
  height: auto;
  display: block;
}

.chips-row {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-line);
  flex-wrap: wrap;
}
.chip {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  color: var(--gold-primary);
  padding: 3px 8px;
  border-radius: 4px;
}

.quick-facts-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 44px;
}

.fact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, transform 0.2s;
  cursor: default;
}
.fact-item:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.fact-icon {
  font-size: 1.4rem;
  margin-bottom: 6px;
  display: block;
}

.fact-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.fact-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gold-primary);
}

.section-box { margin-bottom: 48px; }

.section-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: 20px;
}

.routes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.img-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

/* -----------------------------------------------------------------------
   CASINO OFFER CARDS GRID (3 Columns)
   ----------------------------------------------------------------------- */

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.offer-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
  overflow: hidden;
}
.offer-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-3px);
}

.offer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.offer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  cursor: pointer;
}

.offer-logo-img {
  max-width: 120px;
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  border: none;
  display: block;
}

.offer-brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
  display: none;
}

.offer-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--gold-bg);
  color: var(--gold-primary);
  border: 1px solid var(--gold-border);
  white-space: nowrap;
}
.offer-badge.tag-enhanced { background: rgba(16, 185, 129, 0.12); color: #10b981; border-color: rgba(16, 185, 129, 0.3); }
.offer-badge.tag-exclusive { background: rgba(239, 68, 68, 0.12); color: #ef4444; border-color: rgba(239, 68, 68, 0.3); }
.offer-badge.tag-streamer { background: rgba(59, 130, 246, 0.12); color: #3b82f6; border-color: rgba(59, 130, 246, 0.3); }

/* Compact Screenshot Preview with Lightbox Zoom */
.offer-preview-box {
  position: relative;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-line);
  height: 110px;
  cursor: zoom-in;
}
.offer-preview-img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.35s ease;
}
.offer-preview-box:hover .offer-preview-img {
  transform: scale(1.05);
}
.offer-zoom-hint {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.78);
  color: var(--gold-primary);
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 4px;
  pointer-events: none;
  font-weight: 700;
  border: 1px solid var(--gold-border);
}

/* Highlighted Welcome Pack Box */
.offer-deal {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--gold-primary);
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 12px;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.1);
}

.offer-desc {
  font-size: 0.82rem;
  color: var(--text-soft);
  flex-grow: 1;
  margin-bottom: 16px;
  line-height: 1.45;
}

.offer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.offer-btn {
  width: 100%;
  background: var(--gold-primary);
  color: #000000;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  text-decoration: none !important;
  display: block;
}
.offer-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

.offer-terms {
  font-size: 0.7rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-line);
  padding-top: 8px;
  margin-top: 4px;
  text-align: center;
}

@media (max-width: 992px) {
  .offers-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* Lightbox Modal for Fullscreen Screenshot Preview */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-content {
  position: relative;
  max-width: 880px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-img-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  cursor: pointer;
}
.lightbox-img {
  width: 100%;
  height: auto;
  display: block;
}
.lightbox-actions {
  margin-top: 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  color: var(--text-main);
  font-size: 1.3rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 210px;
  border: 1px solid var(--border-line);
  cursor: default;
  transition: transform 0.25s ease, border-color 0.25s ease;
  background: var(--bg-surface);
}
.img-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
}
.img-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: brightness(0.3) saturate(0.6);
}
.img-card:hover .img-card-bg {
  transform: scale(1.05);
  filter: brightness(0.5) saturate(1.1);
}
.img-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 14, 18, 0.95) 25%, transparent 75%);
}
.img-card-body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
}
.img-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold-primary);
  margin-bottom: 4px;
}
.img-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  transition: color 0.2s;
}
.img-card:hover .img-card-title { color: var(--gold-primary); }
.img-card-desc {
  font-size: 0.84rem;
  color: var(--text-soft);
  line-height: 1.4;
}

.route-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.route-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.route-num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--gold-primary);
  margin-bottom: 8px;
  line-height: 1;
}

.route-title {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 8px;
}
.route-desc {
  font-size: 0.88rem;
  color: var(--text-soft);
  flex-grow: 1;
  margin-bottom: 14px;
}

.world-selector-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.world-tabs {
  display: flex;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-line);
}

.tab-btn {
  flex: 1;
  padding: 14px 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}
.tab-btn:hover { color: var(--text-main); }
.tab-btn[aria-selected="true"] {
  color: var(--gold-primary);
  border-bottom-color: var(--gold-primary);
  background: var(--bg-surface);
}

.tab-panel { padding: 26px; display: none; }
.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}

.tab-panel-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-line);
}
.tab-panel-media img {
  width: 100%;
  height: auto;
  display: block;
}

.calculator-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 24px;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-input {
  background: var(--bg-main);
  border: 1px solid var(--border-line);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--text-main);
  font-size: 1rem;
}
.calc-input:focus {
  outline: none;
  border-color: var(--gold-primary);
}

.calc-output {
  background: var(--bg-main);
  border: 1px dashed var(--gold-primary);
  border-radius: 6px;
  padding: 18px;
  text-align: center;
}
.calc-output-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--gold-primary);
}

.table-wrapper {
  overflow-x: auto;
  margin-bottom: 20px;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}
table.data-table th, table.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-line);
}
table.data-table th {
  background: var(--bg-surface);
  color: var(--gold-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}
table.data-table tr:last-child td { border-bottom: none; }
table.data-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }

.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.accordion-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.accordion-item:has(.accordion-btn[aria-expanded="true"]) {
  border-color: var(--gold-primary);
}
.accordion-btn {
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 12px;
}
.accordion-btn:hover { color: var(--gold-primary); }
.accordion-icon {
  font-size: 0.9rem;
  transition: transform 0.2s ease;
  color: var(--gold-primary);
}
.accordion-btn[aria-expanded="true"] .accordion-icon { transform: rotate(180deg); }
.accordion-content {
  padding: 0 20px 18px;
  color: var(--text-soft);
  display: none;
  border-top: 1px solid var(--border-line);
}
.accordion-btn[aria-expanded="true"] + .accordion-content { display: block; }

.risk-box {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-left: 4px solid var(--accent-red);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 20px 0;
}
.risk-box h4 { color: var(--accent-red); margin-top: 0; margin-bottom: 6px; }

.info-box {
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-left: 4px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 20px 0;
}
.info-box h4 { color: var(--gold-primary); margin-top: 0; margin-bottom: 6px; }

.neon-divider {
  height: 1px;
  border: none;
  background: var(--border-line);
  margin: 40px 0;
}

footer.site-footer {
  margin-top: auto;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-line);
  padding: 48px 0 24px;
  font-size: 0.87rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-col h4 {
  font-size: 0.85rem;
  margin-bottom: 14px;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text-muted); font-size: 0.87rem; }
.footer-links a:hover { color: var(--gold-primary); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid var(--border-line);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.dialog-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.dialog-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-dropdown);
}

.dialog-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 400px;
  z-index: 8000;
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-dropdown);
  display: none;
}
.cookie-banner.active { display: block; }

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 1080px) {
  .img-card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .quick-facts-strip { grid-template-columns: repeat(3, 1fr); }
  .tab-panel.active { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-line);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .mobile-toggle { display: block; }
  .quick-facts-strip { grid-template-columns: repeat(2, 1fr); }
  .routes-grid { grid-template-columns: 1fr; }
  .img-card-grid { grid-template-columns: 1fr; }
  .world-tabs { overflow-x: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-banner { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  h1 { font-size: 2.1rem; }
}
