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

body {
    font-family: 'Arial', sans-serif;
    /* allow natural scrolling on small/mobile browsers instead of hiding overflow */
    overflow: auto;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

/* Background Slideshow */
.slideshow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.05); /* Lighter filter to show gold cracks better */
}

.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(20, 20, 20, 0.3) 50%,
        rgba(0, 0, 0, 0.5) 100%
    ); /* Lighter overlay to let gold cracks shine through */
    z-index: 2;
}

/* Main Content */
.content-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 2rem;
    text-align: center;
    animation: fadeInUp 1.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo Section */
.logo-section {
    margin-bottom: 1rem;
    animation: fadeIn 2s ease-out;
}

.logo-section img {
    max-width: clamp(180px, 30vw, 400px);
    max-height: clamp(90px, 15vw, 200px);
    width: auto;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
    margin-bottom: 0;
}

/* Main Title */
.main-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 300;
    letter-spacing: 8px;
    color: #d4af37; /* Gold color to complement the crack background */
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5), 2px 2px 8px rgba(0, 0, 0, 0.9);
    animation: fadeIn 2.5s ease-out;
}

/* Description */
.description {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 1px;
    animation: fadeIn 3s ease-out;
    white-space: pre-line; /* Preserve line breaks */
}

/* Date Section */
.date-section {
    margin-top: 2rem;
    padding: 1.5rem 2.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3); /* Gold border */
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    animation: fadeIn 3.5s ease-out;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.date-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    font-weight: 300;
    position: relative;
    display: inline-block;
    padding-bottom: 35px; /* Space for info icon below */
}

/* Hoverable text with tooltips */
.hoverable-text {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    -webkit-tap-highlight-color: transparent;
}

/* Mobile hint indicator */
.hoverable-text::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-2px);
    border: 6px solid transparent;
    border-top-color: rgba(212, 175, 55, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1001;
}

/* Info icon - Always visible and clickable */
.hoverable-text .info-icon {
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: normal;
    font-style: italic;
    font-family: serif;
    line-height: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
    pointer-events: auto; /* Make it clickable */
    cursor: pointer;
    z-index: 1002;
    animation: pulseHint 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.hoverable-text .info-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

/* Info icon for "Starting Soon" - positioned inline */
#startingSoonLabel {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-bottom: 0;
}

#startingSoonLabel .info-icon {
    position: static;
    margin-left: 0.5em;
    margin-right: 0;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    width: 20px;
    height: 20px;
    font-size: 0.85rem;
    line-height: 20px;
    vertical-align: middle;
    display: inline-block;
}

@media (max-width: 768px) {
    #startingSoonLabel {
        padding-bottom: 0;
    }
    #startingSoonLabel .info-icon {
        margin-left: 0.3em;
        width: 18px;
        height: 18px;
        font-size: 0.8rem;
        line-height: 18px;
    }
}

/* Info icons for date numbers - positioned above the year */
#date12 .info-icon,
#date28 .info-icon {
    top: calc(100% + 3px); /* Moved up to make year more visible */
    left: 50%;
    bottom: auto;
    transform: translateX(-50%);
}

#date12 .info-icon:hover,
#date28 .info-icon:hover {
    transform: translateX(-50%) scale(1.1);
}

/* Mobile tap hint - shows on mobile devices */
.hoverable-text .mobile-hint {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: rgba(212, 175, 55, 0.9);
    white-space: nowrap;
    pointer-events: none;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.6);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 1002;
}

/* Mobile hint positioning for "Starting Soon" - next to text */
#startingSoonLabel .mobile-hint {
    top: 50%;
    right: -50px;
    left: auto;
    bottom: auto;
    transform: translateY(-50%);
}

/* Mobile hint positioning for date numbers - below */
#date12 .mobile-hint,
#date28 .mobile-hint {
    top: calc(100% + 30px);
    bottom: auto;
}

