/* ================================================================
   STAKE TÜRKİYE — shared.css
   Tüm public sayfalarda kullanılan ortak tasarım sistemi.
   (admin.html bu dosyayı yüklememeli)
   ================================================================ */

/* ── Design Tokens ── */
:root {
  --bg:          #050a08;
  --panel:       #0b1511;
  --panel2:      #0e1a14;
  --line:        #1a2e23;
  --line2:       #243d30;
  --text:        #f4f7f5;
  --muted:       #8fa49a;
  --green:       #24e07b;
  --green-dim:   #1bbc65;
  --green-glow:  rgba(36,224,123,.18);
  --radius:      20px;
  --shadow:      0 28px 80px rgba(0,0,0,.42);
  --shell-w:     min(1200px, calc(100% - 40px));
}

/* ── Base Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(circle at 85% 5%, rgba(22,120,74,.18), transparent 26%),
    radial-gradient(circle at 12% 35%, rgba(14,72,46,.10), transparent 28%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; }

/* ── Layout Shell ── */
.shell {
  width: var(--shell-w);
  margin-left: auto;
  margin-right: auto;
}

/* ================================================================
   SHARED HEADER / NAVBAR
   ================================================================ */

.st-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(5,10,8,.98), rgba(5,10,8,.94));
  border-bottom: 1px solid rgba(36,224,123,.12);
  box-shadow: 0 14px 50px rgba(0,0,0,.32);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.st-header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
}

/* Hamburger */
.st-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.st-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #c8d4cd;
  border-radius: 2px;
  transition: background .2s;
}
.st-hamburger:hover { background: rgba(36,224,123,.08); border-color: rgba(36,224,123,.3); }
.st-hamburger:hover span { background: var(--green); }

/* Logo */
.st-logo {
  display: flex;
  flex-direction: column;
  line-height: .92;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 150px;
}
.st-logo strong {
  font-size: 28px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -2px;
  color: #fff;
  text-shadow: 0 0 28px rgba(36,224,123,.14);
}
.st-logo strong::first-letter { color: var(--green); }
.st-logo small {
  font-size: 9px;
  letter-spacing: 4px;
  color: #bdd4c7;
  margin-top: 5px;
}

/* Nav */
.st-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 1;
  justify-content: center;
  padding: 5px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 15px;
  overflow: hidden;
}
.st-nav a {
  padding: 10px 12px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 650;
  color: #a0b4aa;
  white-space: nowrap;
  transition: background .18s, color .18s, transform .18s;
  text-decoration: none;
}
.st-nav a:hover {
  background: rgba(255,255,255,.055);
  color: #fff;
}
.st-nav a.active {
  background: linear-gradient(180deg, rgba(36,224,123,.16), rgba(36,224,123,.08));
  color: #64f5ad;
  box-shadow: inset 0 0 0 1px rgba(36,224,123,.18);
}

/* Header Actions */
.st-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.st-btn-login {
  padding: 10px 15px;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,.10);
  background: transparent;
  color: #c8d8d0;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .18s, color .18s;
  cursor: pointer;
}
.st-btn-login:hover { background: rgba(255,255,255,.06); color: #fff; }
.st-btn-register {
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--green);
  color: #041209;
  font-size: 12.5px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 8px 28px rgba(36,224,123,.26);
  transition: background .18s, box-shadow .18s, transform .18s;
}
.st-btn-register:hover {
  background: #34f08c;
  box-shadow: 0 12px 36px rgba(36,224,123,.36);
  transform: translateY(-1px);
}

/* ================================================================
   SIDEBAR OVERLAY + SIDEBAR
   ================================================================ */

.st-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3,6,8,.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s cubic-bezier(.16,1,.3,1);
}
body.sidebar-open .st-overlay { opacity: 1; pointer-events: auto; }

