/* ═══════════════════════════════════════════════════════
    Eofh-Bot — style.css   |   Premium Dark Theme
   ═══════════════════════════════════════════════════════ */

:root {
    --bg:           #06080f;
    --surface:      #0d1117;
    --card-bg:      rgba(255, 255, 255, 0.042);
    --card-border:  rgba(139, 168, 255, 0.18);
    --text:         #f0f4ff;
    --muted:        #7a8db3;
    --subtle:       #4a5a80;
    --accent:       #6c8eff;
    --accent-2:     #a78bfa;
    --header-bg:    rgba(6, 8, 15, 0.8);
    --footer-bg:    rgba(6, 8, 15, 0.7);
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Animated mesh background ──────────────────────── */
.bg-mesh {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-mesh::before,
.bg-mesh::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: meshFloat 12s ease-in-out infinite alternate;
}

.bg-mesh::before {
    width: 900px; height: 900px;
    top: -300px; right: -200px;
    background: radial-gradient(circle, rgba(108, 142, 255, 0.22) 0%, rgba(80, 50, 200, 0.12) 60%, transparent 100%);
    animation-delay: 0s;
}

.bg-mesh::after {
    width: 700px; height: 700px;
    bottom: -250px; left: -150px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.18) 0%, rgba(50, 20, 150, 0.10) 60%, transparent 100%);
    animation-delay: 5s;
}

@keyframes meshFloat {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(40px, -30px) scale(1.06); }
    66%  { transform: translate(-20px, 50px) scale(0.96); }
    100% { transform: translate(30px, 20px) scale(1.04); }
}

/* Dot grid overlay */
.bg-dots {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(108, 142, 255, 0.12) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* ── Header ─────────────────────────────────────────── */
.site-header {
    position: relative;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 2.5rem;
    background: var(--header-bg);
    border-bottom: 1px solid rgba(108, 142, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.header-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1) drop-shadow(0 0 12px rgba(108, 142, 255, 0.6));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.header-logo:hover {
    filter: brightness(1.2) drop-shadow(0 0 22px rgba(108, 142, 255, 0.9));
    transform: scale(1.06);
}

.header-wordmark {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--text);
    text-transform: uppercase;
}

/* ── Main ───────────────────────────────────────────── */
.coming-soon-wrap {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.25rem;
}

/* ── Card ───────────────────────────────────────────── */
.card {
    position: relative;
    width: min(700px, 94vw);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 4rem 3rem;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 2px 0 rgba(255, 255, 255, 0.07) inset,
        0 40px 80px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(108, 142, 255, 0.06);
    text-align: center;
    overflow: hidden;
    opacity: 0;
    transform: translateY(32px) scale(0.98);
    transition:
        opacity 0.8s cubic-bezier(.22, 1, .36, 1),
        transform 0.8s cubic-bezier(.22, 1, .36, 1);
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(108, 142, 255, 0.6) 40%,
        rgba(167, 139, 250, 0.6) 60%,
        transparent);
    border-radius: 999px;
}

.card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ── Eofh-Bot eyebrow pill ──────────────────────────────── */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    padding: 0.3rem 1.1rem;
    border-radius: 999px;
    background: linear-gradient(135deg,
        rgba(108, 142, 255, 0.15),
        rgba(167, 139, 250, 0.12));
    border: 1px solid rgba(108, 142, 255, 0.3);
    letter-spacing: 0.25em;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
}

/* ── Heading ───────────────────────────────────────── */
h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 1.4rem;
    background: linear-gradient(135deg, #ffffff 30%, #b8c8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Body text ─────────────────────────────────────── */
.lead {
    margin: 0 auto;
    max-width: 50ch;
    line-height: 1.75;
    color: var(--muted);
    font-size: 1rem;
}

.lead + .lead { margin-top: 0.8rem; }

.lead.subtle {
    color: var(--text);
    font-weight: 600;
    font-size: 1.05rem;
    opacity: 0.9;
}

.lead.muted-small {
    font-size: 0.82rem;
    color: var(--subtle);
}

/* ── Bot tags row ──────────────────────────────────── */
.bot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 1.8rem 0 0;
}

.bot-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--muted);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.bot-tag:hover {
    background: rgba(108, 142, 255, 0.12);
    border-color: rgba(108, 142, 255, 0.35);
    color: var(--text);
}

.bot-tag-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.7;
    flex-shrink: 0;
}

/* ── Divider ───────────────────────────────────────── */
.card-divider {
    width: 56px;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        var(--accent) 40%,
        var(--accent-2) 60%,
        transparent);
    border: none;
    margin: 2rem auto;
    border-radius: 2px;
}

/* ── Status badge ──────────────────────────────────── */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted);
    margin-top: 1.8rem;
}

.status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 8px #f59e0b, 0 0 16px rgba(245,158,11,0.4);
    animation: pulse 2.2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1;   box-shadow: 0 0 8px #f59e0b, 0 0 16px rgba(245,158,11,0.4); }
    50%       { opacity: 0.4; box-shadow: 0 0 4px #f59e0b; }
}

