@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@400;500;600&family=Playfair+Display:wght@500;600;700&display=swap");

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: 'Cormorant Garamond', serif;
    color: #fff;
    background: url("/assets/bg.png") center 22% / cover fixed no-repeat;
    padding-bottom: 140px;
}

/* ===== SECTIONS ===== */

.snap-section {
    width: 100%;
}

.full-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ===== HERO ===== */

.hero {
    align-items: center;
    text-align: center;
}

.hero-logo {
    width: 200px;
    margin-bottom: 15px;
    opacity: 0;
    animation:
        fadeIn 2s ease forwards,
        pulse 4s ease-in-out 2s infinite;
}

.hero-title {
    font-size: 52px;
    letter-spacing: 14px;
    text-transform: uppercase;
}

.hero-subtitle {
    margin-top: 10px;
    font-size: 18px;
    letter-spacing: 3px;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 2s ease forwards;
}

.fade-delay-1 { animation-delay: 0.4s; }
.fade-delay-2 { animation-delay: 0.8s; }

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.04); }
    100% { transform: scale(1); }
}

/* ===== SECTION ===== */

.section {
    max-width: 1520px;
    margin: auto;
    padding: 0 34px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 80px;
}

.section-header::before,
.section-header::after {
    content: "";
    width: 100px;
    height: 1px;
    background: rgba(255,255,255,0.25);
}

.section-header h2 {
    font-weight: 400;
    font-size: 26px;
    letter-spacing: 2px;
}

/* ============================= */
/* ALBUM GRID */
/* ============================= */

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 70px 56px;
    align-items: start;
    justify-items: center;
    max-width: 1320px;
    margin: 0 auto;
}

/* ============================= */
/* CARD */
/* ============================= */

.album-card {
    position: relative;
    width: min(100%, 500px);
    cursor: pointer;
}

.album-art-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 0.78;
    overflow: visible;
    filter: drop-shadow(0 28px 44px rgba(0,0,0,0.42));
    isolation: isolate;
}

/* ============================= */
/* VINYL */
/* ============================= */

.album-vinyl {
    --vinyl-shift: -50px;
    position: absolute;
    top: 50%;
    left: 52%;
    width: 62%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    z-index: 1;
    transform: translateY(-50%) translateX(var(--vinyl-shift));
    transition:
        transform 0.72s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.35s ease,
        box-shadow 0.35s ease;
    background:
        radial-gradient(circle at 50% 50%, rgba(205,168,86,0.82) 0 5.2%, #0d0d0d 5.8% 10.5%, transparent 10.9%),
        radial-gradient(circle at 35% 32%, rgba(255,255,255,0.06), transparent 14%),
        radial-gradient(circle at 62% 38%, rgba(255,255,255,0.028), transparent 22%),
        repeating-radial-gradient(
            circle,
            rgba(255,255,255,0.014) 0px,
            rgba(255,255,255,0.014) 1px,
            #0a0a0a 2px,
            #020202 4px
        ),
        radial-gradient(circle at 50% 50%, #141414 0%, #050505 66%, #000 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.025),
        inset 0 0 12px rgba(255,255,255,0.012),
        inset 0 0 38px rgba(0,0,0,0.96),
        0 16px 28px rgba(0,0,0,0.28);
    opacity: 0.90;
}

.album-vinyl::after {
    content: "";
    position: absolute;
    inset: 7%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.035), transparent 22%);
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.42;
}

.album-vinyl.spin {
    animation: vinylSpin 3.4s linear infinite;
    opacity: 0.96;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.03),
        inset 0 0 14px rgba(255,255,255,0.014),
        inset 0 0 40px rgba(0,0,0,0.96),
        0 18px 34px rgba(0,0,0,0.34);
}

@keyframes vinylSpin {
    from { transform: translateY(-50%) translateX(var(--vinyl-shift)) rotate(0deg); }
    to { transform: translateY(-50%) translateX(var(--vinyl-shift)) rotate(360deg); }
}

/* ============================= */
/* PLAY BUTTON */
/* ============================= */

.album-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 82px;
    height: 82px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%) scale(1);
    border: 1px solid rgba(255,255,255,0.58);
    border-radius: 50%;
    background: rgba(8,8,8,0.60);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 20px 40px rgba(0,0,0,0.40),
        0 0 0 1px rgba(255,255,255,0.08) inset,
        0 0 20px rgba(255,255,255,0.10);
    z-index: 6;
    opacity: 0.92;
    cursor: pointer;
    transition:
        opacity 0.28s ease,
        transform 0.32s ease,
        background 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.album-play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 53%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 18px solid rgba(255,255,255,0.98);
}

