/* style.css - Phiên bản đẹp */
body { 
    font-family: Arial, sans-serif; 
    /* Thêm ảnh nền full màn hình */
    background: url('bg.jpg') no-repeat center center fixed; 
    background-size: cover; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    min-height: 100vh; 
    margin: 0; 
    padding: 20px 0;
}

/* Thêm lớp phủ tối để chữ dễ đọc hơn nếu ảnh nền quá sáng */
body::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Màu đen mờ 40% */
    z-index: -1;
}

.container { 
    background: rgba(255, 255, 255, 0.95); /* Nền trắng hơi trong suốt */
    padding: 25px; 
    border-radius: 10px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.5); 
    width: 400px; 
    max-width: 90%;
    text-align: center; 
    position: relative;
}

/* Ảnh Banner phía trên */
.banner-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

h1 { color: #d32f2f; font-size: 24px; margin: 10px 0 20px; text-transform: uppercase; font-weight: bold; }
h3 { color: #555; font-size: 16px; margin: 20px 0 10px; border-bottom: 1px solid #ddd; padding-bottom: 5px;}

/* Input đẹp hơn */
input { width: 90%; padding: 12px; margin: 10px 0; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; }

/* Các nút bấm */
.btn { 
    display: block; 
    width: 100%; 
    padding: 12px 0; 
    margin: 10px 0; 
    color: white; 
    text-decoration: none; 
    border-radius: 5px; 
    font-weight: bold;
    transition: 0.3s;
    text-align: center;
    box-sizing: border-box;
}

.btn-primary { background: #007bff; box-shadow: 0 4px 0 #0056b3; }
.btn-primary:active { transform: translateY(4px); box-shadow: none; }

.logout { background: #dc3545; }

.zalo-btn { 
    background: #0068ff; 
    border: 1px solid #0068ff;
    display: flex; justify-content: center; align-items: center;
}
.zalo-btn:hover { background: #0051c9; }

/* Khu vực tải game 3 cột */
.download-group {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
}

.dl-btn {
    flex: 1;
    font-size: 12px;
    padding: 10px 5px;
    text-align: center;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    display: flex; flex-direction: column; align-items: center;
}

.android { background: #3ddc84; }
.ios { background: #000000; }
.pc { background: #ffc107; color: #333; }

.news-box { background: #fff; border: 1px solid #ddd; margin-bottom: 20px; text-align: left; border-radius: 5px; overflow: hidden; }
.news-header { background: #d32f2f; color: white; padding: 10px; font-weight: bold; }
.news-list { list-style: none; padding: 0; margin: 0; }
.news-list li { padding: 8px 10px; border-bottom: 1px solid #eee; display: flex; }
.news-date { color: #666; margin-right: 10px; font-family: monospace; }
.news-list li a { text-decoration: none; color: #333; font-weight: 500; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-list li a:hover { color: #d32f2f; }

/* --- GIAO DIỆN DASHBOARD (NỀN TRẮNG) --- */

/* Khung to bao quanh: Nền trắng, bo góc, đổ bóng */
.container-wide {
    width: 900px;
    max-width: 95%;
    background: #ffffff; /* Màu trắng tuyệt đối */
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5); /* Đổ bóng đen xung quanh cho nổi */
    display: flex;
    overflow: hidden;
    margin: 40px auto; /* Căn giữa màn hình */
    min-height: 400px;
}

/* Sidebar bên trái */
.sidebar {
    width: 250px;
    background: #2c3e50; /* Màu tối sang trọng */
    color: #fff;
    display: flex;
    flex-direction: column;
}
.sidebar-header {
    padding: 20px;
    background: #1a252f;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    border-bottom: 1px solid #34495e;
}
.sidebar-menu { list-style: none; padding: 0; margin: 0; }
.sidebar-menu li a {
    display: block;
    padding: 15px 20px;
    color: #bdc3c7;
    text-decoration: none;
    border-bottom: 1px solid #34495e;
    transition: 0.3s;
}
.sidebar-menu li a:hover, .sidebar-menu li a.active {
    background: #3498db; /* Màu xanh khi hover */
    color: #fff;
}

/* Nội dung bên phải */
.main-content {
    flex: 1;
    padding: 30px;
    background: #fdfdfd; /* Màu trắng hơi xám nhẹ cho dịu mắt */
}
.page-title {
    margin-top: 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
    color: #333;
}

/* Style cho các dòng thông tin */
.info-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 5px;
}
.info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}
.info-row:last-child { border-bottom: none; }
.label { font-weight: bold; color: #555; }
.value { font-weight: bold; color: #333; }

/* Responsive cho điện thoại */
@media (max-width: 768px) {
    .container-wide { flex-direction: column; }
    .sidebar { width: 100%; }
}