@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&display=swap'); /* Montserrat as a fallback for Proxima Nova */
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue&display=swap'); /* Comic Neue as a web-safe alternative to Comic Sans */
@import url("fontawesome-all.min.css");

body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    background-color: #0b1833; /* Updated background color as requested */
}

.cinzel-decorative-regular {
  font-family: "Cinzel Decorative", serif;
  font-weight: 400;
  font-style: normal;
}

.cinzel-decorative-bold {
  font-family: "Cinzel Decorative", serif;
  font-weight: 700;
  font-style: normal;
}

.cinzel-decorative-black {
  font-family: "Cinzel Decorative", serif;
  font-weight: 900;
  font-style: normal;
}


.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(125deg, #0b1833 0%, #0e2547 100%); /* Updated gradient with new color */
    overflow: hidden;

}

/* Stars animation */
.background::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(white, rgba(255, 255, 255, 0.2) 2px, transparent 2px),
        radial-gradient(white, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(white, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    animation: twinkle 10s linear infinite;
}

@keyframes twinkle {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

/* Shooting stars animation */
.background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 3px 2px rgba(255, 255, 255, 0.4);
    animation: shootingStar 8s linear infinite;
}

@keyframes shootingStar {
    0% {
        transform: translateX(0) translateY(0);
        opacity: 0;
    }
    1% {
        opacity: 1;
    }
    5% {
        transform: translateX(80px) translateY(80px);
        opacity: 0;
    }
    100% {
        transform: translateX(80px) translateY(80px);
        opacity: 0;
    }
}

.container {
    position: relative;
    perspective: 1000px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.album {
    width: 400px;
    height: 400px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.album:hover {
    transform: scale(1.05);
}

.album-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s ease-in-out;
}

.album.flipped .album-inner {
    transform: rotateY(180deg);
}

.album-front, .album-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

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

.album-back {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.album-back ul {
    list-style: none;
    padding: 0;
    width: 80%;
}

.album-back li {
    font-family: 'Cinzel Decorative', 'Montserrat', sans-serif;
    cursor: pointer;
    padding: 15px;
    margin: 10px 0;
    transition: 0.3s;
    font-size: 18px;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.album-back li:hover {
    color: #66fcf1; /* Cyan with slightly more green */
    transform: translateX(5px);
}

/* Pre-save button styles */
.pre-save-button {
    margin-top: 50px;
    padding: 12px 30px;
    background-color: #66fcf1;
    color: #153566;
    font-family: 'Proxima Nova', 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
  border: 2px solid white; /* Initial white outline */
  color: white; /* Initial text color */
  background-color: transparent; /* Transparent background initially */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
  cursor: pointer;
  border-radius: 10px; /* Rounded corners */
}

.pre-save-button:hover {
    background-color: rgba(255, 255, 255, 0.8); /* White background on hover */
    color: black; /* Black text on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.pre-save-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    justify-content: center;
    align-items: center;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.modal.active {
    opacity: 1;
}

.modal-content {
    background: rgba(255, 255, 255, 0.85); /* 80% opacity white */
    width: 500px; /* Same width as album image */
    height: 500px; /* Same height as album image */
    position: relative;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0;
    overflow: auto;
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.modal.active .modal-content {
    transform: scale(1);
    opacity: 1;

}

.modal-content h2 {

    font-family: "Cinzel Decorative", serif;
  font-weight: 700;
    margin-top: 0;
    color: #171738;
    padding: 0 30px;
}

.modal-content p {
    font-family: 'Space Grotesk', sans-serif; /* Comic Sans for track descriptions */
    color: #333;
    line-height: 1.6;
    padding: 0 30px;
    max-width: 80%;
    font-size: 18px;
}

.close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
    z-index: 10;
}

.close:hover {
    color: #000;
}
/* Presave Button */
.pre-save-button {
    margin-top: 24px;
    transition: 0.3s;
}


/* Social Media Buttons */
/* Social Media Buttons */
/* Social Media Buttons */
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 24px; 
}

.social-btn {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 2px solid white; /* White outline */
    color: white; /* White icons */
    font-size: 20px;
    transition: 0.3s;
    text-decoration: none; /* Removes underline */
    background: transparent; /* Makes button transparent */
}

/* Hover Effect: White Background, Black Icon */
.social-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    color: black;
}

