@charset "utf-8";

/* ================= RESET ================= */
* { margin: 0; padding: 0; border: 0; outline: 0; }
html, body { 
    width: 100%; height: 100%; overflow: hidden;
    background: #000;
}
body {
    font-family: 'Roboto', Tahoma, Arial, sans-serif;
    color: #ccc;
    font-size: 12px;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { border: 0; display: block; }

/* ================= KHUNG CHÍNH ================= */
.wrp_launcher {
    width: 982px; /* 980px nội dung + 2px viền */
    height: 480px;
    margin: 0 auto;
}

.launcher-frame {
    width: 980px; /* Chiều rộng chuẩn */
    height: 478px;
    border: 1px solid #141d25;
    background-color: #000;
    overflow: hidden;
    position: relative;
}

/* ================= CỘT TRÁI (ẢNH) ================= */
.main_banner {
    width: 488px;
    height: 478px;
    overflow: hidden;
    position: relative;
    float: left; /* ⭐ BẮT BUỘC */
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* RẤT QUAN TRỌNG */
    display: block;
}



.main_banner .hero-img {
    width: 488px;
    height: 478px;
    display: block;
}

/* ================= CỘT PHẢI (WRAPPER) ================= */
/* KHÔNG đặt padding ở đây để tránh lỗi cộng dồn kích thước */
.right-panel {
    float: left; /* Nối đuôi cột trái */
    width: 492px; /* 980 - 488 = 492px (Chính xác từng pixel) */
    height: 478px;
    background: #141414; /* Màu nền dự phòng */
    background: linear-gradient(135deg, #141414 0%, #080808 100%);
    overflow: hidden;
}

/* ================= LỚP ĐỆM BÊN TRONG (Padding) ================= */
/* Đây là lớp mới thêm vào HTML để xử lý khoảng cách */
.inner-padding {
    padding: 20px 25px; /* Căn lề ở đây thì không bao giờ vỡ khung cha */
    width: auto;
    height: auto;
}

/* ================= CÁC THÀNH PHẦN CON ================= */

/* 1. Server Status */
.server-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
}

.server-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e6b800;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.status-badge {
    color: #00ff00;
    background-color: #002200;
    border: 1px solid #00ff00;
    padding: 4px 10px;
    font-weight: bold;
    font-size: 11px;
    cursor: default;
    white-space: nowrap;
}

.status-badge .blink {
    margin-right: 4px;
    font-size: 14px;
}
/* Badge status (Online) giữ nguyên style inline trong HTML */

/* 2. Menu Buttons */
.nav-buttons {
    margin-bottom: 25px;
}

.mu-btn {
    display: block;
    width: 100%;
    height: 42px;
    line-height: 42px;
    text-align: center;
    background: #6b0000;
    border: 1px solid #b34b4b;
    margin-bottom: 10px;
    font-weight: bold;
    color: #ffecd1;
}
.mu-btn:hover { background: #8f0000; border-color: #ff6666; }
.btn-zalo { background: #004d80; border-color: #3399ff; margin-bottom: 0; }
.btn-zalo:hover { background: #006bb3; }
.mu-btn span { display: block; cursor: pointer; }


/* 3. News Box */
.news-box {
    background: rgba(0, 0, 0, 0.3);
    /* Fallback cho IE8 cũ k hiểu rgba */
    background: url('about:blank'); 
    background-color: #111;
    
    border: 1px solid #2e2e2e;
    padding: 10px;
    height: 190px;
    overflow: hidden;
}

.news-header {
    height: 20px;
    border-bottom: 1px dashed #444;
    margin-bottom: 5px;
    overflow: hidden;
}
.news-header .title { float: left; font-weight: bold; color: #ccc; }
.news-header .more-btn { float: right; font-size: 11px; color: #777; }

.news-list li {
    height: 20px;
    line-height: 20px;
    border-bottom: 1px solid #1a1a1a;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.news-list .date { float: left; width: 40px; color: #e6b800; }
.news-list a { color: #aaa; }
.news-list a:hover { color: #ff5555; }

/* 4. Footer */
.launcher-footer {
    text-align: center;
    color: #555;
    font-size: 10px;
    margin-top: 10px;
    padding-top: 5px;
    border-top: 1px solid #1f1f1f;
}


.server-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: bold;
}

.mu-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}