/* VIBERO — web tasarım sistemi. App'in DesignSystem paletiyle birebir (gece-kortu antrasit +
   lime + kort çizgisi motifi + ılık kırık-beyaz). Statik, build yok. */

:root {
  --bg-base: #0E0F12;
  --bg-elevated: #1D2025;
  --bg-elevated-2: #262A31;
  --line: #31363E;
  --line-soft: #3A3F47;
  --text-primary: #EDEFE8;   /* ılık kırık beyaz — saf beyaz yok */
  --text-muted: #9AA3AD;
  --text-faint: #5B6470;
  --lime: #C9E44E;
  --lime-pressed: #B3CD3F;
  --on-lime: #14160A;
  --coral: #FF7059;
  --ice: #8FBEE8;
  --gold: #E2C275;
  --court-tint: #17262F;
  --court-line: rgba(237, 239, 232, 0.10);

  --radius: 16px;
  --radius-lg: 24px;
  --screen-inset: 24px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Kort çizgisi imza motifi — ince diyagonal ağ, çok soluk */
.court-lines {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--court-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--court-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--screen-inset); position: relative; z-index: 1; }

/* --- Header --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 15, 18, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { font-weight: 800; font-size: 20px; letter-spacing: 0.14em; color: var(--text-primary); text-decoration: none; }
.wordmark .dot { color: var(--lime); }
.nav-links { display: flex; gap: 28px; align-items: center; }
/* :not(.btn) — buton olmayan nav linkleri gri; buton linkleri kendi rengini korur (specificity fix) */
.nav-links a:not(.btn) { color: var(--text-muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .16s; }
.nav-links a:not(.btn):hover { color: var(--text-primary); }
@media (max-width: 640px) { .nav-links { display: none; } }

/* --- Butonlar --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .12s ease, background .16s ease; cursor: pointer;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--lime); color: var(--on-lime); }
.btn-primary:hover { background: var(--lime-pressed); }
.btn-ghost { background: transparent; color: var(--text-primary); border-color: var(--line-soft); }
.btn-ghost:hover { background: var(--bg-elevated); }

/* --- Hero --- */
.hero { position: relative; padding: 96px 0 72px; overflow: hidden; }
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--lime); border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 28px; background: var(--bg-elevated);
}
.hero h1 {
  font-size: clamp(38px, 7vw, 68px); line-height: 1.04; font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 22px;
}
.hero h1 .accent { color: var(--lime); }
.hero p.lead { font-size: clamp(17px, 2.4vw, 21px); color: var(--text-muted); max-width: 620px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.momentum { height: 3px; width: 120px; margin: 44px auto 0; border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent); opacity: .8; }

/* --- Bölümler --- */
.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 17px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-elevated); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px; position: relative; overflow: hidden;
  transition: border-color .18s ease, transform .18s ease;
}
.card:hover { border-color: var(--line-soft); transform: translateY(-2px); }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(201, 228, 78, 0.12); color: var(--lime); margin-bottom: 18px; font-size: 22px;
}
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 15px; }

/* --- CTA şeridi --- */
.cta-band { padding: 80px 0; text-align: center; position: relative; }
.cta-band .panel {
  background: linear-gradient(160deg, var(--court-tint), var(--bg-elevated));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 56px 32px; position: relative; overflow: hidden;
}
.cta-band h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-bottom: 14px; letter-spacing: -0.02em; }
.cta-band p { color: var(--text-muted); margin-bottom: 30px; font-size: 17px; }

/* --- Footer --- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--text-faint); }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 28px; margin-bottom: 32px; }
.footer-brand .wordmark { font-size: 18px; }
.footer-brand p { color: var(--text-faint); font-size: 14px; margin-top: 10px; max-width: 280px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text-faint); text-decoration: none; font-size: 15px; margin-bottom: 10px; transition: color .16s; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* --- Legal / içerik sayfaları --- */
.legal { padding: 64px 0 80px; }
.legal .doc { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.legal .updated { color: var(--text-faint); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 21px; font-weight: 700; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--text-muted); font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--lime); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal .back { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted);
  text-decoration: none; font-size: 15px; margin-bottom: 32px; }
.legal .back:hover { color: var(--text-primary); }
.notice { background: var(--bg-elevated); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 12px; padding: 16px 18px; margin: 24px 0; font-size: 14px; color: var(--text-muted); }

/* --- Durum kartı (davet / RSVP) --- */
.state { min-height: 100dvh; display: grid; place-items: center; padding: 40px var(--screen-inset); position: relative; }
.state-card {
  width: 100%; max-width: 440px; background: var(--bg-elevated); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px; position: relative; z-index: 1; text-align: center;
}
.state-card .avatar {
  width: 76px; height: 76px; border-radius: 999px; margin: 0 auto 18px; display: grid; place-items: center;
  background: rgba(201, 228, 78, 0.14); color: var(--lime); font-size: 30px; font-weight: 800;
}
.state-card h1 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.state-card .sub { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }
.state-card .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.muted-link { color: var(--text-faint); font-size: 14px; text-decoration: none; }
.muted-link:hover { color: var(--text-muted); }
.skeleton { color: var(--text-faint); font-size: 15px; }