.track-card:hover .album-play,
.track-card.active-track .album-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

.track-card:hover .album-play {
    background: rgba(12,12,12,0.78);
    border-color: rgba(255,255,255,0.76);
    box-shadow:
        0 22px 42px rgba(0,0,0,0.46),
        0 0 24px rgba(255,255,255,0.14),
        inset 0 0 0 1px rgba(255,255,255,0.10);
}

.track-card.active-track .album-play::before {
    left: 50%;
    width: 16px;
    height: 18px;
    border: 0;
    background:
        linear-gradient(
            to right,
            rgba(255,255,255,0.96) 0 5px,
            transparent 5px 11px,
            rgba(255,255,255,0.96) 11px 16px
        );
}

/* ============================= */
/* COVER / SLEEVE */
/* ============================= */

.album-sleeve {
    position: absolute;
    top: 0;
    left: 0;
    width: 73%;
    height: 100%;
    z-index: 3;
    border-radius: 4px;
    overflow: hidden;
    background: #080808;
    box-shadow:
        0 22px 42px rgba(0,0,0,0.48),
        0 0 0 1px rgba(255,255,255,0.05);
}

.album-sleeve::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(255,255,255,0.12), transparent 18%),
        linear-gradient(to right, rgba(255,255,255,0.035), transparent 12%);
    z-index: 2;
    pointer-events: none;
    transition: background 0.35s ease;
}

.album-sleeve::after {
    content: "";
    position: absolute;
    top: 1.5%;
    right: 0;
    width: 12px;
    height: 97%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0.08),
        rgba(255,255,255,0.02) 35%,
        rgba(0,0,0,0.28) 100%
    );
    z-index: 2;
    pointer-events: none;
    opacity: 0.9;
}

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

/* ============================= */
/* OVERLAY */
/* ============================= */

.album-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.96) 0%,
            rgba(0,0,0,0.66) 28%,
            rgba(0,0,0,0.18) 62%,
            rgba(0,0,0,0.04) 100%
        );
    z-index: 1;
    pointer-events: none;
}

/* ============================= */
/* TEXT */
/* ============================= */

.cover-text {
    position: absolute;
    top: 20px;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-shadow: 0 4px 18px rgba(0,0,0,0.72);
    pointer-events: none;
}

.cover-catalog {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    max-width: calc(100% - 10px);
    padding: 6px 0;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.72);
    background: transparent;
    border: 0;
    border-radius: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-align: right;
}

.cover-artist {
    margin: 0 0 10px 0;
    max-width: 78%;
    font-family: 'Inter', sans-serif;
    font-size: clamp(11px, 0.95vw, 13px);
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.74);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition:
        color 0.28s ease,
        transform 0.28s ease,
        opacity 0.28s ease;
}

.cover-title {
    margin: 0;
    max-width: 82%;
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 2vw, 31px);
    line-height: 1.04;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: rgba(255,255,255,0.98);
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition:
        transform 0.32s ease,
        text-shadow 0.32s ease,
        color 0.32s ease;
}

/* ============================= */
/* HOVER / ACTIVE */
/* ============================= */

.track-card:not(.active-track):hover .album-vinyl {
    --vinyl-shift: -30px;
    opacity: 0.94;
}

.track-card.active-track .album-vinyl {
    --vinyl-shift: -30px;
    opacity: 0.96;
}

.track-card:hover .album-sleeve,
.track-card.active-track .album-sleeve {
    box-shadow:
        0 26px 50px rgba(0,0,0,0.54),
        0 0 0 1px rgba(255,255,255,0.07);
}

.track-card:hover .album-sleeve::before,
.track-card.active-track .album-sleeve::before {
    background:
        linear-gradient(to bottom, rgba(255,255,255,0.10), transparent 18%),
        linear-gradient(to right, rgba(255,255,255,0.03), transparent 12%),
        linear-gradient(to top, rgba(0,0,0,0.18), rgba(0,0,0,0.08));
}

.track-card:hover .cover-catalog,
.track-card.active-track .cover-catalog {
    color: rgba(255,255,255,0.88);
    transform: none;
}

.track-card:hover .cover-artist,
.track-card.active-track .cover-artist {
    color: rgba(255,255,255,0.92);
    transform: none;
}

.track-card:hover .cover-title,
.track-card.active-track .cover-title {
    transform: none;
    text-shadow: 0 8px 24px rgba(0,0,0,0.72);
}

/* ============================= */
/* DJ GRID */
/* ============================= */

