body {
    font-family: 'Be Vietnam Pro', sans-serif;
    background-color: #0b0f1a;
    color: #eaeaea;
}

.logo-brand {
    display: inline-flex;
    /* 🔥 QUAN TRỌNG */
    align-items: center;
    /* 🔥 căn giữa tuyệt đối */
    gap: 10px;
    text-decoration: none;
}

.logo-main {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #f5c542;
    line-height: 1;
    /* 🔥 bỏ baseline dư */
}

.logo-sub {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 4px 14px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;

    line-height: 1;
    /* 🔥 quan trọng */
    color: #fff;

    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 999px;

    position: relative;
    top: 0;
    /* đảm bảo không lệch */
}


.navbar {
    background: rgba(0, 0, 0, .7);
}

.hero {
    background: url('/assets/img3.png') center top / cover no-repeat;
    position: relative;
    padding: 140px 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffd369;
}

.btn-main {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    color: #000;
    font-weight: 600;
}

.section-title {
    font-weight: 700;
    font-size: 2.2rem;
    letter-spacing: 1px;
    color: #ffd369;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 14px;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fbbf24, transparent);
    border-radius: 999px;
}

.feature-card {
    background: linear-gradient(180deg, #0f172a, #020617);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}


footer {
    background: #050812;
    padding: 24px 0;
    font-size: .9rem;
    color: #999;
}


/* ===== Portal Gallery ===== */
.gallery-portal {
    background: radial-gradient(circle at top, #0c1324, #05080f);
}

/* Card */
.gallery-item.portal {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 25px 60px rgba(0,0,0,.65);
    transition: transform .5s ease, box-shadow .5s ease;
}

/* Image */
.gallery-item.portal img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform .7s ease, filter .7s ease;
}

/* Dark overlay */
.gallery-item.portal::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 35%, rgba(0,0,0,.7));
    opacity: 0;
    transition: opacity .4s ease;
    z-index: 1;
}

/* Portal glow */
.gallery-item.portal::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(120deg, #00ffe7, #7f5cff, #00ffe7);
    filter: blur(16px);
    opacity: 0;
    transition: opacity .4s ease;
    z-index: 0;
}

/* Hover effects */
.gallery-item.portal:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 35px 90px rgba(0,255,255,.25);
}

.gallery-item.portal:hover img {
    transform: scale(1.12);
    filter: saturate(1.3);
}

.gallery-item.portal:hover::before {
    opacity: 1;
}

.gallery-item.portal:hover::after {
    opacity: .6;
}

/* Caption */
.gallery-caption {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 2;
    padding: 14px 20px;
    border-radius: 14px;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(8px);
    color: #ffd369;
    font-weight: 600;
    letter-spacing: .6px;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all .4s ease;
}

.gallery-item.portal:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}


/* ===== News filter ===== */
.news-filter {
    list-style: none;
    display: flex;
    gap: 14px;
    padding: 0;
}

.news-filter button {
    padding: 10px 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    color: #e5e7eb;
    border: 1px solid rgba(255, 255, 255, .15);
    font-weight: 600;
    transition: .25s;
}

.news-filter button.active,
.news-filter button:hover {
    background: linear-gradient(180deg, #facc15, #d4a24f);
    color: #111827;
    border-color: transparent;
    box-shadow: 0 0 20px rgba(250, 204, 21, .45);
}

/* ===== News list ===== */
.news-box {
    background: radial-gradient(120% 120% at top, #1e293b, #020617);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}

.news-item {
    padding: 22px 26px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: background .2s;
}

.news-item:hover {
    background: rgba(255, 215, 105, .06);
}

.news-item:last-child {
    border-bottom: none;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: .8rem;
    margin-bottom: 6px;
}

.news-title {
    font-weight: 600;
    color: #e5e7eb;
    text-decoration: none;
}

.news-title:hover {
    color: #facc15;
}

.news-desc {
    font-size: .9rem;
    color: #9ca3af;
    margin: 6px 0 0;
}

/* tags */
.news-tag {
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 600;
}

.tag-event {
    background: rgba(250, 204, 21, .15);
    color: #facc15;
}

.tag-notice {
    background: rgba(59, 130, 246, .15);
    color: #60a5fa;
}

.tag-guide {
    background: rgba(34, 197, 94, .15);
    color: #4ade80;
}


.download-section {
    background: radial-gradient(120% 120% at top, #020617, #000);
    color: #e5e7eb;
}

/* ===== Title ===== */
.section-title {
    text-align: center;
    font-weight: 800;
    color: #facc15;
    letter-spacing: 1px;
}

/* ===== Download ===== */
.download-box {
    background: #020617;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.download-list {
    display: grid;
    gap: 16px;
}

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, #020617, #0f172a);
    color: #e5e7eb;
    text-decoration: none;
    transition: .25s;
    border: 1px solid rgba(255, 255, 255, .08);
}

.download-item.main {
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #020617;
    font-weight: 700;
}

.download-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .5);
}

.download-item .label {
    font-size: 1.05rem;
}

.download-item .desc {
    font-size: .9rem;
    opacity: .8;
}

.download-note {
    margin-top: 16px;
    font-size: .9rem;
    opacity: .8;
}

/* ===== System ===== */
.system-box {
    background: #020617;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.spec-card {
    background: linear-gradient(135deg, #020617, #0f172a);
    border-radius: 20px;
    padding: 28px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, .08);
}

.spec-card.highlight {
    border-color: rgba(250, 204, 21, .4);
}

.spec-title {
    color: #facc15;
    font-weight: 700;
    margin-bottom: 16px;
}

.spec-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-card li {
    padding: 6px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, .08);
    font-size: .95rem;
}

