:root {
    --purple: #bc13fe;
    --purple-glow: rgba(188, 19, 254, 0.5);
    --dark-bg: #050208;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(188, 19, 254, 0.2);
    --green: #00ff88;
    --green-dark: #00dd77;
    --red: #ff3333;
    --orange: #ff8c00;
    --yellow: #ffcc00;
    --blue: #00ccff;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--dark-bg);
    background: radial-gradient(circle at top center, #1a0b2e 0%, #050208 100%);
    color: white;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

body::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), 
                linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    z-index: 99;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(188, 19, 254, 0.15), rgba(0, 255, 136, 0.05));
    border-top: 2px solid var(--purple);
    padding: 20px;
    z-index: 9999;
    backdrop-filter: blur(20px);
    display: none;
    animation: slideUp 0.5s ease;
    box-shadow: 0 -10px 40px rgba(188, 19, 254, 0.2);
}

.cookie-banner.show {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    flex: 1;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-content strong {
    color: var(--green);
    font-weight: 700;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 700;
}

.cookie-accept {
    background: var(--green);
    color: #050208;
    border: 2px solid var(--green);
}

.cookie-accept:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    transform: scale(1.05);
}

.cookie-decline {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(188, 19, 254, 0.5);
}

.cookie-decline:hover {
    border-color: var(--purple);
    color: white;
    box-shadow: inset 0 0 15px rgba(188, 19, 254, 0.2);
}

@media (max-width: 768px) {
    .cookie-banner.show {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-actions {
        width: 100%;
        gap: 10px;
    }

    .cookie-btn {
        flex: 1;
    }
}

/* ===== HEADER & NAVIGATION ===== */
header {
    margin-top: 4vh;
    text-align: center;
    width: 100%;
    animation: fadeInDown 0.8s ease;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 10vw, 4.5rem);
    letter-spacing: clamp(4px, 3vw, 15px);
    color: white;
    text-shadow: 0 0 20px var(--purple);
    margin: 0 0 25px 0;
    font-weight: 900;
    max-width: 100%;
    word-break: break-word;
}

@keyframes logoPulse {
    0%, 100% { 
        text-shadow: 0 0 20px var(--purple), 0 0 40px rgba(188, 19, 254, 0.3);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 40px var(--purple), 0 0 80px rgba(188, 19, 254, 0.4), 0 0 10px white;
        transform: scale(1.02);
    }
}

@media (min-width: 769px) {
    .logo {
        animation: logoPulse 4s infinite ease-in-out;
    }
}

nav {
    display: flex;
    gap: 10px;
    background: var(--glass);
    padding: 12px 30px;
    border-radius: 50px;
    border: 1px solid var(--border);
    border-top: 1px solid rgba(188, 19, 254, 0.4);
    backdrop-filter: blur(15px);
    margin-top: 0;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 1px 0 rgba(188, 19, 254, 0.1);
    position: relative;
    z-index: 200;
    flex-wrap: wrap;
    justify-content: center;
    animation: slideDown 0.8s ease 0.2s both;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

nav a, .dropbtn {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    padding: 10px 18px;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    background: none;
    border: none;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-block;
}

nav a:hover, .dropdown:hover .dropbtn {
    color: white;
    background: rgba(188, 19, 254, 0.25);
    text-shadow: 0 0 10px var(--purple);
    box-shadow: inset 0 0 15px rgba(188, 19, 254, 0.1);
    transform: scale(1.05);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(17, 8, 26, 0.98);
    min-width: 220px;
    border: 1px solid var(--purple);
    border-radius: 15px;
    top: calc(100% + 15px);
    left: 0;
    padding: 12px 0;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8), inset 0 1px 0 rgba(188, 19, 254, 0.2);
    z-index: 1000;
    backdrop-filter: blur(10px);
    animation: slideDown 0.3s ease;
}

.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 15px;
    pointer-events: auto;
}

.dropdown.open .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 14px 25px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    text-align: left;
    transition: all 0.2s ease;
    white-space: nowrap;
    letter-spacing: 1px;
    border-left: 3px solid transparent;
    text-transform: uppercase;
    font-weight: 600;
}

