/*******************************************************************************
 * IMPERIAL TOPUP – FROSTED MARBLE THEME
 * White canvas · Ice‑blue veins · Dark glass cards · Clean elegance
 * No blur on the canvas, only intentional glass blur on panels.
 *******************************************************************************/
:root {
    --clr-white: #FFFFFF;
    --clr-ice: #00E5FF;          /* ice‑blue accents */
    --clr-black: #000000;
    --clr-glass: rgba(255,255,255,0.45);
    --clr-card: rgba(255,255,255,0.9);
    --clr-card-border: rgba(0,229,255,0.4);
}

body {
    background: var(--clr-white) !important;
    color: #111;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    position: relative;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    /* subtle black halation for premium feel */
    text-shadow: 0 0 1px rgba(0,0,0,0.15);
}

/* =========================================================================
   FROSTED MARBLE CANVAS – pure white with soft ice‑blue veins
   ========================================================================= */
body::before {
    content: "";
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background:
        /* Soft white marble base with very subtle noise-like texture */
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(0, 229, 255, 0.02) 2px,
            rgba(0, 229, 255, 0.02) 4px
        ),
        /* Main swirling ice‑blue veins – large, gentle arcs */
        radial-gradient(
            ellipse at 30% 20%,
            rgba(0, 229, 255, 0.08) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse at 70% 80%,
            rgba(0, 229, 255, 0.06) 0%,
            transparent 55%
        ),
        radial-gradient(
            circle at 80% 30%,
            rgba(0, 229, 255, 0.04) 0%,
            transparent 40%
        ),
        radial-gradient(
            circle at 20% 70%,
            rgba(0, 229, 255, 0.05) 0%,
            transparent 45%
        ),
        /* A faint overall white‑grey gradient for depth */
        linear-gradient(
            135deg,
            #f9f9f9 0%,
            #fefefe 50%,
            #f6f6f6 100%
        );
    z-index: -2;
    pointer-events: none;
}

/* =========================================================================
   GLASSMORPHISM NAVS & SIDEBAR
   ========================================================================= */
.top-nav-glass {
    background: var(--clr-glass) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,229,255,0.5);
    color: #000;
}

.bottom-nav-glass {
    background: var(--clr-glass) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0,229,255,0.5);
}

#sidebar {
    background: var(--clr-glass) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-right: 1px solid rgba(0,229,255,0.6);
}

/* =========================================================================
   SEARCH BAR – Dark Whisper (glass‑matched contrast)
   ========================================================================= */
.search-bar-white {
    background: rgba(0,0,0,0.15) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none !important;
    border-radius: 9999px;
}
.search-bar-white input {
    color: #fff !important;
    font-weight: 700;
    background: transparent;
    outline: none;
    border: none;
    width: 100%;
}
.search-bar-white input::placeholder {
    color: rgba(255,255,255,0.7) !important;
}
.search-bar-white button,
.search-bar-white a {
    color: #fff !important;
}
.search-bar-white input:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

/* =========================================================================
   SIDEBAR BUTTON – neon black, no glow
   ========================================================================= */
.sidebar-hamburger {
    color: #000 !important;
    transition: color 0.15s;
}
.sidebar-hamburger:hover {
    color: #00E5FF !important;
}

/* =========================================================================
   BOTTOM NAV BUTTONS – only red, no blue, no icon glow
   ========================================================================= */
