:root {
  --bg-0: #0a0800;
  --bg-1: #1a1200;
  --card: #1c1400;
  --gold-deep: #d97706;
  --gold-bright: #fbbf24;
  --champagne: #fff8dc;
  --cream: #fffbf0;
  --ink: #0f1e3a;
  --line: rgba(251, 191, 36, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Lato", sans-serif;
  color: var(--cream);
  background: linear-gradient(160deg, var(--bg-0) 0%, #120c00 55%, var(--bg-1) 100%);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(10, 8, 0, 0.15);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(10, 8, 0, 0.96);
  border-color: var(--line);
}

.header-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand .name {
  font-family: "Cinzel", serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--champagne);
}

.brand .name span {
  color: var(--gold-bright);
  margin-right: 6px;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nav a {
  font-family: "Cinzel", serif;
  font-variant: small-caps;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
  color: #f6eac5;
  position: relative;
  padding-bottom: 3px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold-bright);
  transition: right 0.2s ease;
}

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

.nav a:hover::after {
  right: 0;
}

.auth-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-pill {
  border: 1px solid var(--line);
  background: rgba(28, 20, 0, 0.75);
  color: var(--champagne);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

.auth-pill.gold {
  background: linear-gradient(120deg, #d97706, #fbbf24);
  color: #131d30;
  border: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 70px;
  min-height: 64vh;
  display: grid;
  place-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -140px -20%;
  background: radial-gradient(circle at center, rgba(251, 191, 36, 0.26) 0%, rgba(251, 191, 36, 0) 63%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    transparent 0 18%,
    rgba(255, 248, 220, 0.06) 19%,
    transparent 20% 36%
  );
  animation: shimmer 9s linear infinite;
  pointer-events: none;
}

@keyframes shimmer {
  from {
    transform: translateX(-24%);
  }
  to {
    transform: translateX(24%);
  }
}

.hero-card {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  padding: 30px;
  background: rgba(10, 8, 0, 0.4);
  border: 1px solid var(--line);
  border-radius: 22px;
}

h1,
h2,
h3 {
  font-family: "Cinzel", serif;
  line-height: 1.2;
  color: var(--champagne);
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin: 0 0 14px;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}

.lead {
  color: #f8efdb;
  font-size: 1.05rem;
}

.cta {
  display: inline-block;
  margin-top: 16px;
  padding: 14px 30px;
  border-radius: 999px;
  background: linear-gradient(120deg, #fbbf24 0%, #d97706 100%);
  color: #0f1e3a;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  filter: brightness(0.93);
}

.section {
  padding: 56px 0;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.section-head img {
  width: 28px;
  height: 28px;
}

.card {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid rgba(255, 248, 220, 0.15);
  border-top: 3px solid var(--gold-bright);
  padding: 22px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-icon {
  color: var(--gold-bright);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.slide-track {
  display: flex;
  transition: transform 0.35s ease;
}

.slide {
  min-width: 100%;
  background: #120d00;
}

.slide img {
  width: 100%;
  height: 380px;
  object-fit: contain;
  background: #120d00;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.85);
  color: #222;
  font-weight: 900;
  cursor: pointer;
}

.slide-btn.prev {
  left: 10px;
}

.slide-btn.next {
  right: 10px;
}

.review-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.review-tab {
  border: 1px solid var(--line);
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(28, 20, 0, 0.8);
}

.review-tab.active {
  background: linear-gradient(110deg, #fbbf24, #d97706);
  color: #12233f;
  font-weight: 700;
}

.review-pane {
  display: none;
}

.review-pane.active {
  display: block;
}

.stars {
  color: #fbbf24;
  letter-spacing: 0.08em;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  background: rgba(28, 20, 0, 0.85);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--champagne);
  font: inherit;
  font-weight: 700;
  padding: 14px;
  cursor: pointer;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 14px;
  color: #f2e5c3;
}

.faq-item.open .faq-a {
  max-height: 180px;
  padding: 0 14px 14px;
}

.google-block {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.google-block img {
  height: 56px;
  object-fit: contain;
}

.play-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  align-items: center;
}

.play-card img {
  border-radius: 14px;
  border: 1px solid var(--line);
}

.site-footer {
  margin-top: 40px;
  padding: 24px 0 38px;
  border-top: 1px solid var(--line);
  background: rgba(6, 5, 0, 0.86);
}

.footer-top {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-top img {
  width: 40px;
  height: 40px;
}

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

.footer-meta {
  margin-top: 12px;
  color: #eedeb7;
  font-size: 0.95rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99990;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.show {
  display: flex;
}

.auth-modal {
  width: min(420px, 100%);
  background: #1c1400;
  border-top: 3px solid var(--gold-bright);
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 20px;
  position: relative;
}

.auth-close {
  position: absolute;
  right: 10px;
  top: 8px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.auth-title {
  margin: 0 0 12px;
}

.auth-form {
  display: none;
}

.auth-form.show {
  display: block;
}

.auth-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.93rem;
}

.auth-form input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #5b4c22;
  background: #100b00;
  color: #fff;
  font: inherit;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.auth-submit,
.contact-submit {
  margin-top: 8px;
  border: none;
  border-radius: 8px;
  padding: 11px 14px;
  width: 100%;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(130deg, #fbbf24, #d97706);
  color: #12233f;
}

.auth-switch {
  margin-top: 10px;
  text-align: center;
  font-size: 0.92rem;
}

.auth-switch button {
  border: none;
  background: none;
  color: #fbbf24;
  cursor: pointer;
  text-decoration: underline;
}

.auth-error {
  color: #ffd6d6;
  background: rgba(151, 46, 46, 0.3);
  border: 1px solid rgba(255, 120, 120, 0.35);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: none;
}

@media (max-width: 940px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .play-card {
    grid-template-columns: 1fr;
  }
  .slide img {
    height: 280px;
  }
}

@media (max-width: 700px) {
  .header-wrap {
    flex-wrap: wrap;
  }
  .nav {
    width: 100%;
    justify-content: flex-start;
  }
  .auth-controls {
    margin-left: auto;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .hero-card {
    padding: 20px;
  }
}
