/* --- 1. SETUP & VARIABLES --- */
:root {
    --bg-main: #08090a;
    --bg-card: #111214;
    --accent: #dc2626; /* Red for Anarchy */
    --kofi: #00b9fe;
    --discord: #5865F2;
    --youtube: #FF0000;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --border: rgba(255, 255, 255, 0.08);
    --spotlight-color: rgba(255, 255, 255, 0.1);
    --spotlight-color: rgba(255, 255, 255, 0.1);
}

/* Globally prevent the page from being wider than the viewport */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: relative;
}
/* Noise Texture */
.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 999;
}

/* --- 2. UTILS --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
section { padding: 100px 0; }

.section-header { margin-bottom: 60px; max-width: 600px; }
.section-header h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.03em; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.6; }

.gradient-text {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-muted { color: var(--text-muted); }

/* --- 3. CARDS --- */
.spotlight-group {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x) var(--mouse-y), 
        var(--spotlight-color), 
        transparent 40%
    );
    z-index: 0; opacity: 0; transition: opacity 0.5s; pointer-events: none;
}

.card-inner { position: absolute; inset: 1px; background: var(--bg-card); border-radius: 23px; z-index: 1; }
.card-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-5px); }
.card:hover::before { opacity: 1; }

.bento-wide { grid-column: span 2; }
@media(max-width: 768px) { .bento-wide { grid-column: span 1; } }

.card-icon {
    width: 50px; height: 50px; border-radius: 12px;
    background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-bottom: 24px; color: #fff; border: 1px solid var(--border);
}
.card h3 { font-size: 1.25rem; margin-bottom: 12px; font-weight: 700; }
.card p { color: var(--text-muted); line-height: 1.6; font-size: 0.95rem; }
.sub-text { font-size: 0.8em; color: #666; }

/* --- 4. HERO --- */
.hero {
    min-height: 90vh; display: flex; align-items: center; justify-content: center;
    text-align: center; position: relative; padding-top: 80px;
}
#particles-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.hero-content { z-index: 3; position: relative; padding: 0 20px; }

.status-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 50px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.2);
    font-size: 0.85rem; font-weight: 600; color: #ef4444;
    margin-bottom: 30px; backdrop-filter: blur(10px);
}
.status-dot { width: 6px; height: 6px; background: #ef4444; border-radius: 50%; box-shadow: 0 0 10px #ef4444; }

.hero h1 {
    font-size: 4.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 24px;
    letter-spacing: -2px;
    background: linear-gradient(to bottom, #fff 40%, #7f1d1d 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc { max-width: 600px; margin: 0 auto 40px auto; color: var(--text-muted); }

.btn-copy {
    background: var(--bg-card); border: 1px solid var(--border); padding: 16px 32px;
    border-radius: 12px; color: #fff; font-weight: 600; display: flex; align-items: center; gap: 12px;
    cursor: pointer; transition: 0.3s; margin: 0 auto; width: fit-content;
}
.btn-copy:hover { border-color: var(--accent); box-shadow: 0 0 30px rgba(220, 38, 38, 0.2); }

/* --- 5. KOFI & FUNDING --- */
.funding-section { background: rgba(255,255,255,0.02); }
.funding-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.funding-box {
    background: rgba(255,255,255,0.02); border: 1px solid var(--border);
    padding: 32px; border-radius: 20px;
}
.box-title { font-size: 1.5rem; margin-bottom: 10px; }
.price-tag { font-size: 2rem; font-weight: 800; color: var(--text-main); margin: 16px 0; }
.sub-price { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }

.warning-box {
    margin-top: 24px; padding: 16px; border: 1px solid #ef4444; border-radius: 12px;
    background: rgba(239, 68, 68, 0.05); color: #ef4444; font-size: 0.9rem;
}

.btn-kofi {
    background: var(--kofi);
    color: #fff;
    padding: 18px 32px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    margin-top: 30px;
    border: none;
}
.btn-kofi:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0, 185, 254, 0.3); }

/* Rewards */
.reward-item {
    display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px;
    padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.reward-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.reward-icon { font-size: 1.5rem; color: var(--accent); }
.reward-title { font-size: 1.1rem; margin-bottom: 4px; }
.reward-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 8px; }
.badge { background: #fff; color: #000; font-size: 0.75rem; padding: 2px 8px; border-radius: 4px; font-weight: 700; }

.claim-instructions { margin-top: 20px; font-size: 0.9rem; color: var(--text-muted); }
.email-link { color: #fff; }
.code-block {
    background: #000; padding: 16px; border-radius: 8px; font-family: monospace;
    font-size: 0.85rem; color: #d1d5db; margin-top: 16px; border: 1px solid var(--border);
}

/* --- 6. SOCIAL CARDS --- */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.social-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}
.social-card i { font-size: 2.5rem; transition: 0.3s; }
.social-card.discord:hover { border-color: var(--discord); background: rgba(88, 101, 242, 0.1); }
.social-card.discord i { color: var(--discord); }
.social-card.youtube:hover { border-color: var(--youtube); background: rgba(255, 0, 0, 0.1); }
.social-card.youtube i { color: var(--youtube); }
.social-info h3 { font-size: 1.2rem; margin-bottom: 4px; }
.social-info p { color: var(--text-muted); font-size: 0.9rem; }

.contact-label { color: var(--text-muted); margin-bottom: 12px; }
.big-email { font-size: 1.5rem; color: #fff; text-decoration: none; font-weight: 700; border-bottom: 2px solid var(--accent); }

/* --- 7. NAVBAR & FOOTER --- */
nav {
    position: fixed; top: 0; width: 100%; z-index: 100; padding: 24px 0; transition: 0.3s;
}
nav.scrolled {
    padding: 16px 0; background: rgba(8, 9, 10, 0.9);
    backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 800; font-size: 1.5rem; color: #fff; text-decoration: none; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: #fff; text-decoration: none; font-size: 0.9rem; }

footer { padding: 60px 0; border-top: 1px solid var(--border); text-align: center; color: var(--text-muted); font-size: 0.9rem; }

.toast {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px);
    background: #fff; color: #000; padding: 12px 24px; border-radius: 50px;
    font-weight: 600; opacity: 0; transition: 0.4s; z-index: 1000;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

@media (max-width: 900px) {
    .funding-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 3rem; }
}
