/* GOD Landing Page */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0a0a1a;
  --navy-mid: #0f0f2a;
  --navy-light: #141432;
  --gold: #c9a84c;
  --gold-light: #e8c86a;
  --gold-dim: #8a6e2f;
  --teal: #1a6b6b;
  --teal-light: #2a9a9a;
  --teal-glow: #3dbdbd;
  --cream: #f5e6c8;
  --cream-dim: #c8b090;
  --white: #ffffff;
  --text-muted: #8888aa;
  --border: rgba(201, 168, 76, 0.2);
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--navy);
  color: var(--cream);
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { position: relative; z-index: 1; }

/* ── STARS ── */

.stars-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.stars-bg::before,
.stars-bg::after {
  content: '';
  position: absolute;
  width: 2px; height: 2px;
  background: white;
  border-radius: 50%;
  box-shadow:
    120px 45px 0 rgba(255,255,255,0.7),
    340px 120px 0 rgba(255,255,255,0.4),
    560px 78px 0 rgba(255,255,255,0.6),
    780px 200px 0 rgba(255,255,255,0.3),
    1000px 55px 0 rgba(255,255,255,0.8),
    1200px 180px 0 rgba(255,255,255,0.5),
    200px 280px 0 rgba(255,255,255,0.3),
    450px 320px 0 rgba(255,255,255,0.5),
    650px 400px 0 rgba(255,255,255,0.4),
    870px 360px 0 rgba(255,255,255,0.6),
    80px 500px 0 rgba(255,255,255,0.5),
    300px 580px 0 rgba(255,255,255,0.3),
    520px 620px 0 rgba(255,255,255,0.6),
    740px 560px 0 rgba(255,255,255,0.4),
    960px 640px 0 rgba(255,255,255,0.7),
    60px 750px 0 rgba(255,255,255,0.4),
    250px 820px 0 rgba(255,255,255,0.6),
    690px 940px 0 rgba(255,255,255,0.5),
    910px 800px 0 rgba(255,255,255,0.7);
}

.stars-bg::after {
  width: 1px; height: 1px;
  box-shadow:
    50px 160px 0 rgba(255,255,255,0.5),
    390px 240px 0 rgba(255,255,255,0.6),
    830px 150px 0 rgba(255,255,255,0.7),
    100px 700px 0 rgba(255,255,255,0.6),
    540px 730px 0 rgba(255,255,255,0.5),
    980px 710px 0 rgba(255,255,255,0.7);
}

/* ── HERO ── */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(26, 107, 107, 0.12) 0%, rgba(201, 168, 76, 0.06) 40%, transparent 70%);
  pointer-events: none;
}

/* ── DASHAVATARA ORBIT ── */

.dasha-hero {
  position: relative;
  width: min(90vw, 90vh, 750px);
  height: min(90vw, 90vh, 750px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.landing-orbit {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.06);
}

.landing-avatar {
  position: absolute;
  width: 120px;
  height: 120px;
  left: 50%;
  top: 50%;
  margin-left: -60px;
  margin-top: -60px;
  --angle: calc(var(--i) * 36deg - 90deg);
  transform: rotate(var(--angle)) translateX(min(42vw, 42vh, 340px)) rotate(calc(-1 * var(--angle)));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: transform 0.3s;
}

.landing-avatar:hover {
  transform: rotate(var(--angle)) translateX(min(42vw, 42vh, 340px)) rotate(calc(-1 * var(--angle))) scale(1.12);
  z-index: 20;
}

.landing-avatar img {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: contain;
  border: 2px solid rgba(201, 168, 76, 0.25);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.15);
  background: rgba(201, 168, 76, 0.05);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.landing-avatar:hover img {
  border-color: rgba(201, 168, 76, 0.7);
  box-shadow: 0 0 24px rgba(201, 168, 76, 0.4);
}

.landing-avatar:nth-child(8) img {
  border-color: rgba(100, 150, 255, 0.4);
  box-shadow: 0 0 18px rgba(100, 150, 255, 0.3);
}

.landing-avatar-label {
  font-size: 0.55rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* GOD center — clickable */
.landing-god-center {
  position: relative;
  z-index: 10;
  text-align: center;
  cursor: pointer;
  padding: 2rem;
  transition: transform 0.3s;
  text-decoration: none;
  color: inherit;
}

.landing-god-center:hover {
  transform: scale(1.04);
}

.landing-god-center:hover .landing-god-title {
  text-shadow: 0 0 60px rgba(201, 168, 76, 0.8), 0 0 120px rgba(201, 168, 76, 0.3);
}

.landing-god-center:hover .landing-enter-hint {
  opacity: 1;
}

.landing-god-om {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 0.2rem;
  text-shadow: 0 0 30px rgba(201, 168, 76, 0.7);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { text-shadow: 0 0 30px rgba(201, 168, 76, 0.5), 0 0 60px rgba(201, 168, 76, 0.2); }
  50% { text-shadow: 0 0 50px rgba(201, 168, 76, 1), 0 0 100px rgba(201, 168, 76, 0.4); }
}

.landing-god-title {
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--gold-light);
  text-shadow: 0 0 40px rgba(201, 168, 76, 0.5), 0 8px 32px rgba(0, 0, 0, 0.6);
  line-height: 1;
  margin-bottom: 0.15em;
  user-select: none;
  transition: text-shadow 0.3s;
}

.landing-god-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: 'Courier New', monospace;
  margin-bottom: 0.5rem;
}

