/* ==========================================================
   BRISBANE LOTTERY — Bold, kinetic, Aussie sports magazine
   Palette: Midnight navy · Crimson red · Solar gold · Bone
   Type: Anton (display) · Onest (body) · Space Grotesk (nums)
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Onest:wght@300..900&family=Space+Grotesk:wght@400;500;700&display=swap');

:root {
    --navy:        #0a1a3a;
    --navy-2:      #10265a;
    --navy-deep:   #050f26;
    --red:         #e11d2c;
    --red-2:       #c81424;
    --red-glow:    #ff2f42;
    --gold:        #ffb703;
    --gold-2:      #ffd166;
    --bone:        #f5f2ec;
    --bone-2:      #eee9dd;
    --off-white:   #fafaf7;
    --line:        rgba(10,26,58,0.12);
    --line-strong: #0a1a3a;
    --muted:       #6b7180;

    --display:     'Anton', 'Impact', system-ui, sans-serif;
    --body:        'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --num:         'Space Grotesk', ui-monospace, monospace;
}

/* Southern-cross star SVG pattern (subtle, on navy) */
:root {
    --stars-svg: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'><g fill='%23ffffff' opacity='0.06'><polygon points='60,20 63,29 72,29 65,34 68,43 60,38 52,43 55,34 48,29 57,29' /><polygon points='180,60 182,66 188,66 183,70 185,76 180,72 175,76 177,70 172,66 178,66' /><polygon points='210,150 212,156 218,156 213,160 215,166 210,162 205,166 207,160 202,156 208,156' /><polygon points='40,180 42,186 48,186 43,190 45,196 40,192 35,196 37,190 32,186 38,186' /><polygon points='120,110 123,119 132,119 125,124 128,133 120,128 112,133 115,124 108,119 117,119' /></g></svg>");
    --diagonal: repeating-linear-gradient(-45deg, transparent 0 8px, rgba(255,255,255,0.04) 8px 9px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    padding-bottom: 80px;
    background: var(--bone);
    color: var(--navy);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

::selection { background: var(--red); color: var(--bone); }

h1,h2,h3,h4,h5,h6 { font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; text-transform: uppercase; }
.text-warning { color: var(--gold) !important; }
.text-danger  { color: var(--red)  !important; }

/* ---------- TOP TAPE (thin diagonal stripe) ---------- */
body::before {
    content: "";
    position: fixed; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--red) 0%, var(--red) 33%, var(--navy) 33%, var(--navy) 66%, var(--gold) 66%, var(--gold) 100%);
    z-index: 999;
}

/* ---------- NAVBAR ---------- */
.navbar.bg-brown {
    background: var(--navy) !important;
    padding: 12px 0;
    position: relative;
    border-bottom: 4px solid var(--red);
    z-index: 20;
}
.navbar.bg-brown::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--stars-svg), var(--diagonal);
    background-size: 240px 240px, auto;
    opacity: 0.85;
    pointer-events: none;
}
.navbar .container { position: relative; z-index: 1; }

.navbar-brand .logo {
    width: 210px !important;
    filter: drop-shadow(0 4px 12px rgba(225,29,44,0.35));
    transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.navbar-brand:hover .logo { transform: scale(1.04) rotate(-2deg); }

.navbar-dark .navbar-nav .nav-link {
    color: rgba(245,242,236,0.85);
    font-family: var(--body);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 10px 14px !important;
    margin: 0 2px;
    border-radius: 6px;
    position: relative;
    transition: color .25s ease, background .25s ease;
}
.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
    background: rgba(225,29,44,0.15);
}
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--gold);
    background: var(--red);
}
.navbar-dark .navbar-nav .nav-link.active::after {
    content: "";
    position: absolute; left: 12px; right: 12px; bottom: 4px;
    height: 2px; background: var(--gold);
}

.navbar-toggler {
    border: 2px solid rgba(255,255,255,0.35);
    padding: 6px 10px;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(225,29,44,0.35); }

