/* =============================================
   In Anime - Premium Design System
   ============================================= */
:root {
    /* Colors */
    --primary: #16dd34;
    --primary-rgb: 22, 221, 52;
    --primary-dark: #0a9605;
    --accent-blue: #5865F2;
    --bg-dark: #000000; /* Pure Black */
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-surface: #080808;
    --text-main: #ffffff;
    --text-muted: #888892;
    --border: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(22, 221, 52, 0.2);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows & Glows */
    --glow-primary: 0 0 20px rgba(0, 255, 136, 0.3);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
    
    /* Layout */
    --container-max: 1200px;
    --nav-height: 80px;
    --radius: 32px; /* Smoother rounded corners */
    --radius-sm: 16px;
    
    /* Animations */
    --transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Effects */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    filter: blur(150px);
    opacity: 0.6;
}

.blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: blobMove 20s infinite alternate;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -200px;
    right: -100px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-blue);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
    opacity: 0.1;
}

@keyframes blobMove {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(50px, 50px) scale(1.1); }
}

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

.section {
    padding: 70px 0; /* Reduced from 100px */
    position: relative;
}

/* Typography Utilities */
.heading-xl {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.heading-lg {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(135deg, #16dd34 0%, #00ff88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.text-muted { color: var(--text-muted); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 255, 136, 0.5);
}

.btn-glass {
    background: var(--bg-card);
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
}

.nav-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0; /* Reduced from 20px */
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: 70px;
}

nav {
    display: flex;
    justify-content: space-between; /* Reverted to left-right split */
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 160px 0 60px; /* Reduced bottom padding */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(22, 221, 52, 0.08) 0%, transparent 70%);
    z-index: -1;
    filter: blur(60px);
}

.hero-center-content {
    width: 100%;
}

.heading-xl {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 900;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}



.hero-character-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 500px;
}

.hero-character {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    animation: floatCharacter 6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(22, 221, 52, 0.2));
}

.hero-character-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(22, 221, 52, 0.15) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
}

@keyframes floatCharacter {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.02); }
}

/* Safety Section */
.safety-card {
    background: #050505;
    border-radius: var(--radius);
    padding: 80px 40px;
    text-align: center;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.safety-icon-wrapper {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
}

.safety-icon-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(22, 221, 52, 0.05);
    border: 1px solid rgba(22, 221, 52, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--primary);
    box-shadow: 0 0 40px rgba(22, 221, 52, 0.1);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px; /* Increased for better spacing */
}

.feature-card {
    background: var(--bg-card);
    padding: 50px 40px; /* More breathing room */
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 24px;
}

/* Download Section Premium */
.download-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.download-platform-card {
    background: #050505;
    border-radius: var(--radius);
    padding: 60px 40px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.download-platform-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.03);
}

.platform-icon {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 32px;
    opacity: 0.8;
}

.platform-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: #fff;
}

.platform-info p {
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.btn-dl-platform {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 700;
    justify-content: center;
}

.coming-soon-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--border);
    color: var(--text-muted);
}