@media (max-width: 768px) {
    .hoverable-text .mobile-hint {
        display: block;
        animation: pulseHint 2s ease-in-out infinite;
    }
    
    /* Make hoverable elements more obvious on mobile */
    .hoverable-text {
        padding: 2px 4px;
        border-radius: 3px;
    }
    
    .hoverable-text:active {
        background: rgba(212, 175, 55, 0.1);
    }
}

/* Desktop: Show info icon on hover */
/* Info icon is always visible on all devices */

@keyframes pulseHint {
    0%, 100% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.05);
    }
}

/* Flashing animations for numbers and text */
@keyframes flashGold {
    0%, 100% {
        color: #d4af37;
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    }
    50% {
        color: #ffd700;
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.4);
    }
}

@keyframes flashRed {
    0%, 100% {
        color: #d4af37;
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    }
    50% {
        color: #dc3545;
        text-shadow: 0 0 20px rgba(220, 53, 69, 0.8), 0 0 30px rgba(220, 53, 69, 0.4);
    }
}

@keyframes flashStartingSoon {
    0%, 100% {
        color: #888;
        text-shadow: none;
    }
    50% {
        color: #d4af37;
        text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    }
}

/* Info icons are always visible on all devices */

/* Ensure tooltips don't overflow on small screens */
@media (max-width: 768px) {
    .hoverable-text::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(-10px);
        max-width: calc(100vw - 40px);
        pointer-events: auto; /* Allow interaction on mobile */
    }
    
    .hoverable-text:hover::after,
    .hoverable-text.active::after {
        transform: translateX(-50%) translateY(0);
    }

    /* Hide mobile hint when tooltip is active */
    .hoverable-text.active .mobile-hint {
        display: none;
    }
    
    /* Adjust info icon on mobile */
    #startingSoonLabel {
        padding-bottom: 30px; /* Less space on mobile */
    }
    
    #startingSoonLabel .info-icon {
        top: calc(100% + 5px);
        width: 18px;
        height: 18px;
        font-size: 0.8rem;
        line-height: 18px;
    }
    
    .date-numbers {
        padding-bottom: 25px; /* Less space on mobile */
    }
    
    #date12 .info-icon,
    #date28 .info-icon {
        top: calc(100% + 2px); /* Even closer on mobile */
        width: 18px;
        height: 18px;
        font-size: 0.8rem;
        line-height: 18px;
    }
}

.hoverable-text:hover {
    color: #ffd700 !important;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6) !important;
}

.hoverable-text::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(0, 0, 0, 0.95);
    color: #d4af37;
    padding: 1.2em 1.5em;
    border-radius: 8px;
    font-size: clamp(0.8rem, 2.5vw, 1.1rem);
    white-space: pre-wrap;
    max-width: clamp(180px, 90vw, 600px);
    min-width: 120px;
    max-height: 80vh;
    overflow-y: auto;
    word-break: break-word;
    text-align: left;
    line-height: 1.6;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.9), 0 0 20px rgba(212, 175, 55, 0.4);
    z-index: 1000;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hoverable-text:hover::after,
.hoverable-text:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Active state for clicked/tapped tooltips */
.hoverable-text.active::after,
.hoverable-text.active::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.hoverable-text.active {
    color: #ffd700 !important;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6) !important;
    animation: none !important; /* Stop flashing when active */
}

.hoverable-text.active .mobile-hint,
.hoverable-text.active .info-icon {
    display: none;
}

/* Disable flashing animations on date and starting soon labels (cards removed) */
#date12.hoverable-text:not(.active),
#date28.hoverable-text:not(.active),
#startingSoonLabel.hoverable-text:not(.active) {
    animation: none !important;
}

/* Special positioning for longer tooltips (like startingSoon) */
.date-label.hoverable-text::after {
    max-width: 80vw;
    min-width: 120px;
    font-size: clamp(0.5rem, 2vw, 0.5rem);
    padding: 0.7em 0.8em;
    white-space: pre-line;
    word-break: break-word;
    line-height: 1.5;
    background: rgba(0,0,0,0.98);
    color: #ffd700;
    box-shadow: 0 4px 20px rgba(0,0,0,0.95), 0 0 15px rgba(212,175,55,0.2);
    z-index: 2000;
    max-height: 60vh;
    overflow-y: auto;
    overflow-x: auto;
    border: 1px solid rgba(212,175,55,0.5);
    text-align: left;
    font-weight: 400;
    letter-spacing: 0.2px;
    scrollbar-width: thin;
    scrollbar-color: #ffd700 #222;
}

