/* --- START OF FILE public/css/global.css (PHIÊN BẢN SỬA LỖI VIDEO) --- */

/* === FONT & BIẾN MÀU (ĐÃ CẬP NHẬT) === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&family=Roboto:wght@400;700&display=swap');

:root {
    --primary-red: #00bfff;
    --secondary-red: #008fcc;
    --accent-glow: #00ffff;
    --text-color: #1a1a1a;
    --text-light: #888;
    --border-color: #e0e0e0;
    --shadow-hover: 0 10px 30px rgba(0, 191, 255, 0.3);
}

/* === THIẾT LẬP CHUNG (ĐÃ SỬA LỖI NỀN) === */
body {
    font-family: 'Roboto', sans-serif;
    /* THAY ĐỔI QUAN TRỌNG: Bỏ màu nền đen để video có thể hiển thị */
    background-color: transparent; 
    color: var(--text-color);
    margin: 0;
    overflow-x: hidden; /* Thêm để tránh thanh cuộn ngang */
}

main { 
    padding: 30px; 
    position: relative; 
    z-index: 5;
    text-align: center;
}

.fadeIn { 
    animation: fadeIn 0.6s ease-in-out; 
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === HEADER CHUNG === */
.header { 
    padding: 15px 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: sticky; 
    top: 0; 
    z-index: 10;
    background-color: transparent; 
    border-bottom: 1px solid rgba(0, 191, 255, 0.2);
}

/* === GRID CONTAINER CHUNG === */
.grid-container {
    display: grid;
    gap: 25px;
}

/* === NÚT CHUNG === */
.btn-primary { 
    width: 100%; 
    padding: 14px; 
    border: none; 
    border-radius: 10px; 
    cursor: pointer; 
    font-weight: bold; 
    font-size: 1em; 
    text-transform: uppercase; 
    color: white; 
    background: linear-gradient(90deg, var(--secondary-red), var(--primary-red), var(--secondary-red)); 
    background-size: 200% 100%; 
    transition: all 0.4s ease-in-out; 
    animation: animated-gradient 4s linear infinite; 
}
@keyframes animated-gradient { 
    0% { background-position: 200% 0; } 
    100% { background-position: -200% 0; } 
}
.btn-primary:hover { 
    transform: translateY(-3px); 
    box-shadow: var(--shadow-hover); 
}

/* === MODAL CHUNG === */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); justify-content: center; align-items: center; }
.modal-content { background-color: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 5px 25px rgba(0,0,0,0.2); width: 90%; max-width: 500px; animation: fadeIn 0.3s; }
.close-btn { color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer; line-height: 1; padding-bottom: 10px; }
.close-btn:hover, .close-btn:focus { color: #000; text-decoration: none; cursor: pointer; }

/* === NÚT HỖ TRỢ NỔI (FAB) === */
.floating-support-button { position: fixed; bottom: 25px; right: 25px; z-index: 1000; width: 60px; height: 60px; background: linear-gradient(45deg, #27A0DE, #229ED9); border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 5px 15px rgba(39, 160, 222, 0.5); text-decoration: none; animation: pulse-blue 2s infinite, fadeIn 0.5s ease-out; transition: transform 0.2s ease-in-out; }
.floating-support-button:hover { transform: scale(1.1); animation-play-state: paused; }
.floating-support-button svg { width: 32px; height: 32px; fill: #fff; }
@keyframes pulse-blue { 0% { box-shadow: 0 0 0 0 rgba(39, 160, 222, 0.7); } 70% { box-shadow: 0 0 0 20px rgba(39, 160, 222, 0); } 100% { box-shadow: 0 0 0 0 rgba(39, 160, 222, 0); } }
@media (max-width: 768px) {
    .floating-support-button { width: 50px; height: 50px; bottom: 90px; right: 15px; }
    .floating-support-button svg { width: 28px; height: 28px; }
}

/* === CÁC LỚP NỀN CŨ - Giữ lại để không gây lỗi === */
#space-dust-overlay { display: none; }
.video-overlay { display: none; }