/* ============================================
   TroNangFF - Gaming Theme (Bootstrap 5.3)
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --g-bg-dark: #0a0a12;
    --g-bg-card: #111120;
    --g-bg-card-hover: #161630;
    --g-bg-surface: #0d0d1a;

    --g-cyan: #00e5ff;
    --g-purple: #7c5cfc;
    --g-magenta: #ff3366;
    --g-orange: #ff6b35;
    --g-green: #00e676;

    --g-gradient-main: linear-gradient(135deg, #7c5cfc 0%, #00e5ff 100%);
    --g-gradient-hot: linear-gradient(135deg, #ff3366 0%, #ff6b35 100%);
    --g-gradient-neon: linear-gradient(135deg, #00e5ff, #7c5cfc, #ff3366);

    --g-glow-cyan: 0 0 20px rgba(0, 229, 255, 0.3);
    --g-glow-purple: 0 0 20px rgba(124, 92, 252, 0.3);
    --g-glow-magenta: 0 0 20px rgba(255, 51, 102, 0.3);

    --g-border: rgba(255, 255, 255, 0.06);
    --g-border-glow: rgba(0, 229, 255, 0.15);

    --font-display: 'Be Vietnam Pro', sans-serif;
    --font-heading: 'Be Vietnam Pro', sans-serif;
    --font-body: 'Be Vietnam Pro', sans-serif;
}

/* --- Utility Classes --- */
.text-cyan {
    color: var(--g-cyan) !important;
}

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

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

.font-orbitron {
    font-family: var(--font-display) !important;
}

.font-rajdhani {
    font-family: var(--font-heading) !important;
}

/* --- Global Overrides --- */
body {
    font-family: var(--font-body);
    font-size: 1.05rem;
    background: var(--g-bg-dark);
    color: #c8c8d8;
    overflow-x: hidden;
    position: relative;
}

/* --- Animated Background --- */
.gaming-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(60px);
    }
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: bgFloat 8s ease-in-out infinite alternate;
}

.bg-glow--1 {
    width: 500px;
    height: 500px;
    background: var(--g-cyan);
    top: -150px;
    right: -100px;
}

.bg-glow--2 {
    width: 400px;
    height: 400px;
    background: var(--g-purple);
    bottom: -100px;
    left: -100px;
    animation-delay: 3s;
}

.bg-glow--3 {
    width: 300px;
    height: 300px;
    background: var(--g-magenta);
    top: 50%;
    left: 50%;
    animation-delay: 5s;
    opacity: 0.08;
}

@keyframes bgFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

/* ============================================
   Navbar
   ============================================ */
.gaming-navbar {
    background: rgba(10, 10, 18, 0.8) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--g-border);
    padding: 0.75rem 0;
}

.gaming-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.gaming-brand-icon {
    font-size: 1.8rem;
    color: var(--g-cyan);
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
    transition: transform 0.3s ease;
}

.gaming-brand:hover .gaming-brand-icon {
    transform: rotate(-10deg) scale(1.1);
}

.gaming-brand-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    background: var(--g-gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gaming-nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    color: #9898b0 !important;
    border-radius: 8px;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s ease;
    position: relative;
}

.gaming-nav-link:hover {
    color: var(--g-cyan) !important;
    background: rgba(0, 229, 255, 0.06);
}

.gaming-btn-glow {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    background: var(--g-gradient-main);
    color: white !important;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    transition: all 0.25s ease;
    box-shadow: var(--g-glow-purple);
}

.gaming-btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(124, 92, 252, 0.5);
    color: white !important;
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
    padding-top: 70px;
    min-height: 100vh;
}

/* ============================================
   Mobile Top Bar
   ============================================ */
.mobile-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 18, 0.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--g-border);
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-topbar .gaming-brand-icon {
    font-size: 1.4rem;
}

.mobile-topbar .gaming-brand-text {
    font-size: 1rem;
}

/* ============================================
   Mobile Bottom Bar
   ============================================ */
.mobile-bottombar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 18, 0.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid var(--g-border);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0.4rem 0;
    padding-bottom: calc(0.4rem + env(safe-area-inset-bottom));
}