.date-label.hoverable-text::after::-webkit-scrollbar {
    height: 8px;
    width: 8px;
    background: #222;
}

.date-label.hoverable-text::after::-webkit-scrollbar-thumb {
    background: #ffd700;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .date-label.hoverable-text::after {
        max-width: 96vw;
        min-width: 80px;
        font-size: clamp(0.7rem, 2.5vw, 0.9rem);
        padding: 0.5em 0.5em;
    }
}
@media (max-width: 480px) {
    .date-label.hoverable-text::after {
        max-width: 99vw;
        min-width: 60px;
        font-size: clamp(0.65rem, 3vw, 0.85rem);
        padding: 0.3em 0.3em;
    }
}

.date-label.hoverable-text::after {
    max-width: clamp(250px, 98vw, 700px);
    min-width: 180px;
    max-height: 80vh;
    overflow-y: auto;
    word-break: break-word;
}

.date-label.hoverable-text:hover::after {
    transform: translateX(-50%) translateY(-15px); /* More space from element */
}

@media (max-width: 768px) {
    .hoverable-text::after {
        font-size: clamp(0.7rem, 3vw, 1rem);
        padding: 0.8em 1em;
        max-width: 90vw;
        min-width: 100px;
    }
    .date-label.hoverable-text::after {
        max-width: 95vw;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .hoverable-text::after {
        font-size: clamp(0.65rem, 4vw, 0.95rem);
        padding: 0.7em 0.7em;
        max-width: 98vw;
        min-width: 80px;
    }
    .date-label.hoverable-text::after {
        max-width: 98vw;
        min-width: 100px;
    }
}

.date-display {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    font-size: clamp(1.2rem, 5vw, 2rem);
    margin-top: 0.5rem;
}

/* Countdown styles matching site theme */
.countdown {
    margin-top: 0.8rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    color: #ff3b30; /* default red for countdown */
    font-weight: 700;
    position: relative;
    z-index: 30; /* ensure it sits above the centered logo */
}
.countdown .time-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 48px;
}
.countdown .time-segment .number {
    font-size: clamp(2.6rem, 12vw, 7rem);
    color: #ff3b30 !important; /* make countdown numbers red */
    font-weight: 800;
    letter-spacing: 0.5px;
    text-shadow: none;
    animation: none !important; /* stop any flashing */
}

/* Flash the countdown numbers red to draw attention */
@keyframes flashCounterRed {
    0%, 100% {
        color: #d4af37; /* gold */
        text-shadow: 0 0 8px rgba(212,175,55,0.25);
    }
    50% {
        color: #ff4d4f; /* red */
        text-shadow: 0 0 18px rgba(255,77,79,0.7), 0 0 30px rgba(255,77,79,0.35);
    }
}

.countdown .time-segment .number {
    animation: flashCounterRed 1.6s ease-in-out infinite;
}

