/* ==========================================================================
   ASURA NEXUS - index.html (public landing page)
   Lifted out of the template it belongs to; nothing was reordered.

   The landing page is the one page that does not extend base.html, so it never
   loads nexus-chrome.css and has to bring its own page ground and scrollbar.
   Both came from nexus-theme.css, which this page was the only reader of.
   ========================================================================== */

body {
    background-color: var(--bg-main);
    background-image: linear-gradient(rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.92)), url("../src/img/nexus_bg.webp");
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--text-main);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.3); }

        body {
            padding-top: 0 !important;
        }

        /* --- LANDING NAVBAR --- */
        .landing-nav {
            position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
            background: rgba(10, 10, 12, 0.6);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(255,255,255,0.05);
            padding: 12px 0;
            transition: background 0.3s ease;
        }
        .landing-nav.scrolled {
            background: rgba(10, 10, 12, 0.95);
        }

        /* --- HERO --- */
        .hero-section {
            padding: 100px 0 40px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .hero-section::before {
            content: '';
            position: absolute; inset: 0;
            background: url("../src/img/nexus_bg.webp") center/cover no-repeat;
            z-index: -2;
        }
        .hero-section::after {
            content: '';
            position: absolute; inset: 0;
            background: linear-gradient(180deg, rgba(10,10,12,0.4) 0%, rgba(10,10,12,0.85) 80%, rgba(10,10,12,1) 100%);
            z-index: -1;
        }
        .hero-logo {
            max-height: 80px;
            filter: drop-shadow(0 0 20px rgba(52,152,219,0.3));
        }
        .hero-title {
            font-size: 2.4rem;
            font-weight: 800;
            letter-spacing: 2px;
            background: linear-gradient(135deg, #fff 0%, #3498db 50%, #2ecc71 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .hero-subtitle {
            font-size: 0.95rem;
            color: rgba(255,255,255,0.6);
            max-width: 550px;
            margin: 0 auto;
        }
        .btn-discord-lg {
            background: #5865F2;
            color: #fff;
            font-weight: 700;
            font-size: 0.95rem;
            padding: 10px 32px;
            border-radius: 50px;
            border: none;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }
        .btn-discord-lg:hover {
            background: #4752C4;
            color: #fff;
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(88,101,242,0.5);
        }
        /* --- SECTION STYLING --- */
        .landing-section {
            padding: 50px 0;
        }
        .section-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.3rem;
        }
        .section-subtitle {
            color: var(--text-muted);
            font-size: 0.85rem;
            margin-bottom: 1.5rem;
        }

        /* --- SERVER CARDS --- */
        .server-status-card {
            background: var(--bg-card);
            backdrop-filter: blur(12px);
            border: 1px solid var(--border-light);
            border-radius: 12px;
            padding: 18px;
            text-align: center;
            transition: all 0.3s ease;
        }
        .server-status-card:hover {
            transform: translateY(-5px);
            border-color: var(--border-hover);
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }
        .server-status-dot {
            width: 10px; height: 10px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 6px;
        }
        .server-status-dot.online { background: rgb(var(--rgb-success)); box-shadow: 0 0 8px rgba(var(--rgb-success), 0.6); }
        .server-status-dot.offline { background: rgb(var(--rgb-danger)); }
        .server-player-count {
            font-size: 1.5rem;
            font-weight: 800;
            color: #fff;
        }

        /* --- FEATURE CARDS --- */
        .feature-card {
            background: var(--bg-card);
            backdrop-filter: blur(12px);
            border: 1px solid var(--border-light);
            border-radius: 12px;
            padding: 20px 18px;
            text-align: center;
            transition: all 0.3s ease;
            height: 100%;
        }
        .feature-card:hover {
            transform: translateY(-5px);
            border-color: var(--border-hover);
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }
        .feature-icon {
            font-size: 1.8rem;
            margin-bottom: 0.7rem;
            display: block;
        }
        .feature-card h5 {
            font-weight: 700;
            font-size: 0.95rem;
            margin-bottom: 0.3rem;
        }
        .feature-card p {
            color: var(--text-muted);
            font-size: 0.8rem;
            margin-bottom: 0;
        }

        /* --- TIER CARDS --- */
        .tier-card {
            background: var(--bg-card);
            backdrop-filter: blur(12px);
            border: 1px solid var(--border-light);
            border-radius: 12px;
            padding: 20px 18px;
            text-align: center;
            transition: all 0.3s ease;
            height: 100%;
        }
        .tier-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }
        .tier-card .tier-name {
            font-size: 1.1rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 0.5rem;
        }
        .tier-card .tier-price {
            font-size: 0.8rem;
            margin-bottom: 0.8rem;
            color: var(--text-muted);
        }
        .tier-card .tier-price span {
            font-size: 0.95rem;
            font-weight: 700;
            color: #fff;
        }
        /* "Cost:" stays a discreet label so only the amount is highlighted,
           matching the membership cards on the dashboard. */
        .tier-card .tier-price span.tier-cost-label {
            font-size: 0.8rem;
            font-weight: 400;
            color: var(--text-muted);
        }
        .tier-card ul {
            list-style: none;
            padding: 0;
            text-align: left;
            font-size: 0.85rem;
        }
        .tier-card ul li {
            padding: 5px 0;
            border-bottom: 1px solid rgba(255,255,255,0.05);
            color: var(--text-muted);
        }
        .tier-card ul li i {
            width: 20px;
            text-align: center;
            margin-right: 6px;
        }

        /* Tier colors */
        .tier-scavenger { border-color: rgba(var(--rgb-muted), 0.3); }
        .tier-scavenger:hover { border-color: rgb(var(--rgb-muted)); }
        .tier-scavenger .tier-name { color: rgb(var(--rgb-muted)); }

        .tier-stalker { border-color: rgba(var(--rgb-muted), 0.3); }
        .tier-stalker:hover { border-color: rgb(108, 140, 160); box-shadow: 0 10px 25px rgba(108, 140, 160, 0.15); }
        .tier-stalker .tier-name { color: #8eb4c7; }

        .tier-hunter { border-color: rgba(var(--rgb-warning), 0.3); }
        .tier-hunter:hover { border-color: rgb(var(--rgb-warning)); box-shadow: 0 10px 25px rgba(var(--rgb-warning), 0.15); }
        .tier-hunter .tier-name { color: rgb(var(--rgb-warning)); }

        .tier-alpha { border-color: rgba(var(--rgb-danger), 0.3); }
        .tier-alpha:hover { border-color: rgb(var(--rgb-danger)); box-shadow: 0 10px 25px rgba(var(--rgb-danger), 0.15); }
        .tier-alpha .tier-name { color: rgb(var(--rgb-danger)); }

        /* --- CTA BAR --- */
        .cta-bar {
            padding: 30px 0;
            border-top: 1px solid rgba(255,255,255,0.05);
            border-bottom: 1px solid rgba(255,255,255,0.05);
            background: linear-gradient(135deg, rgba(88,101,242,0.08) 0%, rgba(52,152,219,0.08) 100%);
        }

        /* --- FOOTER --- */
        .landing-footer {
            background: rgba(10, 10, 12, 0.95);
            border-top: 1px solid rgba(255,255,255,0.05);
            padding: 25px 0 15px;
            color: var(--text-muted);
            font-size: 0.85rem;
        }
        .landing-footer-heading {
            color: #fff; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
        }
        .landing-footer-links { list-style: none; padding: 0; margin: 0; }
        .landing-footer-links li { margin-bottom: 8px; }
        .landing-footer-links a { color: #adb5bd; text-decoration: none; transition: all 0.2s ease; display: inline-block; }
        .landing-footer-links a:hover { color: #3498db; transform: translateX(5px); }

        /* --- RESPONSIVE --- */
        @media (max-width: 768px) {
            .hero-title { font-size: 1.8rem; }
            .hero-subtitle { font-size: 0.85rem; }
            .hero-section { padding: 80px 0 30px; }
            .landing-section { padding: 35px 0; }
        }
