/* ===== Local Fonts ===== */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 400;
    font-display: swap;
    src: url('/fonts/inter.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500 900;
    font-display: swap;
    src: url('/fonts/inter-bold.woff2') format('woff2');
}

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

:root {
    --primary: #0CD8BB;
    --primary-dark: #006766;
    --accent: #B5FEC8;
    --accent-dim: rgba(12, 216, 187, 0.12);
    --bg: #091114;
    --bg-elevated: #0f1a1e;
    --bg-hover: #142428;
    --text: #e0e0e0;
    --text-dim: #7a9a9a;
    --border: #1a2e2e;
    --border-hover: #2a4040;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

::selection {
    background: var(--primary);
    color: #fff;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    background: transparent;
    transition: background 0.3s;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    color: #fff;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
}

.nav-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.nav-logo span {
    color: var(--primary);
    font-weight: 400;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #fff;
}

.nav-mobile-acp {
    display: none;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-acp {
    text-decoration: none;
    color: var(--text-dim);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid var(--border);
    transition: color 0.2s, border-color 0.2s;
}

.nav-acp:hover {
    color: #fff;
    border-color: var(--border-hover);
}

.nav-cta {
    text-decoration: none;
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.2s;
}

.nav-cta:hover {
    opacity: 0.85;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: var(--bg);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(12, 216, 187, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: transparent;
    border: 1px solid var(--border-hover);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.hero h1 {
    font-size: clamp(3.5rem, 12vw, 9rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -3px;
    margin-bottom: 2rem;
    color: #fff;
}

.hero h1 span {
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
}

.hero p {
    font-size: 1rem;
    color: var(--text-dim);
    max-width: 480px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    opacity: 0.85;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
    border-color: #555;
    background: rgba(255, 255, 255, 0.03);
}

.hero-stats {
    display: flex;
    gap: 4rem;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 20px;
    height: 32px;
    border: 1.5px solid var(--text-dim);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 2px;
    height: 6px;
    background: var(--primary);
    border-radius: 1px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(6px); }
}

/* ===== Sections Shared ===== */
section {
    padding: 7rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.8rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
}

/* ===== About ===== */
.about {
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
}

.about-card {
    background: var(--bg);
    padding: 2.5rem;
    transition: background 0.2s;
}

.about-card:hover {
    background: var(--bg);
}

.about-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.about-icon svg {
    width: 22px;
    height: 22px;
}

.about-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.about-card p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ===== Features ===== */
.features {
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.features-list {
    max-width: 700px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: baseline;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    transition: padding-left 0.2s;
}

.feature-item:first-child {
    border-top: 1px solid var(--border);
}

.feature-item:hover {
    padding-left: 0;
}

.feature-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dim);
    min-width: 30px;
    font-variant-numeric: tabular-nums;
}

.feature-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
}

.feature-content p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ===== Leaks ===== */
.leaks {
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.leaks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2px;
}

.leak-card {
    position: relative;
    overflow: hidden;
    background: var(--bg-elevated);
    cursor: pointer;
    aspect-ratio: 16 / 10;
}

.leak-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, opacity 0.3s;
    opacity: 0.85;
}

.leak-card:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.leak-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1rem 0.75rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    pointer-events: none;
}

.leak-card-overlay span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    z-index: 10;
    line-height: 1;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255,255,255,0.3);
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

.lightbox-caption {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-top: 1.5rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.5px;
}

/* ===== Team ===== */
.team {
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.team-category-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.team-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 2px;
}

.team-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--bg-elevated);
    transition: background 0.2s;
}

.team-card:hover {
    background: var(--bg-elevated);
}

.team-avatar {
    margin-bottom: 0.8rem;
}

.avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
}

.team-card h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.team-role {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ===== Links ===== */
.links {
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}

.link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg);
    text-decoration: none;
    color: var(--text);
    transition: background 0.2s;
}

.link-card:hover {
    background: var(--bg-elevated);
}

.link-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.link-icon svg {
    width: 22px;
    height: 22px;
}

.link-icon.discord {
    color: #5865F2;
}

.link-icon.fivem {
    color: #FF7900;
}

.link-icon.teamspeak {
    color: #00BCD4;
}

.link-info h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.link-info p {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.link-arrow {
    margin-left: auto;
    font-size: 1rem;
    color: var(--text-dim);
    transition: transform 0.2s, color 0.2s;
}

.link-card:hover .link-arrow {
    color: var(--primary);
    transform: translateX(3px);
}

/* ===== Footer ===== */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
}

.footer .container {
    max-width: 100%;
    padding: 0 3rem;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-logo span {
    color: var(--primary);
    font-weight: 400;
}

.footer p {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.footer-legal a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.footer-note {
    font-size: 0.7rem !important;
    opacity: 0.5;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .nav-links, .nav-buttons {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links.active .nav-mobile-acp {
        display: list-item;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(9, 17, 20, 0.98);
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border);
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .feature-item {
        gap: 1rem;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .leaks-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .lightbox-prev,
    .lightbox-next {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* ===== Legal Info Button ===== */
.legal-fab {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-dim);
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Georgia', serif;
    font-style: italic;
    z-index: 999;
    transition: all 0.2s;
    cursor: pointer;
}

.legal-fab:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(12, 216, 187, 0.08);
}

/* ===== Mascot ===== */
.mascot-img {
    position: fixed;
    bottom: 0;
    right: 0;
    height: 45vh;
    max-height: 500px;
    z-index: 998;
    pointer-events: none;
    opacity: 0.9;
    filter: drop-shadow(-4px 0 20px rgba(0, 0, 0, 0.5));
}

@media (max-width: 768px) {
    .mascot-img {
        height: 30vh;
        max-height: 300px;
    }
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