.dropdown-content a:hover {
    background: rgba(188, 19, 254, 0.3);
    text-shadow: 0 0 10px var(--purple);
    color: white;
    border-left-color: var(--purple);
    padding-left: 28px;
}

/* ===== HAMBURGER & MOBILE MENU ===== */
.hamburger {
    display: none;
    background: none;
    border: 1px solid rgba(188, 19, 254, 0.4);
    border-radius: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px 12px;
    transition: all 0.3s ease;
    line-height: 1;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    order: -1;
}

.hamburger:hover, .hamburger:focus {
    color: white;
    border-color: var(--purple);
    background: rgba(188, 19, 254, 0.2);
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.4);
    outline: none;
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    backdrop-filter: blur(4px);
}

.mobile-overlay.open {
    display: block;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(160deg, #0f0720 0%, #050208 100%);
    border-left: 1px solid rgba(188, 19, 254, 0.4);
    z-index: 9999;
    padding: 20px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(188, 19, 254, 0.2);
}

.mobile-menu-logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: white;
    text-shadow: 0 0 15px var(--purple);
    font-weight: 900;
    text-decoration: none;
}

.mobile-menu-close {
    background: none;
    border: 1px solid rgba(188, 19, 254, 0.3);
    border-radius: 50%;
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.mobile-menu-close:hover {
    color: white;
    border-color: var(--purple);
    background: rgba(188, 19, 254, 0.2);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    margin: 0;
    animation: none;
}

.mobile-nav a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(188, 19, 254, 0.1);
    background: rgba(255,255,255,0.02);
    transition: all 0.2s ease;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
}

.mobile-nav a:hover, .mobile-nav a:focus {
    color: white;
    background: rgba(188, 19, 254, 0.2);
    border-color: rgba(188, 19, 254, 0.5);
    text-shadow: 0 0 10px var(--purple);
    transform: translateX(4px);
    outline: none;
}

.mobile-nav-divider {
    height: 1px;
    background: rgba(188, 19, 254, 0.15);
    margin: 8px 0;
}

/* ===== CONTAINER & SECTIONS ===== */
.container {
    max-width: 900px;
    width: 90%;
    padding: 50px 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(188, 19, 254, 0.02) 100%);
    border: 1px solid var(--border);
    border-top: 1px solid rgba(188, 19, 254, 0.3);
    border-radius: 20px;
    margin: 40px auto;
    box-shadow: 0 20px 60px rgba(188, 19, 254, 0.15);
    backdrop-filter: blur(10px);
}

.section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(188, 19, 254, 0.15);
    animation: fadeInUp 0.8s ease both;
}

.section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--purple);
    font-size: 1.4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    text-shadow: 0 0 15px rgba(188, 19, 254, 0.2);
    font-weight: 700;
}

.section p {
    color: rgba(200, 200, 200, 0.9);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 10px 0;
}

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

/* ===== BUTTONS ===== */
.back-btn {
    display: inline-block;
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    padding: 14px 35px;
    border: 2px solid var(--purple);
    background: linear-gradient(135deg, rgba(188, 19, 254, 0.15), rgba(188, 19, 254, 0.08));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 30px rgba(188, 19, 254, 0.3), inset 0 0 15px rgba(188, 19, 254, 0.1);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    font-weight: 700;
}

.back-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s;
}

.back-btn:hover::before {
    left: 100%;
}

.back-btn:hover {
    background: linear-gradient(135deg, rgba(188, 19, 254, 0.3), rgba(188, 19, 254, 0.2));
    box-shadow: 0 0 60px rgba(188, 19, 254, 0.6), inset 0 0 30px rgba(188, 19, 254, 0.2);
    transform: translateY(-3px);
    letter-spacing: 4px;
    border-color: rgba(188, 19, 254, 0.8);
}

/* ===== FOOTER ===== */
footer {
    margin-top: 80px;
    padding: 40px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    border-top: 1px solid rgba(188, 19, 254, 0.2);
    width: 100%;
    font-family: 'Orbitron', monospace;
    letter-spacing: 1px;
    background: linear-gradient(to bottom, transparent, rgba(188, 19, 254, 0.08));
}

footer:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-bottom: 18px;
    align-items: center;
}

.footer-links a {
    color: var(--green);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--purple);
    text-shadow: 0 0 10px var(--purple);
}