/* Download Section */
.download-card {
    border-radius: var(--radius);
    padding: 60px;
    text-align: center;
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.dl-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Stats */
.stats-bar {
    display: flex;
    justify-content: space-around;
    padding: 40px 0; /* Reduced padding */
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 40px 0; /* Reduced margin */
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
}

/* Footer */
footer {
    padding: 60px 0 30px;
    background: #000;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    margin-bottom: 40px;
}

.footer-nav {
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 24px;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.4rem;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.social-links a:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(22, 221, 52, 0.3);
}

/* Discord specific hover */
.social-links a:first-child:hover {
    background: var(--accent-blue);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.3);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-credit a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

/* =============================================
   Mobile Responsive — Full Coverage
   ============================================= */

/* --- Tablet & Small Desktop (max-width: 992px) --- */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { order: -1; }

    .hero { padding: 140px 0 50px; }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 24px;
    }

    .feature-card { padding: 36px 28px; }

    .download-grid-premium {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .download-platform-card { padding: 48px 32px; }

    .safety-card { padding: 60px 32px; }

    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-nav { justify-content: center; flex-wrap: wrap; gap: 40px; }
    .social-links { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .nav-links { display: none; }
}

/* --- Mobile (max-width: 768px) --- */
@media (max-width: 768px) {
    :root {
        --radius: 20px;
        --radius-sm: 12px;
    }

    .container { padding: 0 16px; }
    .section { padding: 50px 0; }

    .hero { padding: 120px 0 40px; }

    .heading-xl {
        font-size: clamp(1.8rem, 7vw, 2.8rem) !important;
        margin-bottom: 16px !important;
    }

    .heading-lg {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 16px;
    }

    .heading-md {
        font-size: clamp(1.3rem, 4vw, 1.6rem);
    }

    /* Hero buttons */
    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .hero-content p.text-muted {
        font-size: 1rem !important;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 28px 24px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        border-radius: 14px;
        margin-bottom: 16px;
    }

    .feature-card h3 { font-size: 1.1rem; }
    .feature-card p { font-size: 0.9rem; }

    /* Safety */
    .safety-card { padding: 48px 20px; }

    .safety-icon-circle {
        width: 90px;
        height: 90px;
        font-size: 2.5rem;
    }

    .safety-card p { font-size: 1rem !important; }

    /* Stats */
    .stats-bar {
        flex-direction: column;
        gap: 24px;
        padding: 32px 0;
        margin: 32px 0;
    }

    .stat-value { font-size: 2.2rem; }
    .stat-label { font-size: 0.75rem; }

    /* Download */
    .download-grid-premium { gap: 20px; }

    .download-platform-card { padding: 40px 24px; }

    .platform-icon { font-size: 3rem; margin-bottom: 20px; }
    .platform-info h3 { font-size: 1.4rem; margin-bottom: 12px; }

    .btn-dl-platform { padding: 16px; font-size: 1rem; }

    /* Footer */
    footer { padding: 40px 0 24px; }

    .footer-grid { gap: 32px; margin-bottom: 32px; }

    .footer-nav { gap: 32px; }

    .footer-brand p { font-size: 0.95rem !important; }

    .footer-col h4 { font-size: 1.05rem; margin-bottom: 16px; }

    .footer-bottom {
        padding-top: 24px;
        font-size: 0.8rem;
    }

    /* Background blobs — smaller on mobile */
    .blob-1 { width: 300px; height: 300px; }
    .blob-2 { width: 250px; height: 250px; }

    /* Coming Soon badge */
    .coming-soon-badge {
        top: 16px;
        right: 16px;
        font-size: 0.7rem;
        padding: 4px 12px;
    }

    /* Download progress */
    #dlProgress { margin-top: 24px !important; }
}

/* --- Small Mobile (max-width: 576px) --- */
@media (max-width: 576px) {
    .container { padding: 0 14px; }

    .hero { padding: 110px 0 32px; }

    .hero-content {
        max-width: 100% !important;
    }

    .heading-xl {
        font-size: clamp(1.5rem, 6.5vw, 2.2rem) !important;
        line-height: 1.15 !important;
    }

    .heading-xl .text-gradient {
        font-size: 1.15em !important;
    }

    .hero-btns .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        gap: 8px;
    }

    .section { padding: 40px 0; }

    /* Nav */
    header { padding: 8px 0; }
    header.scrolled { height: auto; }

    .logo img { width: 34px; height: 34px; }

    nav .btn { padding: 8px 16px !important; font-size: 0.8rem !important; }

    /* Feature cards */
    .feature-card {
        padding: 24px 20px;
    }

    /* Stats */
    .stats-bar { gap: 20px; padding: 24px 0; margin: 24px 0; }
    .stat-value { font-size: 1.8rem; }

    /* Download */
    .download-platform-card { padding: 32px 20px; }
    .platform-icon { font-size: 2.5rem; margin-bottom: 16px; }
    .platform-info h3 { font-size: 1.2rem; }

    /* Footer nav stacking */
    .footer-nav {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    /* Safety */
    .safety-card {
        padding: 36px 16px;
        border-radius: var(--radius-sm);
    }

    .safety-icon-circle {
        width: 72px;
        height: 72px;
        font-size: 2rem;
    }

    /* Hero glow */
    .hero::before {
        width: 300px;
        height: 300px;
    }

    /* Version/Size text on download card */
    .download-platform-card div[style*="display: flex"][style*="gap: 20px"] {
        flex-direction: column;
        gap: 6px !important;
        align-items: center;
    }
}

/* --- Extra Small (max-width: 400px) --- */
@media (max-width: 400px) {
    .container { padding: 0 12px; }

    .heading-xl {
        font-size: 1.4rem !important;
    }

    .heading-lg {
        font-size: 1.3rem;
    }

    .hero { padding: 100px 0 28px; }

    .hero-btns .btn {
        padding: 11px 20px;
        font-size: 0.85rem;
    }

    .feature-card {
        padding: 20px 16px;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .btn-dl-platform { padding: 14px; font-size: 0.9rem; }
    .stat-value { font-size: 1.5rem; }
    .stat-label { font-size: 0.7rem; }
}