body {
    margin: 0;
    background: #0a0a0a;
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #fff;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 640px;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.hidden {
    display: none !important;
}

:root {
    --hot-pink: #ff69b4;
    --neon-pink: #ff1493;
}

/* Container chính chứa video */
.video-wrapper {
    width: 100%;
    max-width: 1000px;
    /* Độ rộng tối đa để không bị quá to trên PC */
    margin: 0 auto;
    text-align: center;
}

/* Kỹ thuật Responsive Iframe (giữ tỷ lệ 16:9) */
.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* Tỷ lệ 16:9 (9/16 = 0.5625) */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #000;
    /* Nền đen khi video chưa load */
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #333;
    border-radius: 12px;
}

.enjoy-message {
    color: #ff69b4;
    margin-top: 15px;
    font-style: italic;
    font-weight: bold;
    font-size: 1.1rem;
}

.video-placeholder {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid var(--hot-pink);
    box-shadow: 0 0 25px rgba(255, 105, 180, 0.5);
    transition: 0.3s ease;
}

.video-placeholder img {
    width: 100%;
    display: block;
    filter: brightness(0.6) contrast(1.2);
    transition: 0.3s ease;
}

.video-placeholder:hover {
    transform: scale(1.02);
    box-shadow: 0 0 35px rgba(255, 105, 180, 0.8);
}

.video-placeholder:hover img {
    filter: brightness(0.8);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: rgba(255, 20, 147, 0.4);
    border-radius: 50%;
    border: 4px solid var(--hot-pink);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
}

.play-btn::after {
    content: '';
    border-left: 35px solid var(--hot-pink);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    margin-left: 8px;
}

.video-placeholder:hover .play-btn {
    background: var(--hot-pink);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 20px var(--neon-pink);
}

.video-placeholder:hover .play-btn::after {
    border-left-color: #fff;
}

.video-title {
    margin-top: 20px;
    font-size: 1.4em;
    font-weight: bold;
    color: var(--hot-pink);
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.8;
    }
}

#affiliateGate {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.98);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.gate-message {
    font-size: 1.5em;
    margin-bottom: 25px;
    font-weight: bold;
    color: var(--hot-pink);
    text-shadow: 0 0 10px var(--hot-pink);
}

.gate-sub-message {
    color: #ddd;
    font-style: italic;
    margin-bottom: 30px;
}

.banner-box {
    border: 4px dashed var(--hot-pink);
    padding: 12px;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s ease;
    max-width: 520px;
    width: 100%;
    background: rgba(255, 105, 180, 0.05);
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.2);
}

.banner-box:hover {
    transform: scale(1.03);
    border-color: var(--neon-pink);
    box-shadow: 0 0 25px rgba(255, 105, 180, 0.4);
}

.banner-box img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.btn-verify {
    background: linear-gradient(45deg, var(--hot-pink), var(--neon-pink));
    color: #fff;
    padding: 18px 35px;
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 20px;
    border-radius: 50px;
    cursor: pointer;
    display: block;
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.4);
    transition: 0.3s ease;
}

.btn-verify:hover {
    background: linear-gradient(45deg, var(--neon-pink), var(--hot-pink));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 20, 147, 0.6);
}

#videoPlayer {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(255, 105, 180, 0.5);
    border: 3px solid var(--hot-pink);
}