:root {
    --bg-color: #000000;
    --card-bg: rgba(10, 10, 10, 0.6);
    --card-border: rgba(255, 255, 255, 0.15);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #ffffff; /* White accent */
    --accent-glow: rgba(255, 255, 255, 0.3);
    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important; /* Hide default cursor */
}

body, html {
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow: hidden;
}

/* Custom Cursor */
.cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 10px var(--accent-glow);
    transition: transform 0.1s;
}

.cursor-trail-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9998;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.6;
    animation: fade-out 0.6s forwards ease-out;
}

@keyframes fade-out {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(0); opacity: 0; }
}

/* Background Effects */
.bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    opacity: 0.35;
    object-fit: cover;
    filter: grayscale(100%); /* Force black & white */
}

.bg-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 2;
    opacity: 0.05;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 3;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.02));
    background-size: 100% 4px, 3px 100%;
    opacity: 0.3;
}

/* Sleek Enter Overlay */
#enter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1.2s ease, backdrop-filter 1.2s ease;
}

.enter-content {
    text-align: center;
    position: relative;
    padding: 20px;
    transition: transform 0.3s ease;
}

.enter-content:hover {
    transform: scale(1.05);
}

.minimal-text {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 10px;
    color: var(--text-primary);
    text-transform: uppercase;
    animation: fadeInOut 3s infinite;
}

.minimal-line {
    width: 0;
    height: 1px;
    background: var(--text-primary);
    margin: 15px auto 0;
    animation: expandLine 2s forwards;
    animation-delay: 0.5s;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; text-shadow: 0 0 10px rgba(255,255,255,0.5); }
}

@keyframes expandLine {
    to { width: 100%; }
}

/* Card Styling - Horizontal, B&W, Minimal */
.profile-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(20px);
    width: 90%;
    max-width: 900px; 
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-card.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) translateY(0);
}

.card-content {
    background: var(--card-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--card-border);
    border-radius: 12px; /* Less rounded for sleek look */
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.card-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .card-horizontal {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    .card-left {
        align-items: center;
    }
    .card-content {
        padding: 1.5rem;
    }
    .username {
        font-size: 1.8rem;
    }
    .audio-player {
        width: 90%;
        max-width: 350px;
        padding: 0.6rem 1rem;
        gap: 10px;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .username {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    .avatar-container {
        width: 100px;
        height: 100px;
    }
    .stat-box {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    .audio-player {
        bottom: 15px;
    }
}

.card-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-right {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.avatar-container {
    position: relative;
    width: 130px;
    height: 130px;
    margin-bottom: 1.5rem;
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--card-border);
    filter: grayscale(80%) contrast(1.1); /* Mostly B&W but sharp */
    transition: all 0.5s ease;
}

.card-left:hover .avatar {
    filter: grayscale(0%) contrast(1.1);
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 0 30px rgba(255,255,255,0.1);
}

.status-indicator {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    background-color: #ffffff;
    border: 3px solid #000;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255,255,255,0.5);
}

.username {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.badge {
    font-size: 1rem;
    color: var(--accent);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.badge:hover {
    opacity: 1;
}

.typewriter-container {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    min-height: 1.2rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.cursor-blink {
    animation: blink 1s step-end infinite;
    color: var(--text-primary);
}

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

/* Right Side Stats & Bio */
.stats-row {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .stats-row {
        justify-content: center;
    }
}

.stat-box {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 4px; /* Sleek edges */
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: rgba(255,255,255,0.4);
    color: var(--text-primary);
}

.bio {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: left;
    margin-bottom: 2rem;
    font-weight: 300;
}

@media (max-width: 768px) {
    .bio {
        text-align: center;
    }
}

.bio strong {
    color: var(--text-primary);
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: flex-start;
    gap: 1.2rem;
}

@media (max-width: 768px) {
    .social-links {
        justify-content: center;
    }
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-btn:hover {
    color: var(--bg-color);
    background: var(--text-primary);
    border-color: var(--text-primary);
    transform: scale(1.1);
}

/* Audio Player UI */
.audio-player {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 20;
    opacity: 0;
    transition: all 1s ease 0.8s;
}

.audio-player.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.now-playing {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.now-playing span i {
    color: var(--text-primary);
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.2); }
    30% { transform: scale(1); }
    45% { transform: scale(1.2); }
    60% { transform: scale(1); }
}

.controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

#play-pause-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    transition: opacity 0.2s;
}

#play-pause-btn:hover {
    opacity: 0.7;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

#volume-icon {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

#volume-slider {
    -webkit-appearance: none;
    width: 50px;
    height: 2px;
    background: rgba(255,255,255,0.2);
    border-radius: 1px;
    outline: none;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-primary);
}