@media (max-width: 480px) {
    .countdown .time-segment .number {
        animation-duration: 1.8s;
    }
}
.countdown .time-segment .label {
    font-size: clamp(0.85rem, 2.5vw, 1.05rem);
    color: #000 !important; /* make labels dark for visibility */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}

@media (max-width: 480px) {
    .countdown { gap: 0.5rem; }
    .countdown .time-segment { min-width: 40px; }
    .countdown .time-segment .number { font-size: clamp(0.9rem, 7vw, 1.4rem); }
}

.date-numbers {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 0;
    font-size: clamp(1.2rem, 5vw, 2rem);
    font-weight: 200;
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 0;
    position: relative;
    padding-bottom: 0;
}

.date-numbers .hoverable-text {
    color: #d4af37;
    position: relative;
    font-size: clamp(1.2rem, 5vw, 2rem);
    font-weight: 200;
    letter-spacing: 2px;
    margin: 0;
}

.date-numbers .date-comma {
    color: #fff;
    opacity: 0.7;
    font-size: clamp(1.2rem, 5vw, 2rem);
    margin: 0 0.1em 0 0.1em;
    font-weight: 300;
    padding: 0;
}

.date-year {
    font-size: clamp(1.2rem, 5vw, 2rem);
    font-weight: 200;
    letter-spacing: 2px;
    color: #d4af37;
    opacity: 1;
    margin: 0;
    align-self: flex-end;
    display: inline;
}

@media (max-width: 768px) {
    .main-title {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
        letter-spacing: 4px;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
    }

    .description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .date-section {
        padding: 1.2rem 1.5rem;
    }

    .date-display,
    .date-numbers,
    .date-numbers .hoverable-text,
    .date-numbers .date-comma,
    .date-year {
        font-size: clamp(1rem, 7vw, 1.2rem);
    }

    .logo-section {
        margin-bottom: 0.5rem;
    }
    .logo-section img {
        max-width: clamp(120px, 40vw, 200px);
        max-height: clamp(60px, 20vw, 100px);
    }
    .hoverable-text .mobile-hint {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: clamp(1.2rem, 10vw, 2rem);
        letter-spacing: 2px;
    }

    .description {
        font-size: 0.9rem;
    }

    .date-section {
        padding: 1rem 1.2rem;
    }

    .date-display,
    .date-numbers,
    .date-numbers .hoverable-text,
    .date-numbers .date-comma,
    .date-year {
        font-size: clamp(0.9rem, 8vw, 1.2rem);
    }

    .logo-section img {
        max-width: clamp(80px, 60vw, 120px);
        max-height: clamp(40px, 30vw, 60px);
    }

    .hoverable-text::after {
        font-size: 0.8rem;
        padding: 15px 18px;
        white-space: pre-wrap;
        max-width: 90vw;
        min-width: 200px;
        text-align: left;
        line-height: 1.5;
    }

    .date-label.hoverable-text::after {
        max-width: 90vw;
        min-width: 250px;
    }
}

/* Decorative Line */
.decorative-line {
    width: 100px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.6), transparent);
    margin-top: 3rem;
    animation: fadeIn 4s ease-out;
}

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Flashing heart intro */
#flash-heart {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    font-size: 8rem;
    color: #ff1744;
    opacity: 0;
    z-index: 20;
    pointer-events: none;
    animation: heartFlash 3s ease-out forwards;
}

/* Disable any flashing intro elements completely */
#flash-heart,
#intro-layer,
#intro-12,
#intro-28,
#intro-heart,
#intro-december {
    display: none !important;
    animation: none !important;
}

/* Intro sequence container */
#intro-layer {
    position: fixed;
    inset: 0;
    z-index: 20;
    pointer-events: none; /* doesn't block clicks */
}

/* 12 image – center, spin, then move to top-right */
#intro-12 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: auto;
    transform: translate(-50%, -50%) rotateY(0deg);
    opacity: 0;
    animation: intro12 2s ease-out forwards;
    animation-fill-mode: forwards;
    animation-delay: 0s;
}

@keyframes intro12 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) rotateY(0deg) scale(0.6);
    }
    30% {
        opacity: 1;
        transform: translate(-50%, -50%) rotateY(360deg) scale(1.1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) rotateY(0deg) scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        display: none;
        pointer-events: none;
    }
}

/* 28 image – runs after 12, center spin, then to bottom-right */
#intro-28 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: auto;
    transform: translate(-50%, -50%) rotateY(0deg);
    opacity: 0;
    animation: intro28 2s ease-out forwards;
    animation-delay: 2s;
    animation-fill-mode: forwards;
}

@keyframes intro28 {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) rotateY(0deg) scale(0.6);
    }
    30% {
        opacity: 1;
        transform: translate(-50%, -50%) rotateY(360deg) scale(1.1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) rotateY(0deg) scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        display: none;
        pointer-events: none;
    }
}

/* Remove December and heart intro flashes */
#intro-december, #intro-heart {
    display: none !important;
}

