
/* ====== AREA BINGKAI TV SIMULATOR ====== */
.tv-wrapper {
    position: relative;
    width: 100%;
    min-width: 360px;
    max-width: 600px;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
}

.tv-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1; 
    pointer-events: none;
}

.tv-screen {
    position: absolute;
    top: 3.7%;    /* Jarak dari atas bingkai */
    left: 1.3%;   /* Jarak dari kiri bingkai */
    width: 97.7%; /* Lebar layar disesuaikan agar bezel TV tetap terlihat */
    height: 88%;/* Tinggi layar disesuaikan agar kaki TV tidak tertutup */
    overflow: hidden;
    z-index: 15;  
    border-radius: 2px;
}

.slide-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-container.active {
    opacity: 1;
    z-index: 5;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: fill; 
    position: absolute;
    top: 0;
    left: 0;
}

.text-fallback {
    position: absolute;
    font-size: 13px;
    color: #666666;
    text-align: center;
    padding: 20px;
}

/* ====== BARISAN NAVIGASI DIGITAL (KUNCI KAKU 4 TOMBOL) ====== */
.digital-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 560px; 
}

.nav-btn {
    flex: 1;
    height: 40px;
    border: none;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    color: #ffffff;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* Tipe Navigasi (PREV & NEXT) */
.nav-btn.prev, .nav-btn.next {
    background: #252525;
    border: 1px solid #383838;
}
.nav-btn.prev:hover, .nav-btn.next:hover { background: #353535; scale: 1.03; }

/* Tipe Home */
.nav-btn.home {
    background: #252525;
    color: #ffffff;
}
.nav-btn.home.tab-active {
    background: #252525; 
    color: #ffffff;
    
}
.nav-btn.home:not(.tab-active):hover { background: #4a4a4a; }

/* ====== GAYA DESAIN DINAMIS UNTUK TOMBOL TIPE APPS ====== */
.nav-btn.app-btn {
    background: #22221f;
    border: 1px solid #333;
    color: #ffffff;
}

/* Pewarnaan Tombol Aplikasi (Redup saat Standby, Menyala saat Aktif) */
.nav-btn.app-btn.app-hotel { background: #a98660; color: #ffffff; }
.nav-btn.app-btn.app-hotel.tab-active { background: #b18e3a; color: #fff; }

.nav-btn.app-btn.app-yt { background: #a98660; color: #ffffff; }
.nav-btn.app-btn.app-yt.tab-active { background: #ff0000; color: #fff; }

.nav-btn.app-btn.app-nf { background: #a98660; color: #ffffff; }
.nav-btn.app-btn.app-nf.tab-active { background: #e50914; color: #fff; }

.nav-btn.app-btn.app-sp { background: #a98660; color: #ffffff; }
.nav-btn.app-btn.app-sp.tab-active { background: #1ed760; color: #fff; }

.nav-btn.app-btn.app-vd { background: #a98660; color: #ffffff; }
.nav-btn.app-btn.app-vd.tab-active { background: #ff4371; color: #fff; }

.nav-btn.app-btn.app-vs { background: #a98660; color: #ffffff; }
.nav-btn.app-btn.app-vs.tab-active { background: #0056b3; color: #fff; }

.nav-btn.app-btn.app-ch { background: #a98660; color: #ffffff; }
.nav-btn.app-btn.app-ch.tab-active { background: #00b0ff; color: #fff; }

/* Highlight Efek Aktif */
.nav-btn.app-btn.tab-active {
    box-shadow: 0 4px 18px rgba(255, 255, 255, 0.2);
    scale: 1.02;
    border: 1px solid #fff;
}

.nav-btn.app-btn:hover {
    scale: 1.04;
    filter: brightness(1.15);
}

.nav-btn:active { scale: 0.97; }

@media (max-width: 600px) {
    .digital-navigation { gap: 8px; }
    .nav-btn { font-size: 10px; height: 36px; }
}