* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; background: #050505; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
body { color: #fff; }
.live-page { position: relative; width: 100%; height: 100dvh; max-width: 560px; margin: 0 auto; overflow: hidden; background: #111; }
.video-wrap { position: absolute; inset: 0; background: #111; }
.video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; filter: blur(12px) saturate(.9); transform: scale(1.045); }
.video-wrap::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(0,0,0,.58) 0%, rgba(0,0,0,.08) 22%, rgba(0,0,0,0) 48%), linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.20) 34%, rgba(0,0,0,0) 65%); }
.teaser { position: absolute; z-index: 9; left: 50%; top: 48%; transform: translate(-50%, -50%); width: min(86%, 390px); text-align: center; pointer-events: none; }
.teaser-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; margin-bottom: 12px; border-radius: 999px; background: rgba(0,0,0,.38); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); font-size: 10px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.teaser-dot { width: 7px; height: 7px; border-radius: 50%; background: #4fff31; box-shadow: 0 0 10px rgb(49 255 72 / 90%); }
.teaser h1 { margin: 0; font-size: clamp(24px, 7vw, 36px); line-height: 1.08; font-weight: 850; text-shadow: 0 3px 20px rgba(0,0,0,.8); }
.teaser p { margin: 10px auto 0; max-width: 310px; color: rgba(255,255,255,.82); font-size: 13px; line-height: 1.45; text-shadow: 0 2px 10px rgba(0,0,0,.8); }
.teaser .lock { display: inline-block; margin-top: 12px; font-size: 22px; filter: drop-shadow(0 3px 8px rgba(0,0,0,.7)); }

/* ===== LINK TOMBOL ===== */
.join-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(135deg, #ff2d65, #ff0f87);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .1px;
    text-decoration: none;
    box-shadow: 0 10px 35px rgba(255, 20, 100, .28);
    cursor: pointer;
    transition: transform .12s ease, filter .2s ease, box-shadow .2s ease;
    animation: joinPulse 2.8s ease-in-out infinite;
}
.join-btn:active {
    transform: scale(.97);
}
.join-btn:hover {
    filter: brightness(1.08);
    box-shadow: 0 12px 40px rgba(255, 20, 100, .5);
}
.join-btn span {
    display: inline-block;
}
/* ===== END LINK TOMBOL ===== */

@keyframes joinPulse {
    0%, 72%, 100% { transform: scale(1); box-shadow: 0 10px 35px rgba(255, 20, 100, .28); }
    78% { transform: scale(1.018); box-shadow: 0 10px 42px rgba(255, 20, 100, .48); }
    84% { transform: scale(1); }
}

.topbar { position: absolute; z-index: 10; top: max(14px, env(safe-area-inset-top)); left: 14px; right: 14px; display: flex; align-items: center; justify-content: space-between; }
.host { display: flex; align-items: center; gap: 10px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); object-fit: cover; background: #444; }
.host-info { display: flex; flex-direction: column; gap: 3px; }
.host-name { font-size: 14px; font-weight: 700; text-shadow: 0 1px 5px #000; }
.badge-wrapper { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.live-badge { display: inline-flex; align-items: center; padding: 3px 7px; border-radius: 5px; background: #ff1744; font-size: 9px; font-weight: 900; letter-spacing: .8px; height: 20px; line-height: 1; }
.country-badge { display: inline-flex; align-items: center; justify-content: center; padding: 2px 4px; border-radius: 5px; background: rgba(255,255,255,.12); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.08); height: 20px; line-height: 1; }
.country-badge img { display: block; width: 20px; height: auto; max-height: 16px; border-radius: 2px; }
.viewers { display: flex; align-items: center; gap: 6px; padding: 8px 11px; border-radius: 18px; background: rgba(0,0,0,.42); backdrop-filter: blur(10px); font-size: 12px; font-weight: 600; }
.viewer-dot { width: 7px; height: 7px; border-radius: 50%; background: #36e58a; box-shadow: 0 0 8px #36e58a; }
.comments { position: absolute; z-index: 8; left: 14px; bottom: 116px; width: min(76%, 390px); display: flex; flex-direction: column; gap: 7px; pointer-events: none; overflow: hidden; max-height: 20vh; justify-content: flex-end; }
.comment { width: fit-content; max-width: 100%; padding: 7px 11px; border-radius: 15px; background: rgba(0,0,0,.42); backdrop-filter: blur(8px); color: rgba(255,255,255,.96); font-size: 13px; line-height: 1.25; animation: commentIn .35s ease both; text-shadow: 0 1px 2px rgba(0,0,0,.7); }
.comment strong { color: #ff9fbd; margin-right: 4px; }
.comment.out { animation: commentOut .35s ease forwards; }
@keyframes commentIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes commentOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-8px); } }
.comment.join-event { color: rgba(255,255,255,.82); font-size: 12px; font-weight: 600; }
.comment.join-event strong { color: #fff; }
.controls { position: absolute; z-index: 20; right: 13px; bottom: 94px; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.control-btn { border: 0; outline: 0; cursor: pointer; color: #fff; background: transparent; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.control-icon { width: 51px; height: 51px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.42); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); font-size: 27px; transition: transform .12s ease; }
.control-btn:active .control-icon { transform: scale(.84); }
.heart-button .control-icon { background: rgba(255, 30, 92, .18); border-color: rgba(255,100,145,.45); font-size: 29px; }
.heart-layer { position: absolute; z-index: 15; inset: 0; pointer-events: none; overflow: hidden; }
.floating-heart { position: absolute; right: 26px; bottom: 113px; font-size: var(--size, 28px); filter: drop-shadow(0 3px 8px rgba(255, 0, 80, .35)); animation: floatHeart var(--duration, 2.4s) cubic-bezier(.15,.75,.35,1) forwards; transform: translate(0, 0) scale(.6); opacity: 0; }
@keyframes floatHeart { 0% { opacity: 0; transform: translate(0, 0) scale(.45) rotate(-8deg); } 10% { opacity: 1; } 50% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), -75vh) scale(1.15) rotate(var(--rotate)); } }
.bottom { position: absolute; z-index: 12; left: 14px; right: 14px; bottom: max(18px, env(safe-area-inset-bottom)); }
/* .join-btn sudah didefinisikan di atas */
@media (min-width: 561px) { body { display: flex; align-items: center; justify-content: center; background: #020202; } .live-page { height: min(900px, 100dvh); border-radius: 18px; box-shadow: 0 0 80px rgba(0,0,0,.8); } }
#text3 {
    text-transform: capitalize;
}