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

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    overflow: hidden;
    background: black; /* Keep background black as requested */
}

.ad-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.background {
    width: 100%;
    height: 100vh;
    background-color: black; /* solid black background */
    position: absolute;
    top: 0;
    left: 0;
}

.left-image, .right-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
}

/* left-image: solid black base */
.left-image {
    background-color: black;
    z-index: 1;
}

/* right-image: poster that will be revealed by adjusting clip-path */
.right-image {
    /* Use the poster asset; spaces encoded as %20 */
    background-image: url('assets/WOF_SPIN_AW3%20(1).jpg');
    background-size: contain; /* ensure full image is visible and not cropped */
    background-position: center center;
    background-repeat: no-repeat;
    clip-path: inset(0 100% 0 0); /* Initially hidden */
    z-index: 2; /* On top so it appears when revealed */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    color: white;
    text-align: center;
    padding: 20px;
}

.logo { display: none; }

/* overlay images removed for poster reveal */

.text-content h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.text-content p {
    font-size: 16px;
    text-transform: uppercase;
}

.slider {
    position: absolute;
    top: 0%;
    left: 0%; /* initial left will be set via JS */
    width: 2px;
    height: 100%;
    background: white;
    cursor: ew-resize;
    z-index: 30;
}

.handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 6px rgba(255,255,255,0.2);
}

/* Hint that tells the user to drag to reveal the poster */
.hint {
    position: absolute;
    top: 10vh;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.45);
    color: white;
    padding: 10px 16px;
    border-radius: 20px;
    font-weight: 600;
    z-index: 40;
    pointer-events: none;
    transition: opacity 300ms ease, transform 300ms ease, visibility 300ms;
}

.hint.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
    visibility: hidden;
}

.arrow {
    width: 10px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
}

.left-arrow {
    transform: rotate(135deg);
    margin-right: 12px;
}

.right-arrow {
    transform: rotate(-45deg);
    margin-left: 12px;
}

.know-more {
    background: transparent;
    border: 1.5px solid white;
    color: white;
    padding: 8px 26px;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    position: absolute;
    top: 88vh;
    font-weight: bold;
    z-index: 10;
    left: 50%;
    transform: translate(-50%, -50%);
}

.know-more:hover {
    background: white;
    color: black;
}

/* Responsive adjustments */
/* @media (max-width: 768px) {
    .text-content h1 {
        font-size: 24px;
    }

    .text-content p {
        font-size: 14px;
    }

    .logo {
        font-size: 20px;
    }

    .know-more {
        font-size: 14px;
        padding: 8px 16px;
    }
} */