* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #000000;
    color: #ffffff;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* --- Container chứa Menu --- */
.menu-container {
    background: linear-gradient(to bottom, #181818, #0a0a0a);
    border-bottom: 2px solid #003791;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0;
}

/* --- PS4 Menu Bar --- */
.ps4-menu {
    display: flex;
    gap: 15px;
    
    /* V06 FIX: Thu hẹp header lại cho gọn đẹp. 
       15px trên, 15px 2 bên, 18px dưới (để bù cho bóng đổ lệch xuống dưới).
       Đảm bảo header mỏng nhất nhưng nút vẫn không bị lẹm. */
    padding: 15px 15px 18px 15px; 
    
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none; 
}
.ps4-menu::-webkit-scrollbar {
    display: none; 
}

/* --- Menu Buttons --- */
.ps4-btn {
    --btn-color: #0072ce; 
    --btn-glow: #009cff;

    text-decoration: none;
    color: #b0b0b0;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    
    background: linear-gradient(to bottom, #3a3a3a, #1a1a1a);
    border: 1px solid #444;
    border-radius: 25px; 
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.2), 
        0 6px 8px rgba(0, 0, 0, 0.8),             
        0 1px 2px rgba(0, 0, 0, 0.9);
    
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.ps4-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.15), rgba(255,255,255,0));
    border-radius: 25px 25px 0 0;
}

.ps4-btn:hover {
    color: #ffffff;
    background: linear-gradient(to bottom, #4a4a4a, #2a2a2a);
    transform: translateY(-2px);
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        0 8px 12px rgba(0, 0, 0, 0.9);
}

.ps4-btn.active {
    color: #ffffff;
    background: linear-gradient(to bottom, var(--btn-color), #111111);
    border: 1px solid var(--btn-glow);
    
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.5),
        0 0 15px var(--btn-glow),
        0 4px 8px rgba(0, 0, 0, 0.6);
        
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    transform: translateY(1px);
}

.ps4-btn.active::before {
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), rgba(255,255,255,0));
}

/* --- Khu vực Iframe --- */
.content-area {
    flex: 1;
    width: 100%;
    background-color: #050505;
    position: relative;
}

#contentFrame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* --- Footer Thông Báo --- */
.footer-ticker {
    background-color: #080808;
    border-top: 1px solid #003791;
    height: 40px; 
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden; 
    flex-shrink: 0;
}

.ticker-text {
    position: absolute;
    white-space: nowrap; 
    color: #009cff;      
    font-size: 15px;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(0, 114, 206, 0.5);
    animation: marquee-animation 25s linear infinite; 
}

@keyframes marquee-animation {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

@media (max-width: 768px) {
    .menu-container { justify-content: flex-start; }
    .ps4-btn { padding: 10px 20px; font-size: 12px; }
}