/* yayinci-sitesi — tek stil dosyası. Tokenlar replica/design/tokens.json ile eş. */

/* ---------- tokens ---------- */
:root {
  --bg: #07060F; --surface: #0F0C1D; --surface-2: #191432;
  --border: #272047; --border-input: #7A74A8;
  --text: #EDEFF5; --text-muted: #A09DBE;
  --primary: #5B3AE6;
  --primary-grad: linear-gradient(135deg, color-mix(in srgb, var(--primary) 92%, #000), color-mix(in srgb, var(--primary) 78%, #fff));
  --primary-soft: color-mix(in srgb, var(--primary) 16%, transparent);
  --accent: #F5B83D; --accent-soft: color-mix(in srgb, var(--accent) 15%, transparent); --on-accent: #1A1200;
  --danger: #FF6B81; --success: #3DDC84; --info: #22D3EE; --live: #EF4458;
  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-pill: 999px;
  --sh-card: 0 1px 2px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.35);
  --sh-glow: 0 0 0 1px rgba(245,184,61,.25), 0 0 24px rgba(245,184,61,.15);
  --t-fast: 120ms; --t-base: 200ms; --ease: cubic-bezier(.2,.8,.2,1);
  --max: 1240px; --header-h: 64px; --chat-w: 320px; --gutter: 16px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: dark; }
body {
  margin: 0; color: var(--text); overflow-x: hidden;
  background:
    radial-gradient(1100px 620px at -5% -10%, color-mix(in srgb, var(--primary) 26%, transparent), transparent 60%),
    radial-gradient(900px 520px at 105% 5%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 60%),
    radial-gradient(700px 420px at 50% 110%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  font-family: var(--font-sans); font-size: 15px; line-height: 1.6;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.25; margin: 0 0 var(--s2); }
h1 { font-size: 28px; } h2 { font-size: 20px; } h3 { font-size: 16px; }
p { margin: 0 0 var(--s3); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
code { background: var(--surface-2); padding: 1px 6px; border-radius: var(--r-sm); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--text-muted); }
.accent { color: var(--accent); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--s3); top: var(--s3); z-index: 99; background: var(--surface-2); padding: var(--s2) var(--s3); border-radius: var(--r-sm); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 var(--s4); border-radius: var(--r-md);
  font: 700 14px var(--font-sans); cursor: pointer; border: 1px solid transparent;
  transition: filter var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  white-space: nowrap; text-decoration: none !important;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-secondary { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn-sm { height: 32px; padding: 0 var(--s3); font-size: 13px; }
.btn-lg { height: 48px; padding: 0 var(--s5); font-size: 15px; }
.btn.wide { width: 100%; }
.inline-form { display: inline; }

/* ---------- 3D butonlar (dolgulu türler) ---------- */
.btn-primary, .btn-light, .btn-secondary, .sp-btn {
  position: relative; overflow: hidden;
  box-shadow:
    0 4px 0 var(--e3, rgba(0, 0, 0, .5)),
    0 8px 18px var(--e3glow, rgba(0, 0, 0, .35)),
    inset 0 1px 0 rgba(255, 255, 255, .32),
    inset 0 -6px 10px rgba(0, 0, 0, .18);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), filter var(--t-fast) var(--ease);
}
.btn-sm.btn-primary, .btn-sm.btn-light, .btn-sm.btn-secondary, .btn-sm.sp-btn {
  box-shadow: 0 3px 0 var(--e3, rgba(0,0,0,.5)), 0 6px 12px var(--e3glow, rgba(0,0,0,.3)),
    inset 0 1px 0 rgba(255,255,255,.3), inset 0 -4px 7px rgba(0,0,0,.16);
}
.btn-primary { --e3: color-mix(in srgb, var(--accent) 45%, #000); --e3glow: color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-light { --e3: #8E8EA8; --e3glow: rgba(255, 255, 255, .18); }
.btn-secondary { --e3: color-mix(in srgb, var(--surface-2) 35%, #000); --e3glow: rgba(0, 0, 0, .3); }
.sp-btn { --e3: color-mix(in srgb, var(--sp) 42%, #000); --e3glow: color-mix(in srgb, var(--sp) 40%, transparent); }
/* cam parlaması */
.btn-primary::before, .btn-light::before, .btn-secondary::before, .sp-btn::before {
  content: ''; position: absolute; inset: 0 0 50% 0; border-radius: inherit;
  background: linear-gradient(rgba(255, 255, 255, .22), rgba(255, 255, 255, .03));
  pointer-events: none;
}
/* hover: kalk + ışıltı süpürmesi */
.btn-primary::after, .btn-light::after, .btn-secondary::after, .sp-btn::after {
  content: ''; position: absolute; top: -20%; bottom: -20%; width: 34%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent);
  transform: translateX(-240%) skewX(-18deg); pointer-events: none;
}
.btn-primary:hover::after, .btn-light:hover::after, .btn-secondary:hover::after, .sp-btn:hover::after {
  animation: soc-sheen .7s var(--ease);
}
.btn-primary:hover, .btn-light:hover, .btn-secondary:hover, .sp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--e3, rgba(0,0,0,.5)), 0 12px 24px var(--e3glow, rgba(0,0,0,.4)),
    inset 0 1px 0 rgba(255,255,255,.36), inset 0 -6px 10px rgba(0,0,0,.18);
}
/* bas: 3D çöküş */
.btn-primary:active, .btn-light:active, .btn-secondary:active, .sp-btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--e3, rgba(0,0,0,.5)), 0 4px 10px var(--e3glow, rgba(0,0,0,.3)),
    inset 0 1px 0 rgba(255,255,255,.26), inset 0 -4px 8px rgba(0,0,0,.22);
}
/* pasif buton düz kalsın */
.btn[disabled] { box-shadow: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--border);
}
.header-in { display: flex; align-items: center; gap: var(--s4); height: var(--header-h); }
.logo { font: 800 20px var(--font-display); color: var(--accent); letter-spacing: .5px; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo-img { height: 38px; width: auto; display: block; }
.site-footer .logo-img { height: 32px; }
.main-nav { display: flex; gap: 2px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 4px; flex: 0 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.main-nav a, .nav-soon {
  color: var(--text-muted); font-weight: 700; font-size: 13.5px;
  padding: 7px 13px; border-radius: var(--r-pill); white-space: nowrap;
}
.main-nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.main-nav a.on { color: #fff; background: var(--primary-grad); box-shadow: 0 2px 12px color-mix(in srgb, var(--primary) 45%, transparent); }
.tag-soon { font-style: normal; font-size: 10px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); padding: 1px 7px; border-radius: var(--r-pill); color: var(--accent); }
.header-right { display: flex; align-items: center; gap: var(--s2); margin-left: auto; }
.online { display: inline-flex; align-items: center; gap: 6px; color: var(--success); font-size: 13px; font-weight: 700; background: rgba(61, 220, 132, .08); border: 1px solid rgba(61, 220, 132, .35); border-radius: var(--r-pill); padding: 6px 14px; }
.online .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse 2s infinite; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-input); border-radius: var(--r-pill); }
.btn-light { background: #fff; color: #14121F; border-radius: var(--r-pill); }
@keyframes pulse { 50% { opacity: .4; } }
.burger { display: none; background: none; border: 1px solid var(--border); color: var(--text); border-radius: var(--r-sm); width: 36px; height: 36px; font-size: 16px; cursor: pointer; }
.mobile-nav { display: none; flex-direction: column; border-top: 1px solid var(--border); padding: var(--s3) var(--gutter); gap: 2px; }
.mobile-nav a { padding: 10px 12px; border-radius: var(--r-sm); color: var(--text); font-weight: 700; }
.mobile-nav a:hover { background: var(--surface-2); text-decoration: none; }

/* ---------- layout ---------- */
.layout { display: grid; grid-template-columns: 1fr var(--chat-w); gap: var(--s5); padding-top: var(--s5); padding-bottom: var(--s7); align-items: start; }
.layout.solo { grid-template-columns: 1fr; }
.content { min-width: 0; }
.page-head { margin-bottom: var(--s5); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s5); box-shadow: var(--sh-card); }
.section { margin-bottom: var(--s6); }
.section-title { font-size: 20px; margin-bottom: 2px; }
.section-title.sm { font-size: 16px; margin-bottom: var(--s3); }
.section-sub { margin-bottom: var(--s4); font-size: 13.5px; }

/* ---------- ticker (tam genişlik bant) ---------- */
.ticker {
  width: 100vw; margin-left: calc(50% - 50vw);
  overflow: hidden; margin-bottom: var(--s5);
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--primary) 32%, transparent),
    color-mix(in srgb, var(--primary) 16%, transparent),
    color-mix(in srgb, var(--primary) 32%, transparent));
  border-block: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
}
.ticker-track { display: inline-flex; align-items: center; padding: var(--s2) 0; white-space: nowrap; animation: ticker 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { color: var(--text); font-weight: 600; font-size: 13.5px; }
.ticker-track span::after { content: '◆'; color: color-mix(in srgb, var(--primary) 70%, #fff); font-size: 9px; margin: 0 var(--s5); vertical-align: 1px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- hero + sosyal sıra ---------- */
.hero { margin-bottom: var(--s4); }
.hero img, .hero-ph { width: 100%; height: clamp(220px, 26vw, 400px); object-fit: cover; border-radius: var(--r-lg); border: 1px solid var(--border); display: block; }
.hero-ph {
  display: grid; place-items: center;
  background:
    radial-gradient(600px 300px at 20% 20%, color-mix(in srgb, var(--primary) 55%, transparent), transparent 65%),
    radial-gradient(500px 280px at 85% 75%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 60%),
    linear-gradient(160deg, color-mix(in srgb, var(--primary) 22%, var(--surface)), var(--bg));
}
.hero-ph span { font: 800 clamp(26px, 4vw, 48px) var(--font-display); color: #fff; text-shadow: 0 4px 30px color-mix(in srgb, var(--primary) 85%, transparent); }
.social-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); margin-bottom: var(--s6); }
.social-row .btn {
  position: relative; overflow: hidden; height: 54px; border-radius: 14px;
  font-size: 15px; color: #fff; gap: 10px;
  box-shadow:
    0 6px 0 var(--edge),
    0 12px 26px rgba(var(--glow), .38),
    inset 0 1px 0 rgba(255, 255, 255, .35),
    inset 0 -8px 14px rgba(0, 0, 0, .22);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), filter var(--t-base) var(--ease);
  animation: soc-glow 3.6s ease-in-out infinite;
}
.social-row .btn:nth-child(2) { animation-delay: -0.9s; }
.social-row .btn:nth-child(3) { animation-delay: -1.8s; }
.social-row .btn:nth-child(4) { animation-delay: -2.7s; }
@keyframes soc-glow {
  50% { box-shadow: 0 6px 0 var(--edge), 0 14px 36px rgba(var(--glow), .6),
        inset 0 1px 0 rgba(255,255,255,.35), inset 0 -8px 14px rgba(0,0,0,.22); }
}
/* cam parlaması (üst yarı) */
.social-row .btn::before {
  content: ''; position: absolute; inset: 0 0 52% 0; border-radius: 14px 14px 40% 40%;
  background: linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, .04));
  pointer-events: none;
}
/* hover'da geçen ışıltı süpürmesi */
.social-row .btn::after {
  content: ''; position: absolute; top: -20%; bottom: -20%; width: 36%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: translateX(-220%) skewX(-18deg); pointer-events: none;
}
.social-row .btn:hover::after { animation: soc-sheen .8s var(--ease); }
@keyframes soc-sheen { to { transform: translateX(420%) skewX(-18deg); } }
.social-row .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 var(--edge), 0 18px 40px rgba(var(--glow), .55),
    inset 0 1px 0 rgba(255,255,255,.4), inset 0 -8px 14px rgba(0,0,0,.22);
  filter: brightness(1.06);
}
/* basınca 3D çöküş */
.social-row .btn:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--edge), 0 6px 14px rgba(var(--glow), .4),
    inset 0 1px 0 rgba(255,255,255,.3), inset 0 -6px 10px rgba(0,0,0,.25);
}
.social-row .btn svg { transition: transform .4s cubic-bezier(.3, 1.6, .4, 1); }
.btn-grad-tg:hover svg { transform: translate(5px, -5px) rotate(-14deg) scale(1.2); }
.btn-grad-ig:hover svg { transform: rotate(14deg) scale(1.2); }
.btn-grad-kick:hover svg { transform: scale(1.3) rotate(-6deg); }
.btn-grad-tg { background: linear-gradient(100deg, #1C6DD0, #3FA9F5); --edge: #0D47A1; --glow: 63, 169, 245; }
.btn-grad-ig { background: linear-gradient(100deg, #F58529, #DD2A7B 55%, #8134AF); --edge: #7E1F56; --glow: 221, 42, 123; }
.btn-grad-kick { background: linear-gradient(100deg, #6D4AFF, #9B4DFF); --edge: #3B1E8F; --glow: 155, 77, 255; }
.btn-grad-yt { background: linear-gradient(100deg, #E53935, #B3121B); --edge: #7A0C12; --glow: 229, 57, 53; }
.btn-grad-yt:hover svg { transform: scale(1.25); }

/* ---------- ortalanmış bölüm başlığı ---------- */
.center-head { text-align: center; margin-bottom: var(--s5); }
.center-head h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 4px; }
.center-head p { margin: 0; }

/* ---------- section head ---------- */
.section-head { display: flex; align-items: center; gap: var(--s3); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s3) var(--s4); margin-bottom: var(--s4); }
.sh-icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; font-size: 20px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); border-radius: var(--r-md); }
.sh-text { flex: 1; min-width: 0; }
.sh-text h2 { margin: 0; font-size: 18px; }
.sh-text p { margin: 0; font-size: 12.5px; }

/* ---------- sponsors ---------- */
.sponsor-grid { display: grid; gap: var(--s4); }
.main-grid { grid-template-columns: repeat(3, 1fr); }
.vip-grid { grid-template-columns: repeat(4, 1fr); }
.ref-grid { grid-template-columns: repeat(4, 1fr); }
.sponsor-card {
  --sp: var(--accent);
  position: relative; z-index: 0; display: flex; flex-direction: column; gap: var(--s3);
  background: linear-gradient(170deg, var(--surface), var(--bg));
  border: 1px solid color-mix(in srgb, var(--sp) 30%, var(--border));
  border-radius: var(--r-lg); padding: var(--s4);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
/* arka ışık: kartın renginde nefes alan hale */
.sponsor-card::before {
  content: ''; position: absolute; inset: -20px; z-index: -1; border-radius: inherit;
  background: radial-gradient(62% 58% at 50% 40%,
    color-mix(in srgb, var(--sp) 32%, transparent), transparent 72%);
  filter: blur(24px); opacity: .5; pointer-events: none;
  animation: sp-breathe 5s ease-in-out infinite;
}
.tier-main::before { inset: -28px; opacity: .65; }
/* kartlar aynı anda nefes almasın */
.sponsor-grid > :nth-child(2)::before { animation-delay: -1.3s; }
.sponsor-grid > :nth-child(3)::before { animation-delay: -2.6s; }
.sponsor-grid > :nth-child(4)::before { animation-delay: -3.9s; }
.sponsor-grid > :nth-child(5)::before { animation-delay: -0.7s; }
.sponsor-grid > :nth-child(6)::before { animation-delay: -2s; }
.sponsor-grid > :nth-child(7)::before { animation-delay: -3.2s; }
.sponsor-grid > :nth-child(8)::before { animation-delay: -4.4s; }
@keyframes sp-breathe { 50% { opacity: .92; transform: scale(1.06); } }
/* çerçevede dönen gradyan ışık halkası */
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.sponsor-card::after {
  content: ''; position: absolute; inset: -1.5px; z-index: 1; border-radius: inherit;
  padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--angle),
    transparent 0deg,
    color-mix(in srgb, var(--sp) 55%, transparent) 16deg,
    color-mix(in srgb, var(--sp) 80%, #fff 20%) 28deg,
    color-mix(in srgb, var(--sp) 55%, transparent) 40deg,
    transparent 56deg,
    transparent 180deg,
    color-mix(in srgb, var(--sp) 30%, transparent) 194deg,
    color-mix(in srgb, var(--sp) 55%, transparent) 208deg,
    color-mix(in srgb, var(--sp) 30%, transparent) 222deg,
    transparent 238deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: sp-rotate 5s linear infinite;
}
.sponsor-card:hover::after { animation-duration: 2.2s; inset: -2px; padding: 2px; }
.sponsor-grid > :nth-child(2)::after { animation-delay: -1.7s; }
.sponsor-grid > :nth-child(3)::after { animation-delay: -3.4s; }
.sponsor-grid > :nth-child(4)::after { animation-delay: -0.9s; }
.sponsor-grid > :nth-child(5)::after { animation-delay: -2.4s; }
.sponsor-grid > :nth-child(6)::after { animation-delay: -4.1s; }
.sponsor-grid > :nth-child(7)::after { animation-delay: -1.2s; }
.sponsor-grid > :nth-child(8)::after { animation-delay: -3s; }
@keyframes sp-rotate { to { --angle: 360deg; } }
.sponsor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--sp) 50%, transparent),
              0 12px 36px color-mix(in srgb, var(--sp) 26%, transparent);
}
.sponsor-card:hover::before { opacity: 1; }
.tier-main { padding: var(--s5); }
.tier-badge { position: absolute; top: 14px; left: 14px; width: 30px; height: 30px; display: grid; place-items: center; font-size: 14px; background: color-mix(in srgb, var(--sp) 18%, var(--surface-2)); border: 1px solid color-mix(in srgb, var(--sp) 45%, transparent); border-radius: var(--r-sm); z-index: 1; }
.logo-box { position: relative; height: 120px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s3); overflow: hidden; }
/* hover'da logo kutusundan geçen parıltı süpürmesi */
.logo-box::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%,
    color-mix(in srgb, var(--sp, var(--accent)) 30%, rgba(255,255,255,.22)) 50%, transparent 62%);
  transform: translateX(-130%);
}
.sponsor-card:hover .logo-box::after { animation: sp-sheen .9s var(--ease); }
@keyframes sp-sheen { to { transform: translateX(130%); } }
.logo-box.sm { height: 72px; }
.logo-box img { max-height: 100%; max-width: 100%; object-fit: contain; }
.logo-word { font: 800 clamp(15px, 2vw, 22px) var(--font-display); color: var(--text); letter-spacing: .5px; text-align: center; overflow-wrap: anywhere; }
.logo-box.sm .logo-word { font-size: 14px; }
.ad-word { color: var(--accent); font-style: italic; }
.bonus { color: var(--sp, var(--accent)); font-weight: 800; text-align: center; text-transform: uppercase; font-size: 14px; letter-spacing: .3px; margin: 0; }
.sp-btn { width: 100%; background: var(--sp); font-size: 14px; margin-top: auto; }
.sp-btn:hover { filter: brightness(1.12); }
.ad-card { border-style: dashed; }
.sponsor-ref { gap: var(--s2); padding: var(--s3); }
.logo-ph { width: 72px; height: 72px; flex: none; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); font: 800 28px var(--font-display); color: var(--accent); }
.logo-ph.sm { width: 44px; height: 44px; font-size: 18px; }

