:root {
    --primary-red: #f96854;
    --primary-red-dark: #e13a2b;
    --radius-card: 10px;
    --text-grey: #64748b;
}

body {
    font-family: 'Prompt', sans-serif;
    /* 🖼️ Wallpaper พื้นหลัง */
    background: url('https://images.unsplash.com/photo-1518709268805-4e9042af9f23?q=80&w=1920') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    /* 📌 จุดสำคัญ: เว้นระยะบน 110px ป้องกัน Navbar ลอยทับเนื้อหา */
    padding-top: 110px;
    padding-bottom: 50px;
}

/* 📌 NAVBAR FIXED CONTAINER */
.navbar-fixed-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: center;
}

/* 📌 MODERN GLASS CONTAINER */
.modern-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 1100px;
    width: 100%;
    justify-content: space-between;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 📌 TAB BUTTONS */
.tab-btn {
    text-decoration: none;
    color: var(--text-grey);
    background: transparent;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.50rem 1rem;
    border-radius: var(--radius-card);
    transition: all 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
}

.tab-btn:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    color: white !important;
    box-shadow: 0 4px 12px rgba(249, 104, 84, 0.3);
}

/* 📌 SEARCH & SUPPORT BUTTONS */
.search-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    cursor: pointer;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 600;
}

.pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    color: white !important;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
    border-radius: var(--radius-card);
    box-shadow: 0 2px 8px rgba(249, 104, 84, 0.35);
    transition: all 0.25s ease;
}

/* 📌 MAIN CARD */
.main-card {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* 📌 HUB BANNER CARDS */
.hub-banner-card {
    border-radius: 16px;
    color: white;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: block;
}

.hub-banner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    color: white;
}

.bg-red-gradient { background: linear-gradient(135deg, #d32f2f, #ef5350); }
.bg-purple-gradient { background: linear-gradient(135deg, #6a1b9a, #ab47bc); }
.bg-orange-gradient { background: linear-gradient(135deg, #e65100, #ff9800); }

.banner-icon-sprite {
    position: absolute;
    right: 15px;
    bottom: 10px;
    opacity: 0.85;
    max-height: 70px;
}

/* Guide Article Enhancements */
.guide-image-container {
    margin: 1.5rem 0;
    text-align: center;
}
.guide-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.guide-caption {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 8px;
}
.slot-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    background: #eef2f7;
    color: #334155;
    border: 1px solid #cbd5e1;
}
.stat-highlight {
    color: #dc3545;
    font-weight: 700;
}

.video-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .hide-mobile-text, .hide-mobile-search {
        display: none !important;
    }
}