/* ============================================
   SYNTHS & SIPS — Page Styles
   ============================================ */

/* --- Page-level dark background (so sections can be transparent and EQ shows through) --- */
body.page-synths-sips,
body.page-template-page-synths-sips {
    background: var(--fg-color-dark, #1A1A1A);
}

body.page-synths-sips .fg-footer,
body.page-template-page-synths-sips .fg-footer {
    background: transparent;
}

/* --- Full-Page Fixed EQ Layer --- */
.tb-synths-eq-fullpage {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    padding: 0 3%;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

/* --- Hero Section --- */
.tb-synths-hero {
    background: transparent;
    color: #FFFFFF;
    padding: 10rem 0 6rem;
    text-align: center;
    position: relative;
}

.tb-synths-title {
    font-family: var(--fg-font-heading, 'Sora', sans-serif);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    color: var(--fg-color-primary, #FFC500);
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.tb-synths-intro {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* --- Override child style.css vinyl styles for this page --- */
.tb-pairing .tb-vinyl-disc {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    animation: none;
    cursor: default;
    background:
        radial-gradient(circle at 50% 50%, transparent 13.5%, rgba(255,255,255,0.06) 14%, transparent 14.5%),
        radial-gradient(circle at 50% 50%, transparent 18.5%, rgba(255,255,255,0.04) 19%, transparent 19.5%),
        radial-gradient(circle at 50% 50%, transparent 23.5%, rgba(255,255,255,0.05) 24%, transparent 24.5%),
        radial-gradient(circle at 50% 50%, transparent 28.5%, rgba(255,255,255,0.03) 29%, transparent 29.5%),
        radial-gradient(circle at 50% 50%, transparent 33.5%, rgba(255,255,255,0.04) 34%, transparent 34.5%),
        radial-gradient(circle at 50% 50%, transparent 38.5%, rgba(255,255,255,0.05) 39%, transparent 39.5%),
        radial-gradient(circle at 50% 50%, transparent 43.5%, rgba(255,255,255,0.03) 44%, transparent 44.5%),
        radial-gradient(circle at 30% 25%, rgba(255,255,255,0.035) 0%, transparent 50%),
        conic-gradient(from 0deg, #252525 0deg, #2d2d2d 20deg, #222 40deg, #2a2a2a 60deg, #262626 80deg, #303030 100deg, #252525 120deg, #2c2c2c 140deg, #222 160deg, #2a2a2a 180deg, #262626 200deg, #303030 220deg, #252525 240deg, #2d2d2d 260deg, #222 280deg, #2a2a2a 300deg, #262626 320deg, #303030 340deg, #252525 360deg);
    box-shadow: 0 0 100px rgba(255,197,0,0.10), 0 0 40px rgba(0,0,0,0.6), inset 0 0 80px rgba(0,0,0,0.4);
}

.tb-pairing .tb-vinyl-disc::before {
    width: 26%;
    height: 26%;
    background: radial-gradient(circle at 40% 40%, #ffda44, var(--fg-color-primary, #FFC500) 60%, #cc9e00);
    box-shadow: 0 2px 12px rgba(255,197,0,0.3);
}

.tb-pairing .tb-vinyl-disc::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.06);
    background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.03) 0%, transparent 50%);
    pointer-events: none;
    font-size: 0;
    color: transparent;
    transform: none;
    top: 0;
    left: 0;
}

/* --- Vinyl card container --- */
.tb-pairing-vinyl {
    background: #232323;
    border-radius: 20px;
    padding: 2rem;
    overflow: hidden;
}

/* --- Pairing Sections --- */
.tb-pairing {
    background: transparent;
    padding: 4rem 0;
    position: relative;
}

.tb-pairing-inner {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    position: relative;
    z-index: 1;
}

.tb-pairing--flipped .tb-pairing-inner {
    flex-direction: row-reverse;
}

/* --- Vinyl Column --- */
.tb-pairing-vinyl {
    flex: 0 0 45%;
    max-width: 500px;
}

/* --- Info Column --- */
.tb-pairing-info {
    flex: 1;
    min-width: 0;
}

.tb-pairing-title {
    font-family: var(--fg-font-heading, 'Sora', sans-serif);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--fg-color-primary, #FFC500);
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.tb-pairing-vibe {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-bottom: 1.5rem;
}

/* --- In The Glass Card --- */
.tb-pairing-glass {
    background: #2A2A2A;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tb-pairing-glass-label {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #888;
    font-weight: 600;
}

.tb-pairing-glass-wine {
    font-size: 1.05rem;
    font-weight: 600;
    color: #FFFFFF;
}

/* --- Audio Player --- */
.tb-pairing-player {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #2A2A2A;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 1rem;
}

.tb-player-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--fg-color-primary, #FFC500);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.tb-player-btn:hover {
    transform: scale(1.08);
}

.tb-player-track {
    flex: 1;
    height: 4px;
    background: #444;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.tb-player-progress {
    height: 100%;
    background: var(--fg-color-primary, #FFC500);
    border-radius: 2px;
    transition: width 0.1s linear;
}

.tb-player-time {
    color: #888;
    font-size: 0.8rem;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.tb-pairing-meta {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* --- EQ Bar Animation (shared) --- */
.tb-eq-bar {
    flex: 1;
    max-width: 20px;
    background: var(--fg-color-primary, #FFC500);
    border-radius: 4px 4px 0 0;
    transform-origin: bottom;
    animation: tbEqBounce var(--eq-speed, 1.2s) ease-in-out infinite alternate;
    animation-delay: var(--eq-delay, 0s);
}

@keyframes tbEqBounce {
    0%   { height: var(--eq-min, 5%); }
    100% { height: var(--eq-max, 60%); }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .tb-synths-hero {
        padding: 8rem 0 4rem;
    }

    .tb-pairing-inner,
    .tb-pairing--flipped .tb-pairing-inner {
        flex-direction: column;
    }

    .tb-pairing-vinyl {
        flex: none;
        width: 70%;
        max-width: 300px;
        margin: 0 auto;
    }

    .tb-pairing-info {
        text-align: left;
        width: 100%;
    }
}