/* ---------- floating rail & chat fab ---------- */
.social-rail { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); display: grid; gap: 12px; z-index: 55; }
.rail-btn {
  position: relative; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; color: #fff;
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, .45),
    inset 0 -4px 7px rgba(0, 0, 0, .4),
    0 5px 0 rgba(0, 0, 0, .45),
    0 10px 20px rgba(var(--glow, 124, 92, 255), .45);
  transition: transform .35s cubic-bezier(.3, 1.6, .4, 1), box-shadow var(--t-base) var(--ease);
  animation: rail-float 3.4s ease-in-out infinite;
}
/* küre parlaması */
.rail-btn::before {
  content: ''; position: absolute; inset: 3px; border-radius: 50%;
  background: radial-gradient(130% 130% at 32% 24%, rgba(255, 255, 255, .5), transparent 42%);
  pointer-events: none;
}
.rail-btn:nth-child(2) { animation-delay: -0.85s; }
.rail-btn:nth-child(3) { animation-delay: -1.7s; }
.rail-btn:nth-child(4) { animation-delay: -2.55s; }
@keyframes rail-float { 50% { transform: translateY(-4px); } }
.rail-btn svg { transition: transform .5s cubic-bezier(.3, 1.6, .4, 1); }
.rail-btn:hover { animation-play-state: paused; transform: scale(1.18); text-decoration: none; }
.rail-btn:hover svg { transform: rotate(360deg) scale(1.1); }
.rail-btn:active { transform: scale(1.05) translateY(2px); box-shadow: inset 0 2px 3px rgba(255,255,255,.35), inset 0 -3px 5px rgba(0,0,0,.4), 0 2px 0 rgba(0,0,0,.45), 0 5px 12px rgba(var(--glow, 124,92,255), .4); }
.rail-btn.soc-tg { --glow: 34, 158, 217; }
.rail-btn.soc-ig { --glow: 221, 42, 123; }
.rail-btn.soc-kick { --glow: 31, 199, 73; }
.rail-btn.soc-yt { --glow: 229, 57, 53; }
.chat-fab { position: fixed; right: 18px; bottom: 18px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--primary-grad); color: #fff; box-shadow: 0 8px 24px color-mix(in srgb, var(--primary) 50%, transparent); z-index: 55; transition: transform var(--t-fast) var(--ease); }
.chat-fab:hover { transform: scale(1.07); text-decoration: none; }

