/*
 Theme Name:   TenshoMusic Child
 Theme URI:    http://tenshomusic.com
 Description:  TenshoMusic Child Theme for Astra. Estilo Dark/BeatStars.
 Author:       Antigravity
 Template:     astra
 Version:      1.0.0
 Text Domain:  tenshomusic-child
*/

/* Variables CSS Globales para el estilo Dark */
:root {
    --primary-color: #000000;
    --secondary-color: #1a1a1a;
    --accent-color: #e50914;
    /* Un rojo tipo Netflix/BeatStars o el que prefieras */
    --text-color: #ffffff;
    --text-muted: #b3b3b3;
}

body {
    background-color: var(--primary-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    /* Aseguraremos cargar esta fuente */
}

/* Overrides básicos de Astra */
.site-header {
    border-bottom: 1px solid #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #fff;
}

/* 
=============================================
LANDING PAGE OVERLAY (Added v1.2.0)
=============================================
*/
#tm-landing-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    /* Always on top */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: white;
    font-family: 'Inter', sans-serif;
    transition: opacity 0.5s ease;
}

/* Background Blur Effect */
.tm-landing-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    filter: blur(30px) brightness(0.6);
    z-index: 0;
    animation: zoomPulse 20s infinite alternate;
}

@keyframes zoomPulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.tm-landing-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    background: radial-gradient(circle, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

/* Content Container */
.tm-landing-content {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 120px;
    /* Increased from 60px to prevent overlap */
    align-items: center;
    max-width: 1300px;
    /* More breathing room */
    width: 90%;
    padding: 20px;
}

/* Artwork & Case Design */
.tm-landing-artwork {
    flex: 0 0 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
}

.tm-release-case {
    position: relative;
    width: 420px;
    height: 420px;
    transform-style: preserve-3d;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.8));
}

.tm-full-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 5;
    background: #000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.tm-full-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tm-vinyl-container {
    position: absolute;
    width: 95%;
    height: 95%;
    top: 2.5%;
    right: 0%;
    /* Hidden behind cover initially */
    z-index: 2;
    transition: right 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.6s ease;
    pointer-events: none;
}

.tm-vinyl-container.is-active {
    right: -35% !important;
    /* Pop out exactly 35% */
    transform: scale(1.05);
}

.tm-vinyl-disc {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, #222 30%, #111 31%, #000 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spin 8s linear infinite forwards;
    animation-play-state: paused;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.1), 10px 0 30px rgba(0, 0, 0, 0.5);
}

.is-active .tm-vinyl-disc {
    animation-play-state: running !important;
}

.tm-vinyl-disc img {
    width: 40%;
    height: 40%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #111;
}

.tm-vinyl-disc .tm-vinyl-hole {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #000;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.tm-release-date {
    font-size: 0.9rem;
    opacity: 0.5;
    margin-top: -10px;
}

.tm-landing-actions {
    margin: 30px 0;
}

.tm-btn-landing {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #1DB954;
    /* Spotify Green */
    color: #000;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(29, 185, 84, 0.3);
}

.tm-btn-landing:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 40px rgba(29, 185, 84, 0.5);
    background: #1ed760;
}

.spotify-icon {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm5.496 17.306c-.218.358-.684.47-1.042.252-2.872-1.755-6.486-2.152-10.743-1.176-.41.094-.82-.164-.914-.574-.094-.41.164-.82.574-.914 4.656-1.066 8.638-.616 11.87 1.358.358.218.47.684.252 1.042zm1.464-3.264c-.274.444-.854.586-1.298.312-3.288-2.02-8.3-2.612-12.19-1.43-.502.152-1.03-.134-1.182-.636-.152-.502.134-1.03.636-1.182 4.456-1.354 10.004-.694 13.724 1.594.444.274.586.854.312 1.298zm.13-3.41c-3.95-2.346-10.468-2.564-14.26-1.414-.606.184-1.24-.162-1.424-.768-.184-.606.162-1.24.768-1.424 4.356-1.322 11.554-1.062 16.084 1.626.544.322.724 1.022.402 1.566-.322.544-1.022.724-1.566.402z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.tm-artist-name {
    font-size: 1.2rem;
    color: #8B5CF6;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.tm-landing-title {
    font-size: 5.5rem;
    font-weight: 900;
    margin: 0 0 5px;
    /* Reduced from 15px */
    text-transform: uppercase;
    letter-spacing: -3px;
    line-height: 0.85;
    color: #fff;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.tm-landing-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 500;
    margin-bottom: 20px;
}

/* Countdown FIXED */
.tm-countdown {
    display: flex !important;
    flex-direction: row !important;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: nowrap;
}

.tm-time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 15px;
    border-radius: 12px;
    min-width: 70px;
    backdrop-filter: blur(10px);
}

