/* ==========================================================================
   TriSHP Track Release Page Stylesheet - john$low
   Neon Noir / Crimson Rain / Glassmorphism 2.0
   ========================================================================== */

:root {
    --bg-main: #06080e;
    --bg-alt: #0a0c16;
    --card-glass-bg: rgba(13, 16, 26, 0.88);
    --card-border: rgba(255, 255, 255, 0.08);
    --color-red: #ff334b;
    --color-crimson: #e11d48;
    --color-cyan: #00f3ff;
    --color-purple: #8b5cf6;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --radius-md: 16px;
    --radius-lg: 24px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.35;
}

.orb-1 { width: 550px; height: 550px; background: var(--color-crimson); top: -120px; left: -100px; opacity: 0.28; }
.orb-2 { width: 550px; height: 550px; background: #00f3ff; bottom: -120px; right: -100px; opacity: 0.22; }

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.navbar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(6, 8, 14, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.back-link:hover { color: var(--color-red); }

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(255, 51, 75, 0.4);
}

.brand-name {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
}

/* Track Hero Card */
.track-main {
    padding-top: 130px;
    padding-bottom: 80px;
}

.glass-card {
    background: var(--card-glass-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.track-hero-card {
    padding: 40px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 51, 75, 0.3);
}

.track-cover-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 51, 75, 0.4);
    box-shadow: 0 0 35px rgba(255, 51, 75, 0.25);
    transition: transform 0.4s ease;
}

.track-hero-card:hover .track-cover-img {
    transform: scale(1.02);
}

.track-info-box {
    min-width: 0;
    max-width: 100%;
}

.track-artist-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
    display: block;
}

.track-title {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 8px;
    word-break: break-word;
    background: linear-gradient(135deg, #ffffff 40%, #ff4d64 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.track-genre {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.streaming-buttons-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.platform-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.platform-btn:hover {
    transform: translateX(4px);
}

.platform-btn span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.platform-btn i { font-size: 1.2rem; }

/* Custom Presave Buttons */
.btn-spotify-presave {
    background: linear-gradient(135deg, rgba(30, 215, 96, 0.15), rgba(30, 215, 96, 0.04));
    border-color: rgba(30, 215, 96, 0.35);
}
.btn-spotify-presave:hover {
    background: rgba(30, 215, 96, 0.22);
    border-color: #1ed760;
    box-shadow: 0 0 20px rgba(30, 215, 96, 0.3);
}

.btn-yandex-presave {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.15), rgba(255, 51, 51, 0.04));
    border-color: rgba(255, 204, 0, 0.35);
}
.btn-yandex-presave:hover {
    background: rgba(255, 204, 0, 0.22);
    border-color: #ffcc00;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.3);
}

.btn-vk-presave {
    background: linear-gradient(135deg, rgba(0, 119, 255, 0.15), rgba(0, 119, 255, 0.04));
    border-color: rgba(0, 119, 255, 0.35);
}
.btn-vk-presave:hover {
    background: rgba(0, 119, 255, 0.22);
    border-color: #0077ff;
    box-shadow: 0 0 20px rgba(0, 119, 255, 0.3);
}

.btn-apple-presave {
    background: linear-gradient(135deg, rgba(250, 36, 60, 0.15), rgba(250, 36, 60, 0.04));
    border-color: rgba(250, 36, 60, 0.35);
}
.btn-apple-presave:hover {
    background: rgba(250, 36, 60, 0.22);
    border-color: #fa243c;
    box-shadow: 0 0 20px rgba(250, 36, 60, 0.3);
}

/* Artist links block on release pages */
.artist-links-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.platform-btn-secondary {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    flex: 1;
    min-width: 170px;
}

.platform-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 51, 75, 0.4) !important;
    transform: translateX(4px);
}

/* Upcoming badge pill */
.upcoming-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 51, 75, 0.14);
    border: 1px solid rgba(255, 51, 75, 0.5);
    color: #ff5b73;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 0 16px rgba(255, 51, 75, 0.3);
    margin-bottom: 12px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff334b;
    box-shadow: 0 0 10px #ff334b;
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 4px #ff334b; }
    50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 14px #ff334b; }
    100% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 4px #ff334b; }
}

.presave-highlight-box {
    background: rgba(255, 51, 75, 0.08);
    border: 1px solid rgba(255, 51, 75, 0.25);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.presave-highlight-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 51, 75, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff5b73;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.presave-highlight-text {
    font-size: 0.88rem;
    color: #e2e8f0;
    line-height: 1.4;
}

.presave-highlight-text strong {
    color: #ff5b73;
}

/* Countdown in track card */
.countdown-container {
    display: flex;
    gap: 10px;
    margin: 14px 0 20px;
}

.countdown-box {
    background: rgba(10, 12, 22, 0.7);
    border: 1px solid rgba(255, 51, 75, 0.3);
    border-radius: 10px;
    padding: 8px 12px;
    text-align: center;
    min-width: 60px;
}

.countdown-num {
    font-family: 'Space Grotesk', monospace;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    display: block;
    margin-bottom: 2px;
}

.countdown-label {
    font-size: 0.65rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Toast */
.copy-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(13, 16, 26, 0.95);
    border: 1px solid var(--color-red);
    color: #fff;
    padding: 14px 24px;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(255, 51, 75, 0.35);
    transform: translateY(120px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9999;
    pointer-events: none;
}

.copy-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: var(--color-red);
}

@media (max-width: 768px) {
    .track-hero-card {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    .track-cover-img {
        height: 240px;
    }
    .track-title {
        font-size: 1.9rem;
    }
    .artist-links-row {
        flex-direction: column;
    }
    .countdown-container {
        justify-content: center;
    }
}