/* ---------- home grid ---------- */
.home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-bottom: var(--s6); }
.more-link { display: inline-block; margin-top: var(--s3); font-weight: 700; font-size: 13.5px; }
.mini-ann { padding: var(--s2) 0; border-bottom: 1px solid var(--border); }
.mini-ann:last-of-type { border-bottom: 0; }
.cta-band { text-align: center; padding: var(--s7) var(--s5); border: 1px solid var(--border); border-radius: var(--r-lg); background: linear-gradient(160deg, var(--surface), var(--surface-2)); }
.cta-band p { color: var(--text-muted); max-width: 48ch; margin: 0 auto var(--s4); }

/* ---------- leaderboard ---------- */
.lb-list { list-style: none; margin: 0; padding: 0; }
.lb-list.card { padding: var(--s3); }
.lb-row { display: flex; align-items: center; gap: var(--s3); padding: var(--s2) var(--s3); border-radius: var(--r-md); }
.lb-row.me { background: var(--accent-soft); }
.lb-row a { color: var(--text); font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.lb-rank { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); font-weight: 800; font-size: 13px; color: var(--text-muted); }
.lb-rank.r1 { background: var(--accent); color: var(--on-accent); }
.lb-rank.r2 { background: #BFC7D6; color: #14171C; }
.lb-rank.r3 { background: #B07C4F; color: #FFF; }
.lb-pts { color: var(--accent); }

/* ---------- avatar ---------- */
.avatar { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); font-weight: 800; font-size: 14px; color: var(--text-muted); }
.avatar.lg { width: 56px; height: 56px; font-size: 22px; }
.avatar.xl { width: 88px; height: 88px; font-size: 36px; }
.frame-gold { border: 2px solid var(--accent); box-shadow: 0 0 10px rgba(245,184,61,.5); }
.frame-neon { border: 2px solid var(--info); box-shadow: 0 0 10px rgba(34,211,238,.6); animation: neon 2.4s ease-in-out infinite; }
@keyframes neon { 50% { box-shadow: 0 0 18px rgba(34,211,238,.9); } }

/* ---------- countdown ---------- */
.countdown-card .stream-name { font-weight: 800; font-size: 17px; margin-bottom: 2px; }
.plat { text-transform: capitalize; color: var(--success); font-weight: 800; }
.countdown { display: flex; align-items: baseline; gap: var(--s2); margin: var(--s3) 0; }
.countdown span { font: 800 24px var(--font-display); color: var(--accent); min-width: 40px; text-align: center; background: var(--surface-2); border-radius: var(--r-sm); padding: 4px 6px; }
.countdown em { font-style: normal; color: var(--text-muted); font-size: 12px; }
.countdown-card.big .countdown span { font-size: 34px; min-width: 60px; }
.countdown.live span { color: var(--live); }

/* ---------- schedule ---------- */
.schedule { list-style: none; margin: 0; padding: var(--s2); }
.schedule-row { display: flex; align-items: center; gap: var(--s4); padding: var(--s3); border-radius: var(--r-md); }
.schedule-row:hover { background: var(--surface-2); }
.schedule-row .day { width: 90px; }
.schedule-row .time { color: var(--accent); font-weight: 800; }
.schedule-row .name { flex: 1; }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: var(--s2); margin-bottom: var(--s5); flex-wrap: wrap; }
.tabs a { padding: 8px 16px; border-radius: var(--r-pill); font-weight: 700; font-size: 13.5px; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); }
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a.on { color: var(--accent); background: var(--accent-soft); border-color: transparent; }

