:root {
    --bg-color: #000000;
    --text-color: #f0f0f0;
    /* Less harsh white */
    --primary-accent: #00FFFF;
    /* Cyan */
    --secondary-accent: #FF00FF;
    /* Magenta */
    --metallic-dark: #1a1a1a;
    --metallic-light: #333333;
    --font-heading: 'Orbitron', 'Montserrat', sans-serif;
    --font-body: 'Roboto', 'Open Sans', sans-serif;
    --gold-accent: #D4AF37;
    --gold-glow: rgba(212, 175, 55, 0.4);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
header {
    background: url('../images/Medical BioHack Optimized.jpg') no-repeat center center;
    background-size: cover;
    /* Fixed Header for constant visibility */
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Dynamic Interactive Border */
header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary-accent);
    /* Default Pink */
    transition: background 0.3s ease;
}

header.radial-glow::after {
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
            var(--secondary-accent),
            rgba(255, 0, 255, 0.2) 80%);
}

header.radial-glow:hover::after {
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
            var(--primary-accent),
            rgba(0, 255, 255, 0.2) 80%);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    height: 85px;
    /* Increased from 70px (approx 1.2x) */
}

/* --- Logo Global Styles --- */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-frame {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    position: relative;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--secondary-accent);
    box-shadow: 0 0 10px var(--secondary-accent);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    z-index: 10;
}

.logo-frame:hover {
    transform: scale(1.15);
    /* Slightly increase size */
    box-shadow: 0 0 20px var(--secondary-accent);
}

