/* ===== VARIABLES & RESET ===== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111122;
    --text-primary: #ffffff;
    --text-secondary: #ccccf0;
    
    --neon-purple: #9d4edd;
    --neon-cyan: #00bbf9;
    --neon-green: #00ff41;
    --neon-orange: #ff9100;
    --neon-pink: #ff0080;
    
    --gradient-music: linear-gradient(135deg, 
        rgba(157, 78, 221, 0.2) 0%, 
        rgba(0, 187, 249, 0.1) 50%, 
        transparent 100%);
    --gradient-gaming: linear-gradient(135deg, 
        rgba(0, 255, 65, 0.2) 0%, 
        rgba(255, 145, 0, 0.1) 50%, 
        transparent 100%);
    --gradient-glass: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.03) 100%);
    --gradient-radial: radial-gradient(
        circle at 50% 0%, 
        rgba(120, 119, 198, 0.15) 0%, 
        transparent 70%);
    
    --glass-light: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo 2', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: var(--gradient-radial);
    background-attachment: fixed;
    transition: cursor 0.3s ease;
}

body.custom-cursor-active {
    cursor: none;
}

h1, h2, h3, h4, .nav-logo, .hero-center-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* ===== ACCESSIBILITY ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--neon-purple);
    color: white;
    padding: 12px;
    z-index: 10000;
    text-decoration: none;
    transition: top 0.3s;
    border-radius: 0 0 4px 0;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== LOGO STYLES ===== */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-primary);
    text-decoration: none;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
}

.nav-logo:hover .logo-text {
    filter: brightness(1.2);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.logo-blink {
    animation: blink 1s infinite;
    color: var(--neon-cyan);
    font-weight: 900;
}

/* Logo Besar di Hero Section */
.logo-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.logo-large-icon {
    width: 100px;
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan), var(--neon-green));
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 30px var(--neon-purple),
                0 0 50px rgba(157, 78, 221, 0.3);
    animation: logoFloat 6s ease-in-out infinite;
}

.logo-large-j {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 4rem;
    color: white;
    z-index: 2;
    text-shadow: 0 0 20px white;
}

.logo-large-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, 
        var(--neon-cyan) 0%, 
        var(--neon-purple) 30%, 
        transparent 70%);
    opacity: 0.7;
    animation: logoRotate 10s linear infinite;
}

/* ===== CURSOR CUSTOM ===== */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    transition: transform 0.1s ease-out;
    opacity: 0;
}

body.custom-cursor-active .cursor-dot,
body.custom-cursor-active .cursor-outline {
    opacity: 1;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--neon-purple);
    transition: all 0.2s ease-out;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 2rem;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.7);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

@supports (backdrop-filter: blur(20px)) {
    .navbar {
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
    }
}

.navbar.scrolled {
    padding: 0.8rem 2rem;
    background: rgba(10, 10, 15, 0.9);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 12px;
    min-height: 44px;
    min-width: 44px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
    border-radius: 2px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== HERO SECTION ===== */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-split {
    display: flex;
    height: 100%;
}

.split-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2rem;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    min-height: 50vh;
}

.side-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

.music-side .side-gradient {
    background: var(--gradient-music);
}

.gaming-side .side-gradient {
    background: var(--gradient-gaming);
}

.split-side:hover .side-gradient {
    opacity: 0.9;
}

.split-content {
    text-align: center;
    z-index: 2;
    max-width: 500px;
    padding: 2rem;
}