.bottombar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0.45rem 1.2rem;
    border-radius: 12px;
    color: #555570;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: 0.03em;
    transition: all 0.25s ease;
    position: relative;
}

.bottombar-item i {
    font-size: 1.3rem;
    transition: all 0.25s ease;
}

.bottombar-item:hover {
    color: #9898b0;
}

.bottombar-item.active {
    color: var(--g-cyan);
}

.bottombar-item.active i {
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.5));
    transform: scale(1.15);
}

.bottombar-item.active::before {
    content: '';
    position: absolute;
    top: -0.4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 2.5px;
    background: var(--g-cyan);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}

/* Mobile spacing */
@media (max-width: 991.98px) {
    .main-content {
        padding-top: 52px;
        padding-bottom: 72px;
    }
}


/* ============================================
   Hero Section
   ============================================ */
.gaming-hero {
    position: relative;
    padding: 2rem 0;
}

.gaming-badge-pulse {
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--g-cyan);
    border-radius: 50px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(0, 229, 255, 0);
    }
}

.gaming-hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
    line-height: 1.2;
    background: var(--g-gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.gaming-hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    color: #8888a0;
    max-width: 550px;
    line-height: 1.8;
}

/* --- Buttons --- */
.gaming-btn-primary {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.03em;
    background: var(--g-gradient-main);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.85rem 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--g-glow-purple);
    position: relative;
    overflow: hidden;
}

.gaming-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.gaming-btn-primary:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(124, 92, 252, 0.5);
}

.gaming-btn-primary:hover::before {
    left: 100%;
}

.gaming-btn-outline {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.03em;
    background: transparent;
    color: #c8c8d8;
    border: 1.5px solid var(--g-border);
    border-radius: 12px;
    padding: 0.85rem 2rem;
    transition: all 0.3s ease;
}

.gaming-btn-outline:hover {
    color: var(--g-cyan);
    border-color: var(--g-cyan);
    background: rgba(0, 229, 255, 0.05);
    transform: translateY(-3px);
    box-shadow: var(--g-glow-cyan);
}

/* --- Stat Cards --- */
.gaming-stat-card {
    background: var(--g-bg-card);
    border: 1px solid var(--g-border);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    transition: all 0.3s ease;
}

.gaming-stat-card:hover {
    border-color: var(--g-border-glow);
    transform: translateY(-4px);
    box-shadow: var(--g-glow-cyan);
}

.gaming-stat-number {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.8rem;
    background: var(--g-gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gaming-stat-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: #7878a0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

/* ============================================
   Section Tags & Titles
   ============================================ */
.gaming-section-tag {
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--g-cyan);
    padding: 0.4rem 1rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 50px;
    display: inline-block;
}

.gaming-section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2rem;
    color: white;
    letter-spacing: -0.01em;
}

/* ============================================
   Feature Cards
   ============================================ */
.gaming-feature-card {
    background: var(--g-bg-card);
    border: 1px solid var(--g-border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease backwards;
    animation-delay: var(--delay, 0s);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gaming-feature-card:hover {
    background: var(--g-bg-card-hover);
    border-color: var(--g-border-glow);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), var(--g-glow-cyan);
}

.gaming-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.3));
}

.gaming-feature-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    margin-bottom: 0.5rem;
}

