/* PAGE TRANSITION */
body {
    animation: pageEnter 0.5s ease forwards;
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-exit {
    animation: pageExit 0.35s ease forwards !important;
}

@keyframes pageExit {
    to {
        opacity: 0;
        transform: translateY(-6px);
    }
}

:root {
    --color-bg: #05140A;
    --color-gold: #F4A261;
    --color-red: #FF4444;
}

body {
    background-color: var(--color-bg);
    color: var(--color-gold);
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

/* ATMOSPHERE */
.noise-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.05;
    background-image: 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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
}

/* GLASS PANELS */
.glass-panel {
    background: rgba(5, 20, 10, 0.4);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    /* Inner specular depth */
}

.glass-panel:hover {
    border-color: rgba(244, 162, 97, 0.2);
    transform: translateY(-3px);
    background: rgba(244, 162, 97, 0.05);
    box-shadow: inset 0 0 20px rgba(244, 162, 97, 0.05), 0 8px 32px rgba(244, 162, 97, 0.08), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.glass-nav {
    background: rgba(5, 20, 10, 0.6);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ANIMATIONS */
.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* PULSE DOT (For Network Spec) */
.pulse-dot {
    width: 8px;
    height: 8px;
    background: #4ADE80;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

#mobile-menu {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-menu.hidden-menu {
    transform: translateX(100%);
}

/* ACTIVE NAV LINK */
.active-nav-link {
    color: #F4A261;
    cursor: default;
    pointer-events: none;
    position: relative;
}

.active-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(244, 162, 97, 0.6), transparent);
}

/* SITE FOOTER */
.site-footer {
    position: relative;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 72rem);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(244, 162, 97, 0.25), rgba(255, 255, 255, 0.08), rgba(244, 162, 97, 0.25), transparent);
}