.footer-divider {
    color: rgba(188, 19, 254, 0.4);
    font-size: 0.8rem;
    user-select: none;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin: 0;
}

.footer-copyright a {
    color: var(--green);
    text-decoration: underline;
    transition: all 0.3s ease;
}

.footer-copyright a:hover {
    color: var(--purple);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    header {
        margin-top: 2vh;
    }

    .logo {
        margin-bottom: 15px;
    }

    .hamburger {
        display: flex;
    }

    /* Hide desktop nav links on mobile, show only hamburger */
    nav > a,
    nav > .dropdown {
        display: none;
    }

    nav {
        justify-content: flex-end;
        padding: 10px 15px;
        gap: 5px;
        margin-bottom: 15px;
        max-width: 100%;
    }

    .dropdown-content {
        min-width: 180px;
        top: calc(100% + 10px);
    }

    .dropdown-content a {
        padding: 12px 20px;
        font-size: 0.7rem;
    }

    .container {
        width: 95%;
        padding: 30px 20px;
        margin: 25px auto;
    }

    .section h2 {
        font-size: 1.2rem;
    }

    footer {
        font-size: 0.75rem;
        padding: 30px 15px;
        margin-top: 50px;
        box-sizing: border-box;
        width: 100%;
    }

    .footer-links {
        gap: 6px 12px;
    }

    .footer-links a {
        font-size: 0.72rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: clamp(1.6rem, 8vw, 2rem);
        letter-spacing: clamp(2px, 2vw, 6px);
        margin-bottom: 10px;
    }

    nav {
        padding: 8px 10px;
        gap: 3px;
        margin-bottom: 10px;
    }

    nav a, .dropbtn {
        font-size: 0.6rem;
        padding: 6px 8px;
        letter-spacing: 0.5px;
    }

    .container {
        width: 98%;
        padding: 20px 15px;
        margin: 15px auto;
        border-radius: 15px;
    }

    .section {
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .section h2 {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .section p {
        font-size: 0.9rem;
    }

    .back-btn {
        width: 90%;
        font-size: 0.8rem;
        padding: 12px 25px;
    }

    footer {
        font-size: 0.7rem;
        padding: 20px 10px;
        margin-top: 40px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .footer-divider {
        display: none;
    }

    .footer-links a {
        font-size: 0.68rem;
        letter-spacing: 0.5px;
    }

    .footer-copyright {
        font-size: 0.68rem;
    }

    .cookie-banner.show {
        flex-direction: column;
        padding: 15px 10px;
    }

    .cookie-btn {
        flex: 1;
        width: 100%;
    }
}

/* =====================================================
   STYLES.CSS ENHANCEMENTS — appended
   ===================================================== */

/* ===== SMOOTH SCROLL ===== */
html {
    scroll-behavior: smooth;
}

/* ===== ACCESSIBILITY: Focus Visible ===== */
:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Remove default focus ring where :focus-visible is used */
:focus:not(:focus-visible) {
    outline: none;
}

/* ===== SECOND SCANLINE OVERLAY ===== */
body::after {
    content: '';
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(188, 19, 254, 0.12) 50%,
        transparent 100%
    );
    z-index: 100;
    pointer-events: none;
    animation: scanlineScroll 8s linear infinite;
}

@keyframes scanlineScroll {
    0%   { top: -2%; }
    100% { top: 102%; }
}

/* ===== ENHANCED CANVAS / GAME CANVAS ===== */
canvas,
.game-canvas {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

/* ===== STICKY HEADER ===== */
header.sticky {
    position: sticky;
    top: 0;
    z-index: 500;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: rgba(5, 2, 8, 0.85);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* ===== ENHANCED STICKY NAV ===== */
nav.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 490;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(5, 2, 8, 0.8);
    border-bottom: 1px solid var(--border);
}

.nav-active,
nav a.nav-active {
    color: var(--purple) !important;
    border-color: var(--purple) !important;
    background: rgba(188, 19, 254, 0.12) !important;
    box-shadow: 0 0 12px rgba(188, 19, 254, 0.25) !important;
}

/* ===== SCROLL-TO-TOP (styles.css mirror of #scrollTop) ===== */
#scrollTop {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(188, 19, 254, 0.6), rgba(0, 255, 136, 0.3));
    border: 1px solid rgba(188, 19, 254, 0.5);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(188, 19, 254, 0.3);
}

#scrollTop.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

#scrollTop:hover {
    box-shadow: 0 8px 30px rgba(188, 19, 254, 0.6),
                0 0 20px rgba(0, 255, 136, 0.2);
    transform: translateY(-3px) scale(1.08);
}

/* ===== HERO ENHANCEMENTS ===== */

/* Background particles layer */
.hero-bg-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-bg-particles::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(2px 2px at 20% 30%, rgba(188, 19, 254, 0.6) 0%, transparent 100%),
        radial-gradient(2px 2px at 80% 20%, rgba(0, 255, 136, 0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 70%, rgba(188, 19, 254, 0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 10% 80%, rgba(0, 255, 136, 0.4) 0%, transparent 100%),
        radial-gradient(2px 2px at 90% 60%, rgba(0, 204, 255, 0.4) 0%, transparent 100%);
    animation: particlePan 20s linear infinite;
}

@keyframes particlePan {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-40px); }
}

