:root {
    --neon-yellow: #fff200;
    --neon-red: #ff003c;
    --neon-purple: #9d00ff;
    --bg-black: #050505;
}

body, html {
    margin: 0; padding: 0; min-height: 100%;
    color: #eee;
    font-family: 'Inter', sans-serif;
}

/* --- 3-Color Gradient Dotted Background --- */
body {
    margin: 0;
    padding: 0;
    background-color: #000; /* The base black void */
    min-height: 100vh;
    position: relative;
}

body::before {
    content: "";
    position: fixed; /* Keeps dots still while you scroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Sits behind everything */

    /* 1. The Gradient Layer */
    background: linear-gradient(
        to bottom,
        var(--neon-yellow) 0%,
        var(--neon-red) 50%,
        var(--neon-purple) 100%
    );

    /* 2. The Dot Mask */
    /* This creates 2px dots spaced 20px apart */
    -webkit-mask-image: radial-gradient(circle, #000 1px, transparent 1px);
    mask-image: radial-gradient(circle, #000 1px, transparent 1px);
    
    -webkit-mask-size: 25px 25px;
    mask-size: 25px 25px;

    /* 3. Subtlety (Crucial for the 'Cult' vibe) */
    opacity: 0.3; /* Adjust this to make the dots brighter or dimmer */
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    border: 4px solid;
    border-image: linear-gradient(to bottom, var(--neon-yellow), var(--neon-red), var(--neon-purple)) 1;
max-width: 1370px;
margin: 15px auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #000;
    position: relative;
    overflow: visible; /* Crucial so spinning dashes aren't cut off */
    width: 100%;
    box-sizing: border-box;
}

.logo-svg {
    display: block;
    width: 100%;           /* Scale to fit the container */
    max-width: 360px;      /* Slightly smaller for mobile safety */
    height: auto;          /* Fallback */
    aspect-ratio: 3 / 1;   /* FORCES the 360x120 proportion */
    
    /* If the dashes spin outside the box, we need this */
    overflow: visible !important; 
    
    /* Fix for some mobile webkit bugs */
    flex-shrink: 1; 
    min-width: 200px;      /* Ensures it doesn't disappear entirely */
}

.logo-area {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 360px; /* Limits size on desktop */
}

.logo-svg {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3 / 1; /* Forces the space on mobile */
    overflow: visible;
}

/* Ensure the hamburger doesn't steal the logo's space */
.hamburger-menu {
    flex-shrink: 0; 
    margin-left: 1rem;
}

@media (max-width: 480px) {
    .logo-svg {
        max-width: 200px;  /* Smaller footprint for tiny screens */
    }
    header {
        padding: 0.8rem 1rem;
    }
}

/* If you have a container <div> around the SVG, make sure it isn't collapsing */
.logo-area {
    min-width: 200px;      /* Minimum size for mobile visibility */
    display: flex;
    align-items: center;
}


/* The Symmetrical 5-Stage Neon Line */
header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px; /* The thickness of your border */
    
    /* The 5-Color Fade Map */
    background: linear-gradient(
        to right,
        var(--neon-yellow) 0%,   /* Start */
        var(--neon-red) 25%,      /* Mid-Left */
        var(--neon-purple) 50%,   /* True Center */
        var(--neon-red) 75%,      /* Mid-Right */
        var(--neon-yellow) 100%   /* End */
    );
    
    /* Adds a subtle 'Disco Tech' glow to the line itself */
    box-shadow: 0 1px 10px rgba(157, 0, 255, 0.4); /* Purple glow centered */
}

/* --- Neon Dash Chase Animation (Logo Only) --- */
.logo-svg {
    display: block;
    overflow: visible; /* Allows the neon glow to bleed out slightly */
}

.logo-border {
    fill: none;
    stroke: url(#neonGradient);
    stroke-width: 3;
    stroke-dasharray: 4, 2;
    animation: dashChase 1.5s linear infinite;
    /* Adds the neon glow effect to the dashes */
    filter: drop-shadow(0 0 5px var(--neon-red));
}

@keyframes dashChase {
    from { stroke-dashoffset: 30; }
    to { stroke-dashoffset: 0; }
}

/* Optional: Speed up on hover for interactive feel */
.logo-svg:hover .logo-border {
    animation-duration: 0.8s;
    stroke-width: 4;
}

/* Add this to your H1, H2, and Button text */
h1, h2, .btn-neon {
    text-shadow: 0 0 10px rgba(255, 242, 0, 0.3); /* Matches neon-yellow */
}

h1 {
text-align: center;
}

/* --- Cyber-Metal Heading Gradients --- */
h1, h2 {
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    
    /* The 3-Color Vertical Fade */
    background: linear-gradient(
        to bottom, 
        var(--neon-yellow) 0%, 
        var(--neon-red) 50%, 
        var(--neon-purple) 100%
    );
    
    /* Magic: Clips the gradient to the shape of the letters */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Adds depth so it pops off the dotted background */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

/* Optional: Make H1 slightly larger and more "intense" */
h1 {
    font-size: 3.5rem;
    filter: drop-shadow(0 0 8px rgba(255, 0, 60, 0.4)); /* Red neon glow */
}

h2 {
    font-size: 2.2rem;
}

/* Desktop Navigation - Hidden on Mobile */
.desktop-nav { 
    display: flex; 
    list-style: none; 
    gap: 25px; 
    margin: 0; padding: 0;
}
.desktop-nav a { 
    color: #fff; 
    text-decoration: none; 
    text-transform: uppercase; 
    font-size: 0.85rem; 
    letter-spacing: 1px; 
}

/* --- Navigation Link States --- */

/* Normal State */
nav a, .legal-links a, .cookie-content a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
    padding-bottom: 4px;
}

/* Active State (The current page) */
nav a.active, legal-lins a.active {
    color: var(--neon-yellow) !important;
}

/* The Purple Underline (Hidden by default) */
nav a::after, .legal-links a::after, .cookie-content a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--neon-purple);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--neon-purple);
}