.landing-enter-hint {
  font-size: 0.65rem;
  color: var(--gold-dim);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-family: 'Courier New', monospace;
  opacity: 0;
  transition: opacity 0.3s;
  margin-top: 0.5rem;
}

/* ── BUTTONS ── */

.hero-cta-group {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gold);
  color: var(--navy);
  padding: 1rem 2.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 0.05em;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: Georgia, serif;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--teal-glow);
  padding: 1rem 2.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.05em;
  border: 1px solid var(--teal);
  transition: all 0.2s;
  font-family: Georgia, serif;
}

.btn-secondary:hover {
  background: rgba(26, 107, 107, 0.15);
  border-color: var(--teal-glow);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1.1rem;
}

/* ── SCREENSHOTS GALLERY ── */

.screens-section {
  padding: 4rem 2rem;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.screen-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  background: var(--navy-light);
}

.screen-card:hover {
  border-color: rgba(201, 168, 76, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(201, 168, 76, 0.15);
}

.screen-card.featured { grid-column: span 2; }

.screen-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 200px;
}

/* ── TOPICS CLOUD ── */

.topics-section {
  padding: 5rem 2rem;
  text-align: center;
}

.topics-heading {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: var(--gold-light);
  margin-bottom: 2rem;
}

.topics-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.topic-tag {
  display: inline-block;
  background: rgba(26, 107, 107, 0.15);
  border: 1px solid rgba(26, 107, 107, 0.3);
  color: var(--teal-glow);
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.05em;
}

/* ── DOWNLOAD ── */

.download-section {
  padding: 5rem 2rem;
}

.download-heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--gold-light);
  margin-bottom: 2rem;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.download-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

/* ── SPONSOR ── */

.sponsor-section {
  padding: 4rem 2rem;
  background: linear-gradient(180deg, var(--navy) 0%, rgba(26, 107, 107, 0.06) 50%, var(--navy) 100%);
}

.sponsor-heading {
  font-size: 1.6rem;
  color: var(--teal-glow);
  margin-bottom: 0.75rem;
}

.sponsor-text {
  color: var(--cream-dim);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ── DIVIDERS ── */

.lotus-divider {
  text-align: center;
  padding: 1rem 0;
  color: var(--gold-dim);
  font-size: 1.2rem;
  letter-spacing: 0.5em;
  opacity: 0.5;
}

/* ── FOOTER ── */

footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-om {
  font-size: 2rem;
  color: var(--gold-dim);
  margin-bottom: 1rem;
  display: block;
}

.footer-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-family: 'Courier New', monospace;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

/* ── LIGHTBOX ── */

.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.92);
  z-index: 999;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  cursor: default;
}

/* ── RESPONSIVE ── */

@media (max-width: 768px) {
  .hero { padding: 1rem; }

  .dasha-hero {
    width: min(95vw, 95vh, 450px);
    height: min(95vw, 95vh, 450px);
  }

  .landing-avatar {
    width: 70px; height: 70px;
    margin-left: -35px; margin-top: -35px;
    transform: rotate(var(--angle)) translateX(min(44vw, 44vh, 200px)) rotate(calc(-1 * var(--angle)));
  }
  .landing-avatar:hover {
    transform: rotate(var(--angle)) translateX(min(44vw, 44vh, 200px)) rotate(calc(-1 * var(--angle))) scale(1.12);
  }
  .landing-avatar img { width: 58px; height: 58px; }
  .landing-avatar-label { font-size: 0.4rem; }

  .landing-god-title { font-size: 3.5rem; }
  .landing-god-sub { font-size: 0.6rem; }

  .screens-grid { grid-template-columns: 1fr; }
  .screen-card.featured { grid-column: span 1; }

  .hero-cta-group { flex-direction: column; align-items: center; }
  .download-buttons { width: 100%; }
}

@media (max-width: 480px) {
  .dasha-hero {
    width: min(98vw, 320px);
    height: min(98vw, 320px);
  }
  .landing-avatar {
    width: 55px; height: 55px;
    margin-left: -27px; margin-top: -27px;
    transform: rotate(var(--angle)) translateX(min(42vw, 145px)) rotate(calc(-1 * var(--angle)));
  }
  .landing-avatar:hover {
    transform: rotate(var(--angle)) translateX(min(42vw, 145px)) rotate(calc(-1 * var(--angle))) scale(1.12);
  }
  .landing-avatar img { width: 42px; height: 42px; }
  .landing-god-title { font-size: 2.5rem; }
}