/* ── Footer ─────────────────────────────────────────── */
.site-footer {
    position: relative;
    z-index: 100;
    padding: 1.1rem 1.5rem;
    text-align: center;
    font-size: 0.82rem;
    color: var(--subtle);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--footer-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.site-footer a {
    color: #8aabff;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #fff;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 600px) {
    .site-header { padding: 0.75rem 1.25rem; }
    .card { padding: 2.5rem 1.5rem; }
    .header-wordmark { display: none; }
}

/* -- Admin login button (header, top-right) ------------- */
.header-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    background: rgba(88, 101, 242, 0.15);
    border: 1px solid rgba(88, 101, 242, 0.35);
    color: #8fa8ff;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.header-login-btn:hover {
    background: rgba(88, 101, 242, 0.28);
    border-color: rgba(88, 101, 242, 0.6);
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   LOGIN PAGE
   ═══════════════════════════════════════════════════════════ */

/* ── Animated background orbs ── */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}
.bg-orb--1 {
    width: 600px; height: 600px;
    background: rgba(108, 142, 255, 0.12);
    top: -200px; left: -150px;
    animation: drift1 12s ease-in-out infinite alternate;
}
.bg-orb--2 {
    width: 500px; height: 500px;
    background: rgba(167, 139, 250, 0.10);
    bottom: -150px; right: -100px;
    animation: drift2 14s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(60px, 80px); } }
@keyframes drift2 { to { transform: translate(-60px, -60px); } }

/* ── Grid lines overlay ── */
.bg-grid {
    position: fixed; inset: 0; z-index: 0;
    background-image:
        linear-gradient(rgba(108,142,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108,142,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

/* ── Layout ── */
.login-wrap {
    position: relative; z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

/* ── Card ── */
.login-card {
    width: 100%;
    max-width: 400px;
    background: rgba(255,255,255,0.038);
    border: 1px solid rgba(139,168,255,0.14);
    border-radius: 24px;
    padding: 3rem 2.5rem 2.5rem;
    text-align: center;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 32px 80px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.06);
    animation: cardIn 0.5s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes cardIn {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Logo ── */
.login-logo-wrap { margin-bottom: 1.75rem; }
.login-logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    filter: drop-shadow(0 0 24px rgba(108,142,255,0.5));
    animation: logoPulse 4s ease-in-out infinite;
}
@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(108,142,255,0.45)); }
    50%       { filter: drop-shadow(0 0 36px rgba(167,139,250,0.65)); }
}

/* ── Text ── */
.login-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6c8eff;
    margin-bottom: 0.6rem;
}
.login-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 30%, rgba(255,255,255,0.55));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.6rem;
    line-height: 1.1;
}
.login-sub {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.38);
    line-height: 1.55;
    margin-bottom: 2rem;
}

/* ── Divider ── */
.login-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    margin-bottom: 2rem;
}

/* ── Discord button ── */
.btn-discord {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    background: #5865f2;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: all 0.2s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 4px 24px rgba(88,101,242,0.35);
    position: relative;
    overflow: hidden;
}
.btn-discord::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
    opacity: 0;
    transition: opacity 0.2s;
}
.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(88,101,242,0.5);
}
.btn-discord:hover::before { opacity: 1; }
.btn-discord:active { transform: translateY(0); }
.btn-discord svg { flex-shrink: 0; }

/* ── Footer note ── */
.login-note {
    margin-top: 1.25rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}
.login-note::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #57f287;
    box-shadow: 0 0 6px #57f287;
    flex-shrink: 0;
}

/* ── Error box ── */
.login-error {
    background: rgba(237,66,69,0.1);
    border: 1px solid rgba(237,66,69,0.3);
    color: #ed4245;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
    margin-bottom: 1.25rem;
    text-align: left;
}

/* ── Back link ── */
.login-back {
    position: fixed;
    top: 1.5rem; left: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.3);
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.2s;
    z-index: 10;
}
.login-back:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 480px) {
    .login-card { padding: 2.5rem 1.5rem 2rem; border-radius: 18px; }
    .login-title { font-size: 1.65rem; }
}

/* ═══════════════════════════════════════════════════════════
   HOME PAGE
   ═══════════════════════════════════════════════════════════ */

.home-main {
    position: relative;
    z-index: 1;
    flex: 1;
}

/* ── Hero ── */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    gap: 3rem;
}

.hero-inner { max-width: 680px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 1rem;
    border-radius: 999px;
    background: rgba(87, 242, 135, 0.08);
    border: 1px solid rgba(87, 242, 135, 0.25);
    font-size: 0.75rem;
    font-weight: 600;
    color: #57f287;
    margin-bottom: 1.5rem;
    letter-spacing: 0.04em;
}

.status-dot-green {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #57f287;
    box-shadow: 0 0 8px #57f287;
    animation: pulse 2.2s ease-in-out infinite;
    flex-shrink: 0;
}

.hero-title {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 1.2rem;
}

