/* Komparsita — oyunun gece / tango / altın kart temasından türetildi */

:root {
  --night: #0d1820;
  --night-2: #12232d;
  --teal: #183641;
  --teal-2: #21495a;
  --wine: #3f0d17;
  --wine-2: #5e1424;
  --wine-3: #7a1c2e;
  --gold: #e9b949;
  --gold-2: #f6d98a;
  --gold-dim: rgba(233, 185, 73, 0.35);
  --orange: #e5622e;
  --orange-2: #c2441b;
  --cream: #f6ead4;
  --muted: #b8c2c6;
  --red: #e0463e;
  --green: #4fd36a;

  --radius: 18px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --display: "Bangers", "Impact", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  color-scheme: dark;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-2); }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 700px) { .wrap { padding: 0 32px; } }

.eyebrow {
  font-family: var(--display);
  letter-spacing: 0.12em;
  font-size: 1.05rem;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: #2a1203;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, #c98f22);
  border: 2px solid #fff1c4;
  box-shadow: 0 6px 0 #8a5a12, 0 12px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #8a5a12, 0 16px 28px rgba(0, 0, 0, 0.4); }
.btn:active { transform: translateY(3px); box-shadow: 0 3px 0 #8a5a12, 0 6px 12px rgba(0, 0, 0, 0.35); }
.btn--small { padding: 8px 18px; font-size: 1.1rem; box-shadow: 0 4px 0 #8a5a12; }
.btn--ghost {
  background: transparent;
  color: var(--muted);
  border: 2px dashed rgba(184, 194, 198, 0.45);
  box-shadow: none;
  cursor: default;
}
.btn--ghost:hover { transform: none; box-shadow: none; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 24, 32, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(233, 185, 73, 0.15);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
}
.nav__brand img { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--gold-dim); }
.nav__links { display: none; gap: 22px; margin-left: auto; }
.nav__links a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  opacity: 0.8;
}
.nav__links a:hover { opacity: 1; color: var(--gold-2); }
.nav .btn { margin-left: auto; }
@media (min-width: 820px) {
  .nav__links { display: flex; }
  .nav .btn { margin-left: 8px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 72px;
  background:
    radial-gradient(ellipse 60% 50% at 75% 40%, rgba(229, 98, 46, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 60% at 15% 80%, rgba(122, 28, 46, 0.35), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--teal) 100%);
}
/* uçuşan kart siluetleri */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cg fill='none' stroke='%23e9b949' stroke-opacity='.12' stroke-width='1.5'%3E%3Crect x='20' y='30' width='34' height='48' rx='5' transform='rotate(-18 37 54)'/%3E%3Crect x='150' y='120' width='34' height='48' rx='5' transform='rotate(24 167 144)'/%3E%3Crect x='90' y='170' width='26' height='36' rx='4' transform='rotate(-8 103 188)'/%3E%3C/g%3E%3Cg fill='%23e9b949' fill-opacity='.08' font-size='22' font-family='serif'%3E%3Ctext x='150' y='50'%3E%E2%99%A0%3C/text%3E%3Ctext x='40' y='150'%3E%E2%99%A5%3C/text%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero { padding: 72px 0 96px; }
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; }
}