.gaming-feature-desc {
    font-size: 0.875rem;
    color: #8888a0;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.gaming-feature-line {
    height: 3px;
    width: 40px;
    background: var(--g-gradient-main);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.gaming-feature-card:hover .gaming-feature-line {
    width: 80px;
}

/* ============================================
   Game Cards
   ============================================ */
.gaming-game-card {
    background: var(--g-bg-card);
    border: 1px solid var(--g-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s ease;
}

.gaming-game-card:hover {
    border-color: var(--g-border-glow);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.gaming-game-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gaming-game-img i {
    color: rgba(255, 255, 255, 0.2);
    transition: transform 0.4s ease;
}

.gaming-game-card:hover .gaming-game-img i {
    transform: scale(1.15) rotate(5deg);
    color: rgba(255, 255, 255, 0.35);
}

.gaming-game-genre {
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.7rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 6px;
    color: white;
}

.gaming-game-body {
    padding: 1.25rem;
}

.gaming-game-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
}

/* ============================================
   About Page
   ============================================ */
.gaming-about-card {
    background: var(--g-bg-card);
    border: 1px solid var(--g-border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.gaming-about-card:hover {
    border-color: var(--g-border-glow);
}

.gaming-about-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 12px;
    color: var(--g-cyan);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.gaming-tech-badge {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    background: rgba(124, 92, 252, 0.1) !important;
    border: 1px solid rgba(124, 92, 252, 0.25);
    color: var(--g-purple) !important;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
}

/* --- Flow Steps --- */
.gaming-flow-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--g-border);
    border-radius: 12px;
    transition: all 0.2s ease;
    height: 100%;
}

.gaming-flow-step:hover {
    background: rgba(0, 229, 255, 0.04);
    border-color: var(--g-border-glow);
}

.gaming-flow-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--g-gradient-main);
    border-radius: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.85rem;
    color: white;
    flex-shrink: 0;
}

/* --- Table --- */
.gaming-table {
    background: transparent !important;
    font-family: var(--font-heading);
    border-color: var(--g-border) !important;
}

.gaming-table thead th {
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--g-cyan);
    border-bottom-color: var(--g-border) !important;
    padding: 1rem;
}

.gaming-table tbody td {
    padding: 0.85rem 1rem;
    border-color: var(--g-border) !important;
    vertical-align: middle;
}

.gaming-table tbody tr:hover {
    background: rgba(0, 229, 255, 0.04) !important;
}

/* --- Filter Buttons --- */
.gaming-filter-btn {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: #8888a0;
    background: var(--g-bg-card);
    border: 1px solid var(--g-border);
    border-radius: 10px;
    padding: 0.5rem 1.25rem;
    transition: all 0.2s ease;
}

.gaming-filter-btn:hover,
.gaming-filter-btn.active {
    color: white;
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--g-cyan);
    box-shadow: var(--g-glow-cyan);
}

/* ============================================
   CTA Section
   ============================================ */
.gaming-cta {
    background: var(--g-bg-card);
    border: 1px solid var(--g-border);
    position: relative;
    overflow: hidden;
}

.gaming-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--g-gradient-neon);
}

/* ============================================
   Error Page
   ============================================ */
.gaming-error-code {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 8rem;
    line-height: 1;
    background: var(--g-gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.3));
}

/* ============================================
   Footer
   ============================================ */
.gaming-footer {
    border-top: 1px solid var(--g-border);
    background: var(--g-bg-surface);
    margin-top: auto;
}

.gaming-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--g-bg-card);
    border: 1px solid var(--g-border);
    color: #8888a0;
    font-size: 1.1rem;
    transition: all 0.25s ease;
}

.gaming-social-link:hover {
    color: var(--g-cyan);
    border-color: var(--g-cyan);
    background: rgba(0, 229, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: var(--g-glow-cyan);
}

/* ============================================
   Code Styling
   ============================================ */
code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    background: rgba(124, 92, 252, 0.12);
    padding: 0.15em 0.45em;
    border-radius: 6px;
    font-size: 0.85em;
    color: var(--g-purple);
}

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--g-bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(124, 92, 252, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(124, 92, 252, 0.5);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .gaming-hero-title {
        font-size: 1.8rem !important;
    }

    .gaming-stat-number {
        font-size: 1.3rem;
    }

    .gaming-section-title {
        font-size: 1.5rem;
    }

    .gaming-about-card {
        padding: 1.25rem;
    }

    .gaming-flow-step {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .gaming-hero {
        padding: 1rem 0;
    }

    .gaming-hero-subtitle {
        font-size: 1rem;
    }

    .gaming-brand-text {
        font-size: 1rem;
    }
}

/* ============================================
   Headlock Panel
   ============================================ */
.headlock-page {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
}

.hl-panel {
    background: linear-gradient(180deg, #0e0e20 0%, #0a0a16 100%);
    border: 1px solid rgba(0, 229, 255, 0.08);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    box-shadow:
        0 0 60px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(0, 229, 255, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}

.hl-panel::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--g-gradient-main);
    border-radius: 0 0 4px 4px;
    filter: blur(1px);
}

/* --- Header --- */
.hl-header {
    margin-bottom: 1.5rem;
}

.hl-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2rem;
    letter-spacing: 0.12em;
    background: var(--g-gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.2));
}

