﻿/* --- Chặn Somee ads/phá layout (Giữ nguyên) --- */
body > div:not(#app-container):not(.twinkle):not(.particle):not(.main-content),
body > iframe,
body > center,
body > script + div {
    display: none !important;
}

/* Base Styles - TET THEME */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a0505; /* Fallback: Dark Red Black */
    /* Gradient Đỏ Rượu - Đen */
    background: linear-gradient(135deg, #1a0505 0%, #380a0a 30%, #2b0505 70%, #000000 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    color: #fff1e6; /* Chữ trắng ngà ấm hơn trắng tinh */
    overflow-x: hidden;
}

    /* Hiệu ứng Sao/Pháo hoa nền */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Đổi các đốm xanh thành Vàng/Trắng */
        background-image: radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.9), transparent), radial-gradient(2px 2px at 40px 70px, rgba(255, 215, 0, 0.7), transparent), /* Gold */
        radial-gradient(1px 1px at 90px 40px, #fff, transparent), radial-gradient(1px 1px at 130px 80px, rgba(255, 69, 0, 0.5), transparent); /* Orange Red */
        background-repeat: repeat;
        background-size: 400px 300px;
        animation: moveStars 25s linear infinite;
        z-index: -1;
    }

@keyframes moveStars {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-300px);
    }
}

/* Glass Effects - TET STYLE */
.glass-header {
    background: rgba(40, 0, 0, 0.2); /* Nền đỏ cực nhạt */
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 215, 0, 0.25); /* Viền vàng */
    border-top: none;
    border-left: none;
    border-right: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.25); /* Viền vàng */
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

    .glass-card:hover {
        border-color: rgba(255, 215, 0, 0.6);
        box-shadow: 0 12px 40px rgba(220, 20, 60, 0.2); /* Glow đỏ khi hover */
    }

.glass-footer {
    background: rgba(20, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

/* Logo Styles */
.logo-text {
    /* Gradient Vàng - Cam - Đỏ */
    background: linear-gradient(135deg, #FFD700 0%, #ff8c00 50%, #ff0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    filter: brightness(1.2);
    transition: all 0.3s ease;
}

    .logo-text:hover {
        text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
        transform: scale(1.05);
    }

/*.logo-container {
    animation: logoFloat 4s ease-in-out infinite;
}
*/
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Navigation Styles */
.nav-link-modern {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .nav-link-modern:hover {
        color: #FFD700; /* Vàng kim */
        background: rgba(220, 20, 60, 0.15); /* Nền đỏ nhạt */
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
        transform: translateY(-2px);
    }

    .nav-link-modern::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        /* Quét sáng vàng */
        background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
        transition: left 0.5s ease;
    }

    .nav-link-modern:hover::before {
        left: 100%;
    }

/* Button Styles - RED & GOLD */
.btn-modern {
    /* Gradient Đỏ đậm sang Đỏ tươi */
    background: linear-gradient(135deg, #b91c1c 0%, #ef4444 50%, #b91c1c 100%);
    border: none;
    border-radius: 12px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(185, 28, 28, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .btn-modern:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
        color: #fff9c4; /* Chữ vàng nhạt */
        text-decoration: none;
        background: linear-gradient(135deg, #ef4444 0%, #b91c1c 50%, #ef4444 100%);
    }

.btn-outline-modern {
    background: transparent;
    border: 2px solid rgba(255, 215, 0, 0.6); /* Viền Vàng */
    border-radius: 12px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    color: #FFD700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .btn-outline-modern:hover {
        background: rgba(255, 215, 0, 0.15);
        border-color: #FFD700;
        color: #ffffff;
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(255, 215, 0, 0.25);
    }

.btn-danger-modern {
    /* Gradient Cam cháy */
    background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
    border: none;
    border-radius: 12px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .btn-danger-modern:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(234, 88, 12, 0.4);
        color: #ffffff;
        text-decoration: none;
    }

/* Input Styles */
.input-modern {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.25); /* Viền vàng mờ */
    border-radius: 12px;
    color: #ffffff;
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

    .input-modern:focus {
        background: rgba(60, 20, 20, 0.4);
        border-color: #FFD700; /* Focus Vàng rực */
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.25);
        color: #ffffff;
        outline: none;
    }

    .input-modern::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

/* Twinkling Elements */
.twinkle {
    position: absolute;
    font-size: 1.5rem;
    pointer-events: none;
    opacity: 0;
    animation: twinkle 2s ease-in-out infinite alternate;
    /* Brightness vàng */
    filter: sepia(100%) saturate(300%) hue-rotate(5deg) brightness(1.2);
    text-shadow: 0 0 4px rgba(255, 215, 0, 0.9), 0 0 10px rgba(255, 140, 0, 0.6);
}

@keyframes twinkle {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Floating Particles (Đom đóm vàng) */
.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #FFD700, #ff8c00);
    border-radius: 50%;
    animation: float-particle 8s ease-in-out infinite;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
}

/* Text Glow */
.text-glow {
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    color: #fff9c4;
}

.text-primary-glow {
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

/* Animation */
.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header specific */
.header-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 19999;
    padding: 1rem 0;
}

/* Main content spacing */
.main-content {
    padding-top: 100px; /* Space for fixed header */
    min-height: calc(100vh - 100px);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .logo-text {
        font-size: 1.5rem !important;
    }

    .main-content {
        padding-top: 80px;
    }
}

/* Mobile menu toggle */
.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu.show {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(30, 5, 5, 0.9);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 215, 0, 0.3);
        border-top: none;
        border-radius: 0 0 15px 15px;
        padding: 1rem;
        width: 95%;
    }
}