.tm-time-block span {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.tm-time-block small {
    font-size: 0.65rem;
    text-transform: uppercase;
    margin-top: 5px;
    opacity: 0.6;
    letter-spacing: 1px;
}

/* Tracklist Player */
.tm-landing-tracklist {
    margin-top: 30px;
}

.tm-landing-tracklist h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.6;
}

.tm-track-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tm-track-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.tm-track-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.tm-btn-play {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.tm-btn-play:hover {
    background: #8B5CF6;
    transform: scale(1.15);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.tm-btn-play.playing {
    background: #fff !important;
    color: #8B5CF6 !important;
    border-color: #fff !important;
}

.tm-btn-play svg {
    display: block;
    fill: currentColor;
    /* Inherits from .tm-btn-play color */
}

.tm-btn-play .icon-pause {
    display: none;
}

.tm-btn-play.playing .icon-play {
    display: none;
}

.tm-btn-play.playing .icon-pause {
    display: block;
}

/* Mini Player (Spotify Style) */
.tm-mini-player {
    position: fixed;
    bottom: -120px;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 25, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 9999;
    /* Super top */
    padding: 15px 20px;
    transition: bottom 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.tm-mini-player.active {
    bottom: 0;
}

.tm-player-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-player-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    /* Ensures truncation works if needed */
}

.tm-player-track-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tm-player-artist {
    font-size: 0.75rem;
    color: #8B5CF6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tm-player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

/* Progress Section */
.tm-player-progress-container {
    width: 100%;
    height: 12px;
    /* Thicker touch area */
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 4px;
}

.tm-player-progress-bar {
    height: 4px;
    background: #8B5CF6;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* Visualizer Bars */
.tm-visualizer {
    display: none;
    align-items: flex-end;
    gap: 2px;
    height: 15px;
    margin-right: 10px;
}

.tm-mini-player.playing .tm-visualizer {
    display: flex;
}

.visual-bar {
    width: 3px;
    background: #8B5CF6;
    border-radius: 1px;
    animation: bounce 0.8s ease infinite alternate;
}

.visual-bar:nth-child(2) {
    animation-delay: 0.1s;
    animation-duration: 0.6s;
}

.visual-bar:nth-child(3) {
    animation-delay: 0.2s;
    animation-duration: 0.9s;
}

.visual-bar:nth-child(4) {
    animation-delay: 0.3s;
    animation-duration: 0.7s;
}

@keyframes bounce {
    0% {
        height: 3px;
    }

    100% {
        height: 15px;
    }
}

.tm-player-badge {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.5);
    color: #8B5CF6;
    font-size: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
    margin-left: 10px;
    text-transform: uppercase;
}

.tm-player-time {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    font-family: monospace;
}

/* 
=============================================
SPOTIFY WRAPPED INTRO OVERLAY (Added v2.1.0)
=============================================
*/

#tm-intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

#tm-intro-overlay.tm-intro-exit {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

/* Particle canvas */
#tm-intro-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Animated gradient background */
.tm-intro-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(29, 185, 84, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 100%, rgba(139, 92, 246, 0.08) 0%, transparent 40%);
    animation: introGradientShift 8s ease-in-out infinite alternate;
}

@keyframes introGradientShift {
    0% {
        background:
            radial-gradient(ellipse at 20% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
            radial-gradient(ellipse at 80% 50%, rgba(29, 185, 84, 0.1) 0%, transparent 60%);
    }

    50% {
        background:
            radial-gradient(ellipse at 80% 30%, rgba(139, 92, 246, 0.2) 0%, transparent 60%),
            radial-gradient(ellipse at 20% 70%, rgba(252, 60, 68, 0.1) 0%, transparent 60%);
    }

    100% {
        background:
            radial-gradient(ellipse at 50% 50%, rgba(29, 185, 84, 0.15) 0%, transparent 60%),
            radial-gradient(ellipse at 30% 30%, rgba(139, 92, 246, 0.12) 0%, transparent 50%);
    }
}

/* Intro Content Container */
.tm-intro-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Intro Steps */
.tm-intro-step {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    text-align: center;
    width: 90%;
    max-width: 600px;
}

.tm-intro-step.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.tm-intro-step.exit {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.15);
    transition: all 0.5s cubic-bezier(0.55, 0, 1, 0.45);
}

/* Step 1: Label */
.tm-intro-label {
    font-size: 1rem;
    letter-spacing: 10px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

/* Step 2: Artist Name */
.tm-intro-artist {
    font-size: 4rem;
    font-weight: 900;
    color: #8B5CF6;
    text-transform: uppercase;
    letter-spacing: 8px;
    text-shadow: 0 0 60px rgba(139, 92, 246, 0.5), 0 0 120px rgba(139, 92, 246, 0.2);
    font-family: 'Inter', sans-serif;
}

/* Step 3: Cover Art */
.tm-intro-cover {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(139, 92, 246, 0.3);
    position: relative;
    z-index: 2;
}

.tm-intro-cover-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
            rgba(139, 92, 246, 0.6),
            rgba(29, 185, 84, 0.4),
            rgba(252, 60, 68, 0.3),
            rgba(255, 153, 0, 0.3),
            rgba(139, 92, 246, 0.6));
    filter: blur(40px);
    z-index: 0;
    animation: introGlowSpin 4s linear infinite;
}

@keyframes introGlowSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Step 4: Title */
.tm-intro-title {
    font-size: 6rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -4px;
    line-height: 0.85;
    margin: 0;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    font-family: 'Inter', sans-serif;
}

/* Step 5: Subtitle + Tagline */
.tm-intro-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0;
}

