/* ===== 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: #0a0a10;
    position: relative;
}

/* ===== CYBER GRID BACKGROUND ===== */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -3;
    pointer-events: none;
}

/* ===== CUSTOM CURSOR ===== */
#custom-cursor {
    position: fixed;
    width: 32px;
    height: 32px;
    background-image: url('NEW MEMBERS/assets/cursor.png');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

/* ===== VIDEO BACKGROUND ===== */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

#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.6) contrast(1.3) hue-rotate(10deg);
    display: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 20, 40, 0.5) 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, 5, 15, 0.97);
    display: flex;
    flex-direction: column;
    z-index: 10;
    font-family: 'Courier New', monospace;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 60px rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    overflow: hidden;
    backdrop-filter: blur(2px);
}

.terminal-header {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: linear-gradient(90deg, rgba(0, 10, 20, 0.9), rgba(0, 20, 40, 0.8));
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
    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: #ff5f56;
    box-shadow: 0 0 5px #ff5f56;
}
.dot.yellow { 
    background: #ffbd2e;
    box-shadow: 0 0 5px #ffbd2e;
}
.dot.green { 
    background: #27c93f;
    box-shadow: 0 0 5px #27c93f;
}

.terminal-title {
    color: rgba(0, 255, 255, 0.8);
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.terminal-output {
    color: #00ffcc;
    font-size: 1.1rem;
    text-shadow: 0 0 5px #00ffcc;
    line-height: 1.6;
    width: 100%;
    height: 60vh;
    overflow-y: auto;
    padding: 20px;
    background: rgba(0, 5, 15, 0.7);
    position: relative;
    font-family: 'Courier New', monospace;
}

.terminal-footer {
    position: relative;
    height: 10px;
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.1), rgba(0, 255, 255, 0.3), rgba(0, 255, 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, 255, 255, 0.1) 10%, rgba(0, 0, 0, 0) 100%);
    animation: scanline 4s linear infinite;
    opacity: 0.7;
}

.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.03;
    pointer-events: none;
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

/* ===== 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, 100, 255, 0.05) 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.15; }
    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, #ff0000, #ff6600, #ffcc00, #ff6600, #ff0000);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
    animation: gradientFlow 4s linear infinite;
    margin-bottom: 10px;
}

.title-underline {
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff0000, #ff6600, transparent);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.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(255, 102, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 60px rgba(255, 102, 0, 0.6);
}

.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(255, 0, 0, 0.1) 0%, 
        rgba(255, 102, 0, 0.1) 20%, 
        rgba(255, 204, 0, 0.1) 40%, 
        rgba(0, 255, 255, 0.1) 60%, 
        rgba(0, 0, 255, 0.1) 80%, 
        rgba(255, 0, 255, 0.1) 100%);
    opacity: 0.5;
    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, 255, 255, 0.3);
    border-radius: 15px;
    pointer-events: none;
    animation: borderPulse 4s infinite;
    z-index: -1;
}

@keyframes hologram {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

@keyframes borderPulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.7; }
    100% { opacity: 0.3; }
}

/* ===== 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: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.dynamic-text::before, .dynamic-text::after {
    content: '//';
    color: rgba(0, 255, 255, 0.5);
    margin: 0 15px;
}

.text-underline {
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
    margin: 0 auto;
    position: relative;
}

.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, 0, 0, 0.3);
    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, 10, 20, 0.8);
}

.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: #7289da;
}

.social-icon.tiktok {
    --icon-color: #ffffff;
}

.social-icon.insta {
    --icon-color: #0088cc;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== VOLUME CONTROLS ===== */
.volume-controls {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 100;
    background: rgba(0, 10, 20, 0.7);
    padding: 10px 15px;
    border-radius: 30px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    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: #00ffff;
    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;
}

.volume-btn svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

#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: #00ffff;
    box-shadow: 0 0 5px #00ffff;
    cursor: pointer;
}

/* ===== SKIP BUTTON ===== */
.skip-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    background: rgba(0, 10, 20, 0.7);
    border: 1px solid rgba(255, 102, 0, 0.5);
    color: #ff6600;
    padding: 10px 20px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    z-index: 100;
    text-shadow: 0 0 5px rgba(255, 102, 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, 102, 0, 0.2);
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
    color: #ffffff;
}

.skip-progress {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6600, #ffcc00);
    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); }
}

/* ===== CLICK EFFECTS ===== */
.click-effect {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #00ffff;
    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, 10, 20, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#00ffff, #0088cc);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(#00ffff, #00aaff);
}

/* ===== MOBILE RESPONSIVENESS ===== */
@media (max-width: 768px) {
    /* Hide custom cursor on mobile */
    #custom-cursor {
        display: none !important;
    }
    
    /* Adjust terminal size */
    .terminal-container {
        max-height: 65vh;
        width: 95%;
    }
    
    .terminal-output {
        height: 55vh;
        font-size: 0.9rem;
        padding: 15px;
    }
    
    /* Adjust main content spacing */
    .content-wrapper {
        padding: 15px;
    }
    
    .person-name {
        font-size: clamp(1.8rem, 8vw, 3rem);
    }
    
    .dynamic-text {
        font-size: clamp(1.3rem, 6vw, 2.5rem);
    }
    
    /* Adjust social icons */
    .social-links {
        gap: 15px;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
    }
    
    .social-icon .icon-label {
        font-size: 0.2rem;
    }
    
    /* Adjust volume controls */
    .volume-controls {
        bottom: 20px;
        right: 20px;
        padding: 8px 12px;
    }
    
    #volumeSlider {
        width: 80px;
    }
    
    /* Adjust skip button */
    .skip-btn {
        top: 20px;
        right: 20px;
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .skip-btn:hover .skip-progress {
        width: 40px;
    }
}

@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;
    }
    
    .social-icon .icon-label {
        font-size: 1rem;
    }
    
    .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;
    }
}