.spec-card li:last-child {
    border-bottom: none;
}

.support-text {
    margin-top: 12px;
    font-size: .9rem;
    opacity: .85;
}

/* Panel nền tối giống cấu hình */
.dark-panel {
    background: radial-gradient(120% 120% at top, #1e293b, #020617);
    border-radius: 26px;
    padding: 40px 36px;
    border: 1px solid rgba(255, 255, 255, .06);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
    color: #e5e7eb;
}

/* Danh sách link */
.download-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 14px;
    padding: 14px 18px;
    transition: .25s;
}

.download-row:hover {
    background: rgba(255, 255, 255, .06);
}

/* Link chính */
.download-row.highlight {
    background: rgba(250, 204, 21, .08);
    border-color: rgba(250, 204, 21, .35);
}

.download-source strong {
    display: block;
    font-weight: 600;
    color: #fde047;
}

.download-source span {
    font-size: .85rem;
    opacity: .75;
}

/* Button */
.btn-download {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .25);
    color: #e5e7eb;
    border-radius: 999px;
    padding: 6px 18px;
    font-size: .85rem;
    transition: .25s;
}

.btn-download:hover {
    border-color: #facc15;
    color: #facc15;
}

/* Ghi chú */
.download-note {
    font-size: .85rem;
    opacity: .7;
}

/* Panel ngoài */
.dark-panel {
    background: radial-gradient(120% 120% at top, #1e293b, #020617);
    border-radius: 26px;
    padding: 40px 36px;
    border: 1px solid rgba(255, 255, 255, .06);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}

/* Table đen custom */
.custom-dark-table {
    background: transparent;
    color: #e5e7eb;
    margin-bottom: 0;
}

.custom-dark-table thead th {
    background: transparent;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    text-align: center;
    font-weight: 600;
}

.custom-dark-table tbody td {
    background: transparent !important;
    border-color: rgba(255, 255, 255, .08);
    padding: 14px;
}

.custom-dark-table tbody tr:hover {
    background: rgba(255, 255, 255, .04);
}

/* Highlight link chính */
.custom-dark-table .table-highlight {
    background: rgba(250, 204, 21, .08);
}

.custom-dark-table .table-highlight td {
    color: #fde047;
    font-weight: 600;
}

/* Button */
.btn-download {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .3);
    color: #e5e7eb;
    border-radius: 999px;
    padding: 6px 18px;
    font-size: .85rem;
    transition: .25s;
}

.btn-download:hover {
    border-color: #facc15;
    color: #facc15;
}

/* Ghi chú */
.download-note {
    font-size: .85rem;
    opacity: .7;
}

/* ===== GUIDE PAGE ===== */
.guide-page {
    background: #020617;
    color: #e5e7eb;
}

/* ===== SIDEBAR ===== */
.guide-sidebar {
    background: #020617;
    border: 1px solid #1e293b;
    border-radius: 18px;
    padding: 16px;
    height: 80vh;
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
}

.guide-search {
    background: #020617;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 10px 14px;
    color: #fff;
    margin-bottom: 12px;
}

.guide-search::placeholder {
    color: #94a3b8;
}

.guide-list-scroll {
    overflow-y: auto;
    flex: 1;
    padding-right: 4px;
}

.guide-item {
    display: block;
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 6px;
    color: #cbd5f5;
    text-decoration: none;
    transition: all .25s;
}

.guide-item:hover {
    background: #1e293b;
    color: #fff;
}

.guide-item.active {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    font-weight: 600;
}

/* ===== CONTENT ===== */
.guide-content {
    background: radial-gradient(120% 120% at top, #1e293b, #020617);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 30px 80px rgba(0,0,0,.55);
}

.guide-content section {
    margin-bottom: 56px;
}

.guide-content h2 {
    color: #fbbf24;
    margin-bottom: 16px;
}

.guide-content img {
    max-width: 100%;
    margin-top: 16px;
}

/* ===== TABLE ===== */
.guide-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.guide-table th,
.guide-table td {
    border: 1px solid #334155;
    padding: 12px;
}

.guide-table th {
    background: #1e293b;
    color: #fbbf24;
}

/* ===== Custom Scrollbar ===== */

/* Chrome, Edge, Safari */
.guide-list-scroll::-webkit-scrollbar {
    width: 6px;
}

.guide-list-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.guide-list-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        #fbbf24,
        #d97706
    );
    border-radius: 10px;
}

.guide-list-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        #fde68a,
        #f59e0b
    );
}

/* Firefox */
.guide-list-scroll {
    scrollbar-width: thin;
    scrollbar-color: #fbbf24 transparent;
}

.guide-list-scroll {
    scrollbar-gutter: stable;
}

.guide-list-scroll::-webkit-scrollbar-thumb {
    opacity: 0.6;
}

.guide-list-scroll:hover::-webkit-scrollbar-thumb {
    opacity: 1;
}

a.nav-link {
    color: #fff !important;
}

a.nav-link:hover {
    color: red !important;
}



