@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700;900&family=Orbitron:wght@400;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #050505;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

/* ==================== GLITCH LOADER ==================== */
#loader-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #05050a;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.glitch-brand {
    display: flex;
    gap: 8px;
    font-family: 'Orbitron', monospace;
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 6px;
}

.glitch-letter {
    display: inline-block;
    opacity: 0;
    transform: scale(0.3) rotate(-10deg);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.glitch-letter.revealed {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Different glitch types */
@keyframes glitch1 {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    20% { transform: translate(-6px, 3px) scale(1.08); opacity: 0.3; color: #ff0066; text-shadow: 0 0 30px #ff0066; }
    40% { transform: translate(6px, -3px) scale(0.92); opacity: 0.7; color: #00ccff; text-shadow: 0 0 30px #00ccff; }
    60% { transform: translate(-3px, 6px) scale(1.04); opacity: 0.5; color: #ff0066; text-shadow: 0 0 30px #ff0066; }
    80% { transform: translate(3px, -6px) scale(0.96); opacity: 0.8; color: #00ccff; text-shadow: 0 0 30px #00ccff; }
    100% { transform: translate(0, 0) scale(1); opacity: 1; color: inherit; text-shadow: 0 0 20px rgba(124, 58, 237, 0.3); }
}

@keyframes glitch2 {
    0% { transform: translate(0, 0) skewX(0deg); opacity: 1; }
    15% { transform: translate(-8px, 0) skewX(15deg); opacity: 0.2; color: #ff00ff; }
    30% { transform: translate(8px, 0) skewX(-15deg); opacity: 0.6; color: #00ff88; }
    50% { transform: translate(-4px, 0) skewX(8deg); opacity: 0.3; color: #ff00ff; }
    70% { transform: translate(4px, 0) skewX(-8deg); opacity: 0.8; color: #00ff88; }
    100% { transform: translate(0, 0) skewX(0deg); opacity: 1; color: inherit; }
}

@keyframes glitch3 {
    0% { transform: scale(1) rotate(0deg); opacity: 1; }
    10% { transform: scale(0.5) rotate(-5deg); opacity: 0.1; color: #ff4400; }
    25% { transform: scale(1.4) rotate(5deg); opacity: 0.5; color: #00ffcc; }
    45% { transform: scale(0.7) rotate(-3deg); opacity: 0.3; color: #ff4400; }
    65% { transform: scale(1.2) rotate(3deg); opacity: 0.7; color: #00ffcc; }
    85% { transform: scale(0.9) rotate(-1deg); opacity: 0.9; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; color: inherit; }
}

@keyframes glitch4 {
    0% { transform: translate(0, 0); opacity: 1; }
    10% { transform: translate(-10px, -5px); opacity: 0.1; color: #ff3366; }
    25% { transform: translate(10px, 5px); opacity: 0.5; color: #33ccff; }
    40% { transform: translate(-5px, 10px); opacity: 0.3; color: #ff3366; }
    55% { transform: translate(5px, -10px); opacity: 0.7; color: #33ccff; }
    75% { transform: translate(-3px, 3px); opacity: 0.8; }
    100% { transform: translate(0, 0); opacity: 1; color: inherit; }
}

@keyframes glitch5 {
    0% { transform: scale(1) rotateX(0deg); opacity: 1; }
    20% { transform: scale(0.3) rotateX(20deg); opacity: 0.1; color: #ff00aa; text-shadow: 0 0 40px #ff00aa; }
    40% { transform: scale(1.5) rotateX(-20deg); opacity: 0.5; color: #aaff00; text-shadow: 0 0 40px #aaff00; }
    60% { transform: scale(0.6) rotateX(10deg); opacity: 0.3; color: #ff00aa; text-shadow: 0 0 40px #ff00aa; }
    80% { transform: scale(1.1) rotateX(-10deg); opacity: 0.8; color: #aaff00; text-shadow: 0 0 40px #aaff00; }
    100% { transform: scale(1) rotateX(0deg); opacity: 1; color: inherit; text-shadow: 0 0 20px rgba(124, 58, 237, 0.3); }
}

@keyframes glitch6 {
    0% { transform: translate(0, 0) skewY(0deg); opacity: 1; }
    12% { transform: translate(0, -8px) skewY(12deg); opacity: 0.15; color: #ff6600; }
    28% { transform: translate(0, 8px) skewY(-12deg); opacity: 0.5; color: #0066ff; }
    48% { transform: translate(0, -4px) skewY(6deg); opacity: 0.3; color: #ff6600; }
    68% { transform: translate(0, 4px) skewY(-6deg); opacity: 0.7; color: #0066ff; }
    88% { transform: translate(0, -2px) skewY(2deg); opacity: 0.9; }
    100% { transform: translate(0, 0) skewY(0deg); opacity: 1; color: inherit; }
}

/* Random flicker after glitch */
@keyframes flicker1 {
    0% { opacity: 1; transform: translateX(0); }
    20% { opacity: 0.1; transform: translateX(-4px); color: #ff0066; }
    40% { opacity: 0.8; transform: translateX(4px); color: #00ccff; }
    60% { opacity: 0.2; transform: translateX(-2px); color: #ff0066; }
    80% { opacity: 0.9; transform: translateX(2px); color: #00ccff; }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes flicker2 {
    0% { opacity: 1; transform: scale(1); }
    25% { opacity: 0.1; transform: scale(0.5) rotate(-10deg); color: #ff00ff; }
    50% { opacity: 0.7; transform: scale(1.3) rotate(10deg); color: #00ff88; }
    75% { opacity: 0.2; transform: scale(0.7) rotate(-5deg); color: #ff00ff; }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes flicker3 {
    0% { opacity: 1; }
    15% { opacity: 0.05; transform: translateY(-6px) skewX(8deg); color: #ff4400; }
    35% { opacity: 0.6; transform: translateY(6px) skewX(-8deg); color: #00ffcc; }
    55% { opacity: 0.1; transform: translateY(-3px) skewX(4deg); color: #ff4400; }
    75% { opacity: 0.8; transform: translateY(3px) skewX(-4deg); color: #00ffcc; }
    100% { opacity: 1; transform: translateY(0) skewX(0deg); }
}

/* Apply glitch classes */
.glitch-letter.glitch-type-1 {
    animation: glitch1 0.25s ease-in-out 3;
}

.glitch-letter.glitch-type-2 {
    animation: glitch2 0.25s ease-in-out 3;
}

.glitch-letter.glitch-type-3 {
    animation: glitch3 0.25s ease-in-out 3;
}

.glitch-letter.glitch-type-4 {
    animation: glitch4 0.25s ease-in-out 3;
}

.glitch-letter.glitch-type-5 {
    animation: glitch5 0.25s ease-in-out 3;
}

.glitch-letter.glitch-type-6 {
    animation: glitch6 0.25s ease-in-out 3;
}

/* Apply flicker classes */
.glitch-letter.flicker-type-1 {
    animation: flicker1 0.15s ease-in-out 2;
}

.glitch-letter.flicker-type-2 {
    animation: flicker2 0.15s ease-in-out 2;
}

.glitch-letter.flicker-type-3 {
    animation: flicker3 0.15s ease-in-out 2;
}

/* Letter colors - subtle gradient matching theme */
.glitch-letter:nth-child(1) { color: rgba(255, 255, 255, 0.95); text-shadow: 0 0 30px rgba(124, 58, 237, 0.4); }
.glitch-letter:nth-child(2) { color: rgba(255, 255, 255, 0.92); text-shadow: 0 0 30px rgba(139, 92, 246, 0.35); }
.glitch-letter:nth-child(3) { color: rgba(255, 255, 255, 0.90); text-shadow: 0 0 30px rgba(167, 139, 250, 0.3); }
.glitch-letter:nth-child(4) { color: rgba(255, 255, 255, 0.88); text-shadow: 0 0 30px rgba(196, 181, 253, 0.25); }
.glitch-letter:nth-child(5) { color: rgba(255, 255, 255, 0.92); text-shadow: 0 0 30px rgba(124, 58, 237, 0.35); }
.glitch-letter:nth-child(6) { color: rgba(255, 255, 255, 0.90); text-shadow: 0 0 30px rgba(167, 139, 250, 0.3); }
.glitch-letter:nth-child(7) { color: rgba(255, 255, 255, 0.88); text-shadow: 0 0 30px rgba(196, 181, 253, 0.25); }

/* Sub-brand - PRODUCTIONS */
.sub-brand {
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    font-weight: 400;
    color: rgba(167, 139, 250, 0.5);
    letter-spacing: 12px;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-top: 4px;
    text-shadow: 0 0 30px rgba(124, 58, 237, 0.2);
}

.sub-brand.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Glitch scanline effect on loader */
#loader-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(124, 58, 237, 0.015) 2px,
        rgba(124, 58, 237, 0.015) 4px
    );
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 1s ease;
}

#loader-screen.loading::before {
    opacity: 1;
}

/* Subtle VHS static glow */
#loader-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 40%, rgba(124, 58, 237, 0.02) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(167, 139, 250, 0.02) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
}

#loader-screen.loading::after {
    opacity: 1;
}

/* ==================== STATS COUNTERS ==================== */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 22px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 20px;
    min-width: 120px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
}

.stat-number {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.stat-plus {
    font-size: 18px;
    font-weight: 800;
    color: #a78bfa;
    margin-left: 2px;
}

.stat-label {
    display: block;
    font-size: 9px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

#particle-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    pointer-events: none;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 35px 25px 45px;
    border-radius: 20px;
    text-align: center;
    width: 90%;
    max-width: 500px;
    color: white;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5);
    z-index: 10;
    margin: 40px auto;
    transition: box-shadow 0.15s ease-out;
    position: relative;
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
                transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-card.show {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.profile-img {
    width: 90px; height: 90px;
    border-radius: 50%;
    border: 3px solid rgba(200, 200, 200, 0.3);
    margin-bottom: 12px;
    object-fit: cover;
    transition: border-color 0.15s ease-out, transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

h1 { font-weight: 700; margin-bottom: 3px; font-size: 22px; letter-spacing: 1px; }
p.subtitle { font-weight: 300; font-size: 12px; color: #888; margin-bottom: 8px; }

.about-me {
    font-size: 11px;
    color: #999;
    line-height: 1.6;
    margin-bottom: 10px;
    padding: 0 10px;
    font-style: italic;
    border-left: 2px solid rgba(255,255,255,0.1);
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.currently-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 10px;
    color: #aaa;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
    transition: all 0.5s ease;
}
.currently-status .dot {
    width: 7px; height: 7px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Nav Buttons */
.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}
.nav-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}
.nav-btn:hover { background: rgba(255, 255, 255, 0.1); color: white; }
.nav-btn.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

.panel { display: none; animation: fadeSlideIn 0.3s ease; }
.panel.active { display: block; }
@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Socials Grid */
.socials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}
.social-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 14px 8px;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.social-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}
.social-card i { font-size: 22px; margin-bottom: 2px; }
.social-card span { font-size: 11px; font-weight: 600; letter-spacing: 0.3px; }
.social-card small { font-size: 9px; color: #888; }

.discord-card:hover { background: rgba(88, 101, 242, 0.2); border-color: #5865F2; }
.discord-card:hover i { color: #5865F2; }
.gmail-card:hover { background: rgba(234, 67, 53, 0.2); border-color: #ea4335; }
.gmail-card:hover i { color: #ea4335; }
.insta-card:hover { background: rgba(230, 104, 60, 0.2); border-color: #e6683c; }
.insta-card:hover i { color: #e6683c; }
.spotify-card:hover { background: rgba(29, 185, 84, 0.2); border-color: #1DB954; }
.spotify-card:hover i { color: #1DB954; }
.tiktok-card:hover { background: rgba(37, 244, 238, 0.1); border-color: #FE2C55; }
.tiktok-card:hover i { color: #25F4EE; }
.linkedin-card:hover { background: rgba(10, 102, 194, 0.2); border-color: #0A66C2; }
.linkedin-card:hover i { color: #0A66C2; }

/* Projects List */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
    padding-right: 4px;
}
.projects-list::-webkit-scrollbar { width: 4px; }
.projects-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; }
.mini-project {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.mini-project:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(3px);
}
.mini-project img {
    width: 40px; height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.mini-project-info { text-align: left; flex: 1; min-width: 0; }
.mini-project-info strong { font-size: 12px; color: white; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-project-info p { font-size: 10px; color: #888; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-project .fa-chevron-right { color: #555; font-size: 12px; transition: all 0.3s ease; }
.mini-project:hover .fa-chevron-right { color: white; transform: translateX(2px); }

/* View Counter */
.view-counter {
    position: absolute;
    bottom: 12px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #aaa;
    backdrop-filter: blur(5px);
}
.view-counter i { font-size: 13px; color: #ccc; }
.view-counter span { color: white; font-weight: 700; letter-spacing: 0.5px; min-width: 25px; text-align: center; }

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid #4ade80;
    color: #4ade80;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ SPOTLIGHT STAGES ============ */
#projects-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #050510;
    z-index: 1000;
    display: flex; flex-direction: column;
    opacity: 0; pointer-events: none;
    transition: opacity 0.5s ease;
    overflow: hidden;
}
#projects-overlay.active { opacity: 1; pointer-events: auto; }

.overlay-header {
    width: 100%; padding: 20px 30px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 20;
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    flex-shrink: 0;
}
.overlay-title { font-size: 20px; font-weight: 700; color: white; letter-spacing: 2px; display: flex; align-items: center; gap: 10px; }
.overlay-actions { display: flex; align-items: center; gap: 16px; }
.project-counter {
    font-size: 13px;
    font-weight: 600;
    color: #aaa;
    background: rgba(255,255,255,0.05);
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
}
.close-btn { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.15); color: white; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; transition: all 0.3s ease; }
.close-btn:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.5); transform: rotate(90deg); }

/* Vertical Carousel */
.spotlight-carousel {
    flex: 1;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.spotlight-carousel::-webkit-scrollbar { display: none; }

/* Each Stage */
.spotlight-stage {
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 30px;
    position: relative;
    overflow: hidden;
    transition: background 0.8s ease;
}

.stage-bg-0 { background: linear-gradient(135deg, #0a0a1a 0%, #1a1030 50%, #0d0d20 100%); }
.stage-bg-1 { background: linear-gradient(135deg, #0a0a1a 0%, #102030 50%, #0d0d20 100%); }
.stage-bg-2 { background: linear-gradient(135deg, #0a0a1a 0%, #1a3010 50%, #0d0d20 100%); }
.stage-bg-3 { background: linear-gradient(135deg, #0a0a1a 0%, #301a10 50%, #0d0d20 100%); }
.stage-bg-4 { background: linear-gradient(135deg, #0a0a1a 0%, #301030 50%, #0d0d20 100%); }

.stage-content {
    max-width: 700px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stage-icon {
    font-size: 50px;
    margin-bottom: 16px;
    display: block;
    animation: stageIconFloat 3s ease-in-out infinite;
}
@keyframes stageIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.stage-content h2 {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, #c4b5fd 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.stage-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed, #a78bfa, #7c3aed);
    margin: 0 auto 16px;
    border-radius: 2px;
}
.stage-content p {
    font-size: 14px;
    color: #aaa;
    line-height: 1.8;
    max-width: 550px;
    margin: 0 auto 30px;
}

/* Film Strip Gallery */
.film-strip {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}
.film-frame {
    background: #111;
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}
.film-frame:hover {
    transform: scale(1.08) rotate(0deg) !important;
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 15px 40px rgba(120, 100, 255, 0.3);
    z-index: 10;
}
.film-frame img {
    width: 130px;
    height: 85px;
    object-fit: cover;
    display: block;
}
.film-frame .frame-notch {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 3px solid transparent;
    border-radius: 8px;
    pointer-events: none;
    transition: border-color 0.3s ease;
}
.film-frame:hover .frame-notch {
    border-color: rgba(255,255,255,0.2);
}

/* Stage particles */
.stage-particles {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}
.stage-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    animation: particleDrift linear infinite;
}
@keyframes particleDrift {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.3);
    font-size: 10px;
    letter-spacing: 2px;
    z-index: 2;
    animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-indicator i { font-size: 14px; }
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Floating screenshot lightbox */
.screenshot-float {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(15px);
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.screenshot-float.show { opacity: 1; pointer-events: auto; }
.screenshot-float img {
    max-width: 88vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.9), 0 0 60px rgba(120, 100, 255, 0.2);
    border: 2px solid rgba(255,255,255,0.15);
    animation: floatReveal 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes floatReveal {
    from { transform: scale(0.7) translateY(30px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}
.float-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.float-close:hover { background: rgba(255,255,255,0.2); transform: scale(1.1); }

/* Mobile */
@media (max-width: 768px) {
    .glitch-brand {
        font-size: 32px;
        gap: 4px;
        letter-spacing: 3px;
    }
    .sub-brand {
        font-size: 11px;
        letter-spacing: 8px;
    }
    
    .glass-card {
        background: rgba(15, 15, 25, 0.85);
        backdrop-filter: blur(8px);
        padding: 28px 16px 45px;
        margin: 20px auto;
        border-radius: 16px;
    }
    .socials-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .social-card { padding: 10px 6px; }
    .social-card i { font-size: 18px; }
    .social-card span { font-size: 10px; }
    .stage-content h2 { font-size: 24px; }
    .stage-content p { font-size: 12px; }
    .film-frame img { width: 100px; height: 65px; }
    .film-strip { gap: 8px; }
    .stage-icon { font-size: 36px; }
}

@media (max-width: 400px) {
    .glitch-brand {
        font-size: 24px;
        gap: 3px;
        letter-spacing: 2px;
    }
    .sub-brand {
        font-size: 9px;
        letter-spacing: 6px;
    }
    
    .socials-grid { grid-template-columns: repeat(2, 1fr); }
    .film-frame img { width: 80px; height: 52px; }
    .stage-content h2 { font-size: 20px; }
}