:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-color: #00ffff;
    --card-bg: rgba(0, 0, 0, 0.6); /* Darker, more solid backing */
    --card-hover: rgba(20, 20, 20, 0.8);
    --border-color: rgba(255, 255, 255, 0.1);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Background Video */
.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) contrast(1.1) grayscale(0.2);
    z-index: 0; /* Changed from -1 to 0 */
}

.container {
    width: 100%;
    max-width: 420px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    position: relative; /* Added for z-index */
    z-index: 1; /* Ensure content is above video */
}

.profile-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.profile-pic {
    width: 120px; /* Slightly smaller */
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); /* Deep shadow instead of glow */
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-pic:hover {
    transform: scale(1.05);
}

.artist-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400; /* Lighter weight */
    letter-spacing: 0.3em; /* Cinematic spacing */
    text-transform: uppercase; /* Uppercase for authority */
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-left: 0.3em; /* Optical alignment for letter-spacing */
}

.status-text {
    font-size: 0.75rem;
    opacity: 0.6;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 300;
}

.links-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-card {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px; /* Sharper corners for "edgy" look */
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.link-card:hover {
    background: var(--card-hover);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Subtle shine effect */
.link-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
    pointer-events: none;
}

.link-card:hover::after {
    left: 150%;
    transition: 0.7s ease-in-out;
}

.link-text {
    font-family: var(--font-body);
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.footer {
    margin-top: 1rem;
    font-size: 0.6rem;
    opacity: 0.3;
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10000;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    mix-blend-mode: difference;
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

/* Hide default cursor */
body {
    cursor: none;
}

/* Initial state for JS animation */
.profile-section > *, 
.link-card, 
.footer {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .custom-cursor {
        display: none; /* No custom cursor on touch devices */
    }
    
    body {
        cursor: auto;
    }

    .artist-name {
        font-size: 1.5rem;
    }
    
    .profile-pic {
        width: 100px;
        height: 100px;
    }
    
    .container {
        padding: 1.5rem;
    }
}