/* December text – flash then fade */
#intro-december {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 500;
    text-transform: uppercase;
    color: inherit; /* will inherit page color */
    opacity: 0;
    animation: introDecember 2s ease-out forwards;
    animation-delay: 4s; /* after 12 + 28 */
}

@keyframes introDecember {
    0% {
        opacity: 0;
        letter-spacing: 0.2em;
    }
    30% {
        opacity: 1;
        letter-spacing: 0.35em;
    }
    60% {
        opacity: 1;
        letter-spacing: 0.25em;
    }
    100% {
        opacity: 0;
        letter-spacing: 0.4em;
    }
}

/* Heart image – flash, “break”, fade away */
#intro-heart {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160px;
    height: auto;
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 0;
    animation: introHeart 2.5s ease-out forwards;
    animation-delay: 6s; /* after December */
}

@keyframes introHeart {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.4);
        filter: none;
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
    45% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    65% {
        /* “breaking” effect – quick shake & slight split illusion */
        opacity: 1;
        transform: translate(-53%, -50%) scale(1.02) rotate(-4deg);
        filter: drop-shadow(0 0 10px rgba(0,0,0,0.8));
    }
    80% {
        opacity: 0.7;
        transform: translate(-47%, -50%) scale(0.95) rotate(4deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.7) rotate(0deg);
        filter: none;
    }
}

/* Music toggle button */
#music-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 30;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
}

#music-toggle:hover {
    background: rgba(0,0,0,0.9);
}

/* --- Minimal layout overrides for centered countdown + background video --- */
/* Fullscreen background video */
#bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    background: #000;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at center, rgba(0,0,0,0.25), rgba(0,0,0,0.6));
}

/* Center stage */
.center-stage {
    position: relative;
    z-index: 5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    /* make room at bottom for safe spacing on small screens */
    padding-bottom: 6rem;
}

.center-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3; /* behind the date which is z-index 5 */
    opacity: 0.32; /* increased so logo is more visible */
    /* reduce heavy shadow/processing so logo appears sharper */
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.45));
    pointer-events: none;
    max-width: clamp(220px, 45vw, 720px);
    width: 60%;
    height: auto;
}

.date-box {
    text-align: center;
    color: #000; /* base date text color */
    backdrop-filter: blur(6px);
    padding: 1rem 1.25rem;
    position: relative;
    z-index: 35; /* ensure date box is above center logo */
}

.date-label {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: #000 !important; /* force black for date label */
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 0.6rem;
}

/* Big date / countdown in the center */
.date-display {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    color: #000; /* show date in black */
    /* responsive sizing and maximum width to avoid overflow on small devices */
    font-size: clamp(2rem, 10vw, 8rem);
    letter-spacing: 6px;
    line-height: 0.9;
    position: relative;
    z-index: 40;
    max-width: min(92vw, 1100px);
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    text-align: center;
}

/* Make sure very small screens scale down the date more aggressively */
@media (max-width: 420px) {
    .center-stage { padding-bottom: 6rem; }
    .date-display { font-size: clamp(1.4rem, 18vw, 4.4rem); letter-spacing: 3px; }
    .center-logo { max-width: clamp(140px, 55vw, 520px); width: 70%; }
}

@media (max-width: 360px) {
    .center-stage { padding-bottom: 9rem; }
    .date-display { font-size: clamp(1.2rem, 22vw, 3.6rem); letter-spacing: 2px; }
}

/* Slide-down panel with blurred placeholder video icons */
.video-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: auto;
}
.video-panel .panel-handle {
    background: rgba(0,0,0,0.45);
    color: #d4af37;
    border: none;
    padding: 10px 18px;
    border-radius: 8px 8px 0 0;
    margin-bottom: 6px;
    cursor: pointer;
    font-weight: 500;
}
.video-panel .panel-content {
    width: 100%;
    max-height: 140px;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    overflow-x: auto;
    padding: 12px 20px;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.6);
}
.video-row {
    display: flex;
    gap: 14px;
    align-items: center;
}
.video-icon {
    width: 120px;
    height: 70px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(0,0,0,0.2));
    border: 1px solid rgba(255,255,255,0.03);
    filter: blur(3px) saturate(0.9) brightness(0.8);
    box-shadow: inset 0 0 18px rgba(0,0,0,0.45);
}