.dropdown-menu {
    background: var(--navy);
    border: 2px solid var(--red);
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 22px 44px rgba(5,15,38,0.35);
    margin-top: 8px;
}
.dropdown-item {
    color: #fff;
    font-family: var(--body);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 16px;
    border-radius: 4px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.dropdown-item:hover { background: var(--red); color: var(--gold-2); transform: translateX(4px); }
.dropdown-item.active { background: var(--red); color: var(--bone); }

/* ---------- MARQUEE (ticker) ---------- */
.text-runn, marquee.text-runn {
    display: block;
    background: var(--gold);
    color: var(--navy) !important;
    font-family: var(--body);
    font-weight: 800;
    font-size: 0.86rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 10px 0;
    border-top: 2px solid var(--navy);
    border-bottom: 2px solid var(--navy);
    position: relative;
}
.text-runn::before, .text-runn::after {
    content: "★ ★ ★ LIVE ★ ★ ★";
    position: absolute;
    top: 0; height: 100%;
    display: flex; align-items: center;
    padding: 0 14px;
    background: var(--red);
    color: var(--gold);
    font-weight: 800;
    letter-spacing: 0.2em;
    z-index: 2;
    font-size: 0.72rem;
}
.text-runn::before { left: 0; }
.text-runn::after  { right: 0; }

/* ------------- HERO / SLIDER ------------- */
.swiper {
    width: 100%;
    height: clamp(180px, 40vw, 420px);
    background: var(--ink);
    position: relative;
    overflow: hidden;
}

.swiper::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(13,12,10,0) 55%,
        rgba(13,12,10,0.55) 100%
    );
    z-index: 2;
}

.swiper-slide {
    overflow: hidden;
}

.slideimg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transform: scale(1.03);
    transition: transform 8s ease;
    filter: contrast(1.02) saturate(1.02);
}

.swiper-slide-active .slideimg {
    transform: scale(1);
}

/* Tombol */
.swiper-button-prev,
.swiper-button-next {
    color: var(--gold-2) !important;
    background: rgba(13,12,10,0.55);
    width: 46px !important;
    height: 46px !important;
    border-radius: 50%;
    border: 1px solid rgba(215,181,109,0.35);
    backdrop-filter: blur(6px);
    transition: .3s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--ink);
    transform: scale(1.06);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* Tablet */
@media (max-width: 992px) {
    .swiper {
        height: clamp(220px, 45vw, 340px);
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 40px !important;
        height: 40px !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .swiper {
        height: 240px;
    }

    .slideimg {
        object-position: center;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 36px !important;
        height: 36px !important;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 14px !important;
    }
}

/* HP kecil */
@media (max-width: 480px) {
    .swiper {
        height: 180px;
    }

    .slideimg {
        object-position: center;
    }
}

.slideimg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* Big diagonal ribbon under hero */
.hero-ribbon {
    position: relative;
    background: var(--red);
    color: var(--bone);
    padding: 14px 0;
    overflow: hidden;
    border-bottom: 4px solid var(--navy);
}
.hero-ribbon::before {
    content: "";
    position: absolute; inset: 0;
    background: var(--diagonal);
    opacity: 0.7;
}
.hero-ribbon-inner {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap;
    font-family: var(--display);
    font-size: 1.15rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.hero-ribbon .chip {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--navy);
    color: var(--gold);
    padding: 6px 14px;
    border-radius: 40px;
    font-family: var(--body);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
}
.hero-ribbon .chip .pulse {
    width: 8px; height: 8px; background: var(--red-glow); border-radius: 50%;
    animation: pulse 1.4s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(255,47,66,0.65);
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,47,66,0.6); }
    50%      { box-shadow: 0 0 0 10px rgba(255,47,66,0); }
}

/* ---------- SECTION HEADS ---------- */
.section-band {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 46px 0 22px;
    border-bottom: 3px solid var(--navy);
    margin-bottom: 26px;
    flex-wrap: wrap;
}
.section-band .kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--navy);
    color: var(--gold);
    font-family: var(--body);
    font-weight: 800;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 10px;
}
.section-band .kicker::before { content: "◆"; color: var(--red); }
.section-band h2 {
    font-family: var(--display);
    font-size: clamp(2.4rem, 5.2vw, 4.4rem);
    line-height: 0.92;
    letter-spacing: 0.005em;
    color: var(--navy);
    margin: 0;
    text-transform: uppercase;
}
.section-band h2 .red { color: var(--red); }
.section-band .meta {
    font-family: var(--num);
    font-weight: 500;
    color: var(--muted);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

/* ---------- LIVE DRAW CARD (ticket style) ---------- */
.card-live {
    width: 100%;
    max-width: 820px;
    display: block;
    margin: 0 auto 24px;
    background: transparent;
    border: none;
}
.card-live .card-body { padding: 0; }

#live {
    background: var(--navy) !important;
    color: var(--bone);
    border-radius: 12px;
    border: 3px solid var(--navy) !important;
    padding: 30px clamp(20px, 4vw, 40px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(5,15,38,0.6), inset 0 0 0 1px rgba(255,183,3,0.2);
}
/* Ticket edges (perforated look) */
#live::before, #live::after {
    content: "";
    position: absolute; top: 40%;
    width: 22px; height: 22px;
    background: var(--bone);
    border-radius: 50%;
    z-index: 2;
}
#live::before { left: -11px; }
#live::after  { right: -11px; }