/* ---------- market ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s4); display: flex; flex-direction: column; gap: var(--s2); }
.product-card .preview { height: 84px; display: grid; place-items: center; background: var(--surface-2); border-radius: var(--r-md); font-weight: 800; font-size: 17px; }
.preview-emoji { font-size: 34px; }
.product-card .muted { flex: 1; font-size: 13.5px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; }
.price { color: var(--accent); font-size: 17px; font-weight: 800; }
.stock { font-size: 12.5px; color: var(--text-muted); }
.stock.none { color: var(--danger); }
.sold-out { opacity: .6; }

/* ---------- pill ---------- */
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--border); font-size: 12px; font-weight: 700; color: var(--text-muted); }
.pill-accent { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.pill-warn { background: rgba(245,184,61,.12); color: var(--accent); border-color: transparent; }
.pill-ok { background: rgba(61,220,132,.12); color: var(--success); border-color: transparent; }
.pill-danger { background: rgba(255,107,129,.12); color: var(--danger); border-color: transparent; }

/* ---------- tasks ---------- */
.task-list { display: grid; gap: var(--s4); }
.task-head { display: flex; gap: var(--s4); align-items: flex-start; margin-bottom: var(--s3); }
.task-head img { width: 56px; height: 56px; object-fit: contain; border-radius: var(--r-md); }
.task-reward { display: flex; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s3); }
.task-steps { margin: 0; padding-left: var(--s5); display: grid; gap: var(--s3); }
.task-steps li { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.task-steps li span:first-child { flex: 1; min-width: 180px; }
.task-form { display: flex; gap: var(--s2); flex: 1; }
.task-form input { flex: 1; }

/* ---------- polls ---------- */
.poll-list { display: grid; gap: var(--s4); }
.poll-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3); }
.poll-card.closed { opacity: .75; }
.poll-options { display: grid; gap: var(--s2); }
.poll-opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); width: 100%; text-align: left; padding: 10px 14px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); color: var(--text); font: 700 14px var(--font-sans); cursor: pointer; overflow: hidden; }
.poll-opt.static { cursor: default; }
.poll-opt:not(.static):hover { border-color: var(--accent); }
.poll-opt .bar { position: absolute; inset: 0 auto 0 0; background: var(--accent-soft); transition: width var(--t-base) var(--ease); }
.poll-opt .lbl, .poll-opt .pct { position: relative; }
.poll-opt .pct { color: var(--text-muted); font-size: 12.5px; flex: none; }
.poll-opt.mine { border-color: var(--accent); }
.poll-total { margin-top: var(--s3); }

