/* Music Page Specific Styles */

.content-section {
    position: relative;
    min-height: 100vh;
    padding: 30vh 0 5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 1;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.9);
    padding-top: 30vh;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
    padding: 0 2rem;
    position: relative;
    z-index: 5;
}

.section-title h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.title-line {
    width: 100%;
    max-width: 800px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 auto;
}

.spotify-embed {
    padding: 0 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 5;
    overflow: hidden;
    border-radius: 8px;
}

.spotify-embed iframe {
    min-height: 480px;
    background-color: rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 10;
    border-radius: 8px;
}

/* Custom overlay to hide the "2025 HBAR" text */
.spotify-embed::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40px;
    background-color: #000;
    margin: 0 2rem;
    z-index: 11;
}

.spotify-embed::before {
    content: "© 2025 hbar";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    height: 20px;
    z-index: 12;
    text-align: center;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    opacity: 0.7;
    color: #fff;
}

.featured-tracks {
    padding: 0 2rem;
    position: relative;
    z-index: 5;
    margin-bottom: 5rem;
}

.featured-tracks h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.track-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.track-card {
    background-color: rgba(30, 30, 30, 0.5);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 5;
}

.track-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Custom overlay for track cards to hide potential overlapping text */
.track-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 48px;
    height: 10px;
    background-color: #000;
    z-index: 11;
}

.track-card iframe {
    position: relative;
    z-index: 10;
    background-color: #000;
    border-radius: 8px 8px 0 0;
}

.track-info {
    padding: 1.25rem;
    text-align: center;
    background-color: rgba(30, 30, 30, 0.8);
    position: relative;
    z-index: 12;
}

.track-info h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Media Platforms Section */
.media-platforms {
    padding: 0 2rem;
    position: relative;
    z-index: 5;
    margin-bottom: 4rem;
}

.media-platforms h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.platforms-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.platform-card {
    background-color: rgba(30, 30, 30, 0.5);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Common styles for both platform cards */
.platform-card a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    text-align: center;
    width: 100%;
    height: 100%;
}

/* Common styles for both logos */
.platform-card img,
.platform-card svg {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.platform-card.soundcloud img {
    filter: brightness(1.2) contrast(1.1) saturate(0.8);
}

.platform-card.soundcloud:hover img {
    transform: scale(1.1);
    filter: brightness(1) contrast(1) saturate(1);
}

.platform-card.youtube svg {
    fill: #ffffff;
    transition: transform 0.3s ease;
}

.platform-card.youtube:hover svg {
    transform: scale(1.1);
    fill: #ffffff;
}

.platform-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.platform-card.soundcloud:hover .platform-name {
    color: #ff5500;
}

.platform-card.youtube:hover .platform-name {
    color: #ff0000;
}

.platform-card.soundcloud {
    padding: 2rem;
    min-height: 315px;
    justify-content: center;
    display: flex;
}

.platform-card.soundcloud:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 85, 0, 0.1);
}

.platform-card.youtube {
    overflow: hidden;
    padding: 2rem;
    min-height: 315px;
}

.platform-card.youtube:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 0, 0, 0.1);
}

