/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: none !important;
}

body {
    overflow: hidden;
    color: white;
    height: 100vh;
    font-family: 'Orbitron', sans-serif;
    background: #0a0a20;
    position: relative;
}

/* ===== CYBER CITY BACKGROUND ===== */
.cyber-city {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30vh;
    background: linear-gradient(to top, #000000 0%, transparent 100%),
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%230077ff"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%230077ff"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%230077ff"/></svg>');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: -3;
    pointer-events: none;
    filter: drop-shadow(0 0 20px rgba(0, 119, 255, 0.096));
}

/* ===== DATA STREAM EFFECT ===== */
.data-stream {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(0, 119, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 119, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -2;
    pointer-events: none;
}

.data-stream::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(0, 119, 255, 0.03) 50%, 
        transparent 100%);
    animation: dataFlow 8s linear infinite;
}

@keyframes dataFlow {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* ===== CUSTOM CURSOR ===== */
#custom-cursor {
    position: fixed;
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="%23FF6B00" d="M16 2L2 16l5 5 3-3v10h6V18l3 3 5-5L16 2z"/></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-40%, -40%);
    filter: drop-shadow(0 2px 4px rgba(255, 107, 0, 0.6));
}

/* ===== VIDEO BACKGROUND ===== */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -4;
}

#video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    filter: brightness(0.5) contrast(1.2) hue-rotate(200deg);
    display: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 20, 0.9) 0%, rgba(0, 20, 40, 0.7) 100%);
    z-index: 1;
}

/* ===== TERMINAL SCREEN ===== */
.terminal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    height: auto;
    max-height: 70vh;
    background: rgba(0, 10, 20, 0.95);
    display: flex;
    flex-direction: column;
    z-index: 10;
    font-family: 'Courier New', monospace;
    border: 1px solid rgba(0, 119, 255, 0.4);
    box-shadow: 0 0 60px rgba(0, 119, 255, 0.4),
                inset 0 0 20px rgba(0, 119, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.terminal-header {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: linear-gradient(90deg, rgba(0, 20, 40, 0.9), rgba(0, 30, 60, 0.8));
    border-bottom: 1px solid rgba(0, 119, 255, 0.116);
    position: relative;
    z-index: 2;
}

.terminal-dots {
    display: flex;
    gap: 8px;
    margin-right: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.dot.red { 
    background: #ff3e3e;
    box-shadow: 0 0 5px #ff3e3e;
}
.dot.yellow { 
    background: #ffb83e;
    box-shadow: 0 0 5px #ffb83e;
}
.dot.green { 
    background: #3eff8f;
    box-shadow: 0 0 5px #3eff8f;
}

.terminal-title {
    color: rgba(0, 170, 255, 0.9);
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 8px rgba(0, 170, 255, 0.6);
}

.terminal-output {
    color: #00aaff;
    font-size: 1.1rem;
    text-shadow: 0 0 5px rgba(0, 170, 255, 0.5);
    line-height: 1.6;
    width: 100%;
    height: 60vh;
    overflow-y: auto;
    padding: 20px;
    background: rgba(0, 15, 30, 0.7);
    position: relative;
    font-family: 'Courier New', monospace;
}

.terminal-footer {
    position: relative;
    height: 10px;
    background: linear-gradient(90deg, 
        rgba(0, 119, 255, 0.1), 
        rgba(0, 170, 255, 0.4), 
        rgba(0, 119, 255, 0.1));
}

.scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 170, 255, 0.2) 10%, 
        rgba(0, 0, 0, 0) 100%);
    animation: scanline 4s linear infinite;
    opacity: 0.5;
}

.glitch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.04" numOctaves="5" stitchTiles="stitch"/><feColorMatrix type="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.05 0"/></filter><rect width="100%" height="100%" filter="url(%23noise)"/></svg>');
    opacity: 0.1;
    pointer-events: none;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    z-index: 1;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.cyber-circle {
    position: absolute;
    width: 150vw;
    height: 150vw;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(0, 119, 255, 0.1) 0%, 
        rgba(0, 0, 0, 0) 70%);
    animation: pulse 8s infinite alternate;
    z-index: -1;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.2; }
    100% { transform: scale(1); opacity: 0.1; }
}

