/* ==========================================================================
   Seren Words — Landing page
   ========================================================================== */

:root {
  --bg: #0D0D1A;
  --bg-card: #1A1A2E;
  --purple: #7C3AED;
  --purple-light: #9F67FF;
  --gold: #F59E0B;
  --gold-dark: #D97706;
  --text: #FFFFFF;
  --text-muted: #E2E8F0;
  --text-dim: #94A3B8;
  --play-green: #1B5E20;
  --play-green-hover: #2E7D32;
  --apple-bg: #000000;
  --border-purple: rgba(124, 58, 237, 0.5);
  --border-gold: rgba(245, 158, 11, 0.6);
  --navbar-height: 4rem;
  --container-max: 72rem;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --shadow-purple: 0 0 40px rgba(124, 58, 237, 0.15);
  --font-heading: "Nunito", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* Reset & base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.2;
  margin: 0;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Layout utilities
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: 4rem;
}

.section__title {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section__subtitle {
  text-align: center;
  color: var(--text-dim);
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
}

/* 1. NAVBAR
   -------------------------------------------------------------------------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-height);
  padding-inline: 1.25rem;
  background: rgba(13, 13, 26, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124, 58, 237, 0.12);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.navbar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--gold);
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.navbar__cta:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

/* 2. HERO
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: calc(100svh - var(--navbar-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 58, 237, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
    var(--bg);
}

.hero__letters {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__letter {
  position: absolute;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(3rem, 12vw, 7rem);
  color: var(--purple);
  opacity: 0.12;
  user-select: none;
  animation: float-letter 6s ease-in-out infinite;
}

.hero__letter--1 { top: 12%; left: 8%;  animation-delay: 0s;   animation-duration: 5.5s; }
.hero__letter--2 { top: 25%; right: 12%; animation-delay: 0.8s; animation-duration: 6.2s; }
.hero__letter--3 { top: 55%; left: 5%;  animation-delay: 1.5s; animation-duration: 5.8s; }
.hero__letter--4 { top: 70%; right: 8%; animation-delay: 2.2s; animation-duration: 6.5s; }
.hero__letter--5 { top: 40%; left: 45%; animation-delay: 3s;   animation-duration: 5.2s; opacity: 0.08; }

@keyframes float-letter {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-24px); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  text-align: center;
}

.hero__title {
  font-size: clamp(2rem, 7vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--text-dim);
  margin: 0 0 2rem;
  line-height: 1.7;
}

/* Store buttons (shared)
   -------------------------------------------------------------------------- */

.store-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}

.store-buttons--center {
  align-items: center;
}

.store-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 280px;
  padding: 0.75rem 1.25rem 2rem;
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
}

.store-btn__icon {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}

.store-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex: 1;
}

.store-btn__label {
  font-size: 0.7rem;
  opacity: 0.85;
  line-height: 1.2;
}

.store-btn__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

.store-btn--apple {
  color: var(--text);
  background: var(--apple-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.store-btn--apple:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.store-btn--play {
  color: var(--text);
  background: var(--play-green);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.store-btn--play:hover {
  background: var(--play-green-hover);
  box-shadow: 0 8px 24px rgba(27, 94, 32, 0.35);
}

.badge {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.badge--soon {
  color: var(--gold);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

/* 3. NASIL OYNANIR?
   -------------------------------------------------------------------------- */

.how-to-play {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(26, 26, 46, 0.4) 50%, var(--bg) 100%);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.step-card {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--bg-card);
  border: 2px solid var(--border-purple);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  border-color: var(--purple);
  box-shadow: var(--shadow-purple);
}

.step-card__number {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text);
  background: var(--purple);
  border-radius: 50%;
}

.step-card__icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.step-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.step-card__desc {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-dim);
}

/* 4. ÖZELLİKLER
   -------------------------------------------------------------------------- */

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: var(--border-purple);
  transform: translateY(-2px);
}

.feature-card__icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.feature-card__title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.feature-card__desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* 5. PASS PLANLARI
   -------------------------------------------------------------------------- */

.passes {
  background: rgba(26, 26, 46, 0.25);
}

.pass-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 52rem;
  margin-inline: auto;
}

.pass-card {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  text-align: center;
}

.pass-card--seren {
  border: 2px solid var(--border-purple);
}

.pass-card--ultra {
  border: 2px solid var(--border-gold);
  box-shadow: 0 0 32px rgba(245, 158, 11, 0.12);
}

.pass-card__badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pass-card__name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.pass-card--ultra .pass-card__name {
  color: var(--gold);
}

.pass-card__price {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  color: var(--text-dim);
}

.pass-card__amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--text);
}

.pass-card--ultra .pass-card__amount {
  color: var(--gold);
}

.pass-card__perks {
  text-align: left;
  margin-bottom: 1.75rem;
}

.pass-card__perks li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pass-card__perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 700;
}

.pass-card--ultra .pass-card__perks li::before {
  color: var(--gold);
}

.pass-card__btn {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  cursor: not-allowed;
  opacity: 0.85;
}

/* 6. İNDİR (CTA)
   -------------------------------------------------------------------------- */

.cta {
  padding-block: 5rem;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(124, 58, 237, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 20% 30%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
    linear-gradient(160deg, #151528 0%, var(--bg) 100%);
  border-top: 1px solid rgba(124, 58, 237, 0.15);
}

.cta__inner {
  text-align: center;
}

.cta__title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.cta__subtitle {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  color: var(--text-dim);
}

/* 7. FOOTER
   -------------------------------------------------------------------------- */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.25);
  padding-block: 2rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer__copy {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--purple-light);
}

.footer__sep {
  color: var(--text-dim);
  opacity: 0.4;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease;
}

.footer__social-link svg {
  width: 1.15rem;
  height: 1.15rem;
}

.footer__social-link:hover {
  color: var(--purple-light);
  background: rgba(124, 58, 237, 0.2);
}

/* Responsive — tablet+
   -------------------------------------------------------------------------- */

@media (min-width: 480px) {
  .store-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .store-buttons--center {
    justify-content: center;
  }

  .store-btn {
    flex: 1 1 240px;
  }
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .step-card {
    padding-top: 2rem;
  }
}

@media (min-width: 768px) {
  .navbar {
    padding-inline: 2rem;
  }

  .section {
    padding-block: 5rem;
  }

  .pass-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer__links {
    order: 0;
  }

  .footer__copy {
    flex: 1;
  }

  .footer__social {
    flex-shrink: 0;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .hero__content {
    max-width: 44rem;
  }
}