/* Logo link styles */
.logo a {
    display: block;
    transition: transform 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

/* Active link style */
nav ul li a.active {
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

/* Footer styles */
footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.85rem;
    opacity: 0.7;
    position: relative;
    z-index: 5;
    display: none; /* Hide the footer since we're showing the year in the spotify embed overlay */
    margin-top: 3rem;
}

/* Iframe styles with improved loading transition */
iframe {
    transition: opacity 0.8s ease;
    will-change: opacity;
    border: none;
    max-width: 100%;
}

/* Initially hide iframes with data-src (not yet loaded) */
iframe[data-src] {
    opacity: 0;
}

/* Loaded iframe state */
iframe.loaded {
    opacity: 1;
}

/* Media Queries */
@media (max-width: 992px) {
    .track-cards {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .platforms-container {
        grid-template-columns: 1fr 2fr;
    }
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .track-cards {
        grid-template-columns: 1fr;
    }
    
    .spotify-embed iframe {
        height: 380px;
    }
    
    .platforms-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .platform-card.soundcloud {
        margin-bottom: 0;
    }
    
    .youtube-embed iframe {
        height: 250px;
    }
    
    .upcoming-releases {
        padding: 0 1rem;
    }
    
    .release-card {
        padding: 1.5rem;
    }
    
    .release-image {
        width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .release-title {
        font-size: 1.6rem;
    }
    
    .stores-list {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding-top: 0;
    }
    
    .section-title {
        margin-bottom: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .track-info h4 {
        font-size: 1.2rem;
    }
    
    .featured-tracks h3,
    .upcoming-releases h3 {
        font-size: 1.3rem;
    }
    
    .youtube-embed iframe {
        height: 200px;
    }
    
    .release-card {
        padding: 1rem;
    }
    
    .release-image {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .release-title {
        font-size: 1.4rem;
    }
    
    .presave-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .stores-list {
        font-size: 0.75rem;
    }
}

/* New section subtitle styling */
.section-subtitle {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.8rem !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    position: relative;
    display: inline-block;
}

.section-subtitle::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
}

/* Center-text section - full height with centered content */
.center-text {
    height: 100vh;
    position: relative;
    z-index: 1;
    width: 100%;
    opacity: 1; /* Ensure it's visible */
}

.center-text h1 {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 2px;
    opacity: 0.9;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* Reset any additional styling */
.centered-hbar {
    /* Empty */
}

/* Main layout styling */
main {
    padding: 0 8%;
    display: block;
    height: auto;
    margin-bottom: 80px; /* Space for footer */
    position: relative;
    z-index: 2;
}

/* Ensure content section fills width */
.content-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 0;
}

/* DJ Sets & Mixes Section */
.dj-section {
    padding: 0 2rem;
    position: relative;
    z-index: 5;
    margin: 4rem 0;
}

.dj-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.dj-card {
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.4), rgba(20, 20, 20, 0.4));
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: 100%;
    min-height: 220px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.dj-card a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 2rem;
}

.dj-icon {
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.dj-icon svg {
    stroke-width: 1.5;
    transition: stroke 0.3s ease;
}

.dj-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    margin-bottom: 0.5rem;
}

.coming-soon {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    opacity: 0.7;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* DJ Sets & Mixes hover effects */
.dj-card.dj-sets:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    background: linear-gradient(145deg, rgba(30, 50, 30, 0.5), rgba(20, 40, 20, 0.5));
}

.dj-card.dj-sets:hover .dj-icon svg {
    stroke: #4CAF50;
    stroke-width: 1.5;
}

.dj-card.dj-sets:hover .dj-title {
    color: #4CAF50;
    text-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
}

.dj-card.dj-mixes:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    background: linear-gradient(145deg, rgba(50, 30, 70, 0.5), rgba(40, 20, 60, 0.5));
}

.dj-card.dj-mixes:hover .dj-icon svg {
    stroke: #9C27B0;
}

.dj-card.dj-mixes:hover .dj-title {
    color: #9C27B0;
    text-shadow: 0 0 8px rgba(156, 39, 176, 0.4);
}

/* Override the general hover effect */
.dj-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.dj-card:hover .dj-icon {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .dj-container {
        grid-template-columns: 1fr;
    }
    
    .dj-card {
        min-height: 180px;
    }
    
    .spotify-releases {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .spotify-release iframe {
        height: 300px;
    }
}

/* Latest Releases Section */
.latest-releases {
    padding: 0 2rem;
    position: relative;
    z-index: 5;
    margin-bottom: 5rem;
}

.latest-releases h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.spotify-releases {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: flex-start;
}

.spotify-release {
    background-color: rgba(30, 30, 30, 0.5);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 5;
}

.spotify-release:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.spotify-release iframe {
    width: 100%;
    height: 352px;
    border: none;
    position: relative;
    z-index: 10;
    background-color: #000;
    border-radius: 8px;
}

/* Upcoming Releases Section (legacy styles for other sections) */
.upcoming-releases {
    padding: 3rem 2rem;
    position: relative;
    z-index: 5;
    margin-bottom: 5rem;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(75, 0, 130, 0.1));
    border-radius: 20px;
    border: 2px solid rgba(138, 43, 226, 0.3);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
}

.upcoming-releases h3 {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    letter-spacing: 1px;
    text-align: center;
    background: linear-gradient(45deg, #8A2BE2, #4B0082, #9370DB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(138, 43, 226, 0.5);
}

.release-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.audio-preview {
    margin: 1.5rem 0;
    text-align: center;
}

.preview-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.custom-audio {
    width: 100%;
    max-width: 300px;
    height: 40px;
    border-radius: 20px;
    background: rgba(138, 43, 226, 0.2);
    margin-bottom: 0.5rem;
}

.custom-audio::-webkit-media-controls-panel {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(75, 0, 130, 0.3));
    border-radius: 20px;
}

.audio-help {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.release-card {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.15), rgba(75, 0, 130, 0.15));
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(138, 43, 226, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.release-card:hover::before {
    left: 100%;
}

.release-image {
    margin-bottom: 1.5rem;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.release-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.release-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.4);
    border-color: rgba(138, 43, 226, 0.6);
}

.release-card:hover .release-image {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

.release-card:hover .release-image img {
    transform: scale(1.03);
}

.release-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.release-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-align: center;
    color: #fff;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

.release-date {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 1.5rem;
}

.presave-button {
    display: inline-block;
    background: linear-gradient(45deg, #8A2BE2, #4B0082);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.presave-button:hover {
    background: linear-gradient(45deg, #9370DB, #6A0DAD);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.5);
}

.available-stores {
    margin-top: 1rem;
    max-width: 800px;
}

.available-stores p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.stores-list {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.8;
} 