/**
 * Simulacra Holding Page - Main Stylesheet
 */

/* ========================================
   Design Tokens
   ======================================== */

:root {
    --color-bg-dark: #101323;
    --color-text-primary: #FFFFFF;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ========================================
   Reset & Base Styles
   ======================================== */

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

body {
    font-family: var(--font-primary);
    background: var(--color-bg-dark);
    color: var(--color-text-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

/* ========================================
   Page Container
   ======================================== */

.page-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

/* ========================================
   Background Layer
   ======================================== */

.background-layer {
    position: absolute;
    inset: 0;
    background-image: url('../images/backgrounds/desktop-background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* ========================================
   Animated Color Blurs
   ======================================== */

.blur-container {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.color-blur {
    position: absolute;
    width: 1022px;
    height: 89px;
    border-radius: 50%;
    filter: blur(50px);
    animation: float 40s linear infinite;
    will-change: transform;
}

.blur-1 {
    background: rgba(115, 143, 255, 0.6);
    top: -200px;
    left: 189px;
    animation-delay: 0s;
}

.blur-2 {
    background: rgba(255, 241, 115, 0.6);
    top: -100px;
    left: -300px;
    animation-delay: 10s;
}

.blur-3 {
    background: rgba(115, 222, 255, 0.52);
    top: -150px;
    right: 300px;
    animation-delay: 20s;
}

.blur-4 {
    background: rgba(255, 176, 115, 0.6);
    top: -50px;
    left: -98px;
    animation-delay: 30s;
}

@keyframes float {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* ========================================
   Play Controls
   ======================================== */

.play-controls {
    position: absolute;
    top: 6.0625rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 2rem;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

.control-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.control-btn:hover {
    transform: scale(1.1);
}

.control-btn:focus {
    outline: 0.125rem solid #FFFFFF;
    outline-offset: 0.25rem;
    border-radius: 0.25rem;
}

.control-btn svg {
    display: block;
    width: 100%;
    height: 100%;
}

.hidden {
    display: none !important;
}

/* ========================================
   Hit Play Message
   ======================================== */

.hit-play {
    position: absolute;
    top: 22rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.875rem;
    line-height: 2.375rem;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
    animation-delay: 0.3s;
    transition: opacity 0.5s ease-out;
    cursor: pointer;
    pointer-events: auto;
}

.hit-play.fade-out {
    opacity: 0 !important;
    animation: none;
}

/* ========================================
   Album Cover
   ======================================== */

.album-cover {
    position: absolute;
    top: 10.125rem;
    left: 50%;
    transform: translateX(-50%);
    width: 28rem;
    height: 28rem;
    z-index: 5;
    opacity: 0;
    box-shadow: 0 0.25rem 1.1875rem 0.4375rem rgba(0, 0, 0, 0.25);
    border-radius: 0.25rem;
    overflow: hidden;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.album-cover.fade-in {
    animation: fadeIn 8s ease-in forwards;
}

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

/* ========================================
   Social Section
   ======================================== */

.social-section {
    position: absolute;
    top: 40.625rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.375rem;
    animation: fadeIn 2s ease-in forwards;
    animation-delay: 0.5s;
}

.coming-soon {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.875rem;
    line-height: 2.375rem;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
}

.social-icons {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.social-icon {
    display: block;
    width: 2.8125rem;
    height: 2.8125rem;
    transition: transform 0.2s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: scale(1.05);
}

.social-icon:focus {
    outline: 0.125rem solid #6CE9A6;
    outline-offset: 0.25rem;
    border-radius: 50%;
}

.social-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* ========================================
   Accessibility
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .color-blur {
        animation: none !important;
    }
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 64rem) {
    .play-controls {
        top: 5rem;
        gap: 2.5rem;
    }

    .control-btn {
        width: 2.75rem;
        height: 2.75rem;
    }

    .hit-play {
        top: calc(8rem + 27.5vw - 1rem);
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .album-cover {
        width: 55vw;
        max-width: 22rem;
        height: 55vw;
        max-height: 22rem;
        top: 8rem;
    }

    .social-section {
        top: calc(8rem + 55vw + 1rem);
    }

    .coming-soon {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .social-icons {
        gap: 2rem;
    }

    .social-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .blur-1, .blur-2, .blur-3, .blur-4 {
        width: 600px;
    }
}

@media (max-width: 48rem) {
    .play-controls {
        top: 4rem;
        gap: 2.5rem;
    }

    .control-btn {
        width: 2.75rem;
        height: 2.75rem;
    }

    .hit-play {
        top: calc(8.5rem + 30vw - 1rem);
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .album-cover {
        width: 60vw;
        max-width: 20rem;
        height: 60vw;
        max-height: 20rem;
        top: 8.5rem;
    }

    .social-section {
        top: calc(8.5rem + 60vw + 1.75rem);
        gap: 1rem;
    }

    .coming-soon {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .social-icons {
        gap: 1.25rem;
    }

    .social-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}

@media (max-width: 30rem) {
    .play-controls {
        top: 3rem;
        gap: 2rem;
    }

    .control-btn {
        width: 2.75rem;
        height: 2.75rem;
    }

    .hit-play {
        top: calc(7.5rem + 35vw - 1rem);
        font-size: 1.125rem;
        line-height: 1.5rem;
    }

    .album-cover {
        width: 70vw;
        max-width: 17.5rem;
        height: 70vw;
        max-height: 17.5rem;
        top: 7.5rem;
    }

    .social-section {
        top: calc(7.5rem + 70vw + 1.5rem);
        gap: 0.5rem;
    }

    .coming-soon {
        font-size: 1.125rem;
        line-height: 1.5rem;
    }

    .social-icons {
        gap: 0.75rem;
    }

    .social-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}