.st-sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(340px, 86vw);
  background: linear-gradient(180deg, #0e1316, #080b0d);
  border-right: 1px solid rgba(255,255,255,.08);
  box-shadow: 25px 0 80px rgba(0,0,0,.65);
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform .36s cubic-bezier(.16,1,.3,1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
body.sidebar-open .st-sidebar { transform: translateX(0); }
body.sidebar-open { overflow: hidden; }

.st-sidebar-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.st-sidebar-close {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  color: #8f9aa3;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 16px;
  transition: background .18s, color .18s, transform .2s;
}
.st-sidebar-close:hover { background: rgba(255,95,109,.12); color: #ff5f6d; transform: rotate(90deg); }

.st-sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.08) transparent;
}

.st-nav-group { display: flex; flex-direction: column; gap: 3px; }
.st-nav-group-title {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #5a6b72;
  padding: 8px 12px 5px;
}
.st-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 13px;
  color: #b5c4c8;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s, color .18s, transform .18s;
  border: 1px solid transparent;
  position: relative;
}
.st-nav-item:hover { background: rgba(255,255,255,.04); color: #fff; transform: translateX(3px); }
.st-nav-item.active {
  background: linear-gradient(90deg, rgba(36,224,123,.15), rgba(36,224,123,.03));
  border-color: rgba(36,224,123,.22);
  color: #fff;
}
.st-nav-item.active::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 3.5px;
  border-radius: 0 4px 4px 0;
  background: var(--green);
  box-shadow: 0 0 12px rgba(36,224,123,.6);
}
.st-nav-icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  display: grid;
  place-items: center;
  color: #8f9aa3;
  flex-shrink: 0;
  transition: background .18s, color .18s;
}
.st-nav-icon svg { width: 16px; height: 16px; fill: currentColor; }
.st-nav-item:hover .st-nav-icon { background: rgba(36,224,123,.12); color: var(--green); }
.st-nav-item.active .st-nav-icon { background: var(--green); color: #06110a; }
.st-nav-badge {
  margin-left: auto;
  font-size: 9.5px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(36,224,123,.12);
  color: var(--green);
  border: 1px solid rgba(36,224,123,.2);
}
.st-sidebar-code {
  background: #090d0f;
  border: 1px solid rgba(36,224,123,.2);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: border-color .18s, background .18s;
  user-select: none;
}
.st-sidebar-code:hover { border-color: var(--green); background: #0d1512; }
.st-sidebar-code small {
  display: block;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  color: #64767c;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.st-sidebar-code strong { color: var(--green); font-size: 18px; letter-spacing: .05em; }
.st-sidebar-code-hint { font-size: 12px; color: #6e7e84; }

/* ================================================================
   PAGE HERO (alt sayfalar için)
   ================================================================ */

.st-page-hero {
  padding: 36px 0 28px;
}
.st-page-hero-box {
  background:
    radial-gradient(circle at 88% 22%, rgba(36,224,123,.11), transparent 34%),
    linear-gradient(135deg, #0a1811, #07100d);
  border: 1px solid rgba(68,130,100,.2);
  border-radius: 26px;
  padding: 44px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
}
.st-page-hero-box::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(36,224,123,.07);
  filter: blur(60px);
  pointer-events: none;
}
.st-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(36,224,123,.08);
  border: 1px solid rgba(36,224,123,.2);
  color: var(--green);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.st-page-hero-box h1 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: .96;
  margin-bottom: 14px;
  color: #fff;
}
.st-page-hero-box h1 span { color: var(--green); }
.st-page-hero-box p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 560px;
}

/* ================================================================
   COMMON SECTION / CARDS / UTILITIES
   ================================================================ */

.st-section { padding: 32px 0 48px; }

.st-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.st-section-title {
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  letter-spacing: .03em;
}
.st-section-link {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  transition: opacity .15s;
}
.st-section-link:hover { opacity: .8; }

/* Card base */
.st-card {
  background: linear-gradient(180deg, #0d1a14, #08110e);
  border: 1px solid rgba(68,130,100,.22);
  border-radius: 22px;
  padding: 28px;
  transition: transform .22s, border-color .22s, box-shadow .22s;
  position: relative;
  overflow: hidden;
}
.st-card:hover {
  transform: translateY(-4px);
  border-color: rgba(36,224,123,.38);
  box-shadow: 0 22px 60px rgba(0,0,0,.28);
}
.st-card::before {
  content: "";
  position: absolute;
  right: -20px; top: -20px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(36,224,123,.05);
  filter: blur(28px);
  pointer-events: none;
}

/* Empty state */
.st-empty,
.empty {
  border: 1.5px dashed var(--line2);
  border-radius: 20px;
  padding: 56px 24px;
  text-align: center;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  grid-column: 1 / -1;
  width: 100%;
  background: rgba(255,255,255,.015);
}
.st-empty-icon {
  font-size: 44px;
  margin-bottom: 6px;
  opacity: .7;
}
.st-empty h3 {
  font-size: 20px;
  color: #d2ddd8;
  margin: 0;
}
.st-empty p {
  font-size: 14px;
  max-width: 380px;
  line-height: 1.6;
}

/* Loading */
.st-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 48px 24px;
  color: var(--muted);
  font-size: 14px;
}
.st-spinner {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(36,224,123,.18);
  border-top-color: var(--green);
  animation: st-spin .8s linear infinite;
  flex-shrink: 0;
}
@keyframes st-spin { to { transform: rotate(360deg); } }

/* Buttons */
.st-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 13px;
  background: var(--green);
  color: #041209;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(36,224,123,.24);
  transition: background .2s, box-shadow .2s, transform .2s;
  white-space: nowrap;
}
.st-btn-primary:hover {
  background: #34f08c;
  box-shadow: 0 16px 40px rgba(36,224,123,.34);
  transform: translateY(-2px);
}
.st-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 13px;
  background: transparent;
  border: 1.5px solid rgba(36,224,123,.32);
  color: #d0ead8;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
  white-space: nowrap;
}
.st-btn-outline:hover {
  background: rgba(36,224,123,.08);
  border-color: rgba(36,224,123,.55);
  color: #fff;
  transform: translateY(-2px);
}
.st-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line2);
  color: #c2cec8;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
  white-space: nowrap;
}
.st-btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }

