/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    overflow-x: hidden;
    background-color: #000; 
}

/* --- HACKER TERMINAL SCREEN --- */
#start-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #050505; /* Deep black terminal background */
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.5s ease;
    font-family: 'Courier New', Courier, monospace; /* Coding font */
}

.terminal-loader {
    display: flex;
    font-size: 1.5rem;
    color: #00ff88; /* Green terminal text */
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* UPDATED: Bigger and White text */
.sub-text {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: bold;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

/* Blinking Cursor Effect */
.blink {
    animation: blinker 1s step-end infinite;
    margin-left: 5px;
}

@keyframes blinker {
    50% { opacity: 0; }
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* --- FIXED VIDEO BACKGROUND --- */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -999;
    filter: brightness(0.5); 
}

/* --- CONTENT WRAPPER --- */
.content-wrapper {
    position: relative;
    z-index: 2; 
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Colors */
:root {
    --primary: #00ff88; 
    --purple: #9b59b6; 
}

/* --- VOLUME SLIDER CONTAINER --- */
.volume-container {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 50px; 
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 1000;
    transition: all 0.4s ease; 
    min-width: 40px; 
    height: 40px;
}

.volume-container:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
    padding-right: 15px; 
    gap: 10px;
}

#vol-icon {
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    width: 20px;
    text-align: center;
}

#vol-icon:hover { color: var(--primary); }

#vol-slider {
    -webkit-appearance: none;
    width: 0; 
    opacity: 0; 
    height: 6px;
    background: #444;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    transition: all 0.4s ease; 
    pointer-events: none; 
}

.volume-container:hover #vol-slider {
    width: 100px; 
    opacity: 1; 
    pointer-events: auto; 
}

#vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    transition: 0.2s;
}

#vol-slider::-webkit-slider-thumb:hover {
    background: var(--primary);
    transform: scale(1.2);
}

#vol-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.site-logo {
    width: 140px;
    margin-bottom: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
    border: 3px solid var(--purple);
    box-shadow: 0 0 30px rgba(155, 89, 182, 0.6);
}

.hero h1 {
    font-size: 5rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 300;
    color: #eee;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.tagline {
    font-style: italic;
    color: #ddd;
    margin-bottom: 40px;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.accent { color: var(--primary); margin: 0 10px; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

.btn:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 25px var(--primary);
}

/* --- TECH STACK --- */
.tech-stack {
    background: rgba(0, 0, 0, 0.8);
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}

.tech-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.tech-item { text-align: center; transition: transform 0.3s; }
.tech-item:hover { transform: translateY(-5px); }
.tech-item i { font-size: 2.5rem; color: #888; margin-bottom: 5px; transition: 0.3s; }
.tech-item:hover i { color: var(--primary); text-shadow: 0 0 15px var(--primary); }
.tech-item span { display: block; color: #ccc; font-size: 0.8rem; }

/* --- ABOUT & STATS --- */
.section { padding: 80px 0; background: rgba(0,0,0,0.6); }
.bio { max-width: 700px; margin: 0 auto 50px; font-size: 1.1rem; color: #ddd; line-height: 1.8; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.stat-card { background: rgba(255,255,255,0.05); padding: 30px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(5px); transition: 0.3s; }
.stat-card:hover { border-color: var(--primary); transform: translateY(-5px); box-shadow: 0 5px 20px rgba(0,0,0,0.5); }
.stat-card i { font-size: 2rem; color: var(--primary); margin-bottom: 10px; }
.stat-card .number { display: block; font-size: 2rem; font-weight: bold; color: #fff; }
.stat-card .label { color: #aaa; font-size: 0.8rem; text-transform: uppercase; }

/* --- FOOTER --- */
footer { background: #000; padding: 50px 0; border-top: 1px solid #333; }
.socials { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin: 20px 0; }
.social-link { color: #fff; text-decoration: none; font-size: 1rem; padding: 10px 20px; border: 1px solid #333; border-radius: 5px; transition: 0.3s; }
.social-link:hover { color: var(--primary); border-color: var(--primary); }
.copyright { font-size: 0.8rem; color: #666; margin-top: 20px; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .volume-container { top: 10px; left: 10px; }
}