#live > * { position: relative; z-index: 1; }

#live .navbar-brand .logo {
    width: 200px !important;
    margin: 0 auto 12px;
    filter: drop-shadow(0 6px 20px rgba(225,29,44,0.4));
}
#live > div.d-flex.justify-content-center h5.fw-bold,
#live h5.fw-bold, #live h4.fw-bold {
    color: var(--gold);
    font-family: var(--display);
    letter-spacing: 0.08em;
    font-size: 1.6rem;
    margin: 4px 0;
}
#live > div.d-flex.justify-content-center h6 {
    color: rgba(245,242,236,0.7);
    font-family: var(--body);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    margin: 0;
}
#live > div.d-flex.justify-content-center h5.fw-bold.text-capitalize {
    font-family: var(--body);
    font-size: 0.92rem;
    letter-spacing: 0.12em;
    color: var(--bone);
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 6px;
    margin-bottom: 12px;
}
#live > div.d-flex.justify-content-center:nth-of-type(3) h5 {
    color: var(--gold-2);
}

.live-content, div.live-content.bg-dark.rounded {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent) !important;
    padding: 22px 0 4px;
    color: var(--bone);
    border-top: 2px dashed rgba(255,183,3,0.35);
    margin-top: 14px;
}
.live-content .row { row-gap: 6px; }
.live-content h4 {
    font-family: var(--display);
    font-size: 1.7rem;
    color: var(--bone);
    letter-spacing: 0.02em;
    margin: 4px 0;
    padding: 4px 0;
}
.live-content h4.fw-bold {
    font-family: var(--body);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    font-size: 0.86rem;
    display: inline-flex; align-items: center; gap: 8px;
}
.live-content hr {
    border-top: 1px dashed rgba(255,183,3,0.28);
    margin: 6px 0;
    opacity: 1;
}
.live-content .col-6:has(h4.fw-bold) { text-align: left; padding-left: 22px; }
.live-content .col-6:not(:has(h4.fw-bold)) h4 {
    display: inline-block;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,183,3,0.2);
    padding: 2px 14px;
    border-radius: 40px;
    color: var(--gold-2);
    font-family: var(--num);
    font-weight: 700;
    letter-spacing: 0.08em;
}
.live-content i.fa-trophy.text-warning { color: var(--gold) !important; }
.live-content i.fa-trophy.text-light   { color: var(--bone) !important; }

/* ---------- DRAW HISTORY GRID (ball tickets) ---------- */
.card-live-dk, .card1.card-live-dk {
    width: 100%;
    background: transparent !important;
    border: none;
    padding: 0 !important;
    box-shadow: none;
}
.card-live-dk > h4 { display: none; }  /* replaced by section-band */

.result-card {
    position: relative;
    background: var(--off-white) !important;
    color: var(--navy) !important;
    padding: 26px 22px 22px !important;
    border-radius: 14px !important;
    border: 2px solid var(--navy);
    overflow: hidden;
    transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
    height: 100%;
    box-shadow: 4px 4px 0 0 var(--navy);
}
.result-card::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 6px;
    background: linear-gradient(90deg, var(--red), var(--gold), var(--navy));
}
.result-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 0 var(--red);
}

.result-card > .text-center:first-child h5,
.result-card h5.text-capitalize {
    font-family: var(--body);
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--red);
    margin-bottom: 4px;
}
.result-card > .text-center:first-child h6 {
    font-family: var(--num);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: 0.02em;
    margin-bottom: 6px;
}
.result-card hr { border-top: 1px solid var(--line); margin: 12px 0; opacity: 1; }

