@font-face {
    font-family: 'Curved Square';
    src: url('Curved Square.otf') format('opentype'),
         url('Curved Square.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

#loadingVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Page */
.main-page {
    position: relative;
    min-height: 100vh;
    background: #000;
    transition: opacity 1s ease;
}

.main-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('album-art.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.main-page.hidden {
    opacity: 0;
    pointer-events: none;
}

.main-page.visible {
    opacity: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px 20px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1200px;
    width: 100%;
}

/* Logo */
.logo {
    max-width: 400px;
    width: 90%;
    height: auto;
    margin-bottom: 50px;
    animation: fadeIn 1s ease;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.4));
}

@media (max-width: 768px) {
    .logo {
        max-width: 300px;
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 250px;
        margin-bottom: 30px;
    }
}

.hero-title {
    font-family: 'Curved Square', 'Inter', sans-serif;
    font-size: clamp(64px, 12vw, 140px);
    font-weight: normal;
    letter-spacing: 8px;
    margin-bottom: 60px;
    animation: fadeIn 1s ease;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Play Button */
/* Button Container */
.button-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

/* Play Button */
.play-button {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 3px;
    padding: 15px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeIn 1s ease 0.5s backwards;
}

.play-button:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
}

.play-button.playing {
    animation: pulse 2s ease infinite;
}

/* Merch Button */
.merch-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 3px;
    padding: 15px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: fadeIn 1s ease 0.6s backwards;
}

.merch-button:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
}

.merch-icon {
    width: 20px;
    height: 20px;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.6);
    }
}

#audioPlayer {
    display: none;
}

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

/* Links Container */
.links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 60px;
    animation: fadeIn 1s ease 0.3s backwards;
}

.icon-link {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: transparent;
    transition: all 0.3s ease;
    position: relative;
}

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

.icon-link:hover {
    color: #aaa;
    transform: translateY(-5px);
}

.icon-link:hover svg {
    transform: scale(1.15);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }

    .hero-title {
        letter-spacing: 6px;
        margin-bottom: 40px;
    }

    .links-container {
        gap: 20px;
    }

    .icon-link {
        width: 55px;
        height: 55px;
    }

    .icon-link svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        letter-spacing: 4px;
    }

    .links-container {
        gap: 15px;
    }

    .icon-link {
        width: 50px;
        height: 50px;
    }

    .icon-link svg {
        width: 22px;
        height: 22px;
    }
}
