/* ==========================================================================
   UKBET / QBET777 Exact Reference Dark Theme Stylesheet
   ========================================================================== */

:root {
    --qbet-bg: #12151d;
    --qbet-bg-secondary: #161922;
    --qbet-card: #1c212e;
    --qbet-card-border: rgba(255, 255, 255, 0.07);
    --qbet-header-bg: #141720;
    --qbet-green: #00a86b;
    --qbet-green-dark: #00684a;
    --qbet-green-hover: #00c77f;
    --qbet-brand-red: #ff3b00;
    --qbet-brand-gold: #ff9900;
    --qbet-brand-orange: #ff5500;
    --qbet-text-main: #f8fafc;
    --qbet-text-muted: #9ba4b0;
    --ukbet-mobile-nav-height: 64px;
}

body {
    background-color: var(--qbet-bg);
    color: var(--qbet-text-main);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    padding-bottom: var(--ukbet-mobile-nav-height);
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================================================
   Header & Logo
   ========================================================================== */
.qbet-header {
    background-color: var(--qbet-header-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 16px;
    position: sticky;
    top: 0;
    z-index: 1030;
    backdrop-filter: blur(8px);
}

.qbet-logo {
    font-size: 2.1rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    text-decoration: none;
    user-select: none;
}

.qbet-logo .logo-text {
    background: linear-gradient(180deg, #ffcc00 0%, #ff8800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.qbet-logo .logo-num {
    background: linear-gradient(180deg, #ff5500 0%, #ff2200 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 1px;
}

.qbet-settings-btn {
    color: #94a3b8 !important;
    transition: color 0.2s ease, transform 0.2s ease;
}
.qbet-settings-btn:hover {
    color: #ffffff !important;
    transform: rotate(30deg);
}

/* Emerald Green & Demo Buttons */
.btn-qbet-green {
    background: linear-gradient(180deg, #00b372 0%, #008f58 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 6px 18px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 6px rgba(0, 168, 107, 0.3);
    transition: all 0.2s ease;
    text-transform: capitalize;
}
.btn-qbet-green:hover, .btn-qbet-green:focus {
    background: linear-gradient(180deg, #00c77f 0%, #009d61 100%);
    box-shadow: 0 4px 12px rgba(0, 168, 107, 0.45);
    transform: translateY(-1px);
}

.btn-qbet-demo {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1 !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 6px 16px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
}
.btn-qbet-demo:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Announcement Marquee Bar
   ========================================================================== */
.qbet-announcement-bar {
    background: linear-gradient(90deg, #004d36 0%, #00684a 50%, #004d36 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.82rem;
    padding: 6px 0;
    overflow: hidden;
    white-space: nowrap;
}
.announcement-icon-tag {
    color: #facc15;
    margin-right: 12px;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.announcement-marquee-wrap {
    overflow: hidden;
    position: relative;
}
.announcement-marquee-text {
    display: inline-block;
    animation: marqueeScroll 28s linear infinite;
    padding-left: 100%;
    font-weight: 500;
}
@keyframes marqueeScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}
.qbet-announcement-bar:hover .announcement-marquee-text {
    animation-play-state: paused;
}

/* ==========================================================================
   Upcoming Fixture Ticker Bar
   ========================================================================== */
.fixture-ticker-bar {
    background-color: #1a1e28;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    overflow: hidden;
    font-size: 0.82rem;
}
.fixture-ticker-tag {
    background: linear-gradient(180deg, #00a86b 0%, #00784d 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.78rem;
    padding: 8px 14px;
    white-space: nowrap;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.3);
}
.fixture-ticker-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 7px 14px;
    gap: 16px;
    color: #cbd5e1;
    font-weight: 500;
}
.fixture-ticker-content::-webkit-scrollbar {
    display: none;
}
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ticker-icon {
    font-size: 0.95rem;
}
.ticker-match {
    color: #ffffff;
    font-weight: 600;
}
.ticker-time {
    color: #94a3b8;
    font-size: 0.75rem;
}
.ticker-bullet {
    color: #64748b;
    font-size: 0.7rem;
}

/* ==========================================================================
   Hero Promotional Graphic Carousel (Full Proportional Display)
   ========================================================================== */
.qbet-promo-carousel {
    margin-bottom: 0.75rem !important;
}

.qbet-promo-carousel .carousel-inner {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background-color: #0b0e14;
    width: 100%;
    aspect-ratio: 1900 / 446;
    overflow: hidden;
}

.qbet-hero-banner-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1900 / 446;
    cursor: pointer;
    overflow: hidden;
}

.qbet-hero-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1900 / 446;
    display: block;
    object-fit: fill;
    object-position: center;
    transition: transform 0.4s ease;
}

.qbet-hero-banner-link:hover .qbet-hero-img {
    transform: scale(1.012);
}

.qbet-promo-carousel .carousel-control-prev,
.qbet-promo-carousel .carousel-control-next {
    width: 36px;
    height: 36px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    opacity: 0.65;
    transition: all 0.2s ease;
}

.qbet-promo-carousel .carousel-control-prev {
    left: 8px;
}

.qbet-promo-carousel .carousel-control-next {
    right: 8px;
}

.qbet-promo-carousel .carousel-control-prev:hover,
.qbet-promo-carousel .carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.85);
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.4);
}

.qbet-promo-carousel .carousel-indicators {
    margin-bottom: 6px;
}

.qbet-promo-carousel .carousel-indicators [data-bs-target] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.45);
    border: none;
    margin: 0 3px;
    transition: all 0.3s ease;
}

