 /* Variables & Reset */

:root {
    --primary: #2563eb; /* Royal Blue from Resume */
    --dark: #0a192f;    /* Midnight Blue Base */
    --accent-blue: #112240;
    --light: #f8fafc;
    --secondary: #94a3b8;
}


body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 20% 20%, var(--accent-blue) 0%, var(--dark) 100%);
    background-attachment: fixed;
    color: white;
    text-align: center;
    margin: 0;
    overflow-x: hidden;
}

/* Splash Screen */

#splash {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.8s ease-in-out;
}

.enter-btn {
    padding: 1.2rem 2.5rem;
    border: 1px solid var(--primary);
    border-radius: 50px;
    background: rgba(37, 99, 235, 0.1);
    color: white;
    font-weight: 800;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
    transition: all 0.2s;
    text-transform: lowercase;
}


.enter-btn:hover {
    transform: scale(1.05);
    background: var(--primary);
}

/* Navigation */

nav {
    padding: 1.5rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
}

.nav-links { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }

.nav-links li { position: relative; display: inline-block; }

.nav-links a { color: var(--secondary); text-decoration: none; font-weight: 600; font-size: 0.9rem; }

.nav-links a:hover { color: var(--primary); }


/* The Glass Subnav */

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 0;
    /*margin-top: 10px; css is stupid*/
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    list-style: none;
    z-index: 1000;
}

.nav-links li:hover .dropdown-content { display: block; }

.dropdown-content li a {
    padding: 10px 24px 10px 20px;
    display: flex; /* Flex ensures name and dot stay on one line */
    justify-content: space-between;
    gap: 5px;
    align-items: center;
    color: var(--secondary);
    font-size: 0.85rem;
    text-transform: lowercase;
    transition: all 0.2s;
}

.dropdown-content li a:hover {
    background: rgba(37, 99, 235, 0.2);
    color: var(--primary);
}

/* Layout */

.container { padding: 4rem 10%; max-width: 1200px; margin: 0 auto; }

h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -1.5px; }

h2 { color: var(--primary); font-weight: 700; margin-top: 0; }


#typewriter {
    height: 1.5rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 2rem;
    font-family: 'JetBrains Mono', monospace;
}

.hero-subtext { max-width: 600px; margin: 1.5rem auto 0; color: var(--secondary); font-size: 0.95rem; }

/* The Machined Glass Look */

.leaderboard-card {
    background: rgba(150, 200, 100, 0.1);
    backdrop-filter: blur(15px) saturate(160%);
    -webkit-backdrop-filter: blur(15px) saturate(160%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    margin-top: 2rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Table Styling */

table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; }

th { color: var(--primary); padding: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); text-align: left; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1px; }

td { padding: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); color: var(--light); }

tr:hover { background: rgba(37, 99, 235, 0.05); }


/* ==========================================================================

   Consolidated Status Dot Logic (Single Dot per item)

   ========================================================================== */


.status-active, .status-limited, .status-down, .status-pending {
    font-weight: 700;
    font-size: 0.85rem; /* Matches your table td font size */
}


/* Individual Dot styling via Pseudo-elements */

.status-active::before,

.status-limited::before,

.status-down::before {
    content: '●';
    font-size: 1rem;
    margin-right: 8px; /* This pushes space to the RIGHT of the dot */
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
}


/* LED Glow Effects - Localized to the dot only */

.status-active::before {
    color: #34c759;
    text-shadow: 0 0 8px rgba(52, 199, 89, 0.6);
    animation: pulse 2s infinite;
}


.status-limited::before {
    color: #ffcc00;
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.5);
    animation: breath 3s ease-in-out infinite;
}


.status-down::before {
    color: #ff3b30;
    text-shadow: 0 0 8px rgba(255, 59, 48, 0.6);
    animation: alert-pulse 1.5s infinite;
}

/* Pending Spinner */

.status-pending::before {
    content: "";
    display: inline-block;
    width: 10px; height: 10px;
    margin-right: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    vertical-align: middle;
}


/* Animations */

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

