/* ── HERO: layout horizontal profil + teks ── */
  .hero {
    min-height: 100svh;
    padding: calc(var(--nav-h) + 0.8rem) 1rem 1.2rem;
    justify-content: center;
    gap: 0;
  }

  /* Profil kecil di atas, teks rapat di bawah */
  .hero-profile {
    width: 88px; height: 88px;
    margin-bottom: 1.5rem;
  }
  

  .hero-badge {
    font-size: 0.4rem;
    padding: 5px 12px;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
  }
  .hero-season {
    font-size: 0.6rem;
    letter-spacing: 3px;
    margin-bottom: 0.3rem;
  }
  .hero-name {
    font-size: clamp(1.2rem, 8.5vw, 2rem);
    margin-bottom: 0.4rem;
  }
  .hero-sub {
    font-size: 0.38rem;
    letter-spacing: 2px;
    margin-bottom: 0.9rem;
  }
  .hero-date-strip {
    gap: 5px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-pill { padding: 5px 9px; font-size: 0.36rem; gap: 5px; }

  /* CTA horizontal di mobile */
  .hero-cta {
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1.2rem;
  }
  .btn-primary, .btn-outline {
    font-size: 0.45rem;
    padding: 10px 14px;
    min-height: 40px;
  }

  /* Scroll hint hidden mobile */
  .scroll-hint { display: none; }

/* ── HERO TAGLINE ── */
.hero-tagline {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(0.88rem, 2.2vw, 1.05rem);
  color: var(--text-muted);
  max-width: 58ch;
  margin: 0.5rem auto 1.8rem;
  line-height: 1.85;
  text-align: center;
  font-weight: 500;
}
.hero-tagline em {
  color: var(--text);
  font-style: normal;
  font-weight: 700;
}

/* ── HERO IP COPY WIDGET ── */
.hero-ip-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.8rem;
}
.hero-ip-label {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.42rem;
  color: var(--text-muted);
  letter-spacing: 3px;
}
.hero-ip-box {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(168,85,247,0.06);
  border: 1px solid rgba(168,85,247,0.35);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 20px rgba(168,85,247,0.08);
}
.hero-ip-box:hover {
  border-color: rgba(168,85,247,0.7);
  box-shadow: 0 0 30px rgba(168,85,247,0.2);
}
.hero-ip-text {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.5rem, 1.5vw, 0.7rem);
  color: var(--text);
  padding: 10px 16px;
  letter-spacing: 2px;
  user-select: all;
}
.hero-ip-copy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.42rem;
  letter-spacing: 1px;
  background: rgba(168,85,247,0.15);
  border: none;
  border-left: 1px solid rgba(168,85,247,0.3);
  color: var(--green);
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.hero-ip-copy:hover { background: rgba(168,85,247,0.28); }
.hero-ip-copy.copied {
  color: #5dbd3a;
  background: rgba(93,189,58,0.15);
}


/* ── DIRECT CONNECT BUTTON ── */
.hero-connect-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.42rem;
  letter-spacing: 0.1em;
  color: #c084fc;
  background: rgba(168,85,247,0.08);
  border: 1px solid rgba(168,85,247,0.38);
  border-radius: var(--radius-lg);
  padding: 10px 18px;
  cursor: pointer;
  white-space: nowrap;
  width: 100%;
  margin-top: 6px;
  overflow: hidden;
  box-shadow:
    0 0 0 0 rgba(168,85,247,0),
    inset 0 1px 0 rgba(255,255,255,0.05);
  transition:
    color 0.3s cubic-bezier(0.16,1,0.3,1),
    border-color 0.3s cubic-bezier(0.16,1,0.3,1),
    box-shadow 0.3s cubic-bezier(0.16,1,0.3,1),
    background 0.3s cubic-bezier(0.16,1,0.3,1),
    transform 0.15s ease;
}

/* Shimmer sweep */
.hero-connect-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(192,132,252,0.12),
    transparent
  );
  transform: skewX(-20deg);
  transition: none;
}