/* Badge above hero title */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(188, 19, 254, 0.12);
    border: 1px solid rgba(188, 19, 254, 0.4);
    color: var(--purple);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.2);
}

.hero-badge .badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: scalePulse 1.5s ease-in-out infinite;
}

@keyframes scalePulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.4); }
}

/* CTA button group */
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
}

/* Secondary CTA button */
.btn-secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease,
                color 0.25s ease, transform 0.25s ease;
}

.btn-secondary-cta:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    width: 100%;
    margin: 40px auto;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(188, 19, 254, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(188, 19, 254, 0.5);
    box-shadow: 0 16px 48px rgba(188, 19, 254, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(188, 19, 254, 0.2), rgba(0, 255, 136, 0.1));
    border: 1px solid rgba(188, 19, 254, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
    box-shadow: 0 4px 16px rgba(188, 19, 254, 0.15);
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: 0.5px;
}

.feature-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
    margin: 0;
}

/* ===== SHOWCASE SECTION ===== */
.showcase-section {
    width: 100%;
    padding: 60px 0;
    position: relative;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    width: 100%;
}

.showcase-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.showcase-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(188, 19, 254, 0.5);
    box-shadow: 0 20px 60px rgba(188, 19, 254, 0.25),
                0 0 0 1px rgba(188, 19, 254, 0.15);
}

.showcase-card-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(188, 19, 254, 0.05);
    position: relative;
}

.showcase-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-card:hover .showcase-card-media img {
    transform: scale(1.07);
}

.showcase-card-body {
    padding: 18px;
}

.showcase-card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.92rem;
    color: #fff;
    margin: 0 0 8px;
}

.showcase-card-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 2, 8, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid rgba(188, 19, 254, 0.15);
    border-top-color: var(--purple);
    border-right-color: var(--green);
    animation: spinnerRotate 0.8s linear infinite;
}

@keyframes spinnerRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.loading-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    animation: loadingPulse 1.2s ease-in-out infinite;
}

@keyframes loadingPulse {
    0%, 100% { opacity: 0.4; }
    50%       { opacity: 1; }
}

/* ===== ENHANCED MOBILE — 375px ===== */
@media (max-width: 375px) {
    .hero-cta-group {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-cta-group a,
    .hero-cta-group button,
    .btn-secondary-cta {
        width: 100%;
        justify-content: center;
    }

    .hero-badge {
        font-size: 0.68rem;
        padding: 5px 14px;
        letter-spacing: 1px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    #scrollTop {
        bottom: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
        animation: none !important;
        transition: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
    }

    a {
        color: #000 !important;
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.75em;
    }

    a[href^="#"]::after,
    a[href^="javascript:"]::after {
        content: "";
    }

    header, nav, footer, .cookie-banner,
    #scrollTop, .loading-overlay {
        display: none !important;
    }

    .container {
        width: 100% !important;
        max-width: none !important;
        border: 1px solid #ccc !important;
        padding: 16px !important;
    }

    h1, h2, h3, h4 {
        page-break-after: avoid;
        -webkit-text-fill-color: #000 !important;
    }

    p, li {
        orphans: 3;
        widows: 3;
    }
}