.bottom-nav-btn {
    transition: color 0.2s, transform 0.15s;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    color: #333;
}
.bottom-nav-btn:hover { color: #00E5FF; }
.bottom-nav-btn:active { transform: scale(0.92); }
.active-nav { color: var(--clr-ice) !important; }

/* =========================================================================
   UI COMPONENTS – ice‑blue & black on white
   ========================================================================= */
.premium-section,
.glass-card,
.premium-card {
    background: var(--clr-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--clr-card-border);
    box-shadow: 0 0 15px rgba(0,229,255,0.15), 0 8px 20px rgba(0,0,0,0.1);
    border-radius: 1rem;
    color: #111;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.premium-section:hover {
    border-color: rgba(0,229,255,0.7);
    box-shadow: 0 0 25px rgba(0,229,255,0.35), 0 8px 24px rgba(0,0,0,0.2);
}

input, textarea {
    background: #fff;
    border: 1px solid rgba(0,229,255,0.3);
    transition: all 0.25s ease-in-out;
    color: #111;
}
input:focus, textarea:focus {
    border-color: rgba(0,229,255,0.7) !important;
    box-shadow: 0 0 15px rgba(0,229,255,0.25);
}

/* primary buttons – ice‑blue */
.btn-primary,
.btn-glow {
    background: var(--clr-ice);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 0 15px rgba(0,229,255,0.5);
    border: none;
    transition: all 0.2s;
}
.btn-primary:active,
.btn-glow:active {
    box-shadow: 0 0 30px rgba(0,229,255,0.7);
    transform: scale(0.96);
}

/* secondary buttons – black outline */
.btn-secondary {
    background: transparent;
    color: #000;
    border: 1px solid rgba(0,0,0,0.3);
    font-weight: 900;
}
.btn-secondary:hover {
    border-color: #000;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

/* chips – ice‑blue when active */
.chip-pill {
    background: rgba(255,255,255,0.9);
    color: #111;
    border: 1px solid rgba(0,229,255,0.2);
    transition: all 0.2s ease;
    cursor: pointer;
}
.chip-pill.active,
.chip-pill.selected {
    background: var(--clr-ice) !important;
    color: #fff !important;
    font-weight: 900;
    box-shadow: 0 0 15px rgba(0,229,255,0.6);
    border-color: var(--clr-ice) !important;
}

/* =========================================================================
   PRODUCT CARDS – dark glass, white text (ChatGPT halation)
   ========================================================================= */
.product-card {
    background: rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0,229,255,0.4);
    color: #fff;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.15);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}
.product-card:hover {
    border-color: rgba(0,229,255,0.7);
    box-shadow: 0 0 20px rgba(0,229,255,0.5);
}
.product-card:active { transform: scale(0.97); }
.product-card span {
    color: #fff;
}
.product-card .aspect-square {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0,229,255,0.2);
}

/* =========================================================================
   NOTICE BAR – frosted glass, ice‑blue border
   ========================================================================= */
.notice-container {
    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0,229,255,0.25);
    border-radius: 14px;
    margin: 8px 12px 0 12px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #000;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 40;
}
.notice-badge {
    background-color: rgba(0,0,0,0.3);
    color: #fff;
    font-size: 10px; font-weight: 900;
    padding: 4px 8px; border-radius: 8px;
}
.notice-text { color: #000; font-size: 10px; font-weight: 700; }
.notice-close-btn { background: none; border: none; color: #000; font-size: 14px; cursor: pointer; padding: 2px; line-height: 1; }

/* slider dots */
.dot { transition: all 0.5s ease; }

/* trust icons */
.trust-icon { transition: color 0.2s, transform 0.2s; }
.trust-icon:active { transform: scale(1.1); color: var(--clr-ice); }

/* neon text – ice‑blue color, no shadow */
.text-neon {
    color: var(--clr-ice);
}

/* step indicator */
.step-number {
    width: 24px; height: 24px;
    background: var(--clr-ice);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 900;
    box-shadow: 0 0 12px rgba(0,229,255,0.6);
}

.hero-slide { transition: opacity 1s ease-in-out; }

/* Pulsing beacon for the notice bar dot */
@keyframes beep-pulse {
    0%   { transform: scale(1);   opacity: 1; }
    50%  { transform: scale(1.8); opacity: 0.6; }
    100% { transform: scale(1);   opacity: 1; }
}
.beep-dot {
    animation: beep-pulse 2s infinite ease-in-out;
}

/* ── Chatbot “Need Help?” Button (glassmorphism, raised) ── */

/* 1. Lift the whole chatbot container to 110px from the bottom */
#imp-chatbot {
    bottom: 110px !important;
}

/* 2. Restyle the main toggle button into a glass pill */
#chat-toggle {
    width: auto !important;
    height: auto !important;
    border-radius: 50px !important;
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(0, 229, 255, 0.5) !important;
    box-shadow: 0 8px 20px rgba(0, 229, 255, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    padding: 10px 18px !important;
    color: #000 !important;   /* fallback, will use pseudo‑element for text */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#chat-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(0, 229, 255, 0.25), 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* 3. Hide the robot icon completely */
#chat-toggle-icon {
    display: none !important;
}

/* 4. Show “Need Help?” text */
#chat-toggle::after {
    content: "Need Help?";
    font-family: 'Inter', 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.03em;
    color: #00E5FF;
    background: transparent;
    white-space: nowrap;
}