/* Form inputs */
.st-input {
  width: 100%;
  background: #080d0f;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 13px;
  color: #fff;
  padding: 13px 14px;
  font-size: 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.st-input:hover { border-color: rgba(255,255,255,.14); }
.st-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(36,224,123,.08);
}
.st-field { display: grid; gap: 7px; margin-bottom: 14px; }
.st-label {
  font-size: 12px;
  font-weight: 800;
  color: #b2bdc4;
  letter-spacing: .02em;
}

/* Badges / Tags */
.st-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  background: var(--green);
  color: #041209;
}
.st-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: var(--green);
  background: rgba(36,224,123,.09);
  border: 1px solid rgba(36,224,123,.2);
  animation: st-pulse 2.2s ease-in-out infinite;
}
@keyframes st-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .7; } }

/* Separator */
.st-sep { height: 1px; background: var(--line); margin: 28px 0; }

/* ================================================================
   KAMPANYA KARTLARI (app.js renderCampaigns, renderHome kullanır)
   ================================================================ */

/* Campaign grid (kampanyalar.html ve ana sayfa slider) */
.campaign-grid,
.v2-campaign-grid,
.campaign-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.campaign-card,
.v2-campaign-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #0a1711, #070e0c);
  border: 1px solid rgba(68,130,100,.26);
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
  display: flex;
  flex-direction: column;
  transition: transform .22s, border-color .22s, box-shadow .22s;
  min-height: 360px;
}
.campaign-card:hover,
.v2-campaign-card:hover {
  transform: translateY(-5px);
  border-color: rgba(36,224,123,.42);
  box-shadow: 0 28px 70px rgba(0,0,0,.34);
}

.campaign-media,
.v2-campaign-visual {
  position: relative;
  height: 168px;
  overflow: hidden;
  background: #07100d;
  flex-shrink: 0;
}
.campaign-media::after,
.v2-campaign-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #07100d 0%, rgba(7,16,13,.16) 50%, transparent 80%);
}
.campaign-media img,
.v2-campaign-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .35s;
  filter: saturate(1.05) contrast(1.03);
}
.campaign-card:hover .campaign-media img,
.v2-campaign-card:hover .v2-campaign-visual img { transform: scale(1.08); }

.campaign-body,
.v2-campaign-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 18px 18px;
  margin-top: -14px;
  position: relative;
  z-index: 2;
}

.campaign-badge,
.v2-campaign-badge {
  display: inline-block;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  background: var(--green);
  color: #041209;
  align-self: flex-start;
  margin-bottom: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,.24);
}

.campaign-value,
.v2-campaign-value {
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 7px;
}

.campaign-body h3,
.v2-campaign-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: #e4eeea;
  line-height: 1.2;
  margin-bottom: 7px;
  min-height: 40px;
}