/* Reactive Cyan Glow */
.logo-frame.radial-glow::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: radial-gradient(120px circle at var(--mouse-x) var(--mouse-y), var(--primary-accent) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
    /* Mask to only show on the border area */
    -webkit-mask: radial-gradient(circle, transparent 31px, #000 32px);
    mask: radial-gradient(circle, transparent 31px, #000 32px);
}

.logo-frame:hover {
    box-shadow: 0 0 15px var(--primary-accent);
    border-color: var(--primary-accent);
}

.logo-frame.radial-glow:hover::before {
    opacity: 1;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    align-items: center;
}

nav a {
    /* Identical to .btn-login / .btn-cta */
    background-color: #1a1a1a;
    color: #fff;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    /* Matching font per request */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    /* Extra Bold */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, color 0.3s ease;
    border: none;
    /* No border, rainbow is the frame */
    text-decoration: none;
    z-index: 1;
}

/* Active Page Highlighting */
nav a.active-link {
    color: var(--primary-accent) !important;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

nav a:hover {
    transform: scale(1.05);
    color: #fff;
}

nav a.active-link:hover {
    color: var(--primary-accent);
}

nav a::before {
    content: "";
    background: linear-gradient(45deg, #FF0000, #FF7300, #8400ff, #48FF00, #00FFD5, #002BFF, #FF00C8, #FF0000);
    position: absolute;
    top: -2px;
    /* Correct offset for frame-only look */
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    z-index: -1;
    background-size: 600%;
    filter: blur(8px);
    /* Identical blur to btn-cta */
    opacity: 0;
    border-radius: 10px;
    /* Slightly larger radii for the frame */
    animation: glowing-rainbow 20s linear infinite;
    transition: opacity 0.3s ease-in-out;
}

nav a:hover::before {
    opacity: 1;
    /* Identical opacity to btn-cta hover */
}

/* Ensure background is solid within the capsule */
nav a::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #1a1a1a;
    border-radius: 8px;
    z-index: -1;
}

/* Navigation Icons */
.nav-icon {
    font-size: 1.45rem;
    font-weight: 800;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* --- Premium Language Selector (Segmented) --- */
.lang-toggle {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--secondary-accent);
    padding: 3px;
    border-radius: 30px;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    opacity: 0.6;
    filter: saturate(0.5);
}

.lang-toggle:hover {
    transform: scale(1.1);
    opacity: 1;
    filter: saturate(1);
    box-shadow: 0 0 10px var(--secondary-accent);
}

.lang-btn {
    background: transparent;
    border: 2px solid transparent;
    padding: 4px 14px;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    opacity: 0.5;
    color: #fff;
    pointer-events: none;
}

/* Selected State */
.lang-btn.active {
    border-color: var(--primary-accent) !important;
    color: var(--primary-accent) !important;
    opacity: 1 !important;
    background: rgba(0, 255, 255, 0.05);
}

/* Specifically keep the PINK letters (inactive) brighter while dormant */
.lang-btn:not(.active) {
    color: var(--secondary-accent);
    opacity: 1 !important;
    text-shadow: 0 0 10px var(--secondary-accent);
}

.lang-toggle:hover .lang-btn {
    opacity: 1;
}

.lang-toggle:hover .lang-btn.active {
    text-shadow: 0 0 10px var(--primary-accent);
}

.lang-toggle:hover .lang-btn:not(.active) {
    text-shadow: 0 0 15px var(--secondary-accent);
}

/* Recover color on container hover */
.lang-toggle:hover .lang-btn {
    opacity: 1;
}


.nav-cart-link {
    background-color: #1a1a1a;
    color: #fff !important;
    /* White icon inside black button */
    padding: 0.6rem 1.2rem;
    font-size: 1.5rem;
    /* Balanced size for the icon within the button */
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    z-index: 1;
    border: none;
    -webkit-text-stroke: 0;
    /* Reset stroke as it's inside a button now */
}

/* Golden Glowing Frame */
.nav-cart-link::before {
    content: "";
    background: linear-gradient(45deg, #FFD700, #FFFACD, #DAA520, #FFD700, #F0E68C, #B8860B, #FFD700);
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    z-index: -1;
    background-size: 600%;
    filter: blur(8px);
    opacity: 0;
    border-radius: 10px;
    animation: glowing-gold 20s linear infinite;
    transition: opacity 0.3s ease-in-out;
}

.nav-cart-link:hover::before {
    opacity: 1;
}

/* Internal solid background */
.nav-cart-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #1a1a1a;
    border-radius: 8px;
    z-index: -1;
}

.nav-cart-link .nav-icon {
    font-size: inherit;
    position: relative;
    z-index: 2;
}

.nav-cart-link:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.nav-cart-link:active {
    transform: scale(1.2);
}


.btn-cta {
    background-color: #1a1a1a;
    border: none;
    color: #fff;
    padding: 1.2rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: none;
    cursor: pointer;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 1.1rem;
    position: relative;
    z-index: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    outline: none;
}

.btn-cta:hover {
    transform: scale(1.05);
    color: #fff;
}

.btn-cta:hover::before {
    opacity: 1;
}

.btn-cta::before {
    content: "";
    background: linear-gradient(45deg,
            #FF0000, #FF7300, #8400ff, #48FF00,
            #00FFD5, #002BFF, #FF00C8, #FF0000);
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    z-index: -1;
    background-size: 600%;
    filter: blur(8px);
    opacity: 0;
    border-radius: inherit;
    animation: glowing-rainbow 20s linear infinite;
    transition: opacity 0.3s ease-in-out;
}

.btn-cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: inherit;
    border-radius: inherit;
}

@keyframes glowing-rainbow {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

@keyframes glowing-gold {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

/* Specific small style for Login button */
.btn-login {
    padding: 0.6rem 1.2rem !important;
    font-size: 0.85rem !important;
    border-radius: 8px !important;
}

.btn-login::before {
    filter: blur(5px) !important;
    /* Smaller blur for smaller button */
}

/* --- Radial Mouse Glow Effect --- */
.radial-glow {
    position: relative;
    overflow: hidden;
}

.radial-glow::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(0, 255, 255, 0.15),
            transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Pink Glow Override - MASKED TO TEXT ONLY */
.radial-glow.pink-glow {
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            #ff0096 0%,
            var(--primary-accent) 60%,
            var(--primary-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    transition: none;
    /* Instant response to mouse */
}

.radial-glow.pink-glow::before {
    display: none;
    /* Disable box-level glow for these targets */
}

/* Small Masked Glow for Header */
.radial-glow.glow-mask-small {
    background: radial-gradient(150px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            #fff 0%,
            var(--primary-accent) 40%,
            var(--text-color) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    transition: none;
    font-weight: 700;
}

.radial-glow.glow-mask-small::before {
    display: none;
}

.radial-glow:hover::before {
    opacity: 1;
}

/* --- Quantity Selector (Neon Aesthetic) --- */
.quantity-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding: 1.2rem;
    background: rgba(10, 10, 10, 0.8);
    border-radius: 15px;
    border: 1px solid #222;
    transition: border-color 0.3s ease;
}

.quantity-selector:hover {
    border-color: #333;
}

.qty-display {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    color: var(--secondary-accent);
    text-shadow: 0 0 12px var(--secondary-accent);
    font-weight: 700;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    user-select: none;
}

.qty-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary-accent);
    background: transparent;
    color: var(--primary-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.2);
}

.qty-btn:hover {
    background: var(--primary-accent);
    color: #000;
    box-shadow: 0 0 20px var(--primary-accent);
    transform: scale(1.1);
}

.qty-btn:active {
    transform: scale(0.95);
}

/* Ensure content is above the glow layer */
.radial-glow>* {
    position: relative;
    z-index: 2;
}

/* --- Combined Glow & Pulse Effect --- */
.glow-card {
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid #333;
}

.glow-card:hover {
    border-color: var(--primary-accent) !important;
    box-shadow:
        0 0 15px var(--primary-accent),
        0 0 30px rgba(0, 255, 255, 0.3),
        inset 0 0 50px rgba(0, 255, 255, 0.2);
    animation: glow-pulse-combined 2s infinite;
    transform: scale(1.02);
}

@keyframes glow-pulse-combined {
    0% {
        box-shadow:
            0 0 15px var(--primary-accent),
            0 0 30px rgba(0, 255, 255, 0.3),
            inset 0 0 20px rgba(0, 255, 255, 0.1);
    }

    50% {
        box-shadow:
            0 0 15px var(--primary-accent),
            0 0 30px rgba(0, 255, 255, 0.3),
            inset 0 0 60px rgba(0, 255, 255, 0.3);
    }

    100% {
        box-shadow:
            0 0 15px var(--primary-accent),
            0 0 30px rgba(0, 255, 255, 0.3),
            inset 0 0 20px rgba(0, 255, 255, 0.1);
    }
}

/* --- Hero / Scrollytelling Section --- */
.scrolly-container {
    position: relative;
    /* Increased height for slower scroll speed (more pixels per frame spread) */
    height: 1200vh;
    background-color: #000;
}

.sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Industry Best Practice: Safe Area for Fixed Header */
    /* Push content down by approximate header height so centering is visually correct */
    padding-top: 80px;
    box-sizing: border-box;
}

.scrolly-video {
    /* Layout handled by Flexbox parent now */
    position: relative;
    /* Removed absolute centering to respect parent padding */
    width: auto;
    height: 70vh;
    /* Fixed height relative to viewport */
    max-width: 70vw;
    object-fit: contain;
    z-index: 0;
    /* Perfect Vignette: Ellipse touching closest sides so edges are transparent */
    -webkit-mask-image: radial-gradient(ellipse closest-side, black 40%, transparent 95%);
    mask-image: radial-gradient(ellipse closest-side, black 40%, transparent 95%);
    /* reduce opacity slightly to blend better with black bg */
    opacity: 0.9;
    /* Soft edges for the container itself just in case */
    border-radius: 20px;
}

/* --- Scrolly Frame Wrapper --- */
.scrolly-frame-wrapper {
    position: relative;
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Scrolly Text Styles --- */
.scrolly-text {
    position: absolute;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    opacity: 0;
    /* JS controls this */
    pointer-events: none;
    /* Let clicks pass through to video/canvas if needed */
    width: max-content;
    max-width: 80%;

    /* Effects requested: Purple Glow + Intense Drop Shadow */
    text-shadow: 0 0 10px rgba(191, 0, 255, 0.8), 0 0 20px rgba(191, 0, 255, 0.4);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.9));

    /* Hardware acceleration for smooth opacity/filter anims */
    will-change: opacity, filter, transform;
}

/* Positions relative to the wrapper (Video Frame) */
/* Brought closer to center horizontally as requested */
.text-tr {
    top: 15%;
    right: -5%;
}

.text-bl {
    bottom: 15%;
    left: -5%;
}

/* Reusing existing overlay/hero content styles */
.hero-overlay {
    z-index: 1;
    /* Above video */
}

.hero-content {
    z-index: 2;
    /* Above overlay */
}

/* --- Sections General --- */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 4rem;
    color: var(--text-color);
    letter-spacing: 2px;
    border-bottom: 2px solid #333;
    /* 2px Border */
    display: inline-block;
    padding-bottom: 1rem;
    /* Centering trick for inline-block border */
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
    /* Very subtle text glow */
}

/* --- Triaje Section --- */
.triaje-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.triaje-card {
    background: #0f0f0f;
    border: 2px solid #333;
    /* 2px Border */
    padding: 2.5rem 2rem;
    border-radius: 8px;
    /* Slightly more rounded for 2px border */
    width: 300px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.triaje-card:hover {
    border-color: var(--primary-accent);
    background: #151515;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
    /* Restored subtle glow on hover */
}

.triaje-icon {
    font-size: 2.5rem;
    color: var(--secondary-accent);
    margin-bottom: 1.5rem;
    opacity: 0.9;
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.3);
    /* Subtle icon glow */
}

.triaje-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.triaje-card p {
    color: #888;
    font-size: 0.9rem;
}

/* --- Protocols Section --- */
.protocol-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 items per row */
    gap: 2rem;
}

