/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Universal Box Sizing */
* {
    box-sizing: border-box;
}

/* General Styles */
html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Bebas Neue', cursive;
    background: radial-gradient(circle at center, rgba(5,5,5,0.95) 0%, rgba(0,0,0,1) 100%);
    background-attachment: fixed;
    color: #fff;
    line-height: 1.2;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-weight: 400;
    letter-spacing: 2px;
    cursor: default;
    margin: 0;
    padding: 0;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 20px 30px;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.85);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-family: 'Bebas Neue', cursive;
    font-weight: 400;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    transform: scale(1.05);
}

.nav-links a:hover {
    color: #ccc;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active .hamburger-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.hamburger.active .hamburger-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Navigation Menu */
#mobile-nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85); /* Reduced opacity from 0.95 */
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease;
    z-index: 1000;
}

#mobile-nav-menu.active {
    left: 0;
}

#mobile-nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

#mobile-nav-menu li {
    margin: 2rem 0;
}

#mobile-nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

#mobile-nav-menu a:hover {
    color: #ccc;
}

.mobile-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-top: 3rem;
    padding: 2rem 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.mobile-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.mobile-social a svg,
.mobile-social a img {
    width: 18px;
    height: 18px;
    color: #fff;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: transparent;
    padding-top: 60px;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    position: relative;
    opacity: 0;
    animation: heroSlideUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
    background: transparent;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    width: 100%;
    height: 100%;
    flex-direction: row;
    padding: 0 40px;
}

.hero-container > * {
    opacity: 0;
    transform: translateY(40px);
}

/* Left Column - Title */
.hero-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInLeft 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

/* Center Column - EP Cover */
.hero-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: heroSlideUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
}

.ep-cover-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.ep-cover {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 0;
    filter: brightness(1.1) contrast(1.05);
    transition: all 0.3s ease;
    display: block;
    position: relative;
    z-index: 1;
}

.ep-cover-container:hover .ep-cover {
    filter: brightness(0.8) contrast(1.1);
    transform: scale(1.02);
}

/* Right Column - Text and Button */
.hero-right {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    z-index: 2;
    animation: slideInRight 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}

.title-image-container {
    width: 100%;
    max-width: 350px;
}

.title-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.album-status {
    font-family: 'Bebas Neue', cursive;
    font-size: 4rem;
    font-weight: 400;
    margin: 20px 0;
    letter-spacing: 4px;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
    line-height: 0.9;
    text-shadow: 0 0 30px rgba(255,255,255,0.3);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Button container and base styles */
.hero-buttons .pre-save-btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 15px 30px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    border: 2px solid #fff;
    border-radius: 0;
    font-family: 'Bebas Neue', cursive;
    font-weight: 400;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    margin: 2px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* WATCH button specific styles */
.hero-buttons .watch-btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 15px 30px;
    background: #ffffff; /* White background */
    color: #000000; /* Black text */
    text-decoration: none;
    border: 2px solid #ffffff; /* White border */
    border-radius: 0;
    font-family: 'Bebas Neue', cursive;
    font-weight: 400;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    margin: 2px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Hover effect for buttons */
.hero-buttons .pre-save-btn:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-buttons .watch-btn:hover {
    background: #8d1d1d; /* Red background on hover */
    color: #ffffff; /* White text on hover */
    border-color: #8d1d1d; /* Red border on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Active/pressed effect */
.hero-buttons .pre-save-btn:active,
.hero-buttons .watch-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.2);
}

.pre-save-btn {
    display: inline-block;
    padding: 20px 60px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    border: 2px solid #fff;
    border-radius: 0;
    font-family: 'Bebas Neue', cursive;
    font-weight: 400;
    font-size: 1.5rem;
    letter-spacing: 3px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    opacity: 1;
    animation: pulseGlow 2s infinite alternate;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.pre-save-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        rgba(255, 255, 255, 0.4), 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.6s ease;
    animation: lightSweep 3s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    }
    100% {
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
    }
}

@keyframes lightSweep {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.pre-save-btn:hover {
    background: #fff;
    color: #000;
    opacity: 1;
    transform: scale(1.02);
    animation: none;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.pre-save-btn:hover::before {
    left: 100%;
    animation: none;
}

.pre-save-btn:active {
    transform: translateY(1px) scale(0.99);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Stop animation after button is clicked */
.pre-save-btn.clicked {
    animation: none;
}

.pre-save-btn.clicked::before {
    width: 0;
    opacity: 0;
}

/* Watch button specific styles (now matching pre-save button) */
.watch-btn {
    /* Inherits all styles from the base button class */
    margin-top: 0; /* Remove top margin to make buttons touch */
}

.hero-button {
    display: inline-block;
    padding: 12px 40px;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1));
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: buttonGlow 2s ease-in-out infinite alternate;
}

.hero-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.hero-button:hover {
    background-color: #fff;
    color: #000;
}

.hero-button:hover::before {
    left: 100%;
}

/* Enhanced styling when EP release is active */
.ep-release-active .hero-section::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 10px;
    z-index: -1;
    opacity: 0;
    animation: glowPulse 3s ease-in-out infinite;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.8);
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #fff !important;
    opacity: 0.7;
}