.qbet-promo-carousel .carousel-indicators .active {
    background-color: var(--qbet-green);
    width: 18px;
    border-radius: 3px;
}

/* ==========================================================================
   Sports Cloud Counter Grid
   ========================================================================== */
.qbet-hero-banner {
    position: relative;
    background: linear-gradient(135deg, #032b17 0%, #0a4f2f 50%, #063920 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.qbet-hero-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 900;
    padding: 10px 14px;
    line-height: 1;
}
.qbet-hero-date .date-num {
    font-size: 3.2rem;
    letter-spacing: -2px;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.qbet-hero-date .date-month {
    font-size: 1.4rem;
    color: #facc15;
    letter-spacing: 1px;
}

.sports-cloud-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px 8px;
    padding: 10px 0;
}
@media (max-width: 992px) {
    .sports-cloud-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 576px) {
    .sports-cloud-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sport-cloud-item {
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
}
.sport-cloud-item:hover {
    transform: translateY(-4px) scale(1.05);
}
.sport-cloud-shape {
    width: 60px;
    height: 60px;
    margin: 0 auto 6px;
    background: radial-gradient(circle, #166534 0%, #052e16 100%);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.sport-cloud-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 900;
    padding: 1px 5px;
    border-radius: 10px;
    border: 1.5px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
.sport-cloud-label {
    font-size: 0.68rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.qbet-banner-right-text {
    font-weight: 900;
    font-size: 2.8rem;
    line-height: 1;
    color: #facc15;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.qbet-banner-subtext {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Section Titles & Links
   ========================================================================== */
.qbet-section-title {
    font-size: 1.2rem;
    font-weight: 900;
    color: #f8fafc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    position: relative;
}
.qbet-view-all-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ff9900;
    text-transform: uppercase;
    transition: color 0.2s ease, transform 0.2s ease;
}
.qbet-view-all-link:hover {
    color: #ffb84d;
    transform: translateX(3px);
}

/* ==========================================================================
   NOW TRENDING One-Line Auto-Scroller Carousel (QBET777 Style)
   ========================================================================== */
.trending-carousel-wrapper {
    position: relative;
    width: 100%;
}

.trending-scroll-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 2px 8px 2px;
}

.trending-scroll-track::-webkit-scrollbar {
    display: none;
}

.trending-scroll-item {
    flex: 0 0 calc((100% - 60px) / 6);
    min-width: 175px;
    max-width: 240px;
}

@media (max-width: 1200px) {
    .trending-scroll-item {
        flex: 0 0 calc((100% - 48px) / 5);
        min-width: 165px;
    }
}

@media (max-width: 991px) {
    .trending-scroll-item {
        flex: 0 0 calc((100% - 36px) / 4);
        min-width: 155px;
    }
}

@media (max-width: 768px) {
    .trending-scroll-item {
        flex: 0 0 calc((100% - 24px) / 3);
        min-width: 140px;
    }
}

@media (max-width: 520px) {
    .trending-scroll-item {
        flex: 0 0 calc((100% - 12px) / 2);
        min-width: 130px;
    }
}

.trending-image-card {
    position: relative;
    border-radius: 7px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: #12151e;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.trending-image-card:hover {
    transform: translateY(-3px);
    border-color: #ffaa00;
    box-shadow: 0 8px 20px rgba(255, 170, 0, 0.35);
}

.trending-card-poster {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.trending-image-card:hover .trending-card-poster {
    transform: scale(1.035);
}

/* Floating Navigation Buttons */
.trending-nav-btn {
    position: absolute;
    top: calc(50% - 4px);
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(12, 16, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
    transition: all 0.2s ease;
    opacity: 0.85;
}

.trending-nav-btn:hover {
    background: var(--qbet-green);
    border-color: var(--qbet-green-hover);
    color: #ffffff;
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.trending-nav-btn.prev {
    left: -14px;
}

.trending-nav-btn.next {
    right: -14px;
}

@media (max-width: 768px) {
    .trending-nav-btn {
        display: none;
    }
}
    border-color: #eab308;
}
.theme-money-coming {
    background: linear-gradient(135deg, #065f46 0%, #047857 40%, #022c22 100%);
    border-color: #34d399;
}
.theme-mogambo {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #0f172a 100%);
    border-color: #6366f1;
}
.theme-teenpatti {
    background: linear-gradient(135deg, #581c87 0%, #7e22ce 40%, #3b0764 100%);
    border-color: #a855f7;
}
.theme-super-ace {
    background: linear-gradient(135deg, #831843 0%, #be185d 40%, #500724 100%);
    border-color: #ec4899;
}
.theme-queen {
    background: linear-gradient(135deg, #3b0764 0%, #581c87 40%, #1e1b4b 100%);
    border-color: #c084fc;
}
.theme-poker {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 40%, #1c1917 100%);
    border-color: #f87171;
}
.theme-aaa {
    background: linear-gradient(135deg, #7c2d12 0%, #c2410c 40%, #18181b 100%);
    border-color: #fb923c;
}
.theme-32cards {
    background: linear-gradient(135deg, #0c4a6e 0%, #0284c7 40%, #082f49 100%);
    border-color: #38bdf8;
}

/* ==========================================================================
   Trending Graphic Image Cards
   ========================================================================== */
.trending-image-card {
    background: #0f172a;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    text-decoration: none;
}
.trending-image-card:hover {
    transform: translateY(-5px) scale(1.03);
    border-color: #f59e0b;
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.35);
    z-index: 5;
}
.trending-card-poster {
    transition: transform 0.3s ease;
}
.trending-image-card:hover .trending-card-poster {
    transform: scale(1.04);
}

/* ==========================================================================
   Category Filter Navigation Pills
   ========================================================================== */
.category-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.category-nav-wrapper::-webkit-scrollbar {
    display: none;
}
.category-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}
.category-pill:hover, .category-pill.active {
    background: linear-gradient(180deg, #00a86b 0%, #00784d 100%);
    border-color: #00a86b;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 168, 107, 0.35);
}

/* ==========================================================================
   OUR LIVE CASINO 7-Column Graphic Grid (50+ Games)
   ========================================================================== */
.casino-grid-7 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
@media (min-width: 576px) {
    .casino-grid-7 {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 768px) {
    .casino-grid-7 {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 992px) {
    .casino-grid-7 {
        grid-template-columns: repeat(6, 1fr);
    }
}
@media (min-width: 1200px) {
    .casino-grid-7 {
        grid-template-columns: repeat(7, 1fr);
    }
}

.casino-visual-tile {
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease, border-color 0.22s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.casino-visual-tile:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: #fbbf24 !important;
    box-shadow: 0 8px 22px rgba(251, 191, 36, 0.4);
    z-index: 5;
}
.casino-tile-img {
    transition: transform 0.3s ease;
}
.casino-visual-tile:hover .casino-tile-img {
    transform: scale(1.05);
}
.tile-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}
.casino-visual-tile:hover .tile-hover-overlay {
    opacity: 1;
}

.btn-outline-gold {
    border: 1px solid #ff9900;
    color: #ff9900;
    background: transparent;
    transition: all 0.2s ease;
}
.btn-outline-gold:hover {
    background: #ff9900;
    color: #000000;
}

/* ==========================================================================
   Top Winners Cards
   ========================================================================== */
.winner-card {
    background: #191e28;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 16px 10px;
    text-align: center;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.winner-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 153, 0, 0.4);
}
.winner-rank-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    padding: 2px 6px;
    border-radius: 4px;
}
.winner-rank-badge.rank-1 {
    background: rgba(250, 204, 21, 0.2);
    color: #facc15;
    border: 1px solid rgba(250, 204, 21, 0.4);
}
.winner-rank-badge.rank-2 {
    background: rgba(226, 232, 240, 0.2);
    color: #e2e8f0;
}
.winner-rank-badge.rank-3 {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
}
.winner-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    color: #fbbf24;
    font-size: 1.8rem;
    border: 2px solid rgba(251, 191, 36, 0.3);
}
.winner-name {
    font-weight: 700;
    color: #e2e8f0;
    font-size: 0.82rem;
}
.winner-time {
    font-size: 0.7rem;
    color: #64748b;
    margin-bottom: 4px;
}
.winner-amount {
    font-weight: 900;
    font-size: 0.95rem;
}
.text-gold {
    color: #ffaa00;
}
.text-emerald {
    color: #00c77f;
}

/* ==========================================================================
   QBET777 Exact Login Modal Popup
   ========================================================================== */
.qbet-modal .modal-content {
    background-color: #161922;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
}
.qbet-modal-header {
    background-color: #12141c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 20px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.qbet-modal-close {
    width: 30px;
    height: 30px;
    background-color: #ef4444;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.qbet-modal-close:hover {
    background-color: #dc2626;
    transform: scale(1.1);
}

.qbet-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.qbet-input-icon {
    position: absolute;
    left: 12px;
    color: #64748b;
    font-size: 1rem;
    pointer-events: none;
}
.qbet-input {
    background-color: #0f1118;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 10px 38px 10px 36px;
    font-size: 0.9rem;
    border-radius: 4px;
}
.qbet-input:focus {
    background-color: #0d0f15;
    border-color: #00a86b;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.25);
}
.qbet-password-toggle {
    position: absolute;
    right: 10px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1rem;
    cursor: pointer;
    padding: 4px;
}
.qbet-password-toggle:hover {
    color: #ffffff;
}

.qbet-checkbox:checked {
    background-color: #00a86b;
    border-color: #00a86b;
}

.qbet-divider {
    text-align: center;
    position: relative;
}
.qbet-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}
.qbet-divider span {
    background-color: #161922;
    padding: 0 12px;
    position: relative;
    color: #64748b;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
}

/* ==========================================================================
   Floating Live Chat Button
   ========================================================================== */
.floating-chat-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.5);
    z-index: 1050;
    cursor: pointer;
    font-size: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.7);
    color: #ffffff;
}
@media (min-width: 768px) {
    .floating-chat-btn {
        bottom: 24px;
    }
}

/* ==========================================================================
   Mobile Fixed Bottom Navigation Bar
   ========================================================================== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--ukbet-mobile-nav-height);
    background-color: #12151d;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1040;
    backdrop-filter: blur(10px);
}
.mobile-bottom-nav-item {
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
    flex: 1;
    padding: 6px 0;
    transition: color 0.2s ease;
}
.mobile-bottom-nav-item.active, .mobile-bottom-nav-item:hover {
    color: #00c77f;
}

/* ==========================================================================
   Footer & Features
   ========================================================================== */
.ukbet-footer {
    background: linear-gradient(180deg, #12151d 0%, #0a0c10 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2.5rem;
    padding-bottom: 2rem;
    color: #94a3b8;
}
.footer-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}
@media (max-width: 991px) {
    .footer-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .footer-features-grid {
        grid-template-columns: 1fr;
    }
}
.footer-feature-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.25s ease;
}
.footer-feature-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 153, 0, 0.3);
    transform: translateY(-2px);
}
.footer-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.footer-feature-title {
    font-weight: 800;
    font-size: 0.88rem;
    color: #ffffff;
    margin-bottom: 2px;
}
.footer-feature-desc {
    font-size: 0.74rem;
    color: #94a3b8;
    margin-bottom: 0;
}
.footer-title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #ffffff;
    margin-bottom: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, #ff9900, #ff5500);
    border-radius: 2px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.55rem;
}
.footer-links a {
    color: #94a3b8;
    font-size: 0.84rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s ease;
}
.footer-links a:hover {
    color: #ff9900;
    transform: translateX(4px);
}
.footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}
.footer-social-btn:hover {
    background: #ff9900;
    border-color: #ff9900;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.35);
}

.payment-badge-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #e2e8f0;
}
.trust-badge-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #94a3b8;
}
.footer-disclaimer-box {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    font-size: 0.74rem;
    line-height: 1.6;
    color: #64748b;
}

.trust-protection-card {
    background: linear-gradient(135deg, #111822 0%, #16202c 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.support-action-banner {
    background: linear-gradient(135deg, #172333 0%, #0d1622 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
