:root {
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --glass-bg: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Open Sauce Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #000;
    color: var(--text-primary);
    overflow: hidden; /* prevents scrollbars */
    width: 100vw;
    height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Video */
#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
}

/* Subtle Vignette Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 40%, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.5) 100%);
    z-index: -1;
}

/* Content Container */
.content-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* push caption to bottom */
    z-index: 10;
}

/* Bottom Caption: Liquid Glass */
.caption-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 2rem; /* Reduce padding slightly */
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.liquid-glass-pill {
    position: relative;
    width: 100%;
    max-width: 95vw; 
    height: auto;
    min-height: 48px; /* Very compact */
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    /* Glass reflections styling */
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25); /* softer shadow */
    border-radius: 40px; 
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding: 0.3rem 1.5rem; /* tiny padding vertical */
}

/* Light Reflection Animation */
.liquid-glass-pill::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 25%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.2) 50%, 
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-20deg);
    animation: glassShine 10s cubic-bezier(0.2, 0, 0.1, 1) infinite;
    z-index: 1; /* Above background, behind text */
    pointer-events: none;
}

@keyframes glassShine {
    0%, 20% { left: -100%; }
    80%, 100% { left: 200%; }
}

.promo-item.static-promo {
    position: relative; 
    flex: 1; 
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transform: none;
    z-index: 2;
    padding: 0.2rem 0.5rem;
}

.promo-separator {
    width: 1px;
    height: 24px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    margin: 5px 0;
    z-index: 2;
}

.promo-content {
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0; /* completely compact */
}

.promo-title {
    font-size: 0.95rem; /* much smaller text */
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
}

.promo-desc {
    font-size: 0.85rem;
    font-weight: 300; 
    color: var(--text-secondary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    white-space: nowrap; 
}

.highlight {
    font-weight: 700;
    color: #fff;
}

/* Generalized text animation class */
.anim-text {
    display: inline-block;
    transition: opacity 0.4s ease, transform 0.4s ease;
    color: #fca311; /* Slight soft yellow/gold touch to draw eye, or white if needed */
}

#anim-welcome { color: #fff; } /* Keep welcome location white */

/* iOS glassmorphism mute button */
.mute-btn {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: var(--glass-bg);
    color: white;
    cursor: pointer;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.mute-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.mute-btn svg {
    width: 16px;
    height: 16px;
}

/* TV Optimization Scale (4K) */
@media screen and (min-width: 2560px) {
    .liquid-glass-pill {
        max-width: 85vw;
        border-radius: 60px;
        padding: 0.8rem 2rem;
    }
    
    .promo-content { gap: 0.2rem; }
    .promo-title { font-size: 1.4rem; }
    .promo-desc { font-size: 1.2rem; }
    .promo-separator { height: 36px; }
    
    .mute-btn { 
        bottom: 3rem;
        right: 3rem;
        width: 60px; 
        height: 60px; 
    }
    .mute-btn svg { width: 24px; height: 24px; }
    .caption-container { padding-bottom: 4rem; }
}

@media screen and (max-width: 1024px) {
    .liquid-glass-pill {
        padding: 0.3rem 1rem;
    }
    .promo-title { font-size: 0.8rem; }
    .promo-desc { font-size: 0.7rem; }
    .promo-item.static-promo { padding: 0.2rem 0.4rem; }
}

@media screen and (max-width: 768px) {
    .liquid-glass-pill {
        padding: 0.2rem 0.5rem;
        border-radius: 20px;
    }
    .promo-title { font-size: 0.65rem; }
    .promo-desc { font-size: 0.55rem; }
    .promo-item.static-promo { padding: 0.1rem 0.2rem; }
    .promo-separator { height: 16px; margin: 3px 0; }
}

@media screen and (max-width: 480px) {
    .liquid-glass-pill {
        padding: 0.2rem 0.2rem;
    }
    .promo-title { font-size: 0.5rem; }
    .promo-desc { font-size: 0.45rem; }
    .promo-item.static-promo { padding: 0.1rem; }
    .promo-separator { height: 12px; margin: 2px 0; }
    .mute-btn {
        width: 30px;
        height: 30px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    .mute-btn svg { width: 14px; height: 14px; }
}
