/* =========================================================
   NONGKRONG MC — design tokens
   Clean, professional dark UI. Minimal ambient light.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root{
  --bg:        #0C0E12;
  --bg-alt:    #12151C;
  --bg-panel:  #161A22;
  --bg-elev:   #1C212B;
  --border:    rgba(255,255,255,0.08);
  --border-soft: rgba(255,255,255,0.05);
  --border-strong: rgba(255,255,255,0.12);

  --text:      #EDEBE6;
  --text-dim:  #A8AFBB;
  --muted:     #7A8290;

  --amber:     #E8A82A;
  --amber-dim: #B8841C;
  --ember:     #E07A45;
  --green:     #5FB043;
  --green-dim: #478533;
  --clay:      #B87055;
  --sky:       #4A9BC8;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 10px;
  --radius-sm: 8px;
  --container: 1120px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:
    radial-gradient(ellipse 90% 50% at 50% 0%, #1A1F2A 0%, transparent 55%),
    linear-gradient(180deg, #141820 0%, var(--bg) 320px);
  background-color:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-display); margin:0; line-height:1.15; letter-spacing:-0.01em; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }
table{ font-family:inherit; }

::selection{ background:var(--amber); color:#1A1300; }

:focus-visible{
  outline:2px solid var(--amber);
  outline-offset:3px;
  border-radius:4px;
}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

.eyebrow{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--amber);
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.eyebrow::before{
  content:"";
  width:6px; height:6px;
  border-radius:50%;
  background:var(--amber);
  display:inline-block;
}

/* ---------- Section divider — simple line ---------- */
.section-divider{
  position:relative;
  width:100%;
  height:1px;
  background:var(--border);
}