.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.6rem, 13vw, 7rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  background: linear-gradient(180deg, #fff3c9 0%, var(--gold-2) 35%, var(--gold) 60%, #b77a1b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 0 #4a2a06) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}
.hero__tagline {
  font-family: var(--display);
  font-size: clamp(1.6rem, 5vw, 2.3rem);
  letter-spacing: 0.05em;
  color: var(--cream);
  margin-top: 10px;
}
.hero__lead {
  margin-top: 18px;
  max-width: 34em;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero__lead strong { color: var(--cream); }

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 16px;
  border-radius: 14px;
  text-decoration: none;
  min-width: 230px;
}
.store svg { width: 30px; height: 30px; flex: none; }
.store span { display: flex; flex-direction: column; font-weight: 800; font-size: 1.05rem; line-height: 1.2; }
.store small { font-weight: 600; font-size: 0.75rem; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.08em; }
.store--live {
  color: #2a1203;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 60%, #c98f22);
  border: 2px solid #fff1c4;
  box-shadow: 0 6px 0 #8a5a12, 0 14px 28px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease;
}
.store--live svg { fill: #2a1203; }
.store--live:hover { transform: translateY(-2px); }
.store--soon {
  color: var(--muted);
  border: 2px dashed rgba(184, 194, 198, 0.4);
  background: rgba(255, 255, 255, 0.03);
}
.store--soon svg { fill: none; stroke: var(--muted); stroke-width: 1.6; }

.hero__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.92rem;
  color: var(--muted);
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(233, 185, 73, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(233, 185, 73, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(233, 185, 73, 0); }
  100% { box-shadow: 0 0 0 0 rgba(233, 185, 73, 0); }
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
.deco-card {
  position: absolute;
  top: 8%;
  width: 46%;
  max-width: 220px;
  aspect-ratio: 5 / 7;
  border-radius: 18px;
  box-shadow: var(--shadow);
  font-family: Georgia, serif;
  padding: 14px 18px;
}
.deco-card span { display: block; font-size: 2.6rem; font-weight: 700; line-height: 1; }
.deco-card i { font-style: normal; font-size: 2rem; line-height: 1; }
.deco-card--orange {
  left: 4%;
  transform: rotate(-14deg);
  background: linear-gradient(160deg, #f07a3d, var(--orange-2));
  color: #5b1606;
}
.deco-card--teal {
  right: 4%;
  transform: rotate(12deg);
  background: linear-gradient(160deg, var(--teal-2), #0f2a35);
  color: #0a1c24;
}
@media (min-width: 900px) {
  .deco-card--orange { left: 0; }
  .deco-card--teal { right: 0; }
}

/* ---------- Phone frame ---------- */

.phone {
  position: relative;
  width: min(290px, 72vw);
  aspect-ratio: 9 / 16;
  padding: 10px;
  border-radius: 36px;
  background: linear-gradient(160deg, #2b2b2f, #0b0b0d);
  box-shadow:
    0 0 0 2px rgba(233, 185, 73, 0.35),
    0 30px 60px rgba(0, 0, 0, 0.6);
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 27px;
}
.phone--sm { width: 100%; padding: 7px; border-radius: 26px; }
.phone--sm img { border-radius: 20px; }

/* ---------- Sections ---------- */

.section { padding: 80px 0; position: relative; }
@media (min-width: 900px) { .section { padding: 110px 0; } }

.section--wine {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(233, 185, 73, 0.08), transparent 70%),
    linear-gradient(180deg, var(--wine-2), var(--wine));
}
.section--teal { background: linear-gradient(180deg, var(--night-2), var(--teal)); }

.section__head { max-width: 720px; margin-bottom: 44px; }
.section__head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  letter-spacing: 0.04em;
  color: var(--gold);
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.45);
}
.section__lead { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }

.sub {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.9rem;
  letter-spacing: 0.05em;
  color: var(--cream);
  margin: 56px 0 22px;
}

/* ---------- Oyun ---------- */

.banner {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--gold-dim);
  box-shadow: var(--shadow);
}
.banner img { width: 100%; }

.modes {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .modes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .modes { grid-template-columns: repeat(4, 1fr); } }

.mode {
  position: relative;
  padding: 24px 22px 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--wine-3), var(--wine));
  border: 2px solid var(--gold);
  box-shadow: inset 0 0 0 4px rgba(0, 0, 0, 0.25), 0 0 24px rgba(233, 185, 73, 0.18), var(--shadow);
}
.mode__count {
  font-family: var(--display);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--gold-2);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.mode__count small { font-size: 1.1rem; color: var(--gold); letter-spacing: 0.08em; }
.mode h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  margin: 10px 0 8px;
}
.mode p { color: #e3cfc8; font-size: 0.97rem; }
.mode--online { background: linear-gradient(180deg, var(--teal-2), var(--teal)); }
.mode--online p { color: var(--muted); }

.chips {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chips li {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(233, 185, 73, 0.25);
  font-weight: 700;
  font-size: 0.92rem;
}

/* ---------- Nasıl oynanır ---------- */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.steps li {
  position: relative;
  padding: 26px 22px 24px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(233, 185, 73, 0.3);
}
.steps__num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-family: var(--display);
  font-size: 1.6rem;
  color: #2a1203;
  background: radial-gradient(circle at 35% 30%, var(--gold-2), var(--gold) 60%, #a8711b);
  box-shadow: 0 4px 0 #6b440c;
  margin-bottom: 14px;
}
.steps h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.steps p { color: #e3cfc8; font-size: 0.97rem; }
.steps__suits { display: flex; gap: 8px; margin-top: 12px; }
.steps__suits b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream);
  color: #151515;
  font-size: 1.3rem;
}
.steps__suits b.red { color: var(--red); }

.rules {
  display: grid;
  gap: 32px;
  margin-top: 8px;
}
@media (min-width: 900px) { .rules { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }

.score table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}
.score th,
.score td {
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.25);
}
.score th {
  text-align: left;
  font-weight: 700;
  border-radius: 12px 0 0 12px;
  border-left: 3px solid var(--gold);
}
.score th small { display: block; font-weight: 600; color: var(--muted); font-size: 0.82rem; }
.score td {
  text-align: right;
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  color: var(--green);
  border-radius: 0 12px 12px 0;
  white-space: nowrap;
}
.score td::before { content: "+"; }
.score__mini th { border-left-color: var(--orange); }
.score__warn {
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(224, 70, 62, 0.14);
  border: 1px solid rgba(224, 70, 62, 0.4);
  font-size: 0.95rem;
}