.campaign-body p,
.v2-campaign-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.campaign-body .btn,
.v2-campaign-card .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--green);
  color: #041209;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  min-height: 44px;
  box-shadow: 0 8px 24px rgba(36,224,123,.18);
  transition: background .2s, box-shadow .2s;
  margin-top: auto;
}
.campaign-body .btn:hover,
.v2-campaign-card .btn:hover { background: #34f08c; box-shadow: 0 12px 32px rgba(36,224,123,.30); }

/* Badge color variants */
.visual-sport .campaign-badge, .visual-sport .v2-campaign-badge  { background: #31ef91; color: #041209; }
.visual-casino .campaign-badge, .visual-casino .v2-campaign-badge { background: #ffc43f; color: #1a0f00; }
.visual-live .campaign-badge, .visual-live .v2-campaign-badge     { background: #9b72ff; color: #fff; }
.visual-cyprus .campaign-badge, .visual-cyprus .v2-campaign-badge { background: #4f9cff; color: #fff; }

/* ================================================================
   BONUS KODLARI (app.js renderCodes kullanır)
   ================================================================ */

.code-list,
.bonus-code-grid { display: grid; gap: 14px; }

.code-card {
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(145deg, #0d1a14, #08110e);
  border: 1px solid rgba(36,224,123,.18);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s, transform .2s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}
.code-card:hover { border-color: rgba(36,224,123,.42); transform: translateY(-2px); }
.code-card small {
  color: var(--green);
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.code-card code {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--green);
  font-family: 'Inter', monospace;
}
.code-card p { font-size: 13px; color: var(--muted); line-height: 1.55; }
.code-card .btn,
.code-card button {
  align-self: flex-start;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid rgba(36,224,123,.3);
  background: transparent;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s, border-color .18s;
}
.code-card .btn:hover,
.code-card button:hover { background: rgba(36,224,123,.1); border-color: var(--green); }

/* ================================================================
   LİDERLİK TABLOSU (app.js renderLeaderboard kullanır)
   ================================================================ */

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line2);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
}
th, td {
  text-align: left;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}
th {
  color: #637d72;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(11,21,17,.95);
  font-weight: 800;
}
tbody tr:hover { background: rgba(36,224,123,.03); }
td:last-child, th:last-child { text-align: right; }
td:first-child, th:first-child { text-align: center; width: 56px; }

.rank-pill {
  display: inline-flex;
  width: 30px; height: 30px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #182d22;
  font-weight: 900;
  font-size: 12px;
}
.rank-1 { background: #d5a826; color: #181307; }
.rank-2 { background: #c4cdd1; color: #14202a; }
.rank-3 { background: #b87040; color: #1b1007; }
.leader-prize { color: #ffd84c; font-weight: 700; white-space: nowrap; }
.wager-cell { font-weight: 700; color: #d8e2dd; white-space: nowrap; }

/* ================================================================
   FAQ (app.js renderFaq kullanır)
   ================================================================ */

.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line2);
  border-radius: 16px;
  background: linear-gradient(180deg, #0d1a14, #08110e);
  padding: 0 20px;
  transition: border-color .2s;
}
.faq-item[open] { border-color: rgba(36,224,123,.3); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  font-size: 15px;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #e4eee8;
  transition: color .18s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--green);
  transition: transform .2s;
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: #fff; }
.faq-item p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 18px;
  font-size: 14.5px;
}

/* ================================================================
   ÇEKİLİŞLER (app.js renderGiveaways kullanır)
   ================================================================ */

.give-grid,
#giveawayGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}
.give-card,
.quick-card {
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(145deg, #0d1a14, #08110e);
  border: 1px solid rgba(68,130,100,.22);
  display: flex;
  flex-direction: column;
  transition: transform .22s, border-color .22s, box-shadow .22s;
  box-shadow: 0 16px 45px rgba(0,0,0,.22);
  position: relative;
  overflow: hidden;
}
.give-card:hover,
.quick-card:hover {
  transform: translateY(-4px);
  border-color: rgba(36,224,123,.4);
  box-shadow: 0 24px 60px rgba(0,0,0,.32);
}
.quick-card small {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(36,224,123,.1);
  border: 1px solid rgba(36,224,123,.2);
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
  margin-bottom: 6px;
}
.quick-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 4px 0 8px;
}
.quick-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 6px;
}
.quick-card b {
  color: #e4eee8;
}
.give-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.give-card h2 { font-size: 26px; margin: 0 0 8px; }
.give-prize {
  font-size: 36px;
  font-weight: 900;
  color: var(--green);
  letter-spacing: -.04em;
  margin-bottom: 10px;
}
.give-description { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 16px; min-height: 22px; }
.give-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.give-stats span {
  padding: 8px 12px;
  border: 1px solid var(--line2);
  border-radius: 11px;
  background: rgba(255,255,255,.025);
  color: #8fa49a;
  font-size: 12px;
}
.give-stats b { color: #d4e2dc; }
.give-action { margin-top: 18px; }
.give-action .btn,
.give-action .st-btn-primary { width: 100%; justify-content: center; }
.give-join-form {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(36,224,123,.18);
  border-radius: 14px;
  background: rgba(36,224,123,.025);
}
.give-join-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; margin-top: 8px; }
.give-telegram-label { display: block; color: #cbd7da; font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.give-join-form small { display: block; margin-top: 8px; color: #728087; font-size: 10px; line-height: 1.5; }
.give-winner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 16px;
  border: 1px solid rgba(36,224,123,.24); border-radius: 14px;
  background: rgba(36,224,123,.06);
}
.give-winner span { font-size: 9px; font-weight: 900; letter-spacing: .15em; color: var(--green); }
.give-winner strong { font-size: 17px; }
.give-notice {
  margin-bottom: 14px; padding: 13px 15px;
  border-radius: 13px; border: 1px solid var(--line);
  background: #111719; color: #d9e2e5;
}
.give-notice.ok { border-color: rgba(36,224,123,.28); color: #78e9a9; }
.give-notice.bad { border-color: rgba(255,99,110,.28); color: #ff9aa2; }
.code-status {
  font-size: 10px; font-weight: 900;
  padding: 5px 9px; border-radius: 999px;
  background: #13271b; color: #65e79c;
}
.code-status.tükendi, .code-status.suresi-doldu, .code-status.süresi-doldu {
  background: #2b191b; color: #ff8d98;
}

/* ================================================================
   PORTAL HESAP SAYFASI
   ================================================================ */

.st-account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.st-auth-card {
  background: linear-gradient(145deg, #111921, #0c1316);
  border: 1px solid var(--line2);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.st-auth-card.alt { background: linear-gradient(145deg, #0f1914, #0b1012); border-color: rgba(36,224,123,.14); }
.st-auth-card::before {
  content: "";
  position: absolute;
  right: -30px; top: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(36,224,123,.05);
  filter: blur(30px);
}
.st-auth-card h2 { font-size: 26px; margin: 0 0 20px; }
.st-auth-card-icon {
  position: absolute;
  right: 26px; top: 26px;
  font-size: 26px;
  color: var(--green);
}
.st-check-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #9aa6ab;
  font-size: 13px;
  line-height: 1.5;
  margin: 6px 0 18px;
  cursor: pointer;
}
.st-check-label input { margin-top: 3px; accent-color: var(--green); }
.st-form-message { min-height: 22px; padding-top: 10px; font-size: 13px; font-weight: 700; }
.st-form-message.ok { color: #65e79c; }
.st-form-message.bad { color: #ff727f; }
.st-sep-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #617076;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 20px 0 14px;
}
.st-sep-label::before, .st-sep-label::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.st-profile-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  background: linear-gradient(145deg, #0d1a14, #08110e);
  border: 1px solid var(--line2);
  border-radius: 22px;
}
.st-profile-avatar {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--green);
  color: #06100a;
  font-weight: 900;
  font-size: 24px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.st-profile-card h2 { font-size: 26px; margin: 4px 0; }
.st-profile-card p { color: var(--muted); font-size: 14px; margin: 0; }
.st-profile-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 16px; }
.st-profile-panel {
  padding: 20px;
  background: linear-gradient(180deg, #0d1a14, #08110e);
  border: 1px solid var(--line2);
  border-radius: 18px;
  text-decoration: none;
  color: var(--text);
  transition: transform .18s, border-color .18s;
}
.st-profile-panel:hover { transform: translateY(-3px); border-color: rgba(36,224,123,.35); }
.st-profile-panel small { color: var(--green); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.st-profile-panel h3 { font-size: 20px; margin: 6px 0 4px; }
.st-profile-panel p { color: var(--muted); font-size: 13px; }

/* ================================================================
   SHARED FOOTER
   ================================================================ */

.st-footer {
  background: linear-gradient(180deg, #07120e 0%, #040c09 100%);
  border-top: 1px solid #122a1d;
  margin-top: 40px;
}
.st-footer-cols {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
  padding: 48px 0 38px;
}
.st-footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  margin-bottom: 16px;
}
.st-footer-col a {
  display: block;
  color: #7a9488;
  font-size: 12.5px;
  margin-bottom: 9px;
  text-decoration: none;
  line-height: 1.4;
  transition: color .15s, transform .15s;
}
.st-footer-col a:hover { color: var(--green); transform: translateX(3px); }

.st-footer-social {
  border-top: 1px solid #122a1d;
  padding: 18px 0;
}
.st-footer-social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  flex-wrap: wrap;
}
.st-fs-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: #7a9488;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.st-fs-icon:hover {
  background: rgba(36,224,123,.1);
  border-color: rgba(36,224,123,.3);
  color: var(--green);
  transform: translateY(-2px);
}

.st-footer-bottom {
  border-top: 1px solid #0f2318;
  padding: 16px 0 20px;
}
.st-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.st-footer-bottom-inner p { font-size: 12px; color: #527060; }
.st-footer-disclaimer { color: #3d5445 !important; }

/* ================================================================
   FLOATING SOCIAL BUTTONS
   ================================================================ */

.st-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}
.st-float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  font-size: 13.5px;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
  transition: transform .2s, filter .2s;
  text-decoration: none;
}
.st-float-btn.tg  { background: linear-gradient(135deg, #2AABEE, #229ED9); box-shadow: 0 8px 24px rgba(42,171,238,.4); }
.st-float-btn.wa  { background: linear-gradient(135deg, #25D366, #128C7E); box-shadow: 0 8px 24px rgba(37,211,102,.4); }
.st-float-btn:hover { transform: translateY(-3px) scale(1.03); filter: brightness(1.08); }
.st-float-label { /* visible desktop only */ }

/* Toast */
.st-toast {
  position: fixed;
  right: 22px;
  bottom: 86px;
  background: #111a14;
  border: 1px solid rgba(36,224,123,.3);
  border-radius: 12px;
  padding: 12px 18px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 24px 70px rgba(0,0,0,.4);
  z-index: 9999;
  display: none;
  animation: st-toast-in .25s ease;
}
.st-toast.show { display: block; }
@keyframes st-toast-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 1180px) {
  .st-nav a { padding: 9px 10px; font-size: 11.5px; }
  .st-logo { min-width: 132px; }
  .st-logo strong { font-size: 25px; }
  .campaign-grid, .v2-campaign-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .st-footer-cols { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 1000px) {
  .st-hamburger { display: flex; }
  .st-nav { display: none; }
  .st-logo { flex: 1; }
  .st-btn-login { display: none; }
  .give-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .st-page-hero-box { padding: 28px 24px; }
  .st-account-grid { grid-template-columns: 1fr; }
  .st-profile-grid { grid-template-columns: 1fr 1fr; }
  .st-footer-cols { grid-template-columns: repeat(2, 1fr); padding: 32px 0 24px; gap: 20px; }
  .campaign-grid, .v2-campaign-grid { grid-template-columns: 1fr 1fr; }
  .give-join-row { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .shell { width: min(100% - 22px, 1200px); }
  .st-header-inner { min-height: 64px; gap: 10px; }
  .st-logo strong { font-size: 22px; }
  .st-logo small { font-size: 8px; letter-spacing: 2.5px; }
  .st-btn-register { padding: 9px 12px; font-size: 11.5px; }
  .st-page-hero-box { border-radius: 20px; padding: 24px 20px; }
  .st-page-hero-box h1 { font-size: 32px; letter-spacing: -1.5px; }
  .campaign-grid, .v2-campaign-grid { grid-template-columns: 1fr; }
  .st-account-grid { grid-template-columns: 1fr; }
  .st-profile-grid { grid-template-columns: 1fr; }
  .st-footer-cols { grid-template-columns: 1fr 1fr; }
  .st-float-label { display: none; }
  .st-float-btn { padding: 12px; border-radius: 50%; }
  .st-float { right: 14px; bottom: 14px; gap: 8px; }
}

@media (max-width: 400px) {
  .st-btn-register { display: none; }
  .st-footer-cols { grid-template-columns: 1fr; }
}

/* CMS runtime tokens */
.campaign-card,.quick-card,.faq-item,.st-page-hero-box,.code-card{border-radius:var(--cms-card-radius,22px)}
.st-btn-primary,.st-btn-outline,.st-btn-login,.st-btn-register,.btn,.cc-btn,.register-btn{border-radius:var(--cms-button-radius,14px)}
