/* Latest Release Page Specific Styles */

/* Page Layout */
.release-page {
    min-height: 100vh;
    background: url('light-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    transition: background-image 0.3s ease;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .release-page {
    background-image: url('dark-hero.jpg');
}

.release-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .release-page::before {
    background: rgba(0, 0, 0, 0.4);
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    z-index: 1;
    border-radius: 16px;
    display: flex;
    align-items: center;
}

.header-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
}

[data-theme="light"] .header-overlay {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.fanlink-header {
    position: relative;
    padding: 40px 40px;
    margin-bottom: 40px;
    margin-top: 80px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 20px;
}

.header-content {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 2;
    margin-top: 60px;
    gap: 40px;
}

.artwork-thumb {
    width: 280px;
    height: 280px;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    object-fit: cover;
}

.release-info {
    text-align: left;
    flex: 1;
}

.release-info h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #ffffff;
    letter-spacing: 0.2em;
}

.artist-name {
    font-size: 1.2rem;
    color: #ffffff;
    opacity: 0.8;
    letter-spacing: 0.15em;
}

/* Release Container */
.fanlink-container {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

/* Album Art */
.album-art-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 30px;
}

.album-art-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(
        circle at center,
        var(--accent-color) 0%,
        rgba(0, 0, 0, 0) 70%
    );
    opacity: 0.3;
    filter: blur(20px);
    z-index: -1;
}

[data-theme="light"] .album-art-container::before {
    opacity: 0.4;
}

.album-art {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Release Info */
.release-info {
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
    flex: 1;
    padding-right: 20px;
}

.release-info p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Platform Links Section */
.platform-links {
    padding: 40px 20px;
}

.platform-links h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #fff;
}

.links-grid {
    display: grid;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.platform-link {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    padding: 15px 20px;
    position: relative;
    overflow: hidden;
}

.platform-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
}

.platform-link:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.25);
}

.platform-link img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.3s ease;
    object-fit: contain;
}

[data-theme="light"] .platform-link img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.platform-link.spotify img {
    width: 28px;
    height: 28px;
}

.platform-link.apple img {
    width: 26px;
    height: 26px;
}

.platform-link.youtube img {
    width: 28px;
    height: 28px;
}

.platform-link.soundcloud img {
    width: 32px;
    height: 32px;
}

.platform-link.amazon img {
    width: 30px;
    height: 30px;
}

.platform-link.website img {
    width: 26px;
    height: 26px;
}

[data-theme="light"] .platform-link {
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .platform-link::before {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0) 100%
    );
}

[data-theme="light"] .platform-link:hover {
    background: rgba(0, 0, 0, 0.25);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .platform-link img {
    filter: none;
    opacity: 0.8;
}

/* Responsive Grid */
@media screen and (min-width: 768px) {
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1024px) {
    .platform-links {
        padding: 60px 20px;
    }
    
    .links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .fanlink-header {
        padding: 0;
        margin-top: 60px;
        position: relative;
        aspect-ratio: 1;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .header-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        aspect-ratio: 1;
        border-radius: 16px;
        background: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        padding: 0;
        width: 240px;
        height: 240px;
    }

    .artwork-thumb {
        width: 100%;
        height: 100%;
        margin: 0;
        display: block;
        object-fit: cover;
    }

    .release-info {
        display: none;
    }
}

/* Footer Styles */
footer {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    text-align: center;
    margin-top: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
    gap: 30px;
    position: relative;
    z-index: 1000;
}

.social-icon {
    color: #fff;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 1000;
}

.social-icon img {
    width: 26px;
    height: 26px;
    fill: currentColor;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1000;
}

.social-icon:hover {
    opacity: 1;
    transform: translateY(-2px);
    color: var(--accent-color);
}

footer p {
    color: var(--text-color);
    opacity: 0.8;
    position: relative;
    z-index: 1000;
}