/* Hover Effects */
nav a:hover, .legal-links a:hover, .cookie-content a:hover {
    animation: cyberPulse 1.5s infinite;
    width: 100%;
}

nav a:hover::after, .legal-links a:hover::after, .cookie-content a:hover::after {
    width: 100%; /* Slides the purple underline out */
}

/* The Keyframe Animation: Yellow -> Red -> Yellow */
@keyframes cyberPulse {
    0% {
        color: var(--neon-yellow);
        text-shadow: 0 0 5px var(--neon-yellow);
    }
    50% {
        color: var(--neon-red);
        text-shadow: 0 0 15px var(--neon-red);
    }
    100% {
        color: var(--neon-yellow);
        text-shadow: 0 0 5px var(--neon-yellow);
    }
}

/* Mobile Drawer - Hidden on Desktop */
.mobile-drawer { display: none; }
#menu-toggle, .hamburger { display: none; }

/* Main Content */
main { 
flex: 1; 
padding: 40px;
background: #000;
}

/* Cyber Button */
.btn-neon {
    padding: 10px 25px;
    background: transparent;
    border: 2px solid;
    border-image: linear-gradient(45deg, var(--neon-yellow), var(--neon-purple)) 1;
    color: #fff; cursor: pointer;
}

/* Mobile Logic */
@media (max-width: 768px) {
    .desktop-nav { display: none; } /* Kill desktop bar */
    .hamburger { display: block; font-size: 2rem; color: var(--neon-red); cursor: pointer; }
    
    .mobile-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0;
        width: 75%; height: 100vh;
        background: #0a0a0a;
        z-index: 1000;
        padding: 2rem;
        transform: translateX(-105%); /* Slide off-screen */
        transition: 0.3s transform ease-in-out;
        list-style: none;
        border-right: 2px solid var(--neon-purple);
    }

    .mobile-header-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
    }

    .close-btn { font-size: 2.5rem; color: var(--neon-yellow); cursor: pointer; }

    #menu-toggle:checked ~ .mobile-drawer {
        transform: translateX(0); /* Slide in */
    }

    .mobile-drawer li { margin: 15px 0; }
    .mobile-drawer a { color: #fff; text-decoration: none; font-size: 1.2rem; }
}

.content-body {
max-width: 1170px;
margin: auto;
}

/* Footer */

footer {
    background: #000;
    padding: 2rem;
    position: relative; /* Essential for the line placement */
    border-top: none; /* Remove the old grey line */
    text-align: center;
}

/* The Symmetrical 5-Stage "Inverted" Neon Line */
footer::before, .social-area::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    
    /* The 5-Color Inverted Fade Map */
    background: linear-gradient(
        to right,
        var(--neon-purple) 0%,   /* Start */
        var(--neon-red) 25%,      /* Mid-Left */
        var(--neon-yellow) 50%,   /* True Center (Yellow Pop!) */
        var(--neon-red) 75%,      /* Mid-Right */
        var(--neon-purple) 100%   /* End */
    );
    
    /* Subtle Yellow glow for the footer center */
    box-shadow: 0 -1px 10px rgba(255, 242, 0, 0.3);
}

