/* ═══════════════════════════════════════
   SHARED STYLES — TürkiyeŞans Platformu
   ═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary:       #1a56db;
  --primary-dark:  #1240a8;
  --primary-light: #3b82f6;
  --primary-pale:  #eff6ff;
  --accent:        #0ea5e9;
  --gold:          #f59e0b;
  --gold-light:    #fef3c7;
  --success:       #10b981;
  --danger:        #ef4444;
  --surface:       #ffffff;
  --bg:            #f0f5ff;
  --text:          #0f172a;
  --text-2:        #475569;
  --text-3:        #94a3b8;
  --border:        #e2e8f0;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:     0 4px 16px rgba(26,86,219,0.10), 0 1px 4px rgba(0,0,0,0.06);
  --shadow-lg:     0 10px 40px rgba(26,86,219,0.14), 0 2px 8px rgba(0,0,0,0.06);
  --radius:        12px;
  --radius-lg:     20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; }
a { text-decoration: none; color: inherit; }

/* ── TOPBAR ── */
.topbar {
  background: #0c1f4a;
  color: rgba(255,255,255,.65);
  font-size: 12px;
  padding: 8px 0;
  text-align: center;
  letter-spacing: .01em;
}
.topbar strong { color: #93c5fd; }

/* ── NAV ── */
nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center;
  height: 64px; padding: 0 28px; gap: 0;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  margin-right: auto;
}
.logo-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 19px; font-weight: 900;
  box-shadow: 0 2px 8px rgba(26,86,219,.3);
}
.logo-text { font-size: 17px; font-weight: 800; color: var(--text); }
.logo-text span { color: var(--primary); }

.nav-links { display: flex; gap: 2px; margin: 0 28px; }
.nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 9px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: all .15s; white-space: nowrap;
  border: none; background: transparent; cursor: pointer;
}
.nav-link:hover { background: var(--primary-pale); color: var(--primary); }
.nav-link.active { background: var(--primary-pale); color: var(--primary); font-weight: 600; }
.nav-link .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(16,185,129,.2);
}
.nav-badge {
  background: var(--danger); color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: 99px;
}
.nav-secure {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--text-3);
  padding-left: 20px; border-left: 1px solid var(--border);
}

