/* ========================================
   RESET & BASE STYLES
   ======================================== */

*, body, html {
    padding: 0;
    margin: 0;
}

* {
    box-sizing: border-box;
}

body, html {
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-family: Philosopher, Palatino, serif;
}


/* ========================================
   BACKGROUND & VIDEO
   ======================================== */

.background-image-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* No default background - let JS handle it */
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.background-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    background-size: cover;
    object-fit: cover;
}


/* ========================================
   GRADIENT OVERLAYS
   ======================================== */

.gradient-overlay-top,
.gradient-overlay-bottom {
    position: fixed;
    left: 0;
    width: 100%;
    height: 30%;
    pointer-events: none;
    z-index: -1;
}

.gradient-overlay-top {
    top: 0;
    background: linear-gradient(to bottom, #000, transparent);
}

.gradient-overlay-bottom {
    bottom: 0;
    background: linear-gradient(to top, #000, transparent);
}


/* ========================================
   LOGOS (TOP & BOTTOM)
   ======================================== */

.top-logo,
.bottom-logo {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.top-logo {
    top: 0;
    padding: 35px;
}

.top-logo img {
    max-width: 300px;
    height: auto;
}

.bottom-logo {
    bottom: 50px;
    padding: 0;
}

.bottom-logo img {
    max-width: 800px;
    height: auto;
}


/* ========================================
   STEPS CONTAINER (QUIZ BOX)
   ======================================== */

.steps-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 810px;
    height: 637px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    color: #dbcfa9;
    background-color: rgba(0, 0, 0, 0);
    text-align: center;
}

.steps-container::before {
    content: "";
    background-image: url('../img/quiz-box03.webp');
    background-size: cover;
    background-position: center;
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}


/* ========================================
   STEPS HEADER
   ======================================== */

.header-steps {
    display: flex;
    justify-content: center;
    align-items: center;
}

.steps-content {
    color: #fff;
    font-size: 60px;
    text-align: center;
}


/* ========================================
   STEPS DETAILS (CONTENT AREA)
   ======================================== */

.steps-details {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
    color: #ffff;
    font-size: 40px;
}

.browser-logo {
    margin: 20px 0;
    width: 130px;
    height: auto;
}


/* ========================================
   BUTTONS
   ======================================== */

.steps-buttons-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.steps-button {
    background-image: url('../img/Raid-43.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 420px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: #ffff;
    font-size: 30px;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.steps-button:hover {
    background-image: url('../img/Raid-43b.webp');
}


/* ========================================
   CTA BUTTON (FINAL STEP)
   ======================================== */

#cta {
    display: none;
    background-image: url('../img/Raid-43.webp');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 365px;
    height: 78px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffff;
    font-size: 25px;
    margin: 0 auto;
    cursor: pointer;
}

#cta:hover {
    background-image: url('../img/Raid-43b.webp');
}


/* ========================================
   LOADING BAR
   ======================================== */

.loading-bar-container {
    display: none;
    text-align: center;
    width: 100%;
}

.loading-bar-title {
    color: #ffff;
    font-size: 40px;
    text-align: center;
    margin-bottom: 10px;
}

.loading-bar {
    width: 80%;
    max-width: 810px;
    height: 20px;
    background-color: #f3f3f3;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px auto;
}

.loading-bar-progress {
    width: 0;
    height: 100%;
    background-color: #8c0723;
    border-radius: 10px;
    transition: width 0.15s;
}


/* ========================================
   FOOTER
   ======================================== */

.mini-footer {
    width: 100%;
    background-color: rgba(0, 0, 0, 0);
    color: #dbcfa9;
    font-size: 9px;
    display: flex;
    justify-content: center;
    padding: 1px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.mini-footer a {
    color: #d7d7d7;
    margin: 0 10px;
    text-transform: uppercase;
    text-decoration: none;
}

.mini-footer a:hover {
    text-decoration: underline;
}


/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.05);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out forwards;
}

.fade-out {
    animation: fadeOut 0.3s ease-in-out forwards;
}