.result-card .d-block.mx-auto h5 {
    font-family: var(--body);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 6px 0 2px;
    display: inline-flex; align-items: center; gap: 6px;
}
.result-card .d-block.mx-auto:nth-of-type(2) h5,
.result-card .d-block.mx-auto:first-of-type h5 { color: var(--red); }

.result-card .p-num {
    font-family: var(--display) !important;
    font-weight: 400;
    font-size: 3rem !important;
    letter-spacing: 0.06em;
    color: var(--navy) !important;
    line-height: 1;
    margin: 4px 0 10px;
    display: inline-block;
    padding: 6px 18px;
    background: var(--bone);
    border: 2px solid var(--navy);
    border-radius: 8px;
    box-shadow: 3px 3px 0 0 var(--red);
}

/* ---------- RESULT PAGE (list view) ---------- */
.bg-light.p-2 {
    background: transparent !important;
    color: var(--navy);
    padding: 40px 0 10px !important;
}
.bg-light.p-2 h2 {
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin: 0 0 6px;
}
.bg-light.p-2 h2::before {
    content: "◆ Archive ◆";
    display: block;
    font-family: var(--body);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    color: var(--red);
    margin-bottom: 8px;
}

#dateres .input-group {
    background: var(--off-white);
    border: 2px solid var(--navy);
    border-radius: 12px;
    overflow: hidden;
    padding: 4px;
    box-shadow: 3px 3px 0 0 var(--red);
    width: 24rem !important;
    max-width: 100%;
}
#dateres .input-group-text {
    background: transparent;
    border: none;
    color: var(--red);
    padding-left: 14px;
}
#dateres .form-control {
    background: transparent;
    border: none;
    color: var(--navy);
    font-family: var(--body);
    font-weight: 500;
}
#dateres .form-control:focus { box-shadow: none; }
#dateres .btn-danger {
    background: var(--red);
    border: none;
    color: var(--gold);
    border-radius: 8px;
    padding: 10px 20px;
    font-family: var(--body);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: background .25s ease, color .25s ease;
}
#dateres .btn-danger:hover { background: var(--navy); color: var(--gold-2); }

/* Featured / list card in result page */
.card.bg-card4, .bg-card4 {
    background: var(--navy) !important;
    color: var(--bone) !important;
    border: 3px solid var(--navy) !important;
    border-radius: 14px !important;
    overflow: hidden;
    position: relative;
    box-shadow: 5px 5px 0 0 var(--red);
    transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.card.bg-card4::before {
    content: "";
    position: absolute; inset: 0;
    background: var(--stars-svg);
    background-size: 240px 240px;
    opacity: 0.7;
    pointer-events: none;
}
.card.bg-card4::after {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, var(--red), var(--gold), var(--red));
}
.card.bg-card4:hover {
    transform: translate(-3px, -3px);
    box-shadow: 10px 10px 0 0 var(--red);
}
.card.bg-card4 .card-body { position: relative; z-index: 1; padding: 26px 22px; }
.card.bg-card4 .bg-light.rounded {
    background: var(--bone) !important;
    padding: 14px !important;
    border-radius: 8px !important;
    border: 2px solid var(--gold);
}
.card.bg-card4 .img-fluid { max-width: 200px; width: 100%; }
.card.bg-card4 h5.text-capitalize {
    font-family: var(--body);
    font-weight: 800;
    font-size: 0.75rem !important;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--gold);
    margin: 12px 0 6px;
}
.card.bg-card4 .ball-result {
    font-family: var(--display) !important;
    font-size: clamp(3rem, 6vw, 4.6rem) !important;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--bone);
    margin: 6px 0 12px;
    line-height: 1;
    text-shadow: 0 4px 30px rgba(255,183,3,0.35);
    display: inline-block;
    padding: 6px 24px;
    background: rgba(255,255,255,0.04);
    border: 2px dashed var(--gold);
    border-radius: 12px;
}
.card.bg-card4 span {
    font-family: var(--body);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(245,242,236,0.75);
    display: inline-block;
    margin-bottom: 6px;
}
.card.bg-card4 .badge.bg-danger {
    background: var(--red) !important;
    color: var(--gold) !important;
    font-family: var(--body);
    font-weight: 800;
    font-size: 0.68rem;
    letter-spacing: 0.24em;
    padding: 6px 12px;
    border-radius: 40px;
    margin: 6px 6px 10px;
    display: inline-block;
    box-shadow: 0 0 0 2px var(--gold), 0 4px 14px rgba(225,29,44,0.35);
    animation: pulse 1.6s ease-in-out infinite;
}
.card.bg-card4 h6.text-warning {
    color: var(--gold-2) !important;
    font-family: var(--display);
    font-weight: 400;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    margin-top: 8px;
    text-transform: uppercase;
}

