* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* ANTI COPY */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* FULLSCREEN LAYOUT */
html, body {
    width: 100%;
    height: 100%;
    background: #000;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    overflow: hidden;
    color: #fff;
}

/* Sembunyikan elemen lama */
header, .actions, footer {
    display: none;
}

/* Container fullscreen */
.main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

/* Wrapper */
.video-wrapper {
    width: 100%;
    height: 100%;
}

/* VIDEO FULLSCREEN */
video {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background: #000;
    pointer-events: auto;
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: 0.25s;
}

.popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Popup Box */
.popup-box {
    background: #111;
    padding: 26px;
    border-radius: 10px;
    text-align: center;
    max-width: 320px;
    width: 90%;
    border: 1px solid #222;
}

.popup-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.popup-box p {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 18px;
}

.popup-actions {
    display: flex;
    justify-content: center;
}

.popup-btn {
    background: #2563eb;
    border: none;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    max-width: 220px;
}

.popup-btn:hover {
    background: #1d4ed8;
}
