:root {
  --bg: #0e1a2b;
  --bg-panel: #162840;
  --bg-panel-soft: #1b2f4a;
  --bg-sidebar: #101d30;
  --line: #2d4461;
  --text: #dce5f0;
  --muted: #9eb1c8;
  --brand: #e2093b;
  --brand-dark: #b9072f;
  --accent: #eefe18;
  --accent-dark: #d2df14;
  --space: 16px;
  --radius: 12px;
  --sidebar-width: 272px;
  --shadow: 0 14px 30px rgba(2, 8, 17, 0.36);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  scroll-behavior: smooth;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  font-family: "Roboto Condensed", Arial, sans-serif;
  background: radial-gradient(circle at 0% 0%, #1a3050 0%, #0d1625 42%, #0a1320 100%);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: #d9e6ff;
  text-decoration: none;
}

a:hover {
  color: #ffffff;
}

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

h1,
h2,
h3 {
  margin: 0 0 10px;
  line-height: 1.2;
  color: #f2f7ff;
}

h1 {
  font-size: clamp(1.5rem, 2.3vw, 2.4rem);
}

h2 {
  font-size: clamp(1.25rem, 1.8vw, 1.8rem);
}

h3 {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
}

p {
  margin: 0 0 12px;
  color: var(--text);
}

.page-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: linear-gradient(180deg, #12233a 0%, #0f1c2e 100%);
  border-right: 1px solid var(--line);
  z-index: 100;
}

.sidebar-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space);
  padding: 16px;
  overflow-y: auto;
}

.brand-link {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 84px;
  padding: 8px;
  border-radius: var(--radius);
  background: transparent;
  border: 0;
}

.brand-logo {
  width: min(180px, 100%);
  height: auto;
}

.sidebar-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.lang-switch {
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 1300;
}

.lang-dropdown {
  position: relative;
  z-index: 1400;
}

.lang-select--compact {
  display: none;
}

.lang-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #365378;
  background: rgba(13, 31, 49, 0.98);
  color: #f5fbff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.lang-dropdown-toggle--full {
  justify-content: flex-start;
  gap: 8px;
}

.lang-dropdown-toggle:hover {
  background: rgba(24, 46, 71, 0.98);
  border-color: #4b6b95;
}

.lang-flag-icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(98, 127, 161, 0.7), 0 2px 6px rgba(0, 0, 0, 0.28);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  min-width: 214px;
  max-height: 320px;
  overflow-y: auto;
  display: none;
  gap: 6px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid #335073;
  background: rgba(11, 23, 37, 0.98);
  box-shadow: 0 12px 28px rgba(2, 8, 16, 0.5);
  z-index: 1500;
}

.lang-dropdown.open .lang-dropdown-menu {
  display: grid;
}

.lang-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  color: #e3edf8;
  font-size: 0.92rem;
  line-height: 1.15;
  white-space: nowrap;
}

.lang-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(126, 156, 191, 0.45);
}

.lang-dropdown-menu a.active {
  background: rgba(226, 9, 59, 0.2);
  border-color: rgba(226, 9, 59, 0.55);
  color: #ffffff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
  text-align: center;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #0f1725;
  border-color: var(--accent-dark);
}

.button-primary:hover {
  background: #f4ff6d;
  color: #0b1420;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: #f7fbff;
  border-color: #355174;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-nav {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(155, 181, 212, 0.25);
}

.sidebar-nav a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.sidebar-nav a:hover,
.sidebar-nav a:focus-visible {
  color: #f7fbff;
  background: rgba(226, 9, 59, 0.18);
  border-color: rgba(226, 9, 59, 0.4);
}

.sidebar-disclaimer {
  margin: auto 0 0;
  padding: 12px;
  border-radius: 10px;
  font-size: 0.89rem;
  color: #c1d0e2;
  border: 1px solid #2f4764;
  background: rgba(23, 40, 62, 0.8);
}

.content {
  margin-left: var(--sidebar-width);
  padding: var(--space);
  padding-bottom: 16px;
  width: calc(100% - var(--sidebar-width));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.panel {
  background: linear-gradient(180deg, rgba(25, 46, 71, 0.96), rgba(20, 37, 58, 0.98));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space);
  margin-bottom: var(--space);
}

.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: min(64vw, 420px);
  display: grid;
  place-items: center;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 27, 45, 0.82), rgba(21, 33, 52, 0.22));
}

.hero-card {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 24px));
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(14, 22, 37, 0.82);
  backdrop-filter: blur(2px);
}

.hero-card p {
  color: #dae5f5;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(238, 254, 24, 0.18);
  border: 1px solid rgba(238, 254, 24, 0.42);
  color: #f4ff98;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.hero-actions .button {
  width: auto;
  min-width: 175px;
}

.accordion {
  border: 1px solid #334f71;
  border-radius: 10px;
  background: rgba(14, 28, 45, 0.66);
}

.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 13px 14px;
  font-weight: 700;
  color: #f1f7ff;
  position: relative;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 9px;
  font-size: 1.3rem;
  color: #f0fa7d;
}

.accordion[open] summary::after {
  content: "−";
}

.accordion-body {
  border-top: 1px solid #355173;
  padding: 12px;
  display: grid;
  gap: 8px;
}

.accordion-body a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid #2f4968;
  color: #d9e6f6;
}

.accordion-body a:hover {
  border-color: #4a6a92;
}

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

.section-intro {
  color: var(--muted);
  margin-bottom: 12px;
}

