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

html,
body {
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    background: black;
    color: white;
    overflow: hidden;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Start Screen */
#start-screen {
    position: absolute;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

#start-button {
    font-size: 1.8em;
    padding: 20px 40px;
    background: linear-gradient(90deg, #ff0000, #0000ff);
    color: white;
    border: 2px solid #fff;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    transition: transform 0.2s ease;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

#start-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 255, 255, 1);
}

/* Curtains */
#curtains {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 900;
    display: none;
    pointer-events: none;
}

.curtain {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
    transition: transform 2s ease-in-out;
    background-color: #1a1a1a;
    z-index: 1000;
}

.curtain.left {
    left: 0;
}

.curtain.right {
    right: 0;
}

.open-left {
    transform: translateX(-100%);
}

.open-right {
    transform: translateX(100%);
}

/* Background Image */
#background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/trump-bg.jpg') center center / cover no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 0;
}

/* Content */
#content {
    position: absolute;
    top: calc(50% + 40px);
    /* 👈 push it down from center */
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: none;
    z-index: 2;
    width: 90vw;
    max-width: 600px;
}

/* Heading */
#heading {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 2vh;
    background: linear-gradient(90deg, #b22234, #ffffff, #3c3b6e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Countdown */
#countdown-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2vh;
    margin-bottom: 2vh;
}

.countdown-segment {
    position: relative;
    background: linear-gradient(205deg, #3c3b6e 40%, #b22234 100%);
    border: 2px solid #fff;
    border-radius: 10px;
    padding: 1.5vh 2vw;
    min-width: 65px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    opacity: 0.7;
    overflow: hidden;
}

.countdown-segment::before {
    content: "";
    position: absolute;
    top: -55%;
    left: 50%;
    width: 100%;
    height: 170%;
    background: url('./assets/star.webp') repeat;
    background-size: 50px;
    opacity: 0.5;
    transform: rotate(-230deg);
    z-index: 0;
    pointer-events: none;
}

.countdown-number,
.countdown-label {
    position: relative;
    z-index: 1;
}
.countdown-number {
    font-size: 2em;
    font-weight: bold;
}

.countdown-label {
    font-size: 0.9em;
    margin-top: 5px;
    text-transform: uppercase;
}

/* Trump GIF */
#trump-gif {
    width: 80%;
    max-width: 250px;
    margin-top: 2vh;
    opacity: 0.87;
    border-radius: 5%;
}

/* Animated Gradient Text */
.animated-gradient {
    font-size: 2.5em;
    font-weight: bold;
    background: linear-gradient(270deg, #ff0000, #ffffff, #0000ff, #ffffff, #ff0000);
    background-size: 800% 800%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 8s ease infinite;
    text-align: center;
    margin-bottom: 2vh;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Responsive Mobile Fix */
@media (max-width: 768px) {
    #heading {
        font-size: 2.2em !important;
    }

    .countdown-number {
        font-size: clamp(2rem, 4vw, 4rem) !important;
    }

    .countdown-label {
        font-size: 0.9rem;
    }

    #start-button {
        font-size: 1.2em;
        padding: 12px 24px;
    }

    .animated-gradient {
        font-size: 2em;
    }

    #content {
        transform: translate(-50%, -50%) scale(0.9);
    }

    .curtain {
        width: 60vw;
    }
}

/* Apply Bangers globally */
body,
h1,
h2,
h3,
h4,
h5,
h6,
button {
    font-family: 'Bangers', cursive;
}

/* Optional: Make countdown more dramatic */
.countdown-number {
    font-family: 'Bangers', cursive;
    font-size: 4vw;
    /* adjust if needed */
}

/* Make the heading extra bold and punchy */
#heading {
    font-size: 6vw;
    font-family: 'Bangers', cursive;
    text-transform: uppercase;
}

/* Make the button more vibrant if you want */
#start-button {
    font-family: 'Bangers', cursive;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.flying-plane {
    position: fixed;
    bottom: -60px;
    left: -100px;
    width: 200px;
    z-index: 5;
    animation: fly-diagonal 7s ease-out forwards;
}

.flying-plane .plane {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 3;
}

.plane-message {
    position: absolute;
    bottom: -10px;
    /* further up */
    right: 200px;
    /* further left */
    transform: rotate(-25deg);
    transform-origin: bottom right;
    font-size: 1.2rem;
    font-family: 'Bangers', sans-serif;
    color: white;
    opacity: 0;
    animation: fade-message 7s ease-out forwards;
    animation-delay: 0.3s;
    white-space: nowrap;
    z-index: 2;
}

/* Plane animation */
@keyframes fly-diagonal {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: translate(120vw, -120vh);
        opacity: 0;
    }
}

/* Text animation */
@keyframes fade-message {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.know-more-btn {
    position: fixed;
    display: block;
    opacity: 0;
    pointer-events: none;
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    background-color: #009ACF;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0, 154, 207, 0.6);
    z-index: 999;
    transition: opacity 0.4s ease;
    cursor: pointer
}
.know-more-btn.show {
    opacity: 1;
    pointer-events: auto;
    animation: pop-in 0.3s ease forwards;
}

@keyframes pop-in {
    0% {
        transform: scale(0.5) rotate(-15deg);
        opacity: 0;
    }

    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

#flightTrackerBar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #009ACF;
    color: white;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    padding: 5px 0;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0);
    }
}

.sound-note {
    font-size: 10px;
    font-weight: normal;
    opacity: 0.8;
}

#uscisLogo {
    position: fixed;
    top: 37px;
    /* enough space below top bar */
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    /* a bit bigger */
    height: auto;
    z-index: 10001;
    /* on top of the bar */
    opacity: 1;
    pointer-events: none;
    border-radius: 10%;
}

.gif-duaa-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    /* push it down from logo */
    z-index: 1;
} 

.travel-duaa {
    width: 100%;
    margin: 12px auto 0 auto;
    /* spacing above + center it */
    font-size: 1.1rem;
    color: white;
    text-align: center;
    line-height: 1.6;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 15px;
    border-radius: 10px;
    z-index: 20;
    position: relative;
}

.fade-in {
    opacity: 0;
    transform: scale(0.95);
    animation: fadeInStagger 1.2s ease forwards;
}

.fade-in-delay-3 {
    animation-delay: 1.5s;
}
.fade-in-delay-4 {
    animation-delay: 4s;
}

.fade-in-delay-5 {
    animation-delay: 5s;
}

.fade-in-delay-5-5 {
    animation-delay: 5.5s;
}

.fade-in-delay-6 {
    animation-delay: 6s;
}

.fade-in-delay-6-5 {
    animation-delay: 6.5s;
}

.fade-in-delay-7 {
    animation-delay: 7s;
}

.fade-in-delay-7-5 {
    animation-delay: 7.5s;
}

.fade-in-delay-8 {
    animation-delay: 8s;
}

.fade-in-delay-8-5 {
    animation-delay: 8.5s;
}

.fade-in-delay-9 {
    animation-delay: 9s;
}

.fade-in-delay-9-5 {
    animation-delay: 9.5s;
}

.fade-in-delay-10 {
    animation-delay: 10s;
}

.fade-in-delay-11 {
    animation-delay: 12s;
}

.fade-in-delay-12 {
    animation-delay: 12s;
}

@keyframes fadeInStagger {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