/* ===== TITLE SECTION ===== */
.title-container {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.person-name {
    font-size: clamp(2rem, 8vw, 5rem);
    font-weight: 900;
    letter-spacing: 5px;
    text-transform: uppercase;
    background: linear-gradient(90deg, 
        #0077ff, 
        #00aaff, 
        #00ffcc, 
        #00aaff, 
        #0077ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(0, 119, 255, 0.5);
    animation: gradientFlow 4s linear infinite;
    margin-bottom: 10px;
}

.title-underline {
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        #0077ff, 
        #00aaff, 
        transparent);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 119, 255, 0.5);
}

.title-underline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.8), 
        transparent);
    animation: shine 3s infinite;
}

/* ===== PROFILE SECTION ===== */
.profile-section {
    position: relative;
    margin-bottom: 30px;
    width: 100%;
    max-width: 350px;
}

.profile-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 119, 255, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 60px rgba(0, 170, 255, 0.7);
}

.discord-widget {
    width: 100%;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s;
}

.holographic-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(0, 119, 255, 0.1) 0%, 
        rgba(0, 170, 255, 0.1) 20%, 
        rgba(0, 255, 204, 0.1) 40%, 
        rgba(255, 170, 0, 0.1) 60%, 
        rgba(255, 107, 0, 0.1) 80%, 
        rgba(0, 119, 255, 0.1) 100%);
    opacity: 0.6;
    pointer-events: none;
    animation: hologram 8s infinite linear;
    mix-blend-mode: overlay;
}

.tech-lines {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(0, 170, 255, 0.5);
    border-radius: 15px;
    pointer-events: none;
    animation: borderPulse 4s infinite;
    z-index: -1;
}

/* ===== DYNAMIC TEXT ===== */
.dynamic-text-container {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.dynamic-text {
    font-size: clamp(1.5rem, 6vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #00aaff;
    text-shadow: 0 0 15px rgba(0, 170, 255, 0.7);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.dynamic-text::before, .dynamic-text::after {
    content: '//';
    color: rgba(0, 170, 255, 0.7);
    margin: 0 15px;
}

.text-underline {
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        #00aaff, 
        transparent);
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.5);
}

.text-underline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    animation: slide 3s infinite;
}

/* ===== SOCIAL LINKS ===== */
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s;
    border: 2px solid transparent;
    background: rgba(0, 20, 40, 0.5);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.social-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent, 
        transparent, 
        transparent, 
        var(--icon-color)
    );
    animation: rotate 4s linear infinite;
}

.social-icon::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: rgba(0, 20, 40, 0.9);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 25px var(--icon-color);
}

.social-icon .icon-label {
    position: relative;
    z-index: 1;
    font-family: 'Orbitron', sans-serif;
    font-weight: 10;
    font-size: 0.6rem;
    color: var(--icon-color);
    text-shadow: 0 0 10px var(--icon-color);
}

.social-icon.discord {
    --icon-color: #0077ff;
}

.social-icon.tiktok {
    --icon-color: #ff6b00;
}

.social-icon.insta {
    --icon-color: #00aaff;
}

/* ===== NEW CYBERPUNK UI ELEMENTS ===== */
.cyber-bars {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    display: flex;
    z-index: 50;
}

.cyber-bar {
    height: 100%;
    flex-grow: 1;
    background: linear-gradient(90deg, 
        rgba(0, 119, 255, 0.8), 
        rgba(0, 170, 255, 0.8));
    margin: 0 2px;
    animation: barPulse 2s infinite alternate;
    animation-delay: calc(var(--order) * 0.2s);
}

