/* =========================================================
   Hồi Ức Blue — giao diện "Giáng Sinh an lành" (đỏ – xanh thông – trắng tuyết)
   Nạp SAU tet.css (xem pages/includes/header.php). Xoá dòng link noel.css để quay về giao diện Tết.
   ========================================================= */
:root {
    --tet-900: #5c0a14;
    --tet-800: #7f1020;
    --tet-700: #a3132a;
    --tet-600: #c41e3a;
    --tet-500: #d7263d;
    --tet-400: #e8566a;
    --tet-300: #f29aa6;
    --tet-200: #f8ccd2;
    --tet-100: #fde7ea;
    --tet-50:  #fff5f6;

    --pine-900: #0b3d2a;
    --pine-700: #14613f;
    --pine-500: #1f8a57;
    --pine-300: #7cc9a0;

    --ink: #1f2a37;
    --muted: #5b6b7a;
    --shadow-sm: 0 2px 6px -2px rgba(15, 40, 70, .25);
    --shadow: 0 14px 34px -14px rgba(8, 25, 50, .6);
}

html { background-color: #0d1b33; }

/* ---------- Bầu trời đêm Giáng Sinh + đồi tuyết ---------- */
.blue-scene {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'%3E%3Cpath d='M0 120 Q180 60 360 110 T720 100 T1080 90 T1440 110 V220 H0Z' fill='%23dbe9f7'/%3E%3Cpath d='M0 160 Q240 110 480 150 T960 140 T1440 150 V220 H0Z' fill='%23ffffff'/%3E%3C/svg%3E") center bottom / 100% 26vh no-repeat,
        radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 32% 8%, #fff 50%, transparent 51%),
        radial-gradient(2px 2px at 58% 22%, #fff 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 78% 12%, #fff 50%, transparent 51%),
        radial-gradient(2px 2px at 90% 30%, #fff 50%, transparent 51%),
        radial-gradient(ellipse at 50% 0%, #26477a 0%, #142a4f 45%, #0b1730 100%) !important;
}

/* đèn lồng -> quả châu thông treo */
.blue-lantern::before { background: #d9dee6; height: 70px; }
.blue-lantern::after {
    top: 66px;
    width: 48px;
    height: 48px;
    left: 3px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ffffff 0 7%, #ff6b7d 16%, #d7263d 45%, #7f1020 100%);
    box-shadow: 0 0 22px rgba(255, 90, 110, .65), inset -4px -6px 10px rgba(60, 0, 10, .35);
}
.blue-lantern span {
    top: 58px;
    width: 14px;
    height: 10px;
    margin-left: -7px;
    border-radius: 3px 3px 1px 1px;
    background: linear-gradient(180deg, #f6d36b, #b8860b);
}
.blue-lantern--2::after,
.blue-lantern--4::after {
    background: radial-gradient(circle at 35% 30%, #ffffff 0 7%, #6ee7a8 16%, #1f8a57 45%, #0b3d2a 100%);
    box-shadow: 0 0 22px rgba(80, 220, 150, .55), inset -4px -6px 10px rgba(0, 40, 20, .35);
}

/* hoa mai -> bông tuyết rơi */
.blue-petal,
.blue-petal--pink {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg stroke='%23ffffff' stroke-width='3' stroke-linecap='round' fill='none'%3E%3Cpath d='M20 3v34M5.3 11.5l29.4 17M5.3 28.5l29.4-17'/%3E%3Cpath d='M15 6l5 5 5-5M15 34l5-5 5 5M6 17l7 1-3 6M34 23l-7-1 3-6M6 23l7-1-3-6M34 17l-7 1 3 6'/%3E%3C/g%3E%3C/svg%3E") !important;
    opacity: .9;
    filter: drop-shadow(0 0 3px rgba(190, 220, 255, .9));
}

/* ---------- Khung chính ---------- */
.blue-shell {
    background: rgba(255, 255, 255, .97);
    border-color: #e9eef5;
    box-shadow: var(--shadow), 0 0 0 4px rgba(20, 97, 63, .9), 0 0 30px rgba(200, 225, 255, .45);
}

/* ---------- Hero ---------- */
.blue-hero {
    background:
        radial-gradient(circle at 50% 38%, rgba(255, 236, 170, .35) 0, rgba(255, 236, 170, 0) 55%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='70' viewBox='0 0 40 40'%3E%3Cg stroke='%23ffffff' stroke-opacity='.13' stroke-width='2' stroke-linecap='round' fill='none'%3E%3Cpath d='M20 6v28M7.9 13l24.2 14M7.9 27l24.2-14'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(180deg, #0b3d2a 0%, #14613f 40%, #a3132a 100%);
}

/* viền tuyết phủ dưới hero */
.blue-hero::after {
    background:
        radial-gradient(circle at 26px 30px, #ffffff 22px, transparent 23px) 0 0 / 52px 30px repeat-x,
        radial-gradient(circle at 26px 30px, #dbe9f7 25px, transparent 26px) 0 0 / 52px 30px repeat-x;
}

.blue-hero__greet {
    color: #ffffff;
    border-color: #f6d36b;
    background: rgba(163, 19, 42, .75);
    letter-spacing: 3px;
}
.blue-hero__greet::before { content: "🎄 "; }
.blue-hero__greet::after { content: " 🎄"; }

.blue-hero__tagline { color: #fff6d6; text-shadow: 0 2px 4px rgba(0, 30, 15, .55); }

/* đèn lồng nhỏ trong hero -> chuông vàng */
.blue-hero__lantern::before { background: #f6d36b; }
.blue-hero__lantern::after {
    top: 34px;
    width: 34px;
    height: 34px;
    border-radius: 50% 50% 18% 18% / 60% 60% 20% 20%;
    background: radial-gradient(circle at 40% 30%, #fff6c8 0, #f6c343 45%, #b8860b 100%);
    box-shadow: 0 0 16px rgba(255, 215, 90, .8), inset 0 -5px 0 -1px #a3132a;
}

/* ngọc rồng -> ngọc rồng băng */
.blue-ball {
    color: #1d4ed8;
    background: radial-gradient(circle at 34% 28%, #ffffff 0 10%, #dbeafe 22%, #93c5fd 45%, #3b82f6 70%, #1e3a8a 100%);
    box-shadow: 0 0 18px rgba(147, 197, 253, .85), inset -3px -4px 6px rgba(30, 58, 138, .35);
}

/* nút tải game: đỏ – trắng như kẹo gậy */
.blue-dl__btn {
    box-shadow: 0 4px 0 #a3132a, 0 10px 18px -8px rgba(80, 0, 20, .55) !important;
    background: repeating-linear-gradient(135deg, #ffffff 0 10px, #fde7ea 10px 20px) !important;
    color: #a3132a !important;
    border-color: #d7263d !important;
}

/* tiêu đề hộp và bảng */
.color-main:not(.btn),
.bg-info,
.card-header[style*="#16a2bd"],
tr[style*="#16a2bd"],
tr[style*="#17a2b8"] {
    background: linear-gradient(135deg, #14613f, #a3132a) !important;
}

.color-main2 > .row > [class*="col"] > h5,
.color-main2 h5.text-center { color: var(--pine-900); }

.blue-btn--ball,
.btn-success {
    background: linear-gradient(180deg, #2bb673, #14613f) !important;
    color: #fff !important;
    border-color: #0b3d2a !important;
}
.blue-btn--ball:hover,
.btn-success:hover { color: #fff !important; }

.box-stt a.important { color: var(--pine-700) !important; }
#bxh .bxh-rank-1 td { background: #fdf2c4 !important; }

::selection { background: #c7e6d4; color: #0b3d2a; }
