:root {
  --bg: #010B13;
  --surface: #041C2C;
  --text: #E0FBFC;
  --muted: #98C1D9;
  --primary: #3D5A80;
  --secondary: #293241;
  --accent: #EE6C4D;
  --border: rgba(152, 193, 217, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 60% at 20% 0%, rgba(61, 90, 128, 0.18), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, #021520 50%, var(--surface) 100%);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 80% 90%, rgba(238, 108, 77, 0.06), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

main {
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--text);
}

.disclosure-bar {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 16px;
  background: rgba(224, 251, 252, 0.12);
  position: relative;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.disclosure-bar__icon {
  font-size: 14px;
  flex-shrink: 0;
  line-height: 1;
}

.disclosure-bar__text {
  font-size: 12px;
  color: var(--text);
  text-align: center;
  line-height: 1.45;
  max-width: 900px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 90;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  width: 100%;
  background: var(--secondary);
  box-shadow: 0 1px 0 var(--primary), 0 0 8px rgba(61, 90, 128, 0.6);
}

.navbar__logo img {
  max-height: 32px;
  width: auto;
}

.navbar__links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.navbar__links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  padding-bottom: 4px;
}

.navbar__links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.navbar__links a:hover {
  color: var(--text);
}

.navbar__links a:hover::after {
  width: 100%;
}

.navbar__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.mobile-menu__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(1, 11, 19, 0.92);
  z-index: 199;
}

.mobile-menu__overlay.is-open {
  display: block;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

.mobile-menu.is-open {
  display: flex;
  transform: translateX(0);
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-menu a {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 48px 32px;
  position: relative;
  z-index: 1;
}

.footer__inner {
  width: 100%;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 32px;
}

.footer__logo img {
  max-height: 36px;
  margin-bottom: 12px;
}

.footer__logo p {
  font-size: 13px;
  color: var(--muted);
  max-width: 300px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer__links a {
  font-size: 13px;
  color: var(--muted);
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer__badges img {
  max-height: 44px;
  width: auto;
}

.footer__copy {
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
}

.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 48px 80px;
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
}

.legal-page h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--muted);
  margin: 32px 0 12px;
}

.legal-page h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--muted);
  margin: 20px 0 8px;
}

.legal-page p {
  margin-bottom: 14px;
  color: var(--text);
}

.legal-page ul {
  margin: 12px 0 16px 24px;
}

.legal-page li {
  margin-bottom: 8px;
}

.contact-form {
  margin-top: 32px;
  padding: 32px;
  background: var(--surface);
  border-radius: 32px;
  box-shadow:
    inset 4px 4px 12px rgba(0, 0, 0, 0.35),
    inset -2px -2px 8px rgba(152, 193, 217, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  box-shadow: inset 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form__error {
  display: none;
  color: var(--accent);
  font-size: 13px;
  margin: -12px 0 16px;
}

.contact-form__error.is-visible {
  display: block;
}

.contact-success {
  display: none;
  padding: 32px;
  background: var(--surface);
  border-radius: 32px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.contact-success.is-visible {
  display: block;
}

.contact-success h3 {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 12px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: scale(0.96);
}

.btn--primary {
  background: var(--primary);
  color: var(--text);
  box-shadow:
    0 6px 20px rgba(61, 90, 128, 0.4),
    inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.btn--primary:hover {
  box-shadow:
    0 8px 28px rgba(61, 90, 128, 0.55),
    inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.btn--ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.age-gate,
.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(1, 11, 19, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
}

.age-gate.is-hidden,
.cookie-banner.is-hidden {
  display: none;
}

.age-gate h2,
.cookie-banner h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

.age-gate p,
.cookie-banner p {
  max-width: 480px;
  margin-bottom: 28px;
  color: var(--muted);
}

.age-gate__actions,
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 900px) {
  .navbar {
    padding: 0 24px;
  }

  .navbar__links {
    display: none;
  }

  .navbar__burger {
    display: flex;
  }

  .footer {
    padding: 40px 24px 24px;
  }

  .legal-page {
    padding: 40px 24px 60px;
  }
}