/* Pagination */
.pagination { gap: 6px; margin-top: 30px; }
.pagination .page-link {
    background: var(--off-white);
    border: 2px solid var(--navy);
    color: var(--navy);
    font-family: var(--body);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 6px;
    padding: 8px 14px;
    transition: all .2s ease;
    box-shadow: 2px 2px 0 0 var(--navy);
}
.pagination .page-link:hover { background: var(--red); color: var(--gold); border-color: var(--red); box-shadow: 2px 2px 0 0 var(--red); }
.pagination .page-item.active .page-link { background: var(--red); border-color: var(--red); color: var(--gold); box-shadow: 2px 2px 0 0 var(--gold); }
.pagination .page-item.disabled .page-link { opacity: 0.4; box-shadow: none; }

/* ---------- "See All Results" pill nav ---------- */
.navbar.bg-brown.navbar-result-custom {
    background: var(--gold) !important;
    border-radius: 12px !important;
    padding: 6px 14px !important;
    max-width: 300px;
    margin: 30px auto 6px;
    border: 2px solid var(--navy);
    box-shadow: 3px 3px 0 0 var(--navy);
}
.navbar.bg-brown.navbar-result-custom::before { display: none; }
.navbar.bg-brown.navbar-result-custom .nav-link {
    color: var(--navy) !important;
    font-family: var(--body);
    font-weight: 800;
    letter-spacing: 0.14em;
    font-size: 0.82rem;
    padding: 4px 10px !important;
    text-transform: uppercase;
}
.navbar.bg-brown.navbar-result-custom .nav-link:hover { color: var(--red) !important; background: transparent; }