/* ---------- Navbar ---------- */
.navbar{
  position:sticky; top:12px; z-index:100;
  width:calc(100% - 24px);
  max-width:1080px;
  margin:12px auto 0;
  background:rgba(22,26,34,0.94);
  border:1px solid var(--border);
  border-radius:12px;
  box-shadow:0 4px 16px -8px rgba(0,0,0,.35);
  transition:box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.navbar.scrolled{
  background:rgba(20,24,32,0.98);
  box-shadow:0 8px 24px -12px rgba(0,0,0,.45);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 18px;
  max-width:var(--container); margin:0 auto;
  gap:12px;
}
@media (min-width:861px){
  .navbar{
    width:100%;
    top:14px;
    margin-top:14px;
  }
  .nav-inner{ padding:10px 28px; }
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-display); font-weight:700; font-size:19px;
  color:var(--text);
  min-width:0;
}
.brand-mark{
  width:36px; height:36px; flex-shrink:0;
  object-fit:contain;
  border-radius:8px;
}
.footer-brand .brand .brand-mark{ width:42px; height:42px; }
.nav-links{
  display:flex; align-items:center; gap:26px;
  font-size:14.5px; font-weight:600; color:var(--text-dim);
  margin:0; padding:0; list-style:none;
}
.nav-links a{ transition:color .15s ease; padding:4px 0; border-bottom:2px solid transparent; }
.nav-links a:hover{ color:var(--amber); }
.nav-links a.active{ color:var(--text); border-bottom-color:var(--amber); }
.nav-cta{
  position:relative;
  background:#5865F2;
  color:#fff; font-weight:600; font-size:13.5px;
  padding:10px 18px 10px 14px; border-radius:8px; display:flex; align-items:center; gap:10px;
  border:1px solid transparent;
  transition:background .15s ease;
}
.nav-cta:hover{ background:#4752C4; }
.nav-cta i{
  font-size:14px; flex-shrink:0;
  width:24px; height:24px; border-radius:6px;
  background:rgba(255,255,255,0.12);
  display:flex; align-items:center; justify-content:center;
}
.nav-toggle{
  display:none; position:relative; background:var(--bg-elev); border:1px solid var(--border);
  color:var(--text);
  width:42px; height:42px; padding:0; border-radius:8px;
  flex-direction:column; align-items:center; justify-content:center; gap:5px;
  cursor:pointer;
  flex-shrink:0;
  transition:background .15s ease, border-color .15s ease;
}
.nav-toggle:hover{ border-color:var(--border-strong); background:var(--bg-panel); }
.nav-toggle-bar{
  display:block; width:18px; height:2px; border-radius:2px;
  background:currentColor;
  transition:transform .25s ease, opacity .2s ease;
  transform-origin:center;
}
.nav-toggle.open{
  border-color:var(--border-strong);
  background:var(--bg-panel);
}
.nav-toggle.open .nav-toggle-bar:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle.open .nav-toggle-bar:nth-child(2){ opacity:0; transform:scaleX(0); }
.nav-toggle.open .nav-toggle-bar:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

@media (max-width:860px){
  body{ overflow-x:hidden; }
  .navbar{
    width:calc(100% - 20px);
    top:10px;
    margin:10px auto 0;
    border-radius:12px;
    border:1px solid var(--border);
    background:rgba(22,26,34,0.96);
  }
  .navbar.scrolled{
    background:rgba(20,24,32,0.98);
    box-shadow:0 6px 18px -10px rgba(0,0,0,.5);
  }
  .nav-inner{
    padding:10px 14px;
  }
  .brand{ font-size:17px; }
  .brand-mark{ width:32px; height:32px; border-radius:7px; }
  .nav-toggle{ display:flex; }
  .nav-links{
    position:fixed;
    top:calc(var(--navbar-h, 62px) + 10px);
    left:10px;
    right:10px;
    bottom:12px;
    max-height:none; height:auto;
    opacity:0; visibility:hidden;
    transform:translateY(-6px);
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:0;
    background:rgba(22,26,34,0.98);
    border:1px solid var(--border);
    border-radius:12px;
    padding:10px 12px 20px;
    transition:opacity .22s ease, transform .22s ease, visibility .22s ease;
    z-index:99;
    box-shadow:0 12px 32px -12px rgba(0,0,0,.55);
  }
  .nav-links.open{
    opacity:1; visibility:visible; transform:translateY(0);
  }
  .nav-links li{
    list-style:none;
  }
  .nav-links a{
    display:flex;
    align-items:center;
    width:100%;
    padding:14px 12px;
    border-bottom:1px solid var(--border-soft);
    border-radius:0;
    font-size:15.5px;
    font-weight:600;
    color:var(--text-dim);
  }
  .nav-links a:hover,
  .nav-links a.active{
    color:var(--text);
    border-bottom-color:var(--border-soft);
  }
  .nav-links a.active{
    color:var(--amber);
  }
  .nav-links li:last-child{
    margin-top:14px;
    padding-top:4px;
  }
  .nav-links li:last-child a,
  .nav-links .nav-cta{
    border-bottom:none;
    justify-content:center;
    border-radius:8px;
    padding:13px 16px;
    font-size:15px;
    background:#5865F2;
    color:#fff;
  }
  .nav-links .nav-cta:hover{
    background:#4752C4;
    color:#fff;
  }
  .nav-links .nav-cta i{
    background:rgba(255,255,255,0.14);
  }
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-weight:600; font-size:14.5px;
  min-height:44px;
  padding:12px 20px; border-radius:8px;
  border:1px solid transparent;
  transition:background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:active{ opacity:.9; }
.btn-amber{ background:var(--amber); color:#1A1300; }
.btn-amber:hover{ background:#F0B33A; }
.btn-outline{ background:transparent; color:var(--text); border-color:var(--border-strong); }
.btn-outline:hover{ border-color:var(--amber); color:var(--amber); }
.btn-green{ background:var(--green); color:#0F1A0A; }
.btn-green:hover{ background:#6BC452; }
.btn-block{ width:100%; }
.btn-sm{ padding:9px 14px; font-size:13px; min-height:38px; }

/* ---------- Sections generic ---------- */
section{ padding:88px 0; }
@media (max-width:700px){ section{ padding:56px 0; } }
@media (max-width:480px){ section{ padding:44px 0; } }
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head h2{ font-size:34px; margin-top:14px; }
.section-head p{ margin-top:14px; color:var(--text-dim); font-size:16px; }
@media (max-width:600px){
  .section-head{ margin-bottom:32px; }
  .section-head h2{ font-size:26px; }
  .section-head p{ font-size:15px; }
}

/* ---------- Hero ---------- */
.hero{
  padding:64px 0 56px;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, #1A1F2A 0%, transparent 70%),
    linear-gradient(180deg, #141820 0%, var(--bg) 100%);
}

/* Soft ambient — enough contrast for hero animation, not heavy glow */
.site-bg-grid{ display:none; }
.site-bg-grad{
  position:fixed; inset:0;
  z-index:0; pointer-events:none;
  background:radial-gradient(ellipse 75% 45% at 50% -5%, rgba(232,168,42,0.08), transparent 58%);
}
.hero-bg-canvas{
  position:absolute; inset:0;
  width:100%; height:100%;
  z-index:0; pointer-events:none;
  opacity:0.75;
}
.hero-inner{ position:relative; z-index:1; display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center; }
@media (max-width:960px){ .hero-inner{ grid-template-columns:1fr; gap:40px; } }

.hero h1{
  font-size:clamp(32px,5vw,52px);
  margin-top:14px;
  color:var(--text);
  font-weight:700;
}
.hero h1 span{
  color:var(--amber);
}
.hero-sub{ margin-top:18px; font-size:17px; color:var(--text-dim); max-width:520px; }
@media (max-width:600px){ .hero-sub{ font-size:15.5px; } }

.ip-box{
  margin-top:32px;
  background:var(--bg-panel);
  border:1px solid var(--border);
  border-radius:14px;
  padding:16px 18px;
  display:flex; align-items:center; gap:14px;
  max-width:480px;
}
.ip-box .ip-label{ font-family:var(--font-mono); font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:.1em; }
.ip-box .ip-value{ font-family:var(--font-mono); font-size:18px; font-weight:700; color:var(--amber); margin-top:2px; word-break:break-all; }
.ip-box .ip-port{ font-family:var(--font-mono); font-size:15px; font-weight:600; color:var(--text); margin-top:4px; opacity:.9; }
.copy-btn{
  margin-left:auto; flex-shrink:0;
  background:var(--bg-elev); border:1px solid var(--border); color:var(--text);
  padding:10px 14px; border-radius:9px; font-size:13px; font-weight:700;
  display:flex; align-items:center; gap:7px; transition:background .15s, border-color .15s;
  min-height:40px;
}
.copy-btn:hover{ background:var(--green); color:#0F1A0A; border-color:var(--green); }
.copy-btn svg{ width:15px; height:15px; flex-shrink:0; }
@media (max-width:420px){
  .ip-box{ flex-wrap:wrap; }
  .copy-btn{ margin-left:0; width:100%; justify-content:center; }
}

.hero-meta{ margin-top:18px; display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.status-pill{
  display:flex; align-items:center; gap:8px;
  font-size:13.5px; font-weight:600; color:var(--text-dim);
}
.status-dot{
  width:8px; height:8px; border-radius:50%; background:var(--green);
}
.hero-cta-row{ display:flex; gap:14px; margin-top:28px; flex-wrap:wrap; }
@media (max-width:480px){ .hero-cta-row{ flex-direction:column; } .hero-cta-row .btn{ width:100%; } }

/* hero visual: live stats panel */
.hero-visual{
  position:relative;
  border-radius:12px;
  background:var(--bg-panel);
  border:1px solid var(--border);
  overflow:hidden;
  padding:24px;
  min-height:360px;
  display:flex; flex-direction:column;
}
.stats-top{ display:flex; align-items:center; justify-content:space-between; position:relative; z-index:1; }
.stats-live{
  display:inline-flex; align-items:center; gap:7px;
  font-family:var(--font-mono); font-size:11px; letter-spacing:.08em; font-weight:600;
  color:var(--green); background:rgba(95,176,67,.1); border:1px solid rgba(95,176,67,.25);
  padding:5px 10px; border-radius:6px;
}
.live-dot{ width:6px; height:6px; border-radius:50%; background:var(--green); }
.stats-server{ font-family:var(--font-mono); font-size:12px; color:var(--muted); }

.stats-main{ position:relative; z-index:1; margin-top:32px; }
.stats-number{
  font-family:var(--font-display); font-weight:700; font-size:clamp(44px,7vw,56px);
  color:var(--text); line-height:1;
}
.stats-label{ margin-top:8px; color:var(--text-dim); font-size:14px; }

.stats-bars{
  position:relative; z-index:1; display:flex; align-items:flex-end; gap:3px;
  height:36px; margin-top:18px;
}
.stats-bars span{
  flex:1; border-radius:2px 2px 0 0;
  background:var(--amber);
  opacity:.55;
  height:40%;
}
.stats-bars span:nth-child(odd){ height:65%; opacity:.7; }
.stats-bars span:nth-child(3n){ height:85%; opacity:.85; background:var(--green); }
.stats-bars span:nth-child(5n){ height:50%; }

.stats-grid{
  position:relative; z-index:1; margin-top:auto; padding-top:20px;
  display:grid; grid-template-columns:repeat(3,1fr); gap:8px;
}
.stat-chip{
  background:var(--bg-elev); border:1px solid var(--border-soft); border-radius:8px;
  padding:12px 10px; text-align:center;
}
.stat-chip-label{ display:block; font-size:10.5px; color:var(--muted); text-transform:uppercase; letter-spacing:.05em; }
.stat-chip-value{ display:block; margin-top:5px; font-family:var(--font-mono); font-weight:700; font-size:15px; color:var(--text); }
@media (max-width:400px){
  .stats-grid{ grid-template-columns:1fr 1fr; }
  .stat-chip:last-child{ grid-column:1 / -1; }
}

/* ---------- Community strip ---------- */
.community-strip{
  background:var(--bg-alt);
  border-top:1px solid var(--border-soft);
  border-bottom:1px solid var(--border-soft);
}
.community-inner{
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
  padding:26px 0;
}
.community-text h3{ font-size:19px; }
.community-text p{ color:var(--muted); font-size:14px; margin-top:4px; }
.community-links{ display:flex; gap:12px; flex-wrap:wrap; }
.social-btn{
  display:flex; align-items:center; gap:10px;
  padding:11px 16px; border-radius:8px; font-weight:600; font-size:13.5px;
  border:1px solid var(--border); background:var(--bg-panel); color:var(--text);
  transition:border-color .15s, background .15s, color .15s;
  min-height:42px;
}
.social-btn:hover{ border-color:var(--border-strong); }
.social-btn i{ font-size:16px; width:16px; text-align:center; }
.social-btn.youtube:hover{ border-color:#FF0000; color:#FF4B4B; }
.social-btn.tiktok:hover{ border-color:#fff; color:#fff; }

.social-btn.discord{
  background:#5865F2;
  border-color:transparent; color:#fff;
  padding:11px 18px;
}
.social-btn.discord i{ font-size:18px; }
.social-btn.discord:hover{
  background:#4752C4;
}
.social-btn.discord .discord-sub{
  display:block; font-size:10.5px; font-weight:500; opacity:.85; margin-top:1px;
}
.social-btn.discord .discord-label{ line-height:1.25; }
@media (max-width:600px){
  .community-inner{ flex-direction:column; align-items:stretch; text-align:center; }
  .community-links{ justify-content:center; }
  .social-btn{ flex:1 1 auto; justify-content:center; }
}

/* ---------- Cards ---------- */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
@media (max-width:880px){ .grid-3{ grid-template-columns:1fr 1fr; } }
@media (max-width:620px){ .grid-3, .grid-2{ grid-template-columns:1fr; } }

.card{
  background:var(--bg-panel); border:1px solid var(--border); border-radius:var(--radius);
  padding:24px;
  transition:border-color .15s ease;
}
.card:hover{ border-color:var(--border-strong); }
.card-icon{
  width:40px; height:40px; border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  background:var(--bg-elev); color:var(--amber); margin-bottom:14px;
}
.card-icon svg{ width:22px; height:22px; }
.card h3{ font-size:17px; margin-bottom:8px; }
.card p{ font-size:14.5px; color:var(--text-dim); }
@media (max-width:480px){ .card{ padding:22px; } }

.gamemode-card{
  background:var(--bg-panel); border:1px solid var(--border); border-radius:var(--radius);
  padding:28px; position:relative; overflow:hidden;
}
.gamemode-card::before{
  content:""; position:absolute; top:0; left:0; right:0; height:3px;
}
.gamemode-card.survival::before{ background:var(--green); }
.gamemode-card.towny::before{ background:var(--sky); }
.gamemode-card.lifesteal::before{ background:var(--clay); }
.gamemode-card.minigames::before{ background:var(--amber); }
.gamemode-tag{ font-family:var(--font-mono); font-size:11px; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); }
.gamemode-card h3{ font-size:21px; margin:8px 0 10px; }
.gamemode-card p{ font-size:14.5px; color:var(--text-dim); }
.gamemode-card ul{ margin-top:14px; display:flex; flex-direction:column; gap:8px; }
.gamemode-card li{ font-size:13.5px; color:var(--text-dim); display:flex; gap:8px; align-items:flex-start; }
.gamemode-card li::before{ content:"▸"; color:var(--amber); flex-shrink:0; }
@media (max-width:480px){ .gamemode-card{ padding:22px; } }

/* ---------- Rules ---------- */
.rules-list{ display:flex; flex-direction:column; gap:0; margin-top:8px; }
.rule-row{
  display:flex; gap:18px; align-items:flex-start;
  padding:20px 0; border-bottom:1px solid var(--border-soft);
}
.rule-row:first-child{ padding-top:0; }
.rule-num{ font-family:var(--font-mono); font-weight:700; font-size:13px; color:var(--amber); padding-top:3px; flex-shrink:0; width:28px; }
.rule-row h4{ font-size:15.5px; margin-bottom:4px; }
.rule-row p{ font-size:14px; color:var(--text-dim); }

/* ---------- Guide / steps ---------- */
.tabs{ display:flex; gap:8px; margin-bottom:28px; flex-wrap:wrap; }
.tab-btn{
  padding:10px 16px; border-radius:6px; font-weight:600; font-size:13.5px;
  border:1px solid var(--border); background:var(--bg-panel); color:var(--text-dim);
  min-height:40px;
}
.tab-btn.active{ background:var(--amber); color:#1A1300; border-color:var(--amber); }
.tab-panel{ display:none; }
.tab-panel.active{ display:block; }
@media (max-width:480px){ .tabs{ display:grid; grid-template-columns:1fr 1fr; } }

.step-row{ display:flex; gap:18px; padding:22px 0; border-bottom:1px solid var(--border-soft); }
.step-row:last-child{ border-bottom:none; }
.step-num{
  width:32px; height:32px; border-radius:50%; background:var(--bg-elev); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-weight:700; color:var(--amber);
  flex-shrink:0; font-size:14px;
}
.step-row h4{ font-size:15.5px; margin-bottom:4px; }
.step-row p{ font-size:14px; color:var(--text-dim); }
.step-row code{ background:var(--bg-elev); padding:2px 7px; border-radius:5px; font-family:var(--font-mono); font-size:13px; color:var(--green); }

.cmd-table-wrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; margin-top:8px; border-radius:12px; border:1px solid var(--border-soft); }
.cmd-table{ width:100%; min-width:520px; border-collapse:collapse; }
.cmd-table th{
  text-align:left; font-family:var(--font-mono); font-size:11px; text-transform:uppercase; letter-spacing:.08em;
  color:var(--muted); padding:12px 14px; border-bottom:1px solid var(--border);
}
.cmd-table td{ padding:14px; border-bottom:1px solid var(--border-soft); font-size:14px; color:var(--text-dim); vertical-align:top; }
.cmd-table code{ font-family:var(--font-mono); color:var(--amber); font-size:13.5px; font-weight:700; white-space:nowrap; }
.cmd-table tr:last-child td{ border-bottom:none; }

.faq-item{ border-bottom:1px solid var(--border-soft); }
.faq-item:first-child{ border-top:1px solid var(--border-soft); }
.faq-q{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:14px;
  background:none; border:none; color:var(--text); text-align:left;
  padding:19px 4px; font-size:15.5px; font-weight:700;
}
.faq-q svg{ width:16px; height:16px; color:var(--amber); flex-shrink:0; transition:transform .2s ease; }
.faq-item.open .faq-q svg{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.faq-item.open .faq-a{ max-height:260px; }
.faq-a p{ padding:0 4px 20px; font-size:14.5px; color:var(--text-dim); }
@media (max-width:480px){ .faq-q{ font-size:14.5px; } }

/* ---------- Store: pricing-card style rank cards ---------- */
.rank-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(215px,1fr)); gap:16px; align-items:start; }
@media (max-width:700px){ .rank-grid{ grid-template-columns:1fr 1fr; gap:12px; } }
@media (max-width:520px){ .rank-grid{ grid-template-columns:1fr; max-width:360px; margin:0 auto; } }

.rank-card{
  position:relative;
  background:var(--bg-panel);
  border:1px solid var(--border);
  border-radius:10px;
  padding:6px;
  font-size:13px;
}
.rank-card.featured{ border-color:var(--amber); }
.rank-card.featured::after{
  content:"PALING LARIS"; position:absolute; top:-9px; right:12px; z-index:2;
  background:var(--amber); color:#1A1300; font-size:9.5px; font-weight:700;
  padding:3px 8px; border-radius:4px; letter-spacing:.02em;
}

.rank-head{
  position:relative; overflow:hidden;
  background:var(--bg-elev);
  border:1px solid var(--border-soft);
  border-radius:8px;
  padding:14px;
  margin-bottom:6px;
}
.rank-top-row{ position:relative; display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:12px; }
.rank-name-group{ display:flex; align-items:center; gap:7px; font-size:13px; font-weight:700; color:var(--text-dim); min-width:0; }
.rank-name-group i{ color:var(--amber); font-size:13px; flex-shrink:0; }
.rank-name-group span.rank-name{ font-family:var(--font-display); font-size:16px; font-weight:700; color:var(--text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rank-badge{
  border:1px solid var(--border-strong); color:var(--text-dim);
  border-radius:99px; padding:3px 9px; font-size:10px; font-weight:600; white-space:nowrap; flex-shrink:0;
}

.rank-price-row{ position:relative; display:flex; align-items:baseline; gap:5px; margin-bottom:12px; }
.rank-price-row .amount{ font-family:var(--font-display); font-size:24px; font-weight:800; letter-spacing:-.01em; color:var(--text); }
.rank-price-row .period{ font-size:11.5px; color:var(--muted); padding-bottom:2px; }

.rank-card .btn{ position:relative; }
.rank-card .btn-sm{ padding:9px 14px; font-size:12.5px; min-height:38px; }

.rank-body{ padding:10px 10px 14px; }
.rank-block-title{
  font-size:10.5px; font-weight:800; text-transform:uppercase; letter-spacing:.05em;
  color:var(--muted); margin:0 0 8px; display:flex; align-items:center; gap:6px;
}
.rank-block-title + .perm-list{ margin-bottom:14px; }
.rank-block-title i{ color:var(--amber); font-size:11px; }
.perm-list{ display:flex; flex-direction:column; gap:7px; }
.perm-list li{
  font-size:12.5px; color:var(--text-dim); display:flex; gap:8px; align-items:flex-start; line-height:1.35;
}
.perm-list li i{ color:var(--green); font-size:12px; flex-shrink:0; margin-top:2px; }

.rank-separator{
  display:flex; align-items:center; gap:10px; margin:14px 0 12px;
  font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--muted);
}
.rank-separator::before, .rank-separator::after{ content:""; flex:1; height:1px; background:var(--border); }

.rank-bonus{
  padding-top:12px; border-top:1px solid var(--border-soft);
  font-size:12.5px; font-weight:700; color:var(--green); display:flex; gap:7px; align-items:center;
}

.store-cat-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media (max-width:760px){ .store-cat-grid{ grid-template-columns:1fr; } }
.pay-row{ display:flex; gap:14px; flex-wrap:wrap; margin-top:10px; }
.pay-chip{
  display:flex; align-items:center; gap:9px;
  background:var(--bg-panel); border:1px solid var(--border); border-radius:10px;
  padding:12px 18px; font-weight:700; font-size:13.5px;
}
.pay-dot{ width:9px; height:9px; border-radius:50%; }
@media (max-width:480px){ .pay-chip{ flex:1 1 calc(50% - 7px); justify-content:center; } }

/* ---------- News ---------- */
.news-grid{ display:grid; grid-template-columns:1.3fr 1fr; gap:20px; }
@media (max-width:880px){ .news-grid{ grid-template-columns:1fr; } }
.post-card{
  background:var(--bg-panel); border:1px solid var(--border); border-radius:var(--radius);
  padding:24px; display:flex; flex-direction:column; gap:10px;
}
.post-tag{
  align-self:flex-start; font-family:var(--font-mono); font-size:10.5px; text-transform:uppercase;
  letter-spacing:.08em; padding:4px 9px; border-radius:6px;
}
.post-tag.update{ background:rgba(108,191,74,.15); color:var(--green); }
.post-tag.maintenance{ background:rgba(79,166,216,.15); color:var(--sky); }
.post-tag.event{ background:rgba(255,182,39,.15); color:var(--amber); }
.post-card h3{ font-size:18px; }
.post-card p{ font-size:14px; color:var(--text-dim); }
.post-date{ font-family:var(--font-mono); font-size:12px; color:var(--muted); }

.event-row{
  display:flex; gap:16px; align-items:center; padding:16px 0; border-bottom:1px solid var(--border-soft);
}
.event-row:last-child{ border-bottom:none; }
.event-day{
  width:52px; height:52px; border-radius:11px; background:var(--bg-elev); border:1px solid var(--border);
  display:flex; flex-direction:column; align-items:center; justify-content:center; flex-shrink:0;
}
.event-day b{ font-size:16px; color:var(--amber); font-family:var(--font-display); }
.event-day span{ font-size:9.5px; color:var(--muted); text-transform:uppercase; }
.event-row h4{ font-size:14.5px; }
.event-row p{ font-size:13px; color:var(--muted); margin-top:2px; }

.staff-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
@media (max-width:980px){ .staff-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:640px){ .staff-grid{ grid-template-columns:1fr 1fr; gap:12px; } }
.staff-card{ background:var(--bg-panel); border:1px solid var(--border); border-radius:var(--radius); padding:20px; text-align:center; }
.staff-avatar{
  width:64px; height:64px; border-radius:50%; margin:0 auto 12px;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-weight:700; font-size:18px; color:#1A1300;
  object-fit:cover; background:var(--bg-elev); border:1px solid var(--border);
}
img.staff-avatar{ padding:0; display:block; }
.staff-card h4{ font-size:15px; }
.staff-role{ font-size:12px; color:var(--amber); font-family:var(--font-mono); margin-top:2px; }
.staff-contact{ font-size:12px; color:var(--muted); margin-top:8px; word-break:break-word; }

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--bg-panel);
  border:1px solid var(--border); border-radius:12px;
  padding:40px 36px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.cta-band h3{ font-size:24px; max-width:420px; }
.cta-band p{ color:var(--text-dim); margin-top:8px; font-size:14.5px; }
@media (max-width:600px){
  .cta-band{ padding:32px 24px; flex-direction:column; align-items:stretch; text-align:center; }
  .cta-band > div[style]{ display:flex !important; flex-direction:column; }
  .cta-band .btn{ width:100%; }
}

/* ---------- Page header (non-home pages) ---------- */
.page-header{ padding:48px 0 20px; }
.page-header h1{ font-size:clamp(30px,4.5vw,44px); margin-top:14px; }
.page-header p{ margin-top:14px; color:var(--text-dim); font-size:16px; max-width:600px; }

/* ---------- Footer ---------- */
footer{ background:var(--bg-alt); border-top:1px solid var(--border-soft); padding:48px 0 28px; margin-top:40px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; }
@media (max-width:760px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:480px){ .footer-grid{ grid-template-columns:1fr; gap:26px; } }
.footer-brand p{ color:var(--muted); font-size:13.5px; margin-top:12px; max-width:260px; }
.footer-col h5{ font-family:var(--font-mono); font-size:11.5px; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); margin-bottom:14px; }
.footer-col a, .footer-col p{ display:block; font-size:14px; color:var(--text-dim); margin-bottom:10px; }
.footer-col a:hover{ color:var(--amber); }
.footer-bottom{
  margin-top:38px; padding-top:22px; border-top:1px solid var(--border-soft);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-size:12.5px; color:var(--muted);
}
@media (max-width:480px){ .footer-bottom{ flex-direction:column; text-align:center; } }

/* utility */
.mt-56{ margin-top:56px; }
.center{ text-align:center; }
.mx-auto{ margin-left:auto; margin-right:auto; }

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}