.footer-social {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer-social a {
    color: #fff;
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.footer-social a:hover {
    opacity: 1;
    transform: translateY(-2px) scale(1.1);
    background: rgba(255, 255, 255, 0.1);
}

.footer-social a svg {
    width: 16px;
    height: 16px;
    transition: all 0.3s ease;
}

.footer-social a img {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

/* Image Section */
.image-section {
    flex: 1;
    width: 100%;
    position: relative;
    z-index: 1;
    background: transparent;
}


/* Keyframe Animations */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes coverFloat {
    0%, 100% {
        transform: scale(1.02) translateY(0px);
    }
    50% {
        transform: scale(1.02) translateY(-5px);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px) translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px) translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}



@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(255,255,255,0.2);
    }
    50% {
        box-shadow: 0 8px 25px rgba(255,255,255,0.3), 0 0 15px rgba(255,255,255,0.1);
    }
}

@keyframes buttonGlow {
    from {
        box-shadow: 0 0 5px rgba(255,255,255,0.3);
    }
    to {
        box-shadow: 0 0 20px rgba(255,255,255,0.6), 0 0 30px rgba(255,255,255,0.4);
    }
}

/* Mobile Responsive */
/* Desktop-specific adjustments */
@media (min-width: 1025px) {
    .tracklist-container {
        margin-top: -100px;
        padding-top: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .tracklist-container {
        max-width: 800px;
        padding: 20px 20px 60px;
    }
    
    .tracklist-title {
        font-size: 3.5rem;
        margin-bottom: 40px;
    }
    
    .track {
        font-size: 1.6rem;
        padding: 10px 0;
    }
    
    .tracklist {
        max-width: 800px;
        margin: 0 auto;
    }
}

/* Mobile styles for play button overlay */
/* Desktop hover effect */
@media (min-width: 769px) {
    /* Initial state - only show text on hover */
    .play-button:not(.has-played):hover {
        width: 200px;
        border-radius: 30px;
        background: rgba(0, 0, 0, 0.85);
        padding-right: 22px;
    }
    
    .play-button:not(.has-played):hover .play-icon {
        left: 10px;
        width: 40px;
        justify-content: flex-start;
    }
    
    .play-button:not(.has-played):hover .play-text {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* After first play - always show text when not playing */
    .play-button.has-played:not(.show-preview-text) {
        width: 200px;
        padding-right: 22px;
    }
    
    .play-button.has-played:not(.show-preview-text) .play-text {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .play-button {
        width: 50px;
        height: 50px;
        transition-duration: 0.3s;
        padding: 0 12px;
    }
    
    .play-button.show-preview-text {
        width: 160px;
        padding-right: 15px;
    }
    
    .play-button.show-preview-text .play-text {
        opacity: 1;
        transform: translateX(0);
    }
    
    .play-button.show-preview-text .play-icon {
        left: 8px;
        width: 30px;
        transform: scale(0.85);
    }
    
    .play-text {
        font-size: 0.7rem;
        left: 40px;
        padding-right: 10px;
        white-space: nowrap;
        transform: translateX(-5px);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .tracklist {
        gap: 10px;  /* Reduced from 25px */
    }
    
    .track {
        padding: 1px 0;  /* Reduced from 2px */
    }
    
    .track-number {
        margin-right: 15px;  /* Reduced from 25px */
        font-size: 1.8rem;  /* Slightly smaller */
    }
    
    header {
        padding: 1rem 1.5rem;
    }
    
    .main-nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .desktop-nav {
        display: none;
    }
    
    main {
        padding: 0.5rem;
        padding-top: 100px;
        background: transparent;
    }
    
    .hero-section {
        min-height: 80vh; /* Make hero section 80% of viewport height */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    footer {
        margin-top: 50px; /* Add space above footer */
    }
    
    .tracklist-container {
        margin-top: 40px; /* Added margin to push tracklist down */
    }
    
    .hero-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 0 15px;
        min-height: calc(100vh - 100px); /* Significantly increased minimum height to push footer down further */
        justify-content: center; /* Center content vertically */
        display: flex;
        flex-direction: column;
    }
    
    .hero-center {
        order: 1;
    }
    
    .hero-left {
        order: 2;
    }
    
    .hero-right {
        order: 3;
        gap: 10px;
    }
    
    .album-status {
        font-size: 15vw !important;
        margin: 5px 0 !important;
        letter-spacing: 2px !important;
    }
    
    .ep-cover {
        width: 95vw !important;
        max-width: 450px !important;
    }
    
    .title-image {
        width: 80% !important;
        max-width: 300px !important;
    }
    
    .pre-save-btn {
        padding: 18px 50px !important;
        font-size: 1.5rem !important;
        letter-spacing: 2px !important;
    }
    
    .hero-button {
        padding: 10px 30px;
        font-size: 1rem;
    }
    
    footer {
        padding: 1.5rem;
    }
    
    .footer-social {
        gap: 1rem !important;
    }
    
    .footer-social a {
        padding: 6px !important;
    }
    
    .footer-social a svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    .footer-social a img {
        width: 22px !important;
        height: 22px !important;
    }
}

@media (max-width: 480px) {
    .ep-cover {
        max-width: 250px;
    }
    
    .album-status {
        font-size: 1.3rem;
    }
    
    .hero-button {
        padding: 8px 25px;
        font-size: 0.9rem;
    }
}