/* Centered YouTube player container */
.video-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
}

#youtube-wrapper {
    width: min(960px, 92vw);
    background: rgba(0,0,0,0.6);
    padding: 0.5rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

/* Responsive iframe/player container */
#player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.player-controls {
    display: flex;
    gap: 0.5rem;
}

.yt-btn {
    background: rgba(255,255,255,0.06);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.yt-error {
    width: 100%;
    color: #fff;
    background: rgba(220, 53, 69, 0.12);
    border: 1px solid rgba(220, 53, 69, 0.18);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
    max-width: 960px;
}

.logo-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 0.75rem;
}

.center-logo {
    position: relative;
    transform: none;
    left: auto;
    top: auto;
    z-index: 10;
    opacity: 1; /* show logo clearly above the player */
    max-width: clamp(160px, 24vw, 420px);
    width: auto;
    height: auto;
}

/* Make icons smaller on small screens */
@media (max-width: 600px) {
    .video-icon { width: 92px; height: 56px; }
    .date-display { font-size: clamp(2.2rem, 18vw, 6rem); }
}

@media (max-width: 360px) {
    .video-icon { width: 76px; height: 48px; }
    .date-display { font-size: clamp(1.8rem, 22vw, 4.4rem); }
}

/* Social links bar (fixed bottom-left) */
.social-links {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(0,0,0,0.45);
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(212,175,55,0.12);
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(0,0,0,0.6);
}
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    color: #d4af37; /* default gold color */
    text-decoration: none;
    transition: transform 0.12s ease, color 0.12s ease, background 0.12s ease;
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.03);
}
.social-links a svg { width: 28px; height: 28px; }
.social-links a:hover {
    transform: translateY(-4px) scale(1.03);
    color: #fff;
    background: rgba(212,175,55,0.12);
}

/* Make YouTube and Snapchat icons visibly red */
#social-yt, #social-ss {
    color: #ff3b30; /* vivid red */
    background: rgba(255,59,48,0.06);
    border-color: rgba(255,59,48,0.08);
}
#social-yt:hover, #social-ss:hover {
    background: rgba(255,59,48,0.14);
}

/* TikTok button styling (cyan accent for visibility) */
#social-tt {
    color: #69C9D0; /* TikTok cyan */
    background: linear-gradient(180deg, rgba(105,201,208,0.06), rgba(238,29,96,0.02));
    border-color: rgba(105,201,208,0.08);
}
#social-tt:hover {
    background: linear-gradient(180deg, rgba(105,201,208,0.12), rgba(238,29,96,0.05));
    color: #fff;
}

@media (max-width: 600px) {
    .social-links { left: 12px; bottom: 12px; padding: 8px; gap: 8px; }
    .social-links a { width: 48px; height: 48px; }
    .social-links a svg { width: 22px; height: 22px; }
}

@media (max-width: 360px) {
    .social-links { left: 8px; bottom: 8px; }
}

/* Minimal center layout overrides when the page is stripped down */
.center-stage.minimal {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    /* leave room for fixed header */
    padding-top: 4rem;
}

.coming-text {
    font-family: 'Arial', sans-serif;
    color: #111;
    font-size: clamp(1.6rem, 4.8vw, 3.6rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 0.25rem;
}

.center-stage.minimal .center-logo {
    opacity: 1;
    filter: none;
    max-width: clamp(160px, 30vw, 520px);
    width: auto;
}

/* Fixed header with small logo */
.site-header {
    position: fixed;
    top: 12px;
    left: 20px;
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-logo {
    display: block;
    width: clamp(28px, 5vw, 56px);
    height: auto;
}

@media (max-width: 480px) {
    .site-header { left: 10px; top: 10px; }
    .center-stage.minimal { padding-top: 3.2rem; }
}