.split-side h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    text-shadow: 0 0 15px currentColor;
    background: linear-gradient(90deg, currentColor, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.split-side p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.music-side { color: var(--neon-purple); }
.gaming-side { color: var(--neon-green); }

.btn-neon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: transparent;
    color: inherit;
    border: 2px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(45deg, currentColor, transparent, currentColor);
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
    min-height: 44px;
    cursor: pointer;
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

.btn-neon:hover {
    color: var(--bg-primary);
    background-color: currentColor;
    box-shadow: 0 0 25px currentColor;
    transform: translateY(-2px);
}

.btn-neon:hover::before {
    left: 100%;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.note, .pixel {
    position: absolute;
    color: rgba(255, 255, 255, 0.15);
    font-size: clamp(1.5rem, 3vw, 2rem);
    animation: float 8s infinite ease-in-out;
}

.note:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.note:nth-child(2) { top: 70%; left: 85%; animation-delay: -4s; }
.pixel:nth-child(1) { top: 15%; left: 80%; animation-delay: -1s; }
.pixel:nth-child(2) { top: 80%; left: 15%; animation-delay: -5s; }

.hero-center-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
    pointer-events: none;
    width: 100%;
    padding: 0 1rem;
}

.glitch {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    position: relative;
    color: white;
    text-shadow: 0.05em 0 0 var(--neon-cyan), 
                 -0.03em -0.04em 0 var(--neon-purple),
                 0.025em 0.04em 0 var(--neon-green);
    animation: glitch 725ms infinite;
}

@media (prefers-reduced-motion: reduce) {
    .glitch {
        animation: none;
        text-shadow: none;
    }
}

.tagline {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    margin-top: 1rem;
    letter-spacing: 3px;
    font-weight: 300;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 2rem;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan), var(--neon-purple));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientText 3s ease infinite;
}

.section-gamer .section-header h2 {
    background-size: 200% auto;
    background-position: center;
    filter: brightness(0.9);
}

.section-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* Featured Cards */
.featured-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--neon-purple), transparent, var(--neon-cyan));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gaming-featured .card-glow {
    background: linear-gradient(45deg, var(--neon-green), transparent, var(--neon-orange));
}

.featured-card:hover .card-glow {
    opacity: 0.7;
}

.featured-card:hover {
    transform: translateY(-10px) translateZ(0);
}

.music-featured {
    border: 1px solid rgba(157, 78, 221, 0.3);
    box-shadow: 0 20px 40px rgba(157, 78, 221, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.gaming-featured {
    border: 1px solid rgba(0, 255, 65, 0.3);
    box-shadow: 0 20px 40px rgba(0, 255, 65, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.video-placeholder {
    background: linear-gradient(135deg, var(--bg-secondary), #1a1a2e);
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: left 0.7s ease;
}

.video-placeholder:hover::before {
    left: 100%;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    min-height: 80px;
    min-width: 80px;
}

@media (max-width: 768px) {
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        min-height: 60px;
        min-width: 60px;
    }
}

.video-placeholder:hover .play-button {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.card-info {
    padding: 2.5rem;
    background: rgba(20, 20, 30, 0.7);
}

.card-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--neon-purple), white);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gaming-featured .card-info h3 {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: inherit;
}

.card-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.btn-social {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 1.8rem;
    background: transparent;
    border: 1px solid;
    border-radius: 30px;
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 44px;
}

.btn-social::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-social:hover::before {
    left: 100%;
}

.music-featured .btn-social {
    border-color: var(--neon-purple);
    color: var(--neon-purple);
}

.music-featured .btn-social:hover {
    background: var(--neon-purple);
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--neon-purple);
}

.gaming-featured .btn-social.btn-youtube {
    border-color: #FF0000;
    color: #FF0000;
}

.gaming-featured .btn-social.btn-youtube:hover {
    background: #FF0000;
    color: var(--bg-primary);
    box-shadow: 0 0 20px #FF0000;
}

/* Glass Cards */
.glass {
    background: var(--gradient-glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

@supports (backdrop-filter: blur(15px)) {
    .glass {
        backdrop-filter: blur(15px) saturate(180%);
        -webkit-backdrop-filter: blur(15px) saturate(180%);
    }
}

.glass:hover {
    transform: translateY(-8px) translateZ(0);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.side-card {
    padding: 2.5rem;
    height: 100%;
}

.side-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text-primary);
}

.playlist, .stream-info p {
    margin-bottom: 1.5rem;
}

.playlist li {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.playlist li:hover {
    color: var(--text-primary);
}

.stream-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    min-height: 44px;
}

.stream-link:hover {
    color: white;
    text-shadow: 0 0 10px var(--neon-cyan);
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.stat {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.stat span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--neon-cyan);
    margin-bottom: 0.5rem;
}

/* ===== LAB SECTION ===== */
.section-lab {
    padding-top: 4rem;
}

.lab-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 128, 0.2);
}

.lab-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 128, 0.1) 0%, transparent 70%);
    z-index: -1;
    animation: rotate 20s linear infinite;
}