.hl-title-line {
    width: 80px;
    height: 2px;
    background: var(--g-gradient-main);
    margin: 0 auto;
    border-radius: 2px;
}

/* --- Crosshair Card --- */
.hl-crosshair-card {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.08) 0%, rgba(124, 92, 252, 0.06) 100%);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.hl-crosshair-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 50%;
    color: var(--g-cyan);
    font-size: 1.2rem;
}

.hl-crosshair-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: white;
    letter-spacing: 0.03em;
}

.hl-crosshair-sub {
    font-size: 0.78rem;
    color: #7878a0;
}

/* --- Toggle Switch --- */
.hl-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.hl-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.hl-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #2a2a40;
    border-radius: 26px;
    transition: all 0.3s ease;
}

.hl-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: #555;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hl-switch input:checked+.hl-slider {
    background: linear-gradient(135deg, #d4a017, #f5c842);
    box-shadow: 0 0 12px rgba(245, 200, 66, 0.3);
}

.hl-switch input:checked+.hl-slider::before {
    transform: translateX(22px);
    background: white;
    box-shadow: 0 0 6px rgba(245, 200, 66, 0.4);
}

/* --- Tabs --- */
.hl-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.hl-tab {
    flex: 1;
    padding: 0.65rem 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    border: 1.5px solid var(--g-border);
    border-radius: 12px;
    background: transparent;
    color: #7878a0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hl-tab:hover {
    border-color: rgba(0, 229, 255, 0.2);
    color: #b0b0c8;
}

.hl-tab.active {
    background: rgba(0, 229, 255, 0.08);
    border-color: var(--g-cyan);
    color: var(--g-cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
}

/* --- Feature List --- */
.hl-features {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hl-feature-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.hl-feature-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.hl-feature-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--g-cyan);
    font-size: 1rem;
    background: rgba(0, 229, 255, 0.06);
    border-radius: 10px;
    flex-shrink: 0;
}

.hl-feature-name {
    flex-grow: 1;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    color: white;
    letter-spacing: 0.04em;
}

.hl-feature-status {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--g-cyan);
    min-width: 28px;
    text-align: right;
}

.hl-feature-status.off {
    color: #555;
}

/* --- Console --- */
.hl-console {
    background: #080812;
    border: 1px solid rgba(0, 229, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    margin-top: 1.25rem;
}

.hl-console-header {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--g-cyan);
    padding: 0.7rem 1rem;
    background: rgba(0, 229, 255, 0.04);
    border-bottom: 1px solid rgba(0, 229, 255, 0.06);
}

.hl-console-body {
    padding: 0.85rem 1rem;
    max-height: 350px;
    overflow-y: auto;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.72rem;
    line-height: 1.9;
}

.hl-console-body::-webkit-scrollbar {
    width: 4px;
}

.hl-console-body::-webkit-scrollbar-thumb {
    background: rgba(0, 229, 255, 0.2);
    border-radius: 4px;
}

.hl-console-line {
    white-space: nowrap;
}

.hl-console-new {
    animation: consoleFadeIn 0.3s ease;
}

@keyframes consoleFadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hl-console-highlight {
    padding: 0.15rem 0;
}

.hl-c-key {
    color: #7878a0;
}

.hl-c-op {
    color: #555;
}

.hl-c-val {
    color: #8888c0;
}

.hl-c-safe {
    color: var(--g-green);
}

.hl-c-active {
    color: var(--g-cyan);
    font-weight: 600;
}

.hl-c-warn {
    color: #f5c842;
}

.hl-spin {
    display: inline-block;
    animation: hlSpin 1s linear infinite;
}

@keyframes hlSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* --- Inject Button --- */
.hl-btn-inject {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    background: var(--g-gradient-main);
    color: white;
    border: none;
    border-radius: 14px;
    padding: 0.85rem 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(0, 229, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.hl-btn-inject::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transition: left 0.5s ease;
}

.hl-btn-inject:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 229, 255, 0.35);
}

