/* =========================================================
   STATUS CYBER CLUB — mobile-first stylesheet
   ========================================================= */

:root{
  --bg: #090b12;
  --bg-alt: #0f1320;
  --card: #141a29;
  --card-2: #1a2233;
  --border: #232b3d;
  --text: #eef1f7;
  --text-dim: #97a1b5;
  --text-dimmer: #6b7486;

  --primary: #7c3aed;
  --primary-2: #a855f7;
  --cyan: #22d3ee;
  --pink: #f43f5e;
  --green: #22c55e;
  --amber: #f5a524;

  --grad-main: linear-gradient(135deg, #7c3aed 0%, #22d3ee 100%);
  --grad-card: linear-gradient(160deg, rgba(124,58,237,.18), rgba(34,211,238,.08));

  --kaspi: #ed1c24;
  --halyk: #00a651;

  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 62px;
  --header-h: 56px;

  --shadow: 0 8px 24px rgba(0,0,0,.35);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0;
  font-family:"Segoe UI", Roboto, "PT Sans", Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  padding-bottom:calc(var(--nav-h) + 10px);
}
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; cursor:pointer; }
input,select,textarea{ font-family:inherit; }

.container{
  max-width:560px;
  margin:0 auto;
  padding:0 16px;
}

/* ---------- background accents ---------- */
body{
  background-image:
    radial-gradient(500px 300px at 90% -5%, rgba(124,58,237,.25), transparent 60%),
    radial-gradient(500px 260px at 5% 8%, rgba(34,211,238,.14), transparent 60%);
  background-repeat:no-repeat;
}

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  height:var(--header-h);
  display:flex; align-items:center; justify-content:space-between;
  padding:0 14px;
  background:rgba(9,11,18,.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.brand{ display:flex; align-items:center; gap:8px; font-weight:800; letter-spacing:.5px; font-size:17px; }
.brand .dot{
  width:10px;height:10px;border-radius:50%;
  background:var(--grad-main);
  box-shadow:0 0 12px var(--primary-2);
}
.brand small{ display:block; font-weight:500; font-size:9px; color:var(--text-dim); letter-spacing:2px; }
.header-actions{ display:flex; align-items:center; gap:10px; }
.icon-btn{
  width:36px;height:36px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  background:var(--card); border:1px solid var(--border); color:var(--text);
  font-size:16px;
}
.lang-pill{
  font-size:11px; font-weight:700; color:var(--text-dim);
  border:1px solid var(--border); border-radius:20px; padding:6px 10px;
  background:var(--card);
}

/* ---------- bottom nav ---------- */
.bottom-nav{
  position:fixed; left:0; right:0; bottom:0; z-index:60;
  height:var(--nav-h);
  display:flex;
  background:rgba(15,19,32,.96);
  border-top:1px solid var(--border);
  backdrop-filter:blur(10px);
  max-width:560px; margin:0 auto;
}
.bottom-nav a{
  flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:3px; font-size:10.5px; color:var(--text-dimmer); font-weight:600;
  transition:color .15s;
}
.bottom-nav a .nav-ic{ font-size:19px; line-height:1; }
.bottom-nav a.active{ color:var(--cyan); }
.bottom-nav a.active .nav-ic{ filter:drop-shadow(0 0 6px rgba(34,211,238,.7)); }

/* ---------- hero ---------- */
.hero{
  padding:26px 0 18px;
  text-align:center;
}
.hero .tag{
  display:inline-flex; align-items:center; gap:6px;
  font-size:11px; font-weight:700; color:var(--cyan);
  border:1px solid rgba(34,211,238,.35); background:rgba(34,211,238,.08);
  padding:5px 12px; border-radius:20px; margin-bottom:14px;
}
.hero h1{
  font-size:28px; margin:0 0 10px; line-height:1.15; font-weight:800;
}
.hero h1 span{
  background:var(--grad-main); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero p{ color:var(--text-dim); font-size:14.5px; margin:0 auto 20px; max-width:420px; }
.hero-actions{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 20px; border-radius:12px; font-weight:700; font-size:14px;
  border:1px solid transparent; white-space:nowrap;
}
.btn-primary{ background:var(--grad-main); color:#fff; box-shadow:0 6px 18px rgba(124,58,237,.35); }
.btn-outline{ background:transparent; border-color:var(--border); color:var(--text); }
.btn-block{ width:100%; }
.btn-sm{ padding:9px 14px; font-size:12.5px; border-radius:10px; }
.btn-kaspi{ background:var(--kaspi); color:#fff; }
.btn-halyk{ background:var(--halyk); color:#fff; }
.btn[disabled]{ opacity:.5; }

/* ---------- stats row ---------- */
.stats-row{ display:flex; gap:10px; margin:18px 0; }
.stat-box{
  flex:1; background:var(--card); border:1px solid var(--border); border-radius:var(--radius-sm);
  text-align:center; padding:12px 6px;
}
.stat-box b{ display:block; font-size:18px; background:var(--grad-main); -webkit-background-clip:text; background-clip:text; color:transparent; }
.stat-box span{ font-size:10.5px; color:var(--text-dim); }

/* ---------- section heading ---------- */
.section{ padding:22px 0; }
.section-head{ display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:14px; }
.section-head h2{ font-size:19px; margin:0; font-weight:800; }
.section-head p{ margin:2px 0 0; color:var(--text-dim); font-size:12.5px; }
.section-head a{ font-size:12px; color:var(--cyan); font-weight:700; }
.eyebrow{ font-size:11px; letter-spacing:1.5px; text-transform:uppercase; color:var(--primary-2); font-weight:800; margin-bottom:6px; }

/* ---------- cards ---------- */
.card{
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  padding:16px;
}
.card + .card{ margin-top:12px; }

.feature-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.feature-card{
  background:var(--grad-card); border:1px solid var(--border); border-radius:var(--radius);
  padding:16px 14px; position:relative; overflow:hidden;
}
.feature-card .ic{ font-size:26px; margin-bottom:10px; display:block; }
.feature-card h3{ font-size:14.5px; margin:0 0 6px; font-weight:800; }
.feature-card p{ font-size:11.5px; color:var(--text-dim); margin:0 0 10px; }
.feature-card a{ font-size:11.5px; font-weight:800; color:var(--cyan); }

.pillar-card{
  display:flex; gap:12px; align-items:flex-start;
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  padding:15px;
}
.pillar-card .num{
  flex:none; width:38px;height:38px;border-radius:10px;
  background:var(--grad-main); display:flex;align-items:center;justify-content:center;
  font-weight:800; font-size:15px; color:#fff;
}
.pillar-card h3{ margin:0 0 4px; font-size:15px; font-weight:800; }
.pillar-card p{ margin:0; font-size:12.5px; color:var(--text-dim); }

/* ---------- tabs (zones) ---------- */
.tabs{ display:flex; gap:8px; overflow-x:auto; padding-bottom:4px; margin-bottom:14px; scrollbar-width:none; }
.tabs::-webkit-scrollbar{ display:none; }
.tab-btn{
  flex:none; padding:9px 15px; border-radius:20px; font-size:12.5px; font-weight:700;
  background:var(--card); border:1px solid var(--border); color:var(--text-dim);
}
.tab-btn.active{ background:var(--grad-main); color:#fff; border-color:transparent; }
.tab-panel{ display:none; }
.tab-panel.active{ display:block; animation:fade .25s ease; }
@keyframes fade{ from{opacity:0; transform:translateY(4px);} to{opacity:1; transform:none;} }

/* ---------- zone spec card ---------- */
.zone-card{ background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:16px; margin-bottom:12px; }
.zone-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.zone-top h3{ margin:0; font-size:16px; font-weight:800; }
.zone-price{ font-size:13px; font-weight:800; color:var(--cyan); white-space:nowrap; }
.zone-price small{ color:var(--text-dim); font-weight:500; }
.spec-list{ display:grid; grid-template-columns:1fr 1fr; gap:6px 12px; margin:0 0 10px; padding:0; }
.spec-list li{ font-size:11.5px; color:var(--text-dim); display:flex; gap:6px; }
.spec-list li b{ color:var(--text); font-weight:600; }
.zone-badges{ display:flex; gap:6px; flex-wrap:wrap; }
.badge{ font-size:10px; font-weight:700; padding:4px 8px; border-radius:8px; background:rgba(124,58,237,.15); color:var(--primary-2); border:1px solid rgba(124,58,237,.3); }
.badge.cyan{ background:rgba(34,211,238,.12); color:var(--cyan); border-color:rgba(34,211,238,.3); }
.badge.pink{ background:rgba(244,63,94,.12); color:var(--pink); border-color:rgba(244,63,94,.3); }

/* ---------- pricing table ---------- */
.price-table{ width:100%; border-collapse:collapse; font-size:12.5px; }
.price-table th,.price-table td{ padding:10px 8px; text-align:left; border-bottom:1px solid var(--border); }
.price-table th{ color:var(--text-dim); font-weight:700; font-size:11px; text-transform:uppercase; letter-spacing:.5px; }
.price-table td b{ color:var(--cyan); }
.price-table tr:last-child td{ border-bottom:none; }

/* ---------- membership tiers ---------- */
.tier-card{
  border:1px solid var(--border); border-radius:var(--radius); padding:16px; margin-bottom:12px;
  background:var(--card); position:relative;
}
.tier-card.best{ border-color:var(--primary-2); box-shadow:0 0 0 1px var(--primary-2), var(--shadow); }
.tier-card.best::before{
  content:"ВЫГОДНЕЕ ВСЕГО"; position:absolute; top:-10px; right:14px;
  background:var(--grad-main); color:#fff; font-size:9.5px; font-weight:800;
  padding:4px 10px; border-radius:8px; letter-spacing:.5px;
}
.tier-row{ display:flex; justify-content:space-between; align-items:center; }
.tier-row .amt{ font-size:17px; font-weight:800; }
.tier-row .bonus{ font-size:12px; font-weight:800; color:var(--green); }
.tier-card p{ margin:8px 0 0; font-size:11.5px; color:var(--text-dim); }

/* ---------- leaderboard / tournament results ---------- */
.board-row{
  display:flex; align-items:center; gap:12px; padding:11px 0; border-bottom:1px solid var(--border);
}
.board-row:last-child{ border-bottom:none; }
.rank{
  width:28px;height:28px;border-radius:8px;flex:none;
  display:flex;align-items:center;justify-content:center; font-weight:800; font-size:12.5px;
  background:var(--card-2); color:var(--text-dim);
}
.rank.gold{ background:linear-gradient(135deg,#f5c451,#f59e0b); color:#3a2600; }
.rank.silver{ background:linear-gradient(135deg,#cfd8e3,#94a3b8); color:#1f2937; }
.rank.bronze{ background:linear-gradient(135deg,#e2a06a,#b5652f); color:#2b1503; }
.board-info{ flex:1; min-width:0; }
.board-info b{ font-size:13.5px; display:block; }
.board-info span{ font-size:11px; color:var(--text-dim); }
.board-score{ font-size:13px; font-weight:800; color:var(--cyan); white-space:nowrap; }

/* ---------- events ---------- */
.event-card{ display:flex; gap:12px; background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:14px; margin-bottom:12px; }
.event-date{
  flex:none; width:52px;height:52px;border-radius:12px; background:var(--grad-main);
  display:flex; flex-direction:column; align-items:center; justify-content:center; color:#fff;
}
.event-date b{ font-size:17px; line-height:1; }
.event-date span{ font-size:9.5px; text-transform:uppercase; }
.event-body h3{ margin:0 0 4px; font-size:14.5px; font-weight:800; }
.event-body p{ margin:0 0 8px; font-size:11.5px; color:var(--text-dim); }
.event-meta{ display:flex; gap:10px; font-size:10.5px; color:var(--text-dimmer); flex-wrap:wrap; }

/* ---------- forms ---------- */
.form-group{ margin-bottom:14px; }
.form-group label{ display:block; font-size:12px; font-weight:700; color:var(--text-dim); margin-bottom:6px; }
.form-control{
  width:100%; background:var(--bg-alt); border:1px solid var(--border); border-radius:10px;
  padding:12px 12px; color:var(--text); font-size:14px;
}
.form-control:focus{ outline:none; border-color:var(--primary-2); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.chip-select{ display:flex; gap:8px; flex-wrap:wrap; }
.chip{
  padding:8px 13px; border-radius:20px; font-size:12px; font-weight:700;
  background:var(--bg-alt); border:1px solid var(--border); color:var(--text-dim);
}
.chip.active{ background:var(--grad-main); color:#fff; border-color:transparent; }
.form-hint{ font-size:11px; color:var(--text-dimmer); margin-top:6px; }
.form-success{
  display:none; text-align:center; padding:26px 10px;
}
.form-success .ic{ font-size:40px; margin-bottom:10px; }

/* ---------- contact ---------- */
.contact-row{ display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid var(--border); }
.contact-row:last-child{ border-bottom:none; }
.contact-ic{ width:38px;height:38px;border-radius:10px; background:var(--bg-alt); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:17px; flex:none; }
.contact-row b{ display:block; font-size:13.5px; }
.contact-row span{ font-size:11.5px; color:var(--text-dim); }

.map-box{
  height:150px; border-radius:var(--radius); border:1px solid var(--border);
  background:
    linear-gradient(160deg, rgba(124,58,237,.25), rgba(34,211,238,.12)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 2px, transparent 2px 14px);
  display:flex; align-items:center; justify-content:center; color:var(--text-dim); font-size:12px; font-weight:700;
  margin-bottom:14px; text-align:center; padding:10px;
}

/* ---------- payment ---------- */
.pay-method{
  display:flex; align-items:center; gap:12px; width:100%;
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:14px;
  margin-bottom:10px; text-align:left;
}
.pay-logo{ width:44px;height:44px;border-radius:10px; display:flex; align-items:center; justify-content:center; font-weight:900; font-size:12px; color:#fff; flex:none; }
.pay-logo.kaspi{ background:var(--kaspi); }
.pay-logo.halyk{ background:var(--halyk); }
.pay-method b{ display:block; font-size:13.5px; }
.pay-method span{ font-size:11px; color:var(--text-dim); }
.pay-method .arrow{ margin-left:auto; color:var(--text-dimmer); }

.qr-wrap{ background:#fff; border-radius:var(--radius); padding:18px; display:flex; align-items:center; justify-content:center; margin:16px 0; }
#qrcode-canvas{ image-rendering:pixelated; }

.modal-overlay{
  position:fixed; inset:0; background:rgba(4,5,10,.72); backdrop-filter:blur(3px);
  display:none; align-items:flex-end; justify-content:center; z-index:100;
}
.modal-overlay.open{ display:flex; }
.modal-sheet{
  width:100%; max-width:560px; background:var(--bg-alt); border:1px solid var(--border);
  border-bottom:none; border-radius:20px 20px 0 0; padding:18px 18px 26px; max-height:88vh; overflow-y:auto;
  animation:slideUp .25s ease;
}
@keyframes slideUp{ from{ transform:translateY(30px); opacity:.5; } to{ transform:none; opacity:1; } }
.modal-handle{ width:40px;height:4px;border-radius:3px; background:var(--border); margin:0 auto 14px; }
.modal-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.modal-head h3{ margin:0; font-size:16px; font-weight:800; }
.modal-close{ width:30px;height:30px;border-radius:8px; background:var(--card); border:1px solid var(--border); color:var(--text-dim); }

.disclaimer{
  font-size:11px; color:var(--text-dimmer); background:var(--bg-alt); border:1px dashed var(--border);
  border-radius:10px; padding:10px 12px; margin-top:12px; line-height:1.5;
}

/* ---------- footer ---------- */
.site-footer{ padding:28px 0 20px; text-align:center; }
.site-footer .brand{ justify-content:center; margin-bottom:8px; }
.site-footer p{ font-size:11px; color:var(--text-dimmer); margin:4px 0; }
.footer-links{ display:flex; gap:14px; justify-content:center; margin:12px 0; flex-wrap:wrap; }
.footer-links a{ font-size:11.5px; color:var(--text-dim); font-weight:600; }
.social-row{ display:flex; gap:10px; justify-content:center; margin-top:14px; }
.social-row a{
  width:34px;height:34px;border-radius:10px; background:var(--card); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; font-size:14px;
}

/* ---------- pwa install banner ---------- */
.install-banner{
  position:fixed; left:12px; right:12px; z-index:70;
  bottom:calc(var(--nav-h) + 12px);
  max-width:536px; margin:0 auto;
  background:var(--card); border:1px solid var(--border); border-radius:14px;
  padding:12px; display:none; align-items:center; gap:10px;
  box-shadow:var(--shadow);
  animation:slideUp .25s ease;
}
.install-banner.show{ display:flex; }
.install-banner .ic{
  width:40px;height:40px;border-radius:10px; flex:none;
  background:var(--grad-main); display:flex; align-items:center; justify-content:center; font-size:19px;
}
.install-banner .txt{ flex:1; min-width:0; }
.install-banner .txt b{ display:block; font-size:12.5px; }
.install-banner .txt span{ font-size:10.5px; color:var(--text-dim); display:block; }
.install-banner .close{
  flex:none; width:26px;height:26px;border-radius:8px; background:var(--bg-alt); border:1px solid var(--border);
  color:var(--text-dim); font-size:12px;
}

/* ---------- misc utility ---------- */
.mt-0{ margin-top:0 !important; }
.mb-0{ margin-bottom:0 !important; }
.text-center{ text-align:center; }
.divider{ height:1px; background:var(--border); margin:22px 0; border:none; }