.footer-top { display: flex; justify-content: space-between; margin-bottom: 1rem; }
.social-area { text-align: center; position: relative; border-top: none; padding-top: 1rem; }

/* Social Link Container */
.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
}

.social-icon {
    font-size: 2rem; /* Big and bold */
    text-decoration: none;
    transition: transform 0.3s ease, filter 0.3s ease;
    
    /* Apply the 3-color neon gradient to the icon itself */
    background: linear-gradient(to bottom, var(--neon-yellow), var(--neon-red), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 2px rgba(255, 0, 60, 0.3));
}

/* Hover Effect: Pulse and Glow */
.social-icon:hover {
    transform: translateY(-5px) scale(1.2);
    filter: drop-shadow(0 0 10px var(--neon-red));
}

/* Music Player Container */
.player-container {
    max-width: 400px;
    margin: 2rem auto;
    padding: 20px;
    background: #000;
    text-align: center;
    position: relative;
    /* 3-Color Neon Fade Border */
    border: 3px solid;
    border-image: linear-gradient(to bottom, var(--neon-yellow), var(--neon-red), var(--neon-purple)) 1;
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.2);
}

/* Pop Up Music Player Container */
.pop-player-container {
    max-width: 400px;
    margin: 1rem auto;
    padding: 20px;
    background: #000;
    text-align: center;
    position: relative;
    /* 3-Color Neon Fade Border */
    border: 3px solid;
    border-image: linear-gradient(to bottom, var(--neon-yellow), var(--neon-red), var(--neon-purple)) 1;
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.2);
}

.album-art {
    width: 200px;
    height: 200px;
    margin: 0 auto 15px;
    border: 1px solid #333;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-art img { width: 100%; height: 100%; object-fit: cover; }

.track-info h2 { font-size: 1.2rem; color: var(--neon-yellow); margin-bottom: 5px; }
.track-info p { font-size: 0.9rem; color: #888; }

.controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.ctrl-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.2s;
}
.ctrl-btn:hover { color: var(--neon-red); transform: scale(1.1); }

/* Volume Slider Styling */
.volume-container { margin: 15px 0; }
input[type=range] {
    width: 80%;
    accent-color: var(--neon-purple);
    cursor: pointer;
}

/* Playlist Select Box */
.playlist-select {
    width: 100%;
    color: #fff;
    border: 1px solid #333;
    padding: 10px;
    margin-top: 10px;
    font-family: inherit;
}

.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 0.8rem; color: var(--neon-purple); text-transform: uppercase; margin-bottom: 5px; }

.contact-input {
    width: 100%;
    border: 1px solid #333;
    padding: 12px;
    color: #fff;
background: #000;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.contact-input:focus {
    outline: none;
    border-color: var(--neon-red);
    box-shadow: 0 0 5px var(--neon-red);
}

