/* ===========================
   RESET & BASE STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background-image: url('../assets/cool page/djp strip gori.png');
    background-size: cover;
    background-position: top center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: black;
    min-height: 100vh;
    overflow-x: hidden;
}

main {
    position: relative;
    min-height: 100vh;
}

/* ===========================
   HEADER - LOGO & NAVIGATION
   =========================== */
.logo {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    margin: 0;
}

.logo a {
    display: block;
}

.logo-link {
    filter: invert(1);
}

.logo img {
    height: 60px;
    width: auto;
    transition: filter 0.3s;
}

.logo img:hover {
    filter: drop-shadow(0 0 15px #ea00ff);
}

.main-nav {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.nav-item a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    transition: text-shadow 0.3s;
}

.nav-item a:hover {
    text-shadow: 0 0 8px #ea00ff;
}

/* ===========================
   FLOATING RELEASE ICONS
   =========================== */
.floating-icons {
    position: relative;
    width: 100%;
    height: 100vh;
    pointer-events: none;
}

.release-icon {
    position: absolute;
    cursor: pointer;
    transition: transform 0.3s ease;
    pointer-events: auto;
    z-index: 10;
}

.release-icon img,
.icon-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: filter 0.3s ease;
}

.release-icon:hover {
    transform: scale(1.1) !important;
}

.release-icon:hover img {
    filter: drop-shadow(0 0 20px #ea00ff) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* ===========================
   BOUNCING BALL
   =========================== */
#bouncing-ball {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    filter: drop-shadow(0 0 50px #ffffff);
}

/* ===========================
   LETTER OVERLAY
   =========================== */
.letter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.letter-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.letter-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.letter-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

.letter-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.letter-close:hover {
    background-color: #fff;
}

.letter-content {
    position: relative;
    z-index: 2;
    width: 70%;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* ===========================
    RELEASE DISPLAY
   =========================== */
.release-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    max-width: 600px;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    justify-items: center;
    width: 100%;
    margin: 0 auto;
}

.release-cover {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.release-cover:hover {
    transform: scale(1.05);
}

/* ===========================
   UTILITY CLASSES
   =========================== */
.inter-gore {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.prevent-select {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* Large screens */
@media (min-width: 1400px) {
    .release-icon img,
    .icon-img {
        width: 200px;
        height: 200px;
    }
}

/* Tablets and small laptops */
@media (max-width: 1200px) {
    .release-icon img,
    .icon-img {
        width: 150px;
        height: 150px;
    }

    .letter-container {
        width: 95%;
        height: 85vh;
    }

    .release-cover {
        max-width: 180px;
    }
}

@media (max-width: 900px) {
    .icon-img {
        width: 90px !important;
        height: 90px !important;
    }

    #bouncing-ball {
        width: 50px !important;
        height: 50px !important;
    }

    .release-icon img {
        width: 60px;
        height: 60px;
    }

    .nav-item a {
        font-size: 14px;
    }

    .logo img {
        height: 50px;
    }

    .release-cover {
        max-width: 160px;
    }
}

/* Mobile devices */
@media (max-width: 600px) {
    body {
        background-attachment: scroll;
    }

    .icon-img {
        width: 50px !important;
        height: 50px !important;
    }

    #bouncing-ball {
        width: 40px !important;
        height: 40px !important;
    }

    .nav-item a {
        font-size: 12px;
    }

    .logo img {
        height: 40px;
    }

    .logo {
        top: 15px;
        left: 15px;
    }

    .main-nav {
        top: 15px;
        right: 15px;
    }

    .main-nav ul {
        gap: 8px;
    }

    .release-icon img {
        width: 50px;
        height: 50px;
    }

    .letter-container {
        width: 98%;
        height: 90vh;
    }

    .letter-content {
        width: 85%;
        height: 70%;
        padding: 10px;
    }

    .release-display {
        gap: 15px;
    }

    .release-cover {
        max-width: 200px;
    }

    .letter-close {
        width: 35px;
        height: 35px;
        font-size: 20px;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 400px) {
    .release-icon img,
    .icon-img {
        width: 40px !important;
        height: 40px !important;
    }

    #bouncing-ball {
        width: 30px !important;
        height: 30px !important;
    }

    .release-cover {
        max-width: 180px;
    }
}

/* Touch device optimizations */
@media (pointer: coarse) {
    .release-icon {
        padding: 10px;
    }

    .release-icon img {
        width: 60px;
        height: 60px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .release-icon img,
    .logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}