/* Glow pulse behind button */
.hero-connect-btn::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(
    ellipse 80% 60% at 50% 50%,
    rgba(168,85,247,0.15),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.hero-connect-btn:hover {
  color: #e2c8ff;
  border-color: rgba(168,85,247,0.75);
  background: rgba(168,85,247,0.14);
  transform: translateY(-2px);
  box-shadow:
    0 0 24px rgba(168,85,247,0.22),
    0 4px 16px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.hero-connect-btn:hover::after  { opacity: 1; }
.hero-connect-btn:hover::before {
  left: 140%;
  transition: left 0.55s cubic-bezier(0.16,1,0.3,1);
}
.hero-connect-btn:active {
  transform: translateY(0);
  box-shadow: 0 0 10px rgba(168,85,247,0.15);
}

/* Connecting state */
.hero-connect-btn.connecting {
  color: #17dd62;
  border-color: rgba(23,221,98,0.45);
  background: rgba(23,221,98,0.07);
  cursor: wait;
  box-shadow: 0 0 16px rgba(23,221,98,0.18);
}
.hero-connect-btn.connecting svg {
  animation: connectSpin 0.9s linear infinite;
}
@keyframes connectSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* hint / feedback text */
.hero-connect-hint {
  font-family: 'Nunito', sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 300px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  margin-top: 4px;
}
.hero-connect-hint.show   { opacity: 1; transform: translateY(0); }
.hero-connect-hint.success { color: #17dd62; }
.hero-connect-hint.info    { color: #4ee3e3; }

/* ── TOAST NOTIFICATION ── */
#toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1a1a2e;
  border: 1px solid rgba(168,85,247,0.4);
  color: var(--text);
  font-family: 'Press Start 2P', monospace;
  font-size: 0.48rem;
  letter-spacing: 1px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 20px rgba(168,85,247,0.2);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── BTN HERO (primary CTA lebih besar) ── */
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(0.55rem, 1.4vw, 0.72rem) !important;
  padding: clamp(14px, 2.5vw, 18px) clamp(24px, 5vw, 40px) !important;
  box-shadow: 0 4px 30px rgba(168,85,247,0.45), 0 0 0 0 rgba(168,85,247,0.3) !important;
  animation: heroCtaPulse 3s ease-in-out infinite;
}
@keyframes heroCtaPulse {
  0%, 100% { box-shadow: 0 4px 30px rgba(168,85,247,0.45), 0 0 0 0 rgba(168,85,247,0.3); }
  50%       { box-shadow: 0 6px 40px rgba(168,85,247,0.65), 0 0 0 8px rgba(168,85,247,0); }
}

/* ── Hero section ── */
.hero-badge  { font-size: clamp(0.5rem, 1.2vw, 0.58rem) !important; }
.hero-season { font-size: clamp(0.72rem, 2.2vw, 1.3rem) !important; letter-spacing: clamp(2px, 1.5vw, 6px); }
.hero-name   { font-size: clamp(1.4rem, 7vw, 4.5rem) !important; }
.hero-sub    { font-size: clamp(0.52rem, 1.4vw, 0.72rem) !important; letter-spacing: clamp(2px, 1.2vw, 5px); }
.hero-tagline { font-size: clamp(0.84rem, 2vw, 1.05rem) !important; }
.hero-ip-label { font-size: var(--f-2xs) !important; }
.hero-ip-text  { font-size: clamp(0.52rem, 1.4vw, 0.7rem) !important; }
.hero-ip-copy  { font-size: var(--f-2xs) !important; }
.hero-pill { font-size: clamp(0.48rem, 1vw, 0.56rem) !important; }

/* ── Buttons ── */
.btn-primary, .btn-outline {
  font-size: clamp(0.52rem, 1.2vw, 0.65rem) !important;
  padding: clamp(10px, 2vw, 16px) clamp(16px, 3.5vw, 32px) !important;
  min-height: 44px !important;
}
.btn-hero {
  font-size: clamp(0.56rem, 1.4vw, 0.72rem) !important;
  padding: clamp(12px, 2.5vw, 18px) clamp(20px, 4.5vw, 40px) !important;
}
.scroll-hint { font-size: clamp(0.45rem, 1vw, 0.52rem) !important; }

/* ── Toast + misc ── */
#toast           { font-size: clamp(0.52rem, 1.2vw, 0.58rem) !important; }
.last-updated    { font-size: clamp(0.72rem, 1.5vw, 0.8rem) !important; }
.refresh-btn     { font-size: clamp(0.48rem, 1.2vw, 0.58rem) !important; }

/* ============================================================
   2-COLUMN GRID — ENFORCED ON ALL SCREENS ≤ 768px
============================================================ */
@media (max-width: 768px) {
  /* All major grids → exactly 2 columns */
  .features-grid,
  .rules-grid,
  .social-grid,
  .shop-grid,
  .status-live-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: clamp(0.4rem, 1.5vw, 0.75rem) !important;
  }

  /* Hero tighter */
  .hero { padding: calc(var(--nav-h) + 0.75rem) 0.85rem 1rem !important; }
  .hero-profile { width: clamp(76px, 20vw, 92px) !important; height: clamp(76px, 20vw, 92px) !important; margin-bottom: 1.2rem !important; }
  
  .hero-badge  { padding: 5px 10px !important; }
  .hero-cta    { gap: 7px !important; flex-wrap: wrap !important; justify-content: center !important; }
  .hero-ip-box { flex-wrap: nowrap !important; }

  /* Cards inner padding */
  .feat-card  { padding: clamp(0.55rem, 2vw, 0.75rem) !important; }
  .rule-card  { padding: 0.45rem 0.55rem !important; }
  .social-card { padding: 0.65rem !important; }
  .live-stat-card { padding: 0.6rem !important; }

/* Aura glow element positioned behind hero text */
.hero-title-aura {
  position: absolute;
  width: clamp(300px, 70vw, 700px);
  height: clamp(80px, 18vw, 200px);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(168,85,247,0.22) 0%, rgba(168,85,247,0.06) 50%, transparent 75%);
  pointer-events: none;
  animation: auraPulse 5s ease-in-out infinite;
  left: 50%; transform: translateX(-50%);
  filter: blur(18px);
  z-index: 0;
}

.hero-name {
  font-family: 'Press Start 2P', monospace !important;
  font-size: clamp(1.7rem, 8.5vw, 5.2rem) !important;
  line-height: 1.1 !important;
  letter-spacing: 0.13em !important;
  margin-bottom: 1rem !important;
  position: relative !important;
  z-index: 1 !important;