select.contact-input option { background: #000; }

/* --- Custom Neon Select Box --- */
select {
    appearance: none;
    -webkit-appearance: none;
    background-color: #000;
    color: var(--neon-yellow);
    font-size: 1rem;
    padding: 10px 40px 10px 15px;
    border: 1px solid var(--neon-purple);
    border-radius: 4px;
    cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, var(--neon-purple) 50%),
                      linear-gradient(135deg, var(--neon-purple) 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(1em + 2px),
                         calc(100% - 15px) calc(1em + 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(157, 0, 255, 0.2);
}

select:hover, select:focus {
    outline: none;
    border-color: var(--neon-red);
    box-shadow: 0 0 10px var(--neon-purple);
}

/* Note: Styling the hover background of <option> tags is limited 
   in Chrome/Safari. This CSS targets browsers that allow it:
*/
select option {
    color: #fff;
    padding: 10px;
}

select option:hover, 
select option:focus, 
select option:active, 
select option:checked {
    background: var(--neon-purple) !important;
    background-color: var(--neon-purple) !important;
    color: #fff !important;
}

/* --- Global Neon Selection Color --- */
::selection {
    background-color: var(--neon-purple);
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* For Firefox specifically */
::-moz-selection {
    background-color: var(--neon-purple);
    color: #fff;
}

.glitch-text {
    font-family: monospace;
    color: var(--neon-yellow);
    text-transform: uppercase;
    letter-spacing: 5px;
    animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
    to { visibility: hidden; }
}

.btn-neon {
    display: inline-block;
    padding: 10px 30px;
    border: 2px solid var(--neon-red);
    color: #fff;
font-weight: 600;
letter-spacing: 2px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-neon:hover {
    background: var(--neon-red);
    box-shadow: 0 0 20px var(--neon-red);
    color: #000 !important;
}

a:link, a:visited, a:hover, a:active {
  text-decoration: none;
}

.content-body a:link {
color: var(--neon-yellow);
}
.content-body a:hover {
color: var(--neon-red);
}

/* --- Updates Section Container --- */
.updates-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* --- Individual Update Box --- */
.update-entry {
    background: rgba(10, 10, 10, 0.9); /* Deep black-grey */
    border: 1px solid #222;
    border-radius: 4px;
    margin-bottom: 2.5rem;
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.15); /* Subtle Purple Glow */
    overflow: hidden;
    transition: transform 0.3s ease;
}

.update-entry:hover {
    box-shadow: 0 0 25px rgba(255, 0, 60, 0.2); /* Shifts to Red Glow on hover */
    border-color: var(--neon-red);
}

/* --- The Throwback Header Table --- */
.update-header-table {
    width: 100%;
    border-collapse: collapse;
}

.update-header-table th {
    /* Your signature 3-color gradient */
    background: linear-gradient(to right, var(--neon-yellow), var(--neon-red), var(--neon-purple));
    color: #fff;
    padding: 10px 15px;
    text-align: left;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px #000;
}

.update-date {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-top: 4px;
    opacity: 0.9;
}

/* --- The Update Content --- */
.update-body {
    padding: 1.5rem;
    color: #ddd;
    line-height: 1.6;
}

.update-body strong {
    color: var(--neon-yellow);
}

.update-entry {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.update-entry:hover {
    transform: translateY(-5px); /* Lift the card slightly */
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5), 
        0 0 20px var(--neon-purple), 
        0 0 40px rgba(255, 0, 60, 0.2);
}

/* --- Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Columns */
    gap: 20px;
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid #222;
    border-radius: 4px;
    background: #111;
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 250px; /* Fixed height for uniformity */
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* --- Hover Effects --- */
.gallery-item:hover {
    border-color: var(--neon-purple);
    box-shadow: 0 0 20px var(--neon-purple);
}

.gallery-item:hover img {
    transform: scale(1.1); /* Zoom effect */
}

.gallery-item .caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: var(--neon-yellow);
    font-size: 0.8rem;
    padding: 5px;
    text-align: center;
    border-top: 1px solid var(--neon-red);
}

/* --- The Modal (Pop-up) --- */
.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 85%;
    border: 2px solid var(--neon-yellow);
    box-shadow: 0 0 50px rgba(255, 255, 0, 0.2);
}

.close-btn {
    position: absolute;
    top: 20px; right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* --- Mobile View --- */
@media (max-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

.cookie-bar {
    position: fixed;
    bottom: -100px; /* Hidden by default */
    left: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.95);
    border-top: 1px solid var(--neon-purple);
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.cookie-bar.active { bottom: 0; }

.cookie-content {
    color: #eee;
    font-size: 0.9rem;
    font-family: 'Kanit', sans-serif;
}

.glitch-text {
    color: var(--neon-yellow);
    font-weight: bold;
    margin-right: 10px;
}

.btn-small {
    padding: 5px 15px;
    font-size: 0.75rem;
    margin-left: 10px;
    cursor: pointer;
}

/* 2026 Compliance: Buttons must have equal visual weight */
.btn-outline {
    background: transparent;
    border: 1px solid #666;
    color: #aaa;
}

.btn-outline:hover {
    border-color: var(--neon-red);
    color: white;
}
.cookie-actions {
padding-right: 25px;
}

.network-grid {
    display: grid;
    /* This ensures columns are equal and wrap perfectly without bunching */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 25px;
    padding: 20px;
    /* Critical: prevents hover-scaling from triggering scrollbars */
    perspective: 1000px; 
}
.network-card {
    position: relative;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid #222;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Fixes the "blurry text" and "flicker" during scale */
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    z-index: 1;
}

.network-card:hover {
    /* Scale slightly, but don't overdo it */
    transform: translateY(-8px) scale(1.02);
    border-color: var(--neon-yellow);
    box-shadow: 0 10px 30px rgba(255, 255, 0, 0.2);
    /* Ensure the hovered card stays ON TOP of siblings */
    z-index: 10; 
}

.node-id {
    color: var(--neon-red);
    font-size: 0.7rem;
    margin-bottom: 10px;
}