/*
Theme Name: ambmax theme vvip 2026
Theme URI: https://ambmax.cc
Description: A premium, highly optimized, and SEO-friendly WordPress Theme for ambmax.cc. Built with mobile-first responsive design, Midnight Blue & Gold luxury aesthetics, live transaction notifications, and rich On-Page SEO management.
Version: 1.0
Author: AMBMAX Team
Author URI: https://ambmax.cc
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ambmax
*/

/* ==========================================================================
   1. DESIGN TOKENS & CSS VARIABLES (ambmax.site Theme Palette)
   ========================================================================== */
:root {
    /* Primary Colors - Midnight Blue / Royal Navy */
    --primary: #214375;
    --primary-light: #2b5490;
    --primary-lighter: #3d68ad;
    --primary-dark: #001944;
    --primary-darker: #00112c;
    --primary-glow: rgba(33, 67, 117, 0.5);

    /* Accent 1: Signature AMB Gold */
    --gold: #fecc00;
    --gold-light: #ffe836;
    --gold-lighter: #ffff74;
    --gold-dark: #c09600;
    --gold-darker: #856400;
    --gold-gradient: linear-gradient(135deg, #ffe836 0%, #fecc00 50%, #c09600 100%);
    --gold-gradient-hover: linear-gradient(135deg, #ffff74 0%, #ffe836 50%, #dfb100 100%);

    /* Accent 2: Neon Mint & Emerald (ambmax Nuxt) */
    --accent-mint: #00dba4;
    --accent-mint-glow: rgba(0, 219, 164, 0.4);
    --accent-mint-gradient: linear-gradient(135deg, #00dba4 0%, #00b386 100%);
    --accent-green: #4baa4f;
    --accent-blue: #007aff;

    /* Text Colors */
    --text-main: #ffffff;
    --text-sub: #c9daf8;
    --text-muted: #7e9bbd;

    /* System Status */
    --success: #2ecc71;
    --danger: #ff3333;
    --warning: #fb8c00;

    /* Typography */
    --font-sans: 'Kanit', sans-serif;
    --font-heading: 'Mitr', sans-serif;

    /* Cards & Glassmorphism */
    --glass-bg: rgba(7, 28, 62, 0.72);
    --glass-bg-hover: rgba(12, 42, 90, 0.85);
    --glass-border: rgba(254, 204, 0, 0.22);
    --glass-border-mint: rgba(0, 219, 164, 0.25);
    --glass-shadow: 0 10px 35px 0 rgba(0, 0, 0, 0.55);
    --card-radius: 16px;

    /* Layout */
    --container-width: 1200px;
}

/* ==========================================================================
   2. RESET & BASE LAYOUT
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background: radial-gradient(circle at 50% 0%, #0c2d5e 0%, #001944 50%, #00112c 100%);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23214375' fill-opacity='0.08' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   3. TYPOGRAPHY & HELPERS
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #ffffff;
    line-height: 1.3;
    font-weight: 600;
}

.text-gold {
    color: var(--gold) !important;
}

.text-mint {
    color: var(--accent-mint) !important;
}

.text-gradient-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-mint {
    background: var(--accent-mint-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 1.75rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

.section-title.centered {
    justify-content: center;
    text-align: center;
}

.section-title.centered::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--text-sub);
    font-size: 0.95rem;
    text-align: center;
    margin-top: -16px;
    margin-bottom: 30px;
}

/* ==========================================================================
   4. BUTTONS & UI COMPONENTS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background: var(--gold-gradient);
    color: #001944;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(254, 204, 0, 0.35);
}

.btn-gold:hover {
    background: var(--gold-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 204, 0, 0.5);
    color: #000c22;
}

.btn-mint {
    background: var(--accent-mint-gradient);
    color: #001944;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 219, 164, 0.35);
}

.btn-mint:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 219, 164, 0.5);
}

.btn-navy {
    background: var(--primary);
    color: #ffffff;
    border: 1px solid var(--primary-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-navy:hover {
    background: var(--primary-light);
    border-color: var(--gold);
    color: var(--gold-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1.5px solid var(--gold);
}

.btn-outline:hover {
    background: rgba(254, 204, 0, 0.12);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

.btn-glow-pulse {
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0% { box-shadow: 0 0 0 0 rgba(254, 204, 0, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(254, 204, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(254, 204, 0, 0); }
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: var(--gold);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65), 0 0 20px rgba(254, 204, 0, 0.15);
}

/* ==========================================================================
   5. HEADER & NAVIGATION
   ========================================================================== */
.header-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 17, 44, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(254, 204, 0, 0.18);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.logo img {
    max-height: 42px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: var(--text-sub);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a:hover,
.nav-links .current-menu-item > a {
    color: var(--gold);
    background: rgba(254, 204, 0, 0.08);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
}

/* Mobile Nav Overlay Drawer */
.mobile-nav-overlay {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: rgba(0, 17, 44, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 99;
    padding: 24px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

.mobile-nav-overlay.active {
    display: flex;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu-links a {
    font-size: 1.1rem;
    padding: 12px 16px;
    border-radius: 8px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(33, 67, 117, 0.3);
    border: 1px solid rgba(254, 204, 0, 0.1);
}

.mobile-menu-links a:hover,
.mobile-menu-links .current-menu-item > a {
    background: rgba(254, 204, 0, 0.15);
    border-color: var(--gold);
    color: var(--gold-light);
}

/* ==========================================================================
   6. HERO BANNER SECTION
   ========================================================================== */
.hero-banner {
    padding: 48px 0 36px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(254, 204, 0, 0.12);
    border: 1px solid rgba(254, 204, 0, 0.3);
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 2.6rem;
    line-height: 1.25;
    margin-bottom: 16px;
    font-weight: 700;
}

.hero-description {
    color: var(--text-sub);
    font-size: 1.05rem;
    margin-bottom: 28px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-item {
    text-align: left;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-image-wrap {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-promo-card {
    width: 100%;
    max-width: 440px;
    padding: 24px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(33, 67, 117, 0.6) 0%, rgba(0, 25, 68, 0.85) 100%);
    border: 2px solid var(--gold);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(254, 204, 0, 0.2);
    text-align: center;
    position: relative;
}

.hero-promo-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-gradient);
    color: #001944;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 16px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   7. LIVE TICKER / ANNOUNCEMENTS
   ========================================================================== */
.ticker-wrap {
    width: 100%;
    background: rgba(0, 17, 44, 0.95);
    border-top: 1px solid rgba(254, 204, 0, 0.15);
    border-bottom: 1px solid rgba(254, 204, 0, 0.15);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.ticker-inner {
    display: inline-flex;
    align-items: center;
    animation: marquee 35s linear infinite;
}

.ticker-inner:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
    color: var(--text-sub);
    font-size: 0.9rem;
}

.ticker-badge {
    background: var(--primary);
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   8. GAME CATEGORIES & QUICK ACCESS
   ========================================================================== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-bottom: 48px;
}

.category-card {
    background: var(--glass-bg);
    border: 1px solid rgba(33, 67, 117, 0.4);
    border-radius: 12px;
    padding: 16px 10px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.category-card:hover {
    background: var(--primary);
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(254, 204, 0, 0.25);
}

.category-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(254, 204, 0, 0.1);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background: var(--gold-gradient);
    color: #001944;
}

.category-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.category-badge {
    font-size: 0.7rem;
    color: var(--accent-mint);
}

/* ==========================================================================
   9. CORE FEATURES (6 จุดเด่นหลักของ AMBMAX)
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.feature-item {
    background: var(--glass-bg);
    border: 1px solid rgba(254, 204, 0, 0.15);
    border-radius: 14px;
    padding: 22px;
    display: flex;
    gap: 16px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--gold);
    background: rgba(12, 42, 90, 0.7);
    transform: translateY(-3px);
}

.feature-icon-wrap {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(254, 204, 0, 0.12);
    border: 1px solid rgba(254, 204, 0, 0.3);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-body h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.feature-body p {
    color: var(--text-sub);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* ==========================================================================
   10. PROMOTIONS SECTION
   ========================================================================== */
.promo-section {
    padding: 40px 0;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}

.promo-card {
    background: linear-gradient(180deg, rgba(33, 67, 117, 0.45) 0%, rgba(0, 25, 68, 0.8) 100%);
    border: 1px solid rgba(254, 204, 0, 0.2);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.promo-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(254, 204, 0, 0.2);
}

.promo-card:hover::before {
    opacity: 1;
}

.promo-tag {
    display: inline-block;
    background: rgba(0, 219, 164, 0.15);
    color: var(--accent-mint);
    border: 1px solid rgba(0, 219, 164, 0.3);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.promo-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: #ffffff;
}

.promo-desc {
    color: var(--text-sub);
    font-size: 0.85rem;
    margin-bottom: 16px;
    flex-grow: 1;
}

/* ==========================================================================
   11. PARTNER HIGHLIGHT: AMBMAX x UFABET
   ========================================================================== */
.partner-highlight-box {
    background: linear-gradient(135deg, rgba(33, 67, 117, 0.7) 0%, rgba(0, 17, 44, 0.95) 100%);
    border: 2px solid var(--gold);
    border-radius: 20px;
    padding: 36px;
    margin: 40px 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.partner-highlight-box::after {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(254, 204, 0, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.partner-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 30px;
    align-items: center;
}

.partner-content h2 {
    font-size: 2rem;
    margin-bottom: 14px;
}

.partner-content p {
    color: var(--text-sub);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.partner-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.partner-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(254, 204, 0, 0.25);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--gold-light);
}

/* ==========================================================================
   12. FOOTBALL SCHEDULE / LIVE MATCHES
   ========================================================================== */
.match-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.match-card {
    background: var(--glass-bg);
    border: 1px solid rgba(33, 67, 117, 0.5);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
}

.match-card:hover {
    border-color: var(--accent-mint);
    box-shadow: 0 8px 24px rgba(0, 219, 164, 0.2);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
    margin-bottom: 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.match-live-tag {
    background: rgba(255, 51, 51, 0.2);
    color: #ff5555;
    border: 1px solid rgba(255, 51, 51, 0.4);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.match-teams {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.match-info {
    font-size: 0.82rem;
    color: var(--text-sub);
    margin-bottom: 14px;
}

/* ==========================================================================
   13. PILLAR SEO CONTENT & FAQ ACCORDION
   ========================================================================== */
.seo-article-box {
    background: var(--glass-bg);
    border: 1px solid rgba(254, 204, 0, 0.15);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.seo-article-box h2 {
    font-size: 1.5rem;
    margin: 24px 0 12px;
}

.seo-article-box h3 {
    font-size: 1.25rem;
    margin: 20px 0 10px;
    color: var(--gold-light);
}

.seo-article-box p {
    color: var(--text-sub);
    margin-bottom: 16px;
}

.seo-article-box ul {
    list-style: disc;
    margin-left: 24px;
    margin-bottom: 20px;
    color: var(--text-sub);
}

.seo-article-box li {
    margin-bottom: 8px;
}

/* FAQ Accordion */
.faq-wrap {
    margin-bottom: 48px;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid rgba(33, 67, 117, 0.6);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--gold);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.faq-question {
    padding: 18px 20px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(33, 67, 117, 0.3);
}

.faq-question:hover {
    color: var(--gold);
}

.faq-toggle-icon {
    transition: transform 0.3s ease;
    color: var(--gold);
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s ease;
    color: var(--text-sub);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 16px 20px 20px;
    max-height: 400px;
}

/* ==========================================================================
   14. FOOTER & STICKY MOBILE NAVIGATION
   ========================================================================== */
.footer-main {
    background: #000c22;
    border-top: 2px solid rgba(254, 204, 0, 0.2);
    padding: 50px 0 90px;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 36px;
}

.footer-widget-title {
    font-size: 1.2rem;
    margin-bottom: 18px;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-about p {
    color: var(--text-sub);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links-list li {
    margin-bottom: 10px;
}

.footer-links-list a {
    color: var(--text-sub);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links-list a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-seo-tags {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.footer-tags-title {
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.footer-tags-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.footer-tags-list a {
    font-size: 0.78rem;
    color: var(--text-sub);
    background: rgba(33, 67, 117, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 4px;
}

.footer-tags-list a:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.82rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Sticky Bottom Navigation for Mobile */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 17, 44, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--gold);
    z-index: 1000;
    padding: 6px 8px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.mobile-bottom-nav {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    align-items: center;
    text-align: center;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--text-sub);
    font-size: 0.7rem;
    padding: 4px 2px;
}

.mobile-nav-item i {
    width: 20px;
    height: 20px;
}

.mobile-nav-item.highlight {
    color: #001944;
    background: var(--gold-gradient);
    border-radius: 8px;
    font-weight: 700;
    margin-top: -12px;
    padding: 8px 4px;
    box-shadow: 0 4px 15px rgba(254, 204, 0, 0.5);
}

.mobile-nav-item.highlight i {
    width: 22px;
    height: 22px;
}

/* ==========================================================================
   15. LIVE TRANSACTION POPUP NOTIFICATIONS (SOCIAL PROOF)
   ========================================================================== */
.live-notif-toast {
    position: fixed;
    bottom: 80px;
    left: 20px;
    z-index: 999;
    background: rgba(0, 25, 68, 0.92);
    border: 1px solid var(--gold);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(254, 204, 0, 0.2);
    transform: translateY(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 320px;
    pointer-events: none;
}

.live-notif-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.live-notif-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.live-notif-icon.deposit {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

.live-notif-icon.withdraw {
    background: rgba(254, 204, 0, 0.2);
    color: var(--gold);
}

.live-notif-body {
    font-size: 0.8rem;
    line-height: 1.4;
}

.live-notif-user {
    font-weight: 600;
    color: #ffffff;
}

.live-notif-amount {
    color: var(--gold-light);
    font-weight: 700;
}

.live-notif-time {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ==========================================================================
   16. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats-row {
        justify-content: center;
    }
    .hero-image-wrap {
        margin-top: 20px;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .partner-grid {
        grid-template-columns: 1fr;
    }
    .match-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .desktop-only,
    .header-actions .btn {
        display: none !important;
    }
    .menu-toggle {
        display: flex;
    }
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .promo-grid {
        grid-template-columns: 1fr;
    }
    .match-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .mobile-bottom-bar {
        display: block;
    }
    body {
        padding-bottom: 70px; /* Space for sticky bottom bar */
    }
    .live-notif-toast {
        bottom: 85px;
        left: 12px;
        right: 12px;
        max-width: none;
    }
}