/* ---------- chat ---------- */
.chat-aside { position: sticky; top: calc(var(--header-h) + var(--s4)); }
.chat-box { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s4); }
.chat-head { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s2); }
.chat-title { font-size: 15px; margin: 0; flex: 1; }
.chat-expand { font-size: 16px; }
.chat-note { font-size: 12.5px; color: var(--text-muted); margin-bottom: var(--s2); }
.chat-log { flex: 1; min-height: 220px; max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: var(--s2); padding-right: 4px; }
.chat-log.tall { max-height: 60vh; min-height: 420px; }
.msg { display: flex; gap: var(--s2); font-size: 13.5px; line-height: 1.45; }
.msg .avatar { width: 26px; height: 26px; font-size: 11px; }
.msg-body { min-width: 0; }
.msg-meta { display: flex; align-items: baseline; gap: 6px; }
.msg-user { font-weight: 800; }
.msg-rank { font-size: 10.5px; color: var(--text-muted); }
.msg-time { font-size: 10.5px; color: var(--text-muted); }
.msg-text { overflow-wrap: anywhere; }
.msg-del { background: none; border: 0; color: var(--danger); cursor: pointer; font-size: 11px; opacity: 0; }
.msg:hover .msg-del { opacity: 1; }
.chat-form { display: flex; gap: var(--s2); margin-top: var(--s3); }
.chat-form input { flex: 1; }
.chat-slow { font-size: 12px; color: var(--accent); margin: var(--s1) 0 0; }
.chat-cta { margin-top: var(--s3); padding: var(--s3); background: var(--surface-2); border-radius: var(--r-md); font-size: 13.5px; text-align: center; }
.chat-page { display: grid; grid-template-columns: 1fr 240px; gap: var(--s4); }
.online-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); font-size: 13.5px; }
.online-list li { display: flex; align-items: center; gap: var(--s2); }