.dj-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    max-width: 1000px;
    margin: 60px auto 0 auto;
}

.dj-card {
    text-align: center;
    transition: .35s ease;
}

.dj-card img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 16px;
    border: 2px solid rgba(255,255,255,0.2);
}

.dj-card:hover {
    transform: translateY(-6px);
}

/* ============================= */
/* ABOUT */
/* ============================= */

.about-text {
    max-width: 650px;
    margin: 40px auto 0 auto;
    text-align: center;
    line-height: 1.8;
}

/* ============================= */
/* FOOTER */
/* ============================= */

.site-footer {
    margin-top: 180px;
    padding: 140px 0 200px;
    text-align: center;
}

.footer-line {
    width: 140px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255,255,255,0.35),
        transparent
    );
    margin: 0 auto 40px;
}

.footer-meta {
    font-size: 11px;
    letter-spacing: 1.5px;
    opacity: 0.35;
}

/* ============================= */
/* TABLET */
/* ============================= */

@media (max-width: 1180px) {
    .album-grid {
        grid-template-columns: 1fr;
        gap: 56px;
        max-width: 760px;
    }

    .album-card {
        width: min(100%, 540px);
    }
}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 768px) {
    .section {
        padding: 0 18px;
    }

    .section-header {
        gap: 18px;
        margin-bottom: 54px;
    }

    .section-header::before,
    .section-header::after {
        width: 52px;
    }

    .section-header h2 {
        font-size: 22px;
        letter-spacing: 1.5px;
    }

    .album-grid {
        gap: 42px;
    }

    .album-card {
        width: 100%;
    }

    .album-art-wrap {
        aspect-ratio: 1 / 0.88;
    }

    .album-vinyl {
        top: 50%;
        left: 53%;
        width: 64%;
    }

    .album-sleeve {
        width: 76%;
    }

    .album-play {
        width: 72px;
        height: 72px;
    }

    .album-play::before {
        border-top-width: 10px;
        border-bottom-width: 10px;
        border-left-width: 16px;
    }

    .track-card.active-track .album-play::before {
        width: 14px;
        height: 16px;
        background:
            linear-gradient(
                to right,
                rgba(255,255,255,0.96) 0 4px,
                transparent 4px 10px,
                rgba(255,255,255,0.96) 10px 14px
            );
    }

    .cover-text {
        top: 16px;
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .cover-catalog {
        max-width: calc(100% - 12px);
        padding: 4px 0;
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .cover-artist {
        max-width: 82%;
        margin: 0 0 8px 0;
        font-size: clamp(10px, 2.8vw, 12px);
        letter-spacing: 1.8px;
    }

    .cover-title {
        max-width: 84%;
        font-size: clamp(20px, 6vw, 26px);
        line-height: 1.06;
        -webkit-line-clamp: 3;
    }

    .track-card:not(.active-track):hover .album-vinyl {
        --vinyl-shift: -34px;
    }

    .track-card.active-track .album-vinyl {
        --vinyl-shift: -34px;
    }

    .hero-title {
        font-size: 38px;
        letter-spacing: 8px;
    }

    .hero-subtitle {
        font-size: 15px;
        letter-spacing: 2px;
        padding: 0 20px;
    }

    .dj-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .album-art-wrap {
        aspect-ratio: 1 / 0.94;
    }

    .album-vinyl {
        top: 50%;
        left: 54%;
        width: 64%;
    }

    .album-sleeve {
        width: 78%;
    }

    .album-play {
        width: 64px;
        height: 64px;
    }

    .album-play::before {
        border-top-width: 9px;
        border-bottom-width: 9px;
        border-left-width: 14px;
    }

    .track-card.active-track .album-play::before {
        width: 12px;
        height: 14px;
        background:
            linear-gradient(
                to right,
                rgba(255,255,255,0.96) 0 4px,
                transparent 4px 8px,
                rgba(255,255,255,0.96) 8px 12px
            );
    }

    .cover-catalog {
        font-size: 8px;
        letter-spacing: 1.2px;
    }

    .cover-artist {
        max-width: 84%;
        font-size: clamp(10px, 3vw, 11px);
        letter-spacing: 1.5px;
    }

    .cover-title {
        max-width: 86%;
        font-size: clamp(18px, 6vw, 23px);
        line-height: 1.05;
        -webkit-line-clamp: 3;
    }

    .track-card:not(.active-track):hover .album-vinyl {
        --vinyl-shift: -36px;
    }

    .track-card.active-track .album-vinyl {
        --vinyl-shift: -36px;
    }

    .dj-grid {
        grid-template-columns: 1fr;
    }
}