.gradient-text {
    background: linear-gradient(135deg, #6c8eff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.75;
    max-width: 52ch;
    margin: 0 auto 2rem;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    background: #5865f2;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.35);
}
.btn-primary:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(88, 101, 242, 0.5);
}
.btn-primary.btn-large {
    padding: 0.85rem 2rem;
    font-size: 1rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.22);
}
.btn-secondary.btn-large {
    padding: 0.85rem 2rem;
    font-size: 1rem;
}

/* ── Hero stats ── */
.hero-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 1.2rem 1.8rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(139,168,255,0.14);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    min-width: 100px;
    transition: border-color 0.2s, background 0.2s;
}
.stat-card:hover {
    background: rgba(108,142,255,0.08);
    border-color: rgba(108,142,255,0.3);
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}
.stat-value.stat-online { color: #57f287; }
.stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ── Features ── */
.features {
    padding: 4rem 1.5rem 5rem;
}
.features-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.section-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(139,168,255,0.1);
    border-radius: 18px;
    padding: 2rem 1.75rem;
    text-align: left;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.feature-card:hover {
    background: rgba(108,142,255,0.06);
    border-color: rgba(108,142,255,0.25);
    transform: translateY(-3px);
}
.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}
.feature-card p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ── CTA ── */
.cta-section {
    padding: 4rem 1.5rem 6rem;
    text-align: center;
}
.cta-inner {
    max-width: 560px;
    margin: 0 auto;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(139,168,255,0.14);
    border-radius: 24px;
    padding: 3.5rem 2rem;
    backdrop-filter: blur(16px);
}
.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 0.75rem;
}
.cta-lead {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 2rem;
    line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════
   ERROR PAGES (404 / 500)
   ═══════════════════════════════════════════════════════════ */

.error-main {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
}

.error-card {
    text-align: center;
    max-width: 480px;
}

.error-code {
    font-size: clamp(5rem, 18vw, 9rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #6c8eff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.error-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.error-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.error-lead {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* ── Home page responsive ── */
@media (max-width: 600px) {
    .hero { padding: 4rem 1.25rem 3rem; }
    .stat-card { padding: 1rem 1.25rem; min-width: 80px; }
    .stat-value { font-size: 1.3rem; }
    .features { padding: 3rem 1.25rem 4rem; }
    .cta-inner { padding: 2.5rem 1.25rem; }
}

/* ── Update toast (Service Worker) ──────────────────── */
#eofh-bot-update-toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #1e2030;
    border: 1px solid rgba(108,142,255,.35);
    color: #e0e6ff;
    padding: 0.75rem 1.1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    box-shadow: 0 8px 32px rgba(0,0,0,.45);
    animation: toast-in .25s ease;
    white-space: nowrap;
}
@keyframes toast-in {
    from { opacity: 0; transform: translateX(-50%) translateY(1rem); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0);    }
}
#eofh-bot-update-toast button {
    background: #6c8eff;
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 0.3rem 0.75rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background .15s;
}
#eofh-bot-update-toast button:last-child {
    background: transparent;
    color: #8899cc;
    padding: 0.3rem 0.5rem;
}
#eofh-bot-update-toast button:hover { background: #5a78f0; }
#eofh-bot-update-toast button:last-child:hover { background: rgba(255,255,255,.06); }
@media (max-width: 480px) {
    #eofh-bot-update-toast { white-space: normal; width: calc(100% - 2rem); bottom: 1rem; }
}

/* ── Commands Section ───────────────────────────────── */
.cmd-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.25rem;
}

.cmd-category {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .2s;
}
.cmd-category:hover {
    border-color: rgba(108, 142, 255, 0.4);
}

.cmd-cat-header {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .9rem 1.1rem;
    background: rgba(108, 142, 255, 0.07);
    border-bottom: 1px solid var(--card-border);
}
.cmd-cat-icon {
    font-size: 1.15rem;
    line-height: 1;
}
.cmd-cat-name {
    font-weight: 600;
    font-size: .95rem;
    color: var(--text);
    flex: 1;
}
.cmd-cat-base {
    background: rgba(108, 142, 255, 0.15);
    color: var(--accent);
    font-size: .75rem;
    padding: 2px 8px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
}

.cmd-list {
    padding: .5rem 0;
}

.cmd-row {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    padding: .45rem 1.1rem;
    transition: background .15s;
}
.cmd-row:hover {
    background: rgba(255, 255, 255, 0.03);
}
.cmd-row code {
    font-family: 'Courier New', monospace;
    font-size: .8rem;
    color: #a5b8ff;
    white-space: nowrap;
    min-width: 160px;
    flex-shrink: 0;
}
.cmd-row span {
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.4;
}
.cmd-row.admin-cmd code {
    color: #c4a8ff;
}

.admin-badge {
    display: inline-block;
    background: rgba(167, 139, 250, 0.15);
    color: #a78bfa;
    font-size: .7rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .03em;
    vertical-align: middle;
}

@media (max-width: 600px) {
    .cmd-categories { grid-template-columns: 1fr; }
    .cmd-row code { min-width: 130px; }
}