/* ---------- inputs ---------- */
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=url],
input[type=number], input[type=time], input[type=datetime-local],
input[type=search], input[type=file], select, textarea {
  width: 100%; height: 44px; padding: 0 var(--s4);
  background: color-mix(in srgb, var(--surface-2) 72%, var(--bg)); color: var(--text);
  border: 1px solid var(--border-input); border-radius: var(--r-md);
  font: 600 14px var(--font-sans);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .25);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
::placeholder { color: var(--text-muted); opacity: .65; }
input:hover, select:hover, textarea:hover { border-color: color-mix(in srgb, var(--border-input) 60%, #fff); }
textarea { height: auto; padding: var(--s3) var(--s4); resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus {
  border-color: var(--primary); outline: none;
  background: var(--surface-2);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .2), 0 0 0 3px var(--primary-soft);
}
select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23A09DBE' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
input[type=file] { height: auto; padding: var(--s3); border-style: dashed; cursor: pointer; }
input[type=file]:hover { border-color: var(--primary); background: var(--primary-soft); }
input[type=file]::file-selector-button {
  margin-right: var(--s3); padding: 7px 14px; cursor: pointer;
  background: var(--primary-grad); color: #fff; border: 0; border-radius: var(--r-sm);
  font: 700 12.5px var(--font-sans);
}
input[type=color] { padding: 4px; height: 44px; cursor: pointer; }
input[type=checkbox], input[type=radio] { accent-color: var(--primary); }
.field { margin-bottom: var(--s4); }
.field label { display: block; font-weight: 800; font-size: 11.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--text-muted); margin-bottom: 7px; }
.field small { display: block; margin-top: 5px; }
.check { display: flex; gap: var(--s2); align-items: flex-start; font-size: 13.5px; margin-bottom: var(--s4); }
.check input { width: 16px; height: 16px; margin-top: 3px; flex: none; }
.form-err { background: rgba(255,107,129,.12); color: var(--danger); border: 1px solid var(--danger); padding: var(--s3); border-radius: var(--r-md); margin-bottom: var(--s4); font-weight: 700; font-size: 13.5px; }
.hp { position: absolute; left: -5000px; top: -5000px; }
.auth-card { max-width: 440px; margin: 0 auto; }
.auth-alt { margin-top: var(--s4); text-align: center; }

/* ---------- code ---------- */
.code-card { max-width: 520px; }
.code-row { display: flex; gap: var(--s2); }
.code-row input { text-transform: uppercase; letter-spacing: 1px; font-weight: 800; }

/* ---------- profile ---------- */
.profile-head { display: flex; gap: var(--s5); align-items: center; margin-bottom: var(--s5); flex-wrap: wrap; }
.profile-badges { display: flex; gap: var(--s2); align-items: center; flex-wrap: wrap; }
.rank-pill { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.rank-progress { margin-top: var(--s2); max-width: 320px; }
.bar-track { height: 8px; background: var(--surface-2); border-radius: var(--r-pill); overflow: hidden; margin-bottom: 4px; }
.bar-fill { display: block; height: 100%; background: var(--accent); border-radius: var(--r-pill); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin: 0; }
.stat-grid > div { background: var(--surface-2); border-radius: var(--r-md); padding: var(--s3) var(--s4); }
.stat-grid dt { font-size: 12px; color: var(--text-muted); font-weight: 700; }
.stat-grid dd { margin: 0; font: 800 20px var(--font-display); color: var(--accent); }

/* ---------- announcements / social ---------- */
.ann-list { display: grid; gap: var(--s4); }
.ann-head { display: flex; justify-content: space-between; gap: var(--s3); align-items: flex-start; }
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.soc-card { text-align: center; display: grid; gap: var(--s2); justify-items: center; color: var(--text); }
.soc-card:hover { text-decoration: none; box-shadow: var(--sh-glow); }
.social-links { display: flex; gap: var(--s2); margin-bottom: var(--s3); }
.soc {
  font-size: 12.5px; font-weight: 800; padding: 5px 14px; border-radius: var(--r-pill); color: #fff;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -4px 7px rgba(0, 0, 0, .25);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), filter var(--t-fast) var(--ease);
  display: inline-block;
}
.soc:hover { text-decoration: none; filter: brightness(1.12); transform: translateY(-2px); box-shadow: 0 5px 0 rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.4), inset 0 -4px 7px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.4); }
.soc:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.3), inset 0 -3px 5px rgba(0,0,0,.3); }
.soc-tg { background: #229ED9; }
.soc-ig { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
.soc-kick { background: #1FC749; color: #04120A; }
.soc-yt { background: linear-gradient(100deg, #E53935, #B3121B); }

/* ---------- empty / prose ---------- */
.empty { padding: var(--s5); text-align: center; color: var(--text-muted); font-weight: 600; }
.big-empty { padding: var(--s7); }
.prose p { max-width: 70ch; }

/* ---------- stat counter / footer ---------- */
.stat-counter { font: 800 24px var(--font-display); color: var(--accent); }
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: var(--s6) 0 var(--s4); margin-top: var(--s6); }
.footer-in { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: var(--s5); }
.footer-col nav, .footer-col { display: grid; gap: var(--s1); align-content: start; }
.footer-col a { color: var(--text-muted); font-weight: 600; font-size: 13.5px; }
.footer-col a.logo { font-size: 18px; color: var(--accent); }
.copyright { color: var(--text-muted); font-size: 12.5px; margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--border); }

/* ---------- mobile bar / cookie / toast ---------- */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--surface); border-top: 1px solid var(--border); padding: 6px var(--s2) max(6px, env(safe-area-inset-bottom)); justify-content: space-around; }
.mobile-bar a { font-size: 12px; font-weight: 800; color: var(--text-muted); padding: 8px 10px; border-radius: var(--r-sm); }
.mobile-bar a.on { color: var(--accent); background: var(--accent-soft); }
.cookie-bar { position: fixed; bottom: var(--s4); left: 50%; transform: translateX(-50%); z-index: 70; width: min(560px, calc(100% - 32px)); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s3) var(--s4); display: flex; align-items: center; gap: var(--s4); box-shadow: var(--sh-pop, 0 16px 40px rgba(0,0,0,.55)); }
.cookie-bar p { margin: 0; font-size: 13px; flex: 1; }
.toast-zone { position: fixed; top: calc(var(--header-h) + var(--s3)); right: var(--s4); z-index: 80; display: grid; gap: var(--s2); }
.toast { background: var(--surface-2); border: 1px solid var(--border); border-left: 3px solid var(--info); border-radius: var(--r-md); padding: var(--s3) var(--s4); font-weight: 700; font-size: 13.5px; box-shadow: var(--sh-card); animation: slidein var(--t-base) var(--ease); }
.toast-success { border-left-color: var(--success); }
.toast-danger { border-left-color: var(--danger); }
@keyframes slidein { from { transform: translateY(-8px); opacity: 0; } }

