/* GoldStar theme: sky blue + white, gold-orange accents. Loaded after main-bundle.css.
   Panel colours come from the site_theme tokens (หลังบ้าน > ตั้งค่าธีม); this file covers the rest. */
:root {
    --gs-sky: #38b0e8;
    --gs-sky-deep: #1677c2;
    --gs-sky-light: #d6eeff;
    --gs-gold: #f5a623;
    --gs-gold-deep: #e07b00;
    --gs-gold-text: #3a2400;
    --gs-ink: #0f3a66;
    --accent-color: var(--gs-gold);
    --bg-dark: var(--gs-sky-light);
    --bg-card: #1b6fb8;
    --primary-gradient: linear-gradient(135deg, #ffc83d 0%, #f08c00 100%);
    --shadow-glow: 0 6px 20px rgba(240, 140, 0, 0.35);
    --shadow-glow-hover: 0 10px 30px rgba(240, 140, 0, 0.5);
}

body {
    background: linear-gradient(180deg, #38b0e8 0%, #8fd2f5 30%, #d6eeff 60%, #eef8ff 100%) fixed !important;
    color: #fff;
}
:root { color-scheme: light !important; }

/* hero: fade the wallpaper into the light page instead of black */
.hero-overlay-gradient {
    background: linear-gradient(180deg, rgba(56, 176, 232, 0) 0%, rgba(56, 176, 232, 0.05) 45%, rgba(214, 238, 255, 0.85) 85%, #d6eeff 100%) !important;
}
.hero-main-logo { filter: drop-shadow(0 8px 18px rgba(15, 58, 102, 0.35)); }

/* navbar: sky glass with white text */
.navbar, .navbar.scrolled {
    background: rgba(22, 119, 194, 0.88) !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 4px 18px rgba(15, 58, 102, 0.25) !important;
}

/* gold buttons need dark text to stay readable */
.nav-btn-login, .lm5-submit-btn, .rm5-submit-btn, .btn-buy-v2, .dm-btn-buy, .pm-btn-confirm,
.banner-tab.active, .history-tabs .btn-tab.active, .dropdown-option.active, .swal2-confirm {
    color: var(--gs-gold-text) !important;
    font-weight: 600;
}
.nav-btn-login i, .btn-buy-v2 i, .dm-btn-buy i, .pm-btn-confirm i { color: var(--gs-gold-text) !important; }

/* cards: white frame like the in-game Pokédex tiles */
.sidebar-card, .product-card, .feature-card-new, .server-info-card, .history-container .card,
.detail-modal-v2, .purchase-modal-v2, .login-modal-v5, .register-modal-v5, .nav-dropdown {
    border: 2px solid rgba(255, 255, 255, 0.55) !important;
    box-shadow: 0 10px 30px rgba(15, 58, 102, 0.22) !important;
}

/* inputs on blue panels */
input.form-control, select.form-control, textarea.form-control, .lm5-input, .rm5-input {
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--gs-ink) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
}
input::placeholder, textarea::placeholder { color: #6b8fb3 !important; }

/* footer */
.site-footer { border-top: 3px solid var(--gs-gold) !important; }

/* sweetalert / modal backdrop: sky instead of black */
.swal2-container.swal2-backdrop-show, .modal-backdrop, .modal-overlay {
    background: rgba(15, 58, 102, 0.55) !important;
}
.swal2-popup { background: linear-gradient(165deg, #2a9be0 0%, #1b6fb8 100%) !important; color: #fff !important; }

/* loader */
#page-loader { background: #d6eeff !important; }
.loader-text { color: var(--gs-sky-deep) !important; }

/* page section titles that sit on the light background */
#main-content > .container > h1, #main-content > .container > h2, .page-title, .section-title {
    color: var(--gs-ink) !important;
    text-shadow: none !important;
}