@keyframes barPulse {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

.status-indicators {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 50;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 5px #00ff88;
    animation: statusPulse 2s infinite;
}

.status-text {
    color: #00aaff;
    font-size: 0.8rem;
    text-shadow: 0 0 5px rgba(0, 170, 255, 0.5);
    font-family: 'Orbitron', sans-serif;
}

/* ===== VOLUME CONTROLS ===== */
.volume-controls {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 100;
    background: rgba(0, 20, 40, 0.8);
    padding: 10px 15px;
    border-radius: 30px;
    border: 1px solid rgba(0, 170, 255, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.volume-controls.visible {
    opacity: 1;
    transform: translateY(0);
}

.volume-btn {
    background: transparent;
    border: none;
    color: #00aaff;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0.8;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.volume-btn:hover {
    opacity: 1;
    transform: scale(1.2);
    color: #ffffff;
}

#volumeSlider {
    width: 100px;
    height: 4px;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    border-radius: 2px;
}

#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #00aaff;
    box-shadow: 0 0 5px #00aaff;
    cursor: pointer;
}

/* ===== SKIP BUTTON ===== */
.skip-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    background: rgba(0, 20, 40, 0.8);
    border: 1px solid rgba(255, 107, 0, 0.6);
    color: #ff6b00;
    padding: 10px 20px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    z-index: 100;
    text-shadow: 0 0 5px rgba(255, 107, 0, 0.5);
    overflow: hidden;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.skip-btn:hover {
    background: rgba(255, 107, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.6);
    color: #ffffff;
}

.skip-progress {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b00, #ffb83e);
    transition: width 3s linear;
}

.skip-btn:hover .skip-progress {
    width: 60px;
}

/* ===== PARTICLE EFFECTS ===== */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ===== ANIMATIONS ===== */
@keyframes gradientFlow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    20% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

@keyframes slide {
    0% { transform: translateX(0); }
    50% { transform: translateX(130px); }
    100% { transform: translateX(0); }
}

@keyframes hologram {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

@keyframes borderPulse {
    0% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.02); }
    100% { opacity: 0.3; transform: scale(1); }
}

@keyframes statusPulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* ===== CLICK EFFECTS ===== */
.click-effect {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #00aaff;
    border-radius: 50%;
    pointer-events: none;
    animation: ripple 1s linear forwards;
    z-index: 100;
}

@keyframes ripple {
    to {
        transform: scale(15);
        opacity: 0;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 20, 40, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#0077ff, #00aaff);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(#00aaff, #00ffcc);
}

/* ===== MOBILE RESPONSIVENESS ===== */
@media (max-width: 768px) {
    #custom-cursor {
        display: none !important;
    }
    
    .terminal-container {
        max-height: 65vh;
        width: 95%;
    }
    
    .terminal-output {
        height: 55vh;
        font-size: 0.9rem;
        padding: 15px;
    }
    
    .content-wrapper {
        padding: 15px;
    }
    
    .person-name {
        font-size: clamp(1.8rem, 8vw, 3rem);
    }
    
    .dynamic-text {
        font-size: clamp(1.3rem, 6vw, 2.5rem);
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
    }
    
    .volume-controls {
        bottom: 20px;
        right: 20px;
        padding: 8px 12px;
    }
    
    #volumeSlider {
        width: 80px;
    }
    
    .skip-btn {
        top: 20px;
        right: 20px;
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .skip-btn:hover .skip-progress {
        width: 40px;
    }
    
    .status-indicators {
        top: 15px;
        left: 15px;
    }
}

@media (max-width: 480px) {
    .terminal-output {
        font-size: 0.8rem;
    }
    
    .person-name {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
        letter-spacing: 3px;
    }
    
    .dynamic-text {
        font-size: clamp(1.2rem, 6vw, 2rem);
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    .volume-controls {
        bottom: 15px;
        right: 15px;
        padding: 6px 10px;
    }
    
    #volumeSlider {
        width: 60px;
    }
    
    .skip-btn {
        top: 15px;
        right: 15px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .cyber-city {
        height: 20vh;
    }
}