@keyframes breath { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

@keyframes alert-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

@keyframes spin { to { transform: rotate(360deg); } }


/* Table Layout for Form */

.contact-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px; /* Adds clean spacing between "rows" */
}

.contact-table td {
    border: none; /* Removes the standard table borders */
    padding: 0 10px;
    background: transparent; /* Ensures it doesn't conflict with card background */
}

/* Rounded Glassmorphism Inputs */

input, select, textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05); /* Slight tint */
    backdrop-filter: blur(10px); /* The "Glass" effect */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle edge highlight */
    border-radius: 12px; /* Rounded corners */
    padding: 12px 18px;
    color: var(--light);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Focus State - Glows blue without changing the base dark color */

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
}

/* Container for the new 'Nav-style' selector */

.reason-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

/* Hide the actual radio circle */

.reason-nav input[type="radio"] {
    display: none;
}

/* Style the labels as navigation buttons */
.reason-nav label {
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--secondary);
    transition: all 0.2s ease;
    text-transform: lowercase; /* Matches your engineering brand */
    border: 1px solid transparent;
}

/* Hover state */

.reason-nav label:hover {
    color: var(--light);
    background: rgba(255, 255, 255, 0.05);
}

/* The "Selected" state - matches your Royal Blue primary */

.reason-nav input[type="radio"]:checked + label {
    background: rgba(37, 99, 235, 0.2);
    color: var(--primary);
    border: 1px solid rgba(37, 99, 235, 0.3);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.1);
}

/* Container for the segmented nav selector */

.reason-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap; /* Allows buttons to flow to next line on mobile */
    background: rgba(10, 25, 47, 0.4); /* Darker base for contrast */
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    max-width: fit-content; /* Keeps it tight */
}

/* Hide the radio buttons themselves */

.reason-nav input[type="radio"] {
    display: none;
}

/* The Label Buttons */

.reason-nav label {
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: lowercase;
    white-space: nowrap;
}

/* Hover Effect */

.reason-nav label:hover {
    color: var(--light);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* THE ACTIVE STATE (The "Checked" Radio) */

.reason-nav input[type="radio"]:checked + label {
    background: rgba(37, 99, 235, 0.15); /* Royal Blue Tint */
    color: var(--primary); /* Royal Blue Text */
    border: 1px solid rgba(37, 99, 235, 0.4);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.2),
                inset 0 0 10px rgba(37, 99, 235, 0.1);
}

/* Optional: Slight pulse animation when selected */

.reason-nav input[type="radio"]:checked + label {
    animation: select-glow 2s infinite alternate;
}


@keyframes select-glow {
    from { border-color: rgba(37, 99, 235, 0.4); }
    to { border-color: rgba(37, 99, 235, 0.7); }
}


/* Threat Grid Layout */
.threat-grid {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}


.threat-col {
    flex: 1;
    min-width: 300px;
}


.col-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

/* Individual Shame Cards */

.shame-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.2s ease;
    backdrop-filter: blur(10px);
}

.shame-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.02);
}

.active-threat {
    border-left: 3px solid #ff3b30; /* Subtle red alert line */
}

.shame-flag {
    font-size: 1.5rem;
    filter: grayscale(0.5);
}

.shame-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.ip-addr {
    color: #ff3b30; /* Red IP addresses like your screenshot */
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.1rem;
}


.threat-type {
    color: var(--light);
    font-size: 0.85rem;
    opacity: 0.8;
}

/*RADIO*/

.timestamp {
    color: var(--secondary);
    font-size: 0.75rem;
    margin-top: 4px;
}

.radio-unit {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.radio-display {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    padding: 20px;
    height: 120px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

/* Visualization bars (Pure CSS vibe) */

.vis-bar {
    flex: 1;
    background: var(--primary);
    height: 30%;
    opacity: 0.6;
    box-shadow: 0 0 10px var(--primary);
}

.now-playing {
    position: absolute;
    top: 10px;
    left: 15px;
    right: 15px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.radio-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.radio-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'JetBrains Mono';
    transition: all 0.2s;
}

.radio-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}


.volume-slider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
    font-size: 0.7rem;
} 