@media (max-width: 1200px) {
    .protocol-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .protocol-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

#protocolos {
    padding-top: 220px !important;
    /* Heavily increased to ensure header clearance */
    padding-bottom: 5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Category Box Wrapper */
.catalog-category-box {
    background: #050505;
    border: 2px solid #1a1a1a;
    border-radius: 20px;
    padding: 4rem 2.5rem;
    margin-bottom: 6rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s ease;
}

.catalog-category-box:hover {
    border-color: #222;
}

/* Specific z-index to stop glow covering cards */
.catalog-category-box>* {
    position: relative;
    z-index: 2;
}

.protocol-card {
    background: #0f0f0f;
    border: 2px solid #333;
    /* 2px Border */
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    /* Ensures cards are way above the section's radial glow */
}

.protocol-card:hover {
    border-color: #555;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

.protocol-header {
    background: #1a1a1a;
    color: #ccc;
    padding: 0.8rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-bottom: 2px solid #333;
    /* 2px Border */
}

.protocol-body {
    padding: 2rem;
    text-align: center;
}

.protocol-body h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.protocol-body p {
    color: #888;
    font-size: 0.9rem;
}

.protocol-price {
    font-size: 1.3rem;
    color: var(--primary-accent);
    margin: 1.5rem 0;
    font-weight: 500;
    text-shadow: 0 0 3px rgba(0, 255, 255, 0.3);
}

/* --- Science Section --- */
.science-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3rem;
}

.science-item {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.science-visual {
    width: 100%;
    height: 180px;
    background: #111;
    border: 2px solid #333;
    /* 2px Border */
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #444;
}

.science-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.science-item p {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Logistics Section --- */
.logistics-bar {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    background: #0f0f0f;
    padding: 3rem;
    border-radius: 8px;
    border: 2px solid #222;
    /* 2px Border */
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.logistic-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
}

.logistic-icon {
    font-size: 1.8rem;
    color: #666;
    /* Subdued icon color */
}

/* --- Footer --- */
footer {
    background-color: #080808;
    border-top: 2px solid #222;
    /* 2px Border */
    text-align: center;
    padding: 3rem 1rem;
    margin-top: auto;
    font-size: 0.8rem;
    color: #555;
}

.footer-disclaimer {
    margin-top: 1.5rem;
    font-size: 0.7rem;
    color: #444;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* --- Modal --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #111;
    border: 2px solid #444;
    /* 2px Border */
    padding: 3rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.15);
    /* Restored subtle glow */
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #888;
    font-size: 24px;
    cursor: pointer;
}

.close-btn:hover {
    color: #fff;
    text-shadow: 0 0 4px #fff;
}

/* --- Logo Zoom Modal Specifics --- */
.logo-zoom-modal {
    background-color: rgba(0, 0, 0, 0.98) !important;
}

.logo-zoom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 90vw;
    max-height: 90vh;
}

.zoomed-logo-img {
    width: auto;
    height: auto;
    max-width: 400px;
    max-height: 400px;
    border-radius: 50%;
    border: 4px solid var(--secondary-accent);
    box-shadow: 0 0 40px var(--secondary-accent);
    animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        gap: 1rem;
        padding: 1rem 0;
    }

    nav ul {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-title {
        font-size: 2rem;
    }
}