.extras { display: grid; gap: 16px; }
@media (min-width: 900px) { .extras { margin-top: 78px; } }
.extra {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(233, 185, 73, 0.22);
}
.extra__icon { font-size: 2rem; line-height: 1; width: 44px; text-align: center; flex: none; }
.extra h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.extra p { color: #e3cfc8; font-size: 0.97rem; }

/* ---------- Karakterler ---------- */

#karakterler {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(24, 54, 65, 0.9), transparent 70%),
    var(--night);
}

.heroes {
  display: grid;
  gap: 24px;
}
@media (min-width: 1000px) { .heroes { grid-template-columns: 1fr 1fr; } }

.hero-card {
  --accent: var(--gold);
  --glow: rgba(233, 185, 73, 0.35);
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(170deg, #1a2a33, #0f1a21);
  border: 2px solid var(--accent);
  box-shadow: inset 0 0 0 5px rgba(0, 0, 0, 0.3), var(--shadow);
}
@media (min-width: 560px) { .hero-card { grid-template-columns: 0.85fr 1.15fr; } }

.hero-card--maca { --accent: #9aa9b3; --glow: rgba(150, 175, 195, 0.35); }
.hero-card--sinek { --accent: #6cc36a; --glow: rgba(255, 140, 40, 0.38); }
.hero-card--karo { --accent: #f08a3c; --glow: rgba(240, 160, 60, 0.38); }
.hero-card--kupa { --accent: #e0463e; --glow: rgba(240, 190, 90, 0.4); }

.hero-card__corner {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
  z-index: 2;
}
.hero-card__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 24px 12px 12px;
  background: radial-gradient(circle at 50% 50%, var(--glow), transparent 65%);
}
.hero-card__art img {
  width: auto;
  max-width: 100%;
  max-height: 400px;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 98%);
  mask-image: linear-gradient(180deg, #000 82%, transparent 98%);
  transition: transform 0.4s ease;
}
.hero-card:hover .hero-card__art img { transform: scale(1.04) translateY(-4px); }

.hero-card__body { padding: 8px 24px 28px; }
@media (min-width: 560px) { .hero-card__body { padding: 32px 28px 30px 6px; } }

.hero-card__suit {
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 2.1rem;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-top: 2px;
}
.hero-card__title {
  font-style: italic;
  color: var(--gold-2);
  margin: 2px 0 12px;
  font-weight: 600;
}
.hero-card__body > p:not([class]) { color: var(--muted); font-size: 0.96rem; }

.traits {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.traits li {
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--cream);
  background: rgba(255, 255, 255, 0.04);
}

/* ---------- Ekranlar ---------- */

.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 64%;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 18px;
  margin: 0 -4px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
@media (min-width: 620px) { .shots { grid-auto-columns: 40%; } }
@media (min-width: 1000px) {
  .shots { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; }
}
.shot { margin: 0; scroll-snap-align: center; }
.shot figcaption {
  text-align: center;
  margin-top: 14px;
  font-family: var(--display);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--gold-2);
}

/* ---------- İndir ---------- */

.download {
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(229, 98, 46, 0.25), transparent 70%),
    var(--night);
  text-align: center;
}
.download .section__head { margin-left: auto; margin-right: auto; }

.platforms {
  display: grid;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}
@media (min-width: 700px) { .platforms { grid-template-columns: 1fr 1fr; } }

.platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 32px 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--wine-2), var(--wine));
  border: 2px solid var(--gold-dim);
}
.platform h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 2.2rem;
  letter-spacing: 0.05em;
}
.platform p { color: #e3cfc8; margin-bottom: 12px; }

.status {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.status--live { background: rgba(79, 211, 106, 0.15); color: var(--green); border: 1px solid rgba(79, 211, 106, 0.5); }
.status--wait { background: rgba(233, 185, 73, 0.12); color: var(--gold); border: 1px solid var(--gold-dim); }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid rgba(233, 185, 73, 0.15);
  padding: 32px 0 40px;
  background: #091117;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { width: 48px; height: 48px; border-radius: 12px; }
.footer__brand strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.4rem; letter-spacing: 0.05em; color: var(--gold); }
.footer__brand span { font-size: 0.85rem; color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__links a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 0.92rem; }
.footer__links a:hover { color: var(--gold-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