/* ── ALERT BANNER ── */
.alert-banner {
  background: linear-gradient(90deg, #1e3a8a, #1a56db);
  color: #fff; padding: 13px 24px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  font-size: 14px;
}
.alert-banner strong { font-weight: 700; }
.cd-row { display: flex; gap: 5px; align-items: center; }
.cd-box {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 6px; padding: 3px 9px;
  font-size: 15px; font-weight: 700;
  min-width: 36px; text-align: center;
  font-variant-numeric: tabular-nums;
}
.cd-sep { font-weight: 700; opacity: .5; }

/* ── HERO ── */
.hero {
  background: linear-gradient(160deg, #0c1f4a 0%, #1a56db 55%, #0ea5e9 100%);
  padding: 80px 28px 88px; position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0; height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto;
  gap: 56px; align-items: center; position: relative;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 99px; padding: 5px 15px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.9);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: 46px; font-weight: 900; color: #fff;
  line-height: 1.12; margin-bottom: 18px;
  letter-spacing: -.02em;
}
.hero h1 em { font-style: normal; color: #93c5fd; }
.hero p { font-size: 17px; color: rgba(255,255,255,.8); line-height: 1.75; max-width: 500px; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--primary);
  border: none; border-radius: 11px;
  padding: 14px 30px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 11px; padding: 14px 24px;
  font-size: 15px; font-weight: 500; cursor: pointer;
  transition: background .15s;
}
.btn-ghost:hover { background: rgba(255,255,255,.1); }

.hero-card {
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 30px 34px; min-width: 250px; text-align: center;
}
.hero-card-num { font-size: 44px; font-weight: 900; color: #fff; line-height: 1; }
.hero-card-lbl { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 5px; }
.hero-card-divider { border: none; border-top: 1px solid rgba(255,255,255,.12); margin: 18px 0; }
.hero-card-row { display: flex; justify-content: space-around; gap: 12px; }
.hero-mini-num { font-size: 22px; font-weight: 800; color: #93c5fd; }
.hero-mini-lbl { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 3px; }

/* ── TRUST STRIP ── */
.trust-strip {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 16px 28px;
}
.trust-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 500; color: var(--text-2);
}
.trust-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--primary-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}

/* ── SECTION ── */
.section { padding: 64px 28px; }
.section-inner { max-width: 1120px; margin: 0 auto; }
.section-alt { background: var(--surface); }
.section-blue { background: #f8faff; }

.section-header { text-align: center; margin-bottom: 44px; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 8px;
}
.section-title { font-size: 30px; font-weight: 800; color: var(--text); margin-bottom: 10px; letter-spacing: -.01em; }
.section-sub { font-size: 15px; color: var(--text-2); max-width: 500px; margin: 0 auto; line-height: 1.7; }

/* ── PRIZE GRID ── */
.prize-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.prize-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 20px; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
  position: relative; overflow: hidden;
}
.prize-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.prize-card.gold::before { background: linear-gradient(90deg, var(--gold), #fb923c); }
.prize-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.prize-rank {
  display: inline-flex; background: var(--primary-pale); color: var(--primary);
  font-size: 11px; font-weight: 700; border-radius: 99px; padding: 3px 11px;
  margin-bottom: 16px;
}
.prize-card.gold .prize-rank { background: var(--gold-light); color: #92400e; }
.prize-emoji { font-size: 44px; display: block; margin-bottom: 12px; }
.prize-name { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.prize-val { font-size: 28px; font-weight: 900; color: var(--primary); margin-bottom: 6px; letter-spacing: -.01em; }
.prize-card.gold .prize-val { color: #d97706; }
.prize-desc { font-size: 12px; color: var(--text-3); line-height: 1.5; }

/* ── WINNERS TABLE ── */
.winners-table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.wt-header {
  background: linear-gradient(90deg, #1e3a8a, #1a56db);
  display: grid; grid-template-columns: 1fr 2fr 1fr 1fr;
  padding: 12px 20px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255,255,255,.7);
}
.w-row {
  display: grid; grid-template-columns: 1fr 2fr 1fr 1fr;
  padding: 14px 20px; align-items: center;
  border-bottom: 1px solid var(--border);
  font-size: 14px; transition: background .1s;
}
.w-row:last-child { border-bottom: none; }
.w-row:hover { background: #f8faff; }
.w-row:nth-child(even) { background: #f8faff; }
.w-row:nth-child(even):hover { background: #eef4ff; }
.w-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.w-name-cell { display: flex; align-items: center; gap: 11px; }
.w-name { font-weight: 600; }
.w-prize-badge {
  background: var(--primary-pale); color: var(--primary);
  font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 6px;
  display: inline-flex; align-items: center;
}
.w-date { color: var(--text-3); font-size: 13px; }

/* ── REVIEW CARDS ── */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.review-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
}
.stars { color: var(--gold); font-size: 15px; margin-bottom: 10px; }
.review-text {
  font-size: 14px; color: var(--text-2); line-height: 1.75; margin-bottom: 16px;
  position: relative; padding-left: 18px;
}
.review-text::before {
  content: '"'; position: absolute; left: 0; top: -4px;
  font-size: 28px; color: var(--primary-light); line-height: 1;
}
.review-footer { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--primary);
}
.review-name { font-size: 13px; font-weight: 700; }
.review-meta { font-size: 11px; color: var(--text-3); }
.verified { margin-left: auto; font-size: 11px; color: var(--success); font-weight: 600; }

/* ── FOOTER ── */
footer {
  background: #0c1f4a; color: rgba(255,255,255,.5);
  padding: 44px 28px 28px;
}
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 24px;
}
.footer-brand { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.footer-copy { font-size: 12px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.4); font-size: 12px; transition: color .15s; }
.footer-links a:hover { color: rgba(255,255,255,.7); }

/* ── LOADING OVERLAY ── */
.overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(15,23,42,.55); backdrop-filter: blur(4px);
  z-index: 999; align-items: center; justify-content: center;
}
.overlay.show { display: flex; }
.overlay-box {
  background: #fff; border-radius: 18px; padding: 38px 52px;
  text-align: center; box-shadow: var(--shadow-lg);
}
.spinner {
  width: 46px; height: 46px;
  border: 4px solid #dbeafe; border-top-color: var(--primary);
  border-radius: 50%; animation: spin .75s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .hero h1 { font-size: 32px; }
  .wt-header, .w-row { grid-template-columns: auto 1fr; }
  .wt-header > *:nth-child(3), .wt-header > *:nth-child(4),
  .w-row > *:nth-child(3), .w-row > *:nth-child(4) { display: none; }
  .nav-links .nav-link span:not(.dot):not(.nav-badge) { display: none; }
  .trust-inner { gap: 20px; }
}