/* ---------- panel ---------- */
.panel-body .content { max-width: 100%; }
.panel-wrap { padding: var(--s5) var(--gutter) var(--s7); }
.panel-title { margin-bottom: var(--s5); }
.panel-stats { grid-template-columns: repeat(4, 1fr); margin-bottom: var(--s6); }
.panel-stats .card { padding: var(--s4); }
.admin-table { width: 100%; border-collapse: collapse; padding: 0; overflow: hidden; }
.admin-table th, .admin-table td { text-align: left; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--border); font-size: 13.5px; vertical-align: top; }
.admin-table th { color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }
.admin-table tr:last-child td { border-bottom: 0; }
.actions form { display: inline-flex; gap: var(--s2); align-items: center; }
.actions.stack form { display: flex; margin-bottom: var(--s2); }
.actions input, .actions select { height: 32px; font-size: 13px; width: auto; }
/* tablo içi "Düzenle" formu: sağa taşmasın, hücreye bağlı açılır panel olsun */
.admin-table details { position: relative; }
.admin-table details > summary { list-style: none; }
.admin-table details .panel-form {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30;
  width: 340px; max-width: min(80vw, 420px);
  display: grid; grid-template-columns: 1fr; gap: var(--s2);
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--s4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .55); margin: 0;
}
.admin-table details .panel-form input,
.admin-table details .panel-form select { width: 100%; height: 38px; font-size: 13.5px; }
.admin-table details .panel-form input[type="file"] { height: auto; padding: 8px; }
.admin-table details .panel-form .btn { justify-self: start; }
.form-details { margin-bottom: var(--s5); }
.form-details > summary {
  cursor: pointer; font-weight: 800; list-style: none;
  display: flex; align-items: center; gap: var(--s3); user-select: none;
}
.form-details > summary::-webkit-details-marker { display: none; }
.form-details > summary::before {
  content: '+'; width: 26px; height: 26px; flex: none;
  display: grid; place-items: center; border-radius: var(--r-sm);
  background: var(--primary-grad); color: #fff; font-weight: 800;
  transition: transform var(--t-base) var(--ease);
}
.form-details[open] > summary::before { content: '–'; transform: rotate(180deg); }
.panel-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s4); max-width: 760px; margin-top: var(--s4); }
.panel-form.inline { display: flex; max-width: none; margin-top: 0; margin-bottom: var(--s4); }
.panel-form .field { margin-bottom: 0; }
.panel-form .field:has(textarea), .panel-form > h2, .panel-form > p,
.panel-form .check, .panel-form > .btn { grid-column: 1 / -1; }
.panel-form > h2 { margin-top: var(--s3); padding-bottom: var(--s2); border-bottom: 1px solid var(--border); }
.panel-form > h2:first-of-type { margin-top: 0; }
.panel-form > .btn { justify-self: start; min-width: 180px; }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .layout { grid-template-columns: 1fr; }
  .chat-aside { display: none; }
}
@media (max-width: 900px) {
  .main-nav, .header-right .btn:not(.btn-primary) { display: none; }
  .burger { display: block; }
  .mobile-nav[data-open] { display: flex; }
  .main-grid, .vip-grid, .ref-grid, .product-grid, .home-grid, .social-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-in { grid-template-columns: 1fr; }
  .social-rail { display: none; }
  .chat-page { grid-template-columns: 1fr; }
  .online-list { order: -1; }
  .panel-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .main-grid, .vip-grid, .product-grid, .home-grid, .ref-grid, .social-grid { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; }
  .chat-fab { bottom: 72px; }
  body { padding-bottom: 64px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 22px; }
}
