


/* ================= GLOBAL ================= */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: Arial, sans-serif;
    background: #000;
    position: fixed; /* Prevent scrolling */
}

/* ================= SECTIONS ================= */
section {
    display: none;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

section.active {
    display: block;
}

/* ================= VIDEO FIX (CRITICAL FIX) ================= */
.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #000;
    z-index: 1;
}

/* 🔥 FIXED VIDEO POSITION - FULL SCREEN */
.video-bg iframe,
.video-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    /* Always cover the full viewport regardless of aspect ratio */
    width: 100vw;
    height: 100vh;

    /* Scale up to cover black bars on any screen */
    min-width: 177.78vh;  /* 16:9 — ensures full width on tall screens */
    min-height: 56.25vw;  /* 16:9 — ensures full height on wide screens */

    object-fit: cover;
    pointer-events: none;
}

/* Video click blocker */
.video-click-blocker {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: auto;
}

/* ================= TITLE ================= */
.video-title {
    position: absolute;
    top: 12%;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 40px;
    z-index: 100;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* ================= LIQUID SIDENAV ================= */
.sidenav {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 1000;

    display: flex;
    flex-direction: column;
    gap: 12px;

    padding: 10px;
    border-radius: 40px;

    /* upgraded glass for better visibility */
    background: rgba(20, 20, 20, 0.35);

    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);

    border: 1px solid rgba(255,255,255,0.15);

    box-shadow:
        0 10px 40px rgba(0,0,0,0.4),
        inset 0 1px 2px rgba(255,255,255,0.15);

    overflow: hidden;
}

/* LIQUID LIGHT REFLECTION */
.sidenav::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;

    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.25),
        transparent 45%
    );

    opacity: 0.25;
    pointer-events: none;
}

/* BUTTON */
.sidenav button {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;

    display: flex;
    align-items: center;
    justify-content: center;

    /* improved contrast */
    background: rgba(255,255,255,0.08);
    color: #fff;

    font-size: 20px;
    cursor: pointer;

    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;

    box-shadow:
        inset 0 1px 2px rgba(255,255,255,0.2),
        0 3px 10px rgba(0,0,0,0.25);

    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* HOVER */
.sidenav button:hover {
    transform: scale(1.12);
    background: rgba(255,255,255,0.18);
}

/* PRESS */
.sidenav button:active {
    transform: scale(0.9);
}

/* ================= LIQUID BOTTOM ================= */
.bottom-links {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    text-transform: uppercase;
    font-weight: 600;


    display: flex;
    gap: 10px;

    padding: 10px 18px;
    border-radius: 50px;

    background: rgba(20, 20, 20, 0.35);

    backdrop-filter: blur(35px) saturate(200%);
    -webkit-backdrop-filter: blur(35px) saturate(200%);

    border: 1px solid rgba(255,255,255,0.25);

    box-shadow:
        0 12px 40px rgba(0,0,0,0.45),
        inset 0 1px 3px rgba(255,255,255,0.35),
        inset 0 -1px 2px rgba(0,0,0,0.2);

    overflow: hidden;
}

/* LIQUID LIGHT REFLECTION */
.bottom-links::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;

    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.4),
        transparent 40%
    );

    opacity: 0.25;
    pointer-events: none;
}

.bottom-links a {
    padding: 10px 18px;
    border-radius: 30px;

    background: rgba(255,255,255,0.12);

    color: #fff;
    text-decoration: none;
    font-size: 13px;

    border: 1px solid rgba(255,255,255,0.2);

    backdrop-filter: blur(20px);

    transition: all 0.3s ease;

    box-shadow:
        inset 0 1px 2px rgba(255,255,255,0.3),
        0 3px 10px rgba(0,0,0,0.3);
}

/* HOVER */
.bottom-links a:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.08);
}

/* PRESS */
.bottom-links a:active {
    transform: scale(0.9);
}

/* ================= FULLSCREEN ================= */
.fullscreen-btn {
    position: fixed;
    bottom: 25px;
    right: 20px;
    z-index: 1000;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(20, 20, 20, 0.35);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);

    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    
    box-shadow:
        0 10px 40px rgba(0,0,0,0.4),
        inset 0 1px 2px rgba(255,255,255,0.3);
}

.fullscreen-btn:hover {
    transform: scale(1.12);
    background: rgba(255,255,255,0.2);
}

.fullscreen-btn:active {
    transform: scale(0.9);
}

/* ================= SLIDER ================= */
.premium-slider {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    position: fixed;
    top: 0;
    left: 0;
}

.premium-slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0;
    transition: opacity 1s ease;
}

.premium-slider .slide.active {
    opacity: 1;
}

/* DASHES */
.premium-slider .dashes {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 100;
}

.premium-slider .dash {
    width: 28px;
    height: 3px;
    background: rgba(255,255,255,0.35);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.premium-slider .dash.active {
    background: #ffffff;
    width: 48px;
}

/* ================= ROTATION SCREEN ================= */
.rotate-screen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.rotate-screen.show {
    display: flex;
}

.rotate-box {
    text-align: center;
    color: #fff;
}

.rotate-box .phone {
    width: 60px;
    height: 100px;
    border: 3px solid #fff;
    border-radius: 8px;
    margin: 0 auto 20px;
    position: relative;
    animation: rotatePhone 2s infinite;
}

@keyframes rotatePhone {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(90deg); }
}

.rotate-box p {
    font-size: 18px;
    margin: 0;
}

/* ================= GLASS LIGHT ================= */
.sidenav::before,
.bottom-links::before,
.fullscreen-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;

    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.25),
        transparent 40%
    );

    opacity: 0.2;
    pointer-events: none;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 900px) {

    .bottom-links{
    width: 380px;
    display: flex;
    justify-content: center;
    align-items: center;

    }

    .video-title {
        font-size: 20px;
        top: 10%;
    }

    .sidenav {
        left: 10px;
    }

    .sidenav button {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .fullscreen-btn {
        display: none;
        width: 45px;
        height: 45px;
        right: 10px;
        bottom: 20px;
        font-size: 18px;
    }

    .bottom-links {
        bottom: 20px;
        padding: 6px 12px;
    }

    .bottom-links a {
        font-size: 10px;
        padding: 6px 10px;
    }

    .premium-slider .dashes {
        bottom: 75px;
    }
}

/* ================= PORTRAIT MODE LOCK (MOBILE) ================= */
@media (max-width: 900px) and (orientation: portrait) {
    .rotate-screen {
        display: flex !important;
    }
}

/* ================= LANDSCAPE MODE (MOBILE & DESKTOP) ================= */
@media (orientation: landscape) {
    
    .rotate-screen {
        display: none !important;
    }
    
    .video-bg iframe,
    .video-bg-video {
        width: 100vw;
        height: 100vh;
        min-width: 177.78vh;
        min-height: 56.25vw;
    }
    
    .sidenav {
        gap: 8px;
        padding: 8px;
    }
    
    .sidenav button {
        width: 45px;
        height: 45px;
    }
}

/* ================= DESKTOP SPECIFIC ================= */
@media (min-width: 901px) {
    .rotate-screen {
        display: none !important;
    }
}

/* ================= FIXES FOR iOS SAFARI ================= */
@supports (-webkit-touch-callout: none) {
    section {
        height: -webkit-fill-available;
    }
    
    .video-bg,
    .premium-slider {
        height: -webkit-fill-available;
    }
}