.hl-btn-inject:hover::before {
    left: 100%;
}

.hl-btn-inject:disabled {
    opacity: 0.7;
    transform: none;
    cursor: wait;
}

/* --- Responsive --- */
@media (max-width: 576px) {
    .hl-panel {
        padding: 1.5rem 1rem;
        border-radius: 18px;
    }

    .hl-title {
        font-size: 1.5rem;
    }

    .hl-feature-name {
        font-size: 0.8rem;
    }

    .hl-tab {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }

    .hl-console-body {
        font-size: 0.65rem;
    }

    .hl-btn-inject {
        font-size: 0.75rem;
        padding: 0.75rem 2rem;
    }
}

/* ============================================
   Auth Page (Login / Signup)
   ============================================ */
.auth-page {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
}

.auth-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: #9898b0;
    margin-bottom: 0.4rem;
    display: block;
    letter-spacing: 0.02em;
}

.auth-input {
    background: #0a0a16 !important;
    border: 1px solid var(--g-border) !important;
    border-radius: 12px !important;
    color: white !important;
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    padding-right: 3rem;
    transition: all 0.25s ease;
}

.auth-input::placeholder {
    color: #444 !important;
}

.auth-input:focus {
    border-color: var(--g-cyan) !important;
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.08) !important;
    outline: none;
}

.auth-input[readonly] {
    background: #0d0d1a !important;
    cursor: default;
    color: var(--g-cyan) !important;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.auth-eye-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #555;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    transition: color 0.2s ease;
    z-index: 5;
}

.auth-eye-btn:hover {
    color: var(--g-cyan);
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #7878a0;
    cursor: pointer;
}

.auth-remember input[type="checkbox"] {
    accent-color: var(--g-cyan);
    width: 15px;
    height: 15px;
}

.auth-forgot {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--g-cyan);
    text-decoration: none;
}

.auth-forgot:hover {
    color: var(--g-purple);
}

/* ============================================
   Payment Page
   ============================================ */
.payment-page {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
}

.payment-price {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #f5c842, #d4a017);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-qr-wrapper {
    padding: 0 1rem;
}

.payment-qr-box {
    background: white;
    border-radius: 16px;
    padding: 1rem;
    display: inline-block;
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.08);
}

.payment-qr-img {
    width: 220px;
    height: auto;
    border-radius: 8px;
}

.payment-qr-fallback {
    width: 220px;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--g-bg-card);
    border-radius: 8px;
}

.payment-qr-hint {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: #7878a0;
}

.payment-copy-toast {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--g-green);
    margin-top: 0.4rem;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.25s ease;
}

.payment-copy-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   User Badge (Navbar)
   ============================================ */
.gaming-user-badge {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: white;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 10px;
    padding: 0.4rem 0.9rem;
    display: inline-flex;
    align-items: center;
}

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

/* ============================================
   Auth Notice (Headlock page)
   ============================================ */
.hl-auth-notice {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: #7878a0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--g-border);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.hl-auth-warning {
    color: #f5c842;
    background: rgba(245, 200, 66, 0.05);
    border-color: rgba(245, 200, 66, 0.15);
}

/* ============================================
   Flash Messages
   ============================================ */
.flash-container {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    width: 90%;
    max-width: 500px;
}

@media (max-width: 991.98px) {
    .flash-container {
        top: 52px;
    }
}

.flash-alert {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    animation: flashSlide 0.3s ease;
}

@keyframes flashSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: rgba(0, 200, 83, 0.15) !important;
    color: #00e676 !important;
    border: 1px solid rgba(0, 200, 83, 0.2) !important;
}

.alert-danger {
    background: rgba(255, 82, 82, 0.15) !important;
    color: #ff5252 !important;
    border: 1px solid rgba(255, 82, 82, 0.2) !important;
}

.alert-warning {
    background: rgba(245, 200, 66, 0.15) !important;
    color: #f5c842 !important;
    border: 1px solid rgba(245, 200, 66, 0.2) !important;
}

.flash-alert .btn-close {
    filter: invert(1) grayscale(1) brightness(2);
    opacity: 0.5;
}