:root {
    --bg-color: #030303;
    --text-primary: #ffffff;
    --text-secondary: #666666;
    --accent: #ffffff;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile browsers */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Custom Cursor - visible only on devices that support hover */
@media (hover: hover) and (pointer: fine) {
    * {
        cursor: none;
    }
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Noise overlay for texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    opacity: 0.04;
    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.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 20;
}

.hero-content {
    text-align: center;
    animation: revealUp 2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    opacity: 0;
    transform: translateY(50px);
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glitch-text {
    font-size: clamp(6rem, 20vw, 20rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.5s ease;
}

@media (hover: hover) and (pointer: fine) {
    .glitch-text:hover {
        color: var(--text-primary);
        -webkit-text-stroke: 0;
        text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
    }
}

.status-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

.status-bar .line {
    height: 1px;
    width: 40px;
    background-color: var(--text-secondary);
}

.status-text {
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.5em;
    color: var(--text-secondary);
    text-transform: uppercase;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.footer-element {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
}

.spotify-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    padding: 1rem;
}

.spotify-link svg {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .spotify-link:hover {
        color: var(--text-primary);
    }

    .spotify-link:hover svg {
        transform: scale(1.1);
    }
}

.link-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .spotify-link:hover .link-label {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Adjustments */
@media (hover: none) and (pointer: coarse) {
    /* Hide custom cursors entirely */
    .cursor-dot, .cursor-outline {
        display: none !important;
    }
    
    /* Solid text for the hero text on mobile */
    .glitch-text {
        color: var(--text-primary);
        -webkit-text-stroke: 0;
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    }

    /* Make Spotify logo solid and always show label */
    .spotify-link {
        color: var(--text-primary);
    }
    
    .link-label {
        opacity: 1;
        transform: translateY(0);
    }
    
    .status-text {
        font-size: 0.65rem;
        letter-spacing: 0.3em;
    }
    
    .status-bar .line {
        width: 20px;
    }
    
    .footer-element {
        bottom: 12%; /* Lift the logo significantly higher to ensure it clears safe areas/address bars */
    }
}