/* ---------- BOTTOM STATUS BAR ---------- */
.navbot.fixed-bottom, .navbot.fixed-bottom.navbar-dark.bg-dark {
    background: var(--navy) !important;
    border-top: 4px solid var(--red);
    color: var(--bone);
    padding: 12px 0 !important;
    position: fixed;
}
.navbot .bottom-nav { display: flex; align-items: center; gap: 20px; }
.navbot .bottom-nav > li {
    color: var(--bone);
    font-family: var(--body);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 800;
    display: inline-flex; align-items: center;
}
.navbot .bottom-nav > li img {
    border-radius: 50%;
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
.navbot #time-india {
    font-family: var(--num);
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

/* ---------- FOOTER ---------- */
footer {
    background: var(--navy);
    padding: 40px 0 24px;
    margin-top: 60px;
    color: var(--bone);
    text-align: center;
    position: relative;
    overflow: hidden;
}
footer::before {
    content: "";
    position: absolute; inset: 0;
    background: var(--stars-svg);
    background-size: 240px 240px;
    opacity: 0.6;
    pointer-events: none;
}
footer > .container { position: relative; z-index: 1; }
.copyright-text {
    color: rgba(245,242,236,0.65) !important;
    font-family: var(--body);
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
}

/* ---------- RESPONSIBLE MODAL ---------- */
.modal-content {
    background: var(--bone);
    border: 3px solid var(--navy);
    border-radius: 14px;
    box-shadow: 8px 8px 0 0 var(--red);
    overflow: hidden;
}
.modal-header {
    border-bottom: 3px solid var(--navy);
    padding: 20px 24px;
    background: var(--red);
    position: relative;
}
.modal-header::after {
    content: "";
    position: absolute; bottom: -3px; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--navy));
}
.modal-header .modal-title {
    color: var(--gold);
    font-family: var(--display);
    font-weight: 400;
    font-size: 1.6rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.modal-header .btn-close { filter: brightness(0) invert(1); opacity: 1; }
.modal-body { padding: 30px 32px 32px; color: var(--navy); background: var(--bone); }
.modal-body h3 {
    font-family: var(--display);
    color: var(--red) !important;
    font-size: 1.7rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.modal-body p.fw-bold {
    font-family: var(--body);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.82rem;
    color: var(--navy);
    margin-top: 22px;
    margin-bottom: 6px;
    display: inline-block;
    padding: 4px 10px;
    background: var(--gold);
    border-radius: 4px;
}
.modal-body p { font-size: 0.94rem; line-height: 1.7; color: #2a3555; }

/* ---------- DATETIME PICKER ---------- */
.xdsoft_datetimepicker { border: 3px solid var(--navy) !important; background: var(--bone) !important; box-shadow: 6px 6px 0 0 var(--red) !important; border-radius: 10px !important; }
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current,
.xdsoft_datetimepicker .xdsoft_calendar td:hover { background: var(--red) !important; color: var(--gold) !important; }
.xdsoft_label { color: var(--navy) !important; }

/* ---------- ANIMATIONS ---------- */
@keyframes riseIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.card-live-dk .col-xl-4 { animation: riseIn .6s cubic-bezier(.2,.7,.2,1) both; }
.card-live-dk .col-xl-4:nth-child(1) { animation-delay: .05s; }
.card-live-dk .col-xl-4:nth-child(2) { animation-delay: .10s; }
.card-live-dk .col-xl-4:nth-child(3) { animation-delay: .15s; }
.card-live-dk .col-xl-4:nth-child(4) { animation-delay: .20s; }
.card-live-dk .col-xl-4:nth-child(5) { animation-delay: .25s; }
.card-live-dk .col-xl-4:nth-child(6) { animation-delay: .30s; }
.section-band { animation: riseIn .7s ease both; }
#live { animation: fadeIn .8s ease both; }

/* ---------- MISC RESET ---------- */
.card1, .card-live-dk.card1 { background: transparent; border: none; border-radius: 0; }
.navbar-nav-custom { flex-direction: row !important; align-items: center; justify-content: center; }

/* ---------- STATS STRIP ---------- */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--navy);
    color: var(--bone);
    border: 3px solid var(--navy);
    border-radius: 12px;
    overflow: hidden;
    margin: 30px 0 10px;
    box-shadow: 4px 4px 0 0 var(--red);
}
.stats-strip .stat {
    padding: 20px 22px;
    border-right: 1px solid rgba(255,183,3,0.2);
    position: relative;
    overflow: hidden;
}
.stats-strip .stat:last-child { border-right: none; }
.stats-strip .stat::before {
    content: "";
    position: absolute;
    top: 0; left: 0; height: 3px; width: 26px;
    background: var(--red);
}
.stats-strip .stat .label {
    font-family: var(--body);
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}
.stats-strip .stat .value {
    font-family: var(--display);
    font-size: clamp(1.4rem, 2.4vw, 2.2rem);
    color: var(--bone);
    line-height: 1;
    letter-spacing: 0.02em;
}
.stats-strip .stat .value.gold { color: var(--gold); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991.98px) {
    .navbar-collapse { background: var(--navy-2); padding: 16px 12px; margin-top: 12px; border-top: 2px solid var(--red); border-radius: 8px; }
    .navbar-dark .navbar-nav .nav-link { padding: 12px 14px !important; margin: 3px 0; }
    .swiper { height: 40vh; }
    .hero-ribbon-inner { justify-content: center; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .stats-strip .stat { border-right: none; border-bottom: 1px solid rgba(255,183,3,0.2); }
}
@media (max-width: 767.98px) {
    body { padding-bottom: 92px; }
    .swiper { height: 34vh; }
    .card-live { margin: 12px auto; }
    #live { padding: 24px 18px; border-radius: 10px; }
    #live::before, #live::after { display: none; }
    .live-content h4 { font-size: 1.3rem; }
    .card.bg-card4 .ball-result { font-size: 2.4rem !important; padding: 6px 16px; }
    .result-card .p-num { font-size: 2.2rem !important; padding: 4px 14px; }
    .text-runn::before, .text-runn::after { display: none; }
    .navbot .bottom-nav { gap: 12px; flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 480px) {
    .stats-strip { grid-template-columns: 1fr; }
    .navbot .bottom-nav > li { font-size: 0.68rem; }
}