.info-table,
.data-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #345172;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(12, 24, 40, 0.6);
}

.info-table th,
.info-table td,
.data-table th,
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #2d4564;
  text-align: left;
  vertical-align: top;
}

.info-table tr:last-child th,
.info-table tr:last-child td,
.data-table tr:last-child td {
  border-bottom: 0;
}

.info-table th,
.data-table th {
  color: #f1f7ff;
  width: 30%;
  background: rgba(255, 255, 255, 0.02);
  font-weight: 700;
}

.data-table thead th {
  background: rgba(226, 9, 59, 0.18);
  color: #fff4f7;
  width: auto;
}

.table-note {
  margin-top: 10px;
  color: #b9c9dc;
  font-size: 0.95rem;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.slot-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid #334f71;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slot-card img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.slot-card h3 {
  margin: 0;
  font-size: 1.05rem;
  text-align: center;
}

.cta-banner {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  display: flex;
  align-items: center;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--panel-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 21, 35, 0.83), rgba(11, 21, 35, 0.22));
}

.cta-secondary::after {
  background: linear-gradient(90deg, rgba(64, 4, 19, 0.75), rgba(12, 20, 31, 0.42));
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 10px 6px;
}

.auth-screens {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.auth-card {
  margin: 0;
  border: 1px solid #314b6b;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.auth-card img {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
  background: #091320;
}

.auth-card figcaption {
  font-size: 0.93rem;
  color: #c6d3e6;
  padding: 10px;
  border-top: 1px solid #2f4867;
}

.faq details {
  border: 1px solid #334f71;
  border-radius: 10px;
  padding: 12px;
  background: rgba(15, 29, 46, 0.68);
  margin-bottom: 10px;
}

.faq details:last-child {
  margin-bottom: 0;
}

.faq summary {
  cursor: pointer;
  color: #f1f7ff;
  font-weight: 700;
}

.faq p {
  margin-top: 10px;
  color: #d7e1ef;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  margin-bottom: calc(var(--cookie-banner-height, 0px) + 6px);
}

.footer p {
  margin: 0;
  color: #c3d3e7;
}

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

.footer-links a {
  padding: 7px 11px;
  border-radius: 8px;
  border: 1px solid #355173;
  color: #dbe8f8;
  background: rgba(255, 255, 255, 0.02);
}

.footer-links a:hover {
  background: rgba(226, 9, 59, 0.18);
  border-color: rgba(226, 9, 59, 0.35);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid #355173;
  background: rgba(7, 14, 24, 0.95);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}

.cookie-banner p {
  margin: 0;
  color: #d2dced;
}

.cookie-banner.is-hidden {
  display: none;
}

.simple-page-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.simple-page-hero p {
  margin: 0;
  color: var(--muted);
}

.legal-list {
  margin: 0;
  padding-left: 18px;
}

.legal-list li {
  margin-bottom: 9px;
}

@media (max-width: 1080px) {
  :root {
    --sidebar-width: 250px;
    --space: 14px;
  }

  .content {
    width: calc(100% - var(--sidebar-width));
  }
}

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

  .sidebar {
    width: 100%;
    height: auto;
    position: sticky;
    top: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    z-index: 150;
  }

  .sidebar-inner {
    height: auto;
    overflow: visible;
    padding: 10px 12px;
    gap: 10px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    grid-template-areas:
      ". brand lang"
      "actions actions actions";
    align-items: center;
  }

  .brand-link {
    grid-area: brand;
    min-height: auto;
    padding: 8px;
    justify-content: center;
    justify-self: stretch;
    width: 100%;
    margin: 0;
  }

  .brand-logo {
    width: min(160px, 100%);
  }

  .sidebar-actions {
    grid-area: actions;
    grid-template-columns: 1fr 1fr;
  }

  .lang-switch {
    grid-area: lang;
    display: flex;
    justify-content: flex-end;
    align-self: center;
    margin: 0;
    z-index: 1700;
  }

  .lang-select--full {
    display: none;
  }

  .lang-select--compact {
    display: block;
  }

  .lang-select--compact .lang-dropdown-toggle {
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 50%;
    font-size: 1.1rem;
    line-height: 1;
  }

  .lang-select--compact .lang-dropdown-toggle .lang-flag-icon {
    width: 24px;
    height: 24px;
  }

  .lang-select--compact .lang-dropdown-menu {
    left: auto;
    right: 0;
    min-width: 0;
    width: auto;
    padding: 6px;
    grid-template-columns: repeat(5, 34px);
    gap: 6px;
    z-index: 1800;
  }

  .lang-select--compact .lang-dropdown-menu a {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 999px;
    justify-content: center;
  }

  .lang-select--compact .lang-dropdown-menu a .lang-flag-icon {
    width: 22px;
    height: 22px;
  }

  .sidebar-nav,
  .sidebar-disclaimer {
    display: none;
  }

  .content {
    margin-left: 0;
    width: 100%;
    padding: 12px;
    padding-bottom: 12px;
    min-height: auto;
    display: block;
  }

  .hero {
    min-height: 320px;
  }

  .hero-card {
    width: calc(100% - 18px);
    padding: 14px;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
  }

  .auth-screens {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner .button {
    width: 100%;
  }

  .simple-page-hero {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .panel {
    padding: 12px;
    border-radius: 10px;
  }

  .slots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .data-table,
  .info-table {
    display: block;
    overflow-x: auto;
    width: 100%;
  }
}
