/* ===================================
   LANDING PAGE STYLES
   =================================== */

/* Reset for landing page */
body {
    overflow: hidden;
}

/* ===================================
   LOADING SCREEN
   =================================== */
.landing-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center,
            rgba(20, 15, 12, 1) 0%,
            rgba(10, 8, 6, 1) 50%,
            rgba(5, 3, 2, 1) 100%);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.landing-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    margin-bottom: 50px;
    animation: logoPulse 2s ease-in-out infinite;
}

.loader-logo img {
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 50, 50, 0.6)) drop-shadow(0 0 60px rgba(200, 30, 30, 0.4));
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 30px rgba(255, 50, 50, 0.6)) drop-shadow(0 0 60px rgba(200, 30, 30, 0.4));
    }

    50% {
        transform: scale(1.02);
        filter: drop-shadow(0 0 40px rgba(255, 60, 60, 0.8)) drop-shadow(0 0 80px rgba(220, 40, 40, 0.5));
    }
}

.loader-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.loader-bar {
    width: 300px;
    height: 4px;
    background: rgba(60, 50, 40, 0.6);
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid rgba(201, 168, 108, 0.2);
}

.loader-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,
            #8B0000 0%,
            #c9a86c 50%,
            #8B0000 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(201, 168, 108, 0.5);
}

.loader-text {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    color: #8a8078;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes textPulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* Press to Continue Button */
.press-continue-btn {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    color: #c9a86c;
    text-transform: uppercase;
    letter-spacing: 4px;
    background: transparent;
    border: 2px solid rgba(201, 168, 108, 0.5);
    padding: 15px 40px;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.press-continue-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 108, 0.2), transparent);
    transition: left 0.5s ease;
}

.press-continue-btn:hover {
    border-color: #c9a86c;
    color: #fff;
    text-shadow: 0 0 10px rgba(201, 168, 108, 0.8);
    box-shadow: 0 0 20px rgba(201, 168, 108, 0.3);
}

.press-continue-btn:hover::before {
    left: 100%;
}

.press-continue-btn.pulse-animation {
    animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(201, 168, 108, 0.4);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 20px 5px rgba(201, 168, 108, 0.2);
    }
}

/* ===================================
   VIDEO CONTAINER
   =================================== */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.video-container.visible {
    opacity: 1;
    visibility: visible;
}

.youtube-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    overflow: hidden;
}

.youtube-wrapper iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130vw;
    height: 130vh;
    min-width: 130vw;
    min-height: 130vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: none;
}

.landing-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center,
            transparent 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
    pointer-events: none;
}

/* ===================================
   LANDING CONTENT
   =================================== */
.landing-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    animation: contentFadeIn 1.5s ease 0.5s both;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0);
    }
}

.landing-logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.landing-logo img {
    max-width: 450px;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(255, 50, 50, 0.7)) drop-shadow(0 0 80px rgba(200, 30, 30, 0.5));
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.landing-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 18px;
    font-weight: 400;
    color: #c9a86c;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 40px;
    text-shadow: 0 0 20px rgba(201, 168, 108, 0.6),
        0 0 40px rgba(201, 168, 108, 0.3);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(201, 168, 108, 0.6),
            0 0 40px rgba(201, 168, 108, 0.3);
    }

    50% {
        text-shadow: 0 0 30px rgba(201, 168, 108, 0.9),
            0 0 60px rgba(201, 168, 108, 0.5),
            0 0 80px rgba(201, 168, 108, 0.3);
    }
}

.landing-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.landing-btn {
    display: inline-block;
    padding: 15px 45px;
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.landing-btn-primary {
    background: linear-gradient(180deg,
            rgba(139, 0, 0, 0.9) 0%,
            rgba(100, 0, 0, 0.95) 50%,
            rgba(80, 0, 0, 0.9) 100%);
    border: 1px solid rgba(201, 168, 108, 0.5);
    color: #e8dcc8;
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.landing-btn-primary:hover {
    background: linear-gradient(180deg,
            rgba(160, 20, 20, 0.95) 0%,
            rgba(120, 10, 10, 0.98) 50%,
            rgba(100, 0, 0, 0.95) 100%);
    border-color: rgba(201, 168, 108, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(139, 0, 0, 0.6),
        0 0 30px rgba(201, 168, 108, 0.3);
}

.landing-btn-secondary {
    background: linear-gradient(180deg,
            rgba(40, 35, 30, 0.9) 0%,
            rgba(25, 22, 18, 0.95) 50%,
            rgba(18, 15, 12, 0.9) 100%);
    border: 1px solid rgba(201, 168, 108, 0.4);
    color: #c9a86c;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.landing-btn-secondary:hover {
    background: linear-gradient(180deg,
            rgba(50, 45, 38, 0.95) 0%,
            rgba(35, 30, 25, 0.98) 50%,
            rgba(25, 22, 18, 0.95) 100%);
    border-color: rgba(201, 168, 108, 0.7);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(201, 168, 108, 0.2);
}

/* ===================================
   VIDEO CONTROLS
   =================================== */
.video-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 15px;
    z-index: 20;
}

.video-control-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    background: rgba(20, 15, 12, 0.8);
    border: 1px solid rgba(201, 168, 108, 0.3);
    border-radius: 5px;
    color: #8a8078;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.video-control-btn:hover {
    background: rgba(40, 30, 25, 0.9);
    border-color: rgba(201, 168, 108, 0.6);
    color: #c9a86c;
}

.skip-btn {
    letter-spacing: 1px;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 768px) {

    .loader-logo img,
    .landing-logo img {
        max-width: 280px;
    }

    .loader-bar {
        width: 200px;
    }

    .landing-title {
        font-size: 14px;
        letter-spacing: 4px;
    }

    .landing-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .landing-btn {
        padding: 12px 35px;
        font-size: 11px;
    }

    .video-controls {
        bottom: 20px;
        right: 20px;
    }
}