.tm-intro-tagline {
    display: inline-block;
    margin-top: 20px;
    background: linear-gradient(135deg, #8B5CF6, #1DB954);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    padding: 12px 30px;
    border-radius: 50px;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: introPulse 1.5s ease-in-out infinite;
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.4);
}

@keyframes introPulse {

    0%,
    100% {
        box-shadow: 0 6px 30px rgba(139, 92, 246, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 6px 40px rgba(139, 92, 246, 0.7);
        transform: scale(1.03);
    }
}

/* Skip Button */
.tm-intro-skip {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(10px);
    letter-spacing: 1px;
}

.tm-intro-skip:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Intro Responsive */
@media (max-width: 768px) {
    .tm-intro-artist {
        font-size: 2.2rem;
        letter-spacing: 4px;
    }

    .tm-intro-title {
        font-size: 3.5rem;
        letter-spacing: -2px;
    }

    .tm-intro-cover {
        width: 200px;
        height: 200px;
    }

    .tm-intro-cover-glow {
        width: 240px;
        height: 240px;
    }

    .tm-intro-label {
        font-size: 0.8rem;
        letter-spacing: 6px;
    }

    .tm-intro-subtitle {
        font-size: 0.85rem;
        letter-spacing: 3px;
    }

    .tm-intro-tagline {
        font-size: 0.8rem;
        padding: 10px 22px;
    }

    .tm-intro-skip {
        bottom: 25px;
        right: 25px;
    }
}

@media (max-width: 480px) {
    .tm-intro-artist {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }

    .tm-intro-title {
        font-size: 2.8rem;
        letter-spacing: -1px;
    }

    .tm-intro-cover {
        width: 170px;
        height: 170px;
        border-radius: 12px;
    }

    .tm-intro-cover-glow {
        width: 210px;
        height: 210px;
    }

    .tm-intro-skip {
        bottom: 20px;
        right: 20px;
        font-size: 0.75rem;
        padding: 8px 18px;
    }
}

/* 
=============================================
OUT NOW MODE STYLES (Added v2.0.0)
=============================================
*/

/* OUT NOW Content Layout */
.tm-outnow-content {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
    max-width: 900px !important;
    text-align: center;
    padding: 40px 20px 100px !important;
}

.outnow-mode {
    overflow-y: auto !important;
    justify-content: flex-start !important;
}

/* Hero Cover with Glow */
.tm-outnow-hero {
    margin-bottom: 30px;
    margin-top: 40px;
}

.tm-outnow-cover-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto;
}