.lab-container h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--neon-pink);
    text-shadow: 0 0 15px var(--neon-pink);
}

.lab-description {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.lab-project h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.neon-text {
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
}

.lab-cta {
    margin-top: 2rem;
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
    border-color: var(--neon-pink);
}

/* ===== ABOUT SECTION ===== */
.section-about {
    padding: 6rem 2rem;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-card {
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(157, 78, 221, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(0, 255, 65, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.about-card h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan), var(--neon-green));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-card p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-card strong {
    color: var(--text-primary);
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-glass);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 50px;
    min-width: 50px;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
    box-shadow: 0 10px 20px rgba(0, 187, 249, 0.3);
    color: white;
}

/* ===== FOOTER ===== */
footer {
    background: rgba(17, 17, 34, 0.8);
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-green));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    letter-spacing: 1px;
    font-weight: 300;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ===== ANIMATIONS ===== */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
        opacity: 0.15;
    }
    50% { 
        transform: translateY(-30px) rotate(180deg); 
        opacity: 0.3;
    }
}

@keyframes glitch {
    0% { 
        text-shadow: 0.05em 0 0 var(--neon-cyan), 
                    -0.03em -0.04em 0 var(--neon-purple), 
                    0.025em 0.04em 0 var(--neon-green); 
    }
    15% { 
        text-shadow: -0.05em -0.025em 0 var(--neon-cyan), 
                     0.025em 0.035em 0 var(--neon-purple), 
                     -0.05em -0.05em 0 var(--neon-green); 
    }
    50% { 
        text-shadow: 0.05em 0.035em 0 var(--neon-cyan), 
                     0.03em 0 0 var(--neon-purple), 
                     0 -0.04em 0 var(--neon-green); 
    }
    100% { 
        text-shadow: -0.05em 0 0 var(--neon-cyan), 
                     -0.025em -0.04em 0 var(--neon-purple), 
                     -0.04em -0.025em 0 var(--neon-green); 
    }
}

@keyframes gradientText {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

@keyframes logoRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .content-section {
        padding: 6rem 2rem;
    }
}

@media (max-width: 992px) {
    .hero-split { 
        flex-direction: column; 
        height: auto;
    }
    
    .split-side { 
        height: 50vh; 
        min-height: 50vh;
        padding: 4rem 1.5rem;
    }
    
    .content-grid { 
        grid-template-columns: 1fr; 
        gap: 2rem;
    }
    
    .content-section { 
        padding: 5rem 1.5rem; 
    }
    
    .lab-container, .about-card { 
        padding: 3rem; 
    }
    
    .logo-large-icon {
        width: 80px;
        height: 80px;
    }
    
    .logo-large-j {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        width: 100%;
        height: 100vh;
        padding: 5rem 2rem;
        transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        gap: 2rem;
        z-index: 999;
        margin: 0;
    }
    
    .nav-menu.active { 
        right: 0; 
    }
    
    .hamburger { 
        display: flex; 
    }
    
    .navbar {
        padding: 1rem;
    }
    
    .hero-center-title { 
        width: 100%; 
        padding: 0 1rem; 
    }
    
    .logo-large {
        flex-direction: column;
        gap: 15px;
    }
    
    .card-info, .side-card { 
        padding: 2rem; 
    }
    
    @supports (backdrop-filter: blur(10px)) {
        .glass, .navbar {
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.5rem;
    }
    
    .split-side {
        padding: 3rem 1rem;
    }
    
    .split-side h2 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn-neon, .btn-social {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .lab-container, .about-card {
        padding: 2rem;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .logo-large-icon,
    .logo-large-glow,
    .floating-elements .note,
    .floating-elements .pixel,
    .lab-glow {
        animation: none !important;
    }
}