.tm-outnow-glow {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(139, 92, 246, 0.15) 40%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite alternate;
    z-index: 0;
    filter: blur(20px);
}

@keyframes glowPulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.tm-outnow-cover {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(139, 92, 246, 0.2);
}

/* OUT NOW Badge */
.tm-outnow-badge-wrapper {
    margin-bottom: 15px;
}

.tm-outnow-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1DB954, #14a348);
    color: #000;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 8px 24px;
    border-radius: 50px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: badgePulse 2s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(29, 185, 84, 0.4);
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(29, 185, 84, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(29, 185, 84, 0.7);
    }
}

/* OUT NOW Info */
.tm-outnow-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.outnow-mode .tm-landing-title {
    font-size: 4rem;
    margin-bottom: 8px;
}

.outnow-mode .tm-landing-subtitle {
    margin-bottom: 30px;
}

/* Section Labels */
.tm-section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    opacity: 0.5;
    font-weight: 600;
}

/* Streaming Platform Buttons */
.tm-platforms-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
    width: 100%;
    max-width: 600px;
}

.tm-platform-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
}

.tm-platform-btn:hover {
    transform: translateY(-3px) scale(1.03);
    color: #fff;
    text-decoration: none;
}

.tm-platform-btn svg {
    flex-shrink: 0;
}

/* Platform-specific colors */
.tm-spotify {
    border-color: rgba(29, 185, 84, 0.4);
    background: rgba(29, 185, 84, 0.12);
}

.tm-spotify:hover {
    background: #1DB954;
    color: #000;
    box-shadow: 0 8px 30px rgba(29, 185, 84, 0.5);
}

.tm-apple {
    border-color: rgba(252, 60, 68, 0.4);
    background: rgba(252, 60, 68, 0.12);
}

.tm-apple:hover {
    background: #FC3C44;
    color: #fff;
    box-shadow: 0 8px 30px rgba(252, 60, 68, 0.5);
}

.tm-ytmusic {
    border-color: rgba(255, 0, 0, 0.4);
    background: rgba(255, 0, 0, 0.12);
}

.tm-ytmusic:hover {
    background: #FF0000;
    color: #fff;
    box-shadow: 0 8px 30px rgba(255, 0, 0, 0.5);
}

.tm-amazon {
    border-color: rgba(255, 153, 0, 0.4);
    background: rgba(255, 153, 0, 0.12);
}

.tm-amazon:hover {
    background: #FF9900;
    color: #000;
    box-shadow: 0 8px 30px rgba(255, 153, 0, 0.5);
}

.tm-deezer {
    border-color: rgba(162, 56, 255, 0.4);
    background: rgba(162, 56, 255, 0.12);
}

.tm-deezer:hover {
    background: #A238FF;
    color: #fff;
    box-shadow: 0 8px 30px rgba(162, 56, 255, 0.5);
}

/* YouTube Section */
.tm-youtube-section {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 40px;
}

.tm-youtube-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.tm-youtube-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tm-youtube-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.tm-youtube-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
}

.tm-youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.tm-youtube-title {
    padding: 12px 16px;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

/* OUT NOW Tracklist tweaks */
.outnow-mode .tm-landing-tracklist {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

/* Landing Footer */
.tm-landing-footer {
    position: relative;
    z-index: 10;
    margin-top: 30px;
    padding: 20px;
    text-align: center;
}

.tm-btn-text {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.tm-btn-text:hover {
    color: #8B5CF6;
}

/* Track number styling */
.tm-track-num {
    opacity: 0.4;
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 25px;
}

/* Enhanced Vinyl Interaction */
@media (max-width: 1024px) {
    .tm-vinyl-container.is-active {
        right: 0 !important;
        transform: translateY(-20%) scale(1.02);
        /* Pop UP instead of RIGHT on mobile */
    }
}

/* Responsive Mobile v2.3 - FIXED SCROLLING & OVERLAP */
@media (max-width: 1024px) {
    #tm-landing-overlay {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        /* Forces scroll to top */
        align-items: center !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        position: fixed !important;
        height: 100vh !important;
        width: 100vw !important;
        top: 0 !important;
        left: 0 !important;
        padding: 40px 0 100px !important;
        /* Top space */
    }

    .tm-landing-content {
        flex-direction: column !important;
        gap: 25px !important;
        padding: 0 15px !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 500px !important;
        height: auto !important;
        min-height: min-content !important;
        align-items: center !important;
        text-align: center !important;
        transform: none !important;
    }

    .tm-landing-artwork {
        flex: 0 0 auto !important;
        width: 100% !important;
        margin-bottom: 10px !important;
        perspective: none !important;
    }

    .tm-release-case {
        width: 250px !important;
        height: 250px !important;
        margin: 50px auto 20px !important;
        /* Added top margin for vinyl pop-up */
        transition: box-shadow 0.6s ease;
    }

    .tm-release-case.is-playing {
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
    }

    .tm-vinyl-container {
        z-index: 1 !important;
        right: 0 !important;
        top: 0 !important;
        transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.6s ease !important;
    }

    .tm-vinyl-container.is-active {
        transform: translateY(-42%) scale(0.92) !important;
        z-index: 0 !important;
        filter: drop-shadow(0 0 25px rgba(139, 92, 246, 1)) !important;
        /* Extremely high contrast glow for mobile */
    }

    .tm-vinyl-disc {
        width: 100% !important;
        height: 100% !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        /* Subtle edge definition */
    }

    .tm-landing-info {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 0 !important;
    }

    .tm-artist-name {
        font-size: 1rem !important;
        text-align: center !important;
        width: 100% !important;
        margin-bottom: 5px !important;
        color: #8B5CF6 !important;
    }

    .tm-landing-title {
        font-size: 2.5rem !important;
        line-height: 1.05 !important;
        /* Prevents overlap */
        letter-spacing: -1px !important;
        margin: 5px 0 20px !important;
        width: 100% !important;
        text-align: center !important;
        color: #fff !important;
    }

    .tm-countdown {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        gap: 10px !important;
        margin-bottom: 20px !important;
    }

    .tm-time-block {
        padding: 8px 5px !important;
        min-width: 55px !important;
    }

    .tm-landing-tracklist {
        width: 100% !important;
        max-width: 400px !important;
    }

    .tm-track-item {
        text-align: left !important;
        justify-content: flex-start !important;
        gap: 15px !important;
    }

    .tm-landing-backdrop {
        background: radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%) !important;
    }

    /* OUT NOW Mobile Responsive */
    .tm-outnow-content {
        padding: 20px 15px 100px !important;
        max-width: 500px !important;
    }

    .tm-outnow-hero {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .tm-outnow-cover-wrapper {
        width: 240px;
        height: 240px;
    }

    .outnow-mode .tm-landing-title {
        font-size: 2.5rem !important;
    }

    .tm-platforms-grid {
        flex-direction: column;
        gap: 10px;
        max-width: 100%;
    }

    .tm-platform-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .tm-youtube-grid {
        grid-template-columns: 1fr;
    }

    .tm-youtube-section {
        max-width: 100%;
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    .tm-landing-title {
        font-size: 2.2rem !important;
    }

    .tm-release-case {
        width: 200px !important;
        height: 200px !important;
    }

    .tm-outnow-cover-wrapper {
        width: 200px;
        height: 200px;
    }

    .outnow-mode .tm-landing-title {
        font-size: 2rem !important;
    }

    .tm-outnow-badge {
        font-size: 0.75rem;
        padding: 6px 18px;
    }
}