/* ==========================================================================
   premium.css — Punjab Lottery King
   Loaded AFTER style.css. Premium visual layer + full responsive pass.
   Safe to delete this one file to revert to the previous look.
   ========================================================================== */

:root {
    --plk-ink: #1a0d0f;
    --plk-ink-soft: #4a3438;
    --plk-shadow-sm: 0 1px 2px rgba(26, 13, 15, .05), 0 2px 8px rgba(26, 13, 15, .05);
    --plk-shadow: 0 4px 14px rgba(26, 13, 15, .07), 0 12px 34px rgba(26, 13, 15, .07);
    --plk-shadow-lg: 0 12px 28px rgba(26, 13, 15, .12), 0 28px 64px rgba(26, 13, 15, .13);
    --plk-shadow-gold: 0 6px 18px rgba(245, 158, 11, .32);
    --plk-ring: 0 0 0 3px rgba(245, 158, 11, .28);
    --plk-radius: 18px;
    --plk-radius-sm: 12px;
    --plk-hero-grad: radial-gradient(1200px 620px at 12% -10%, #8e1420 0%, transparent 62%),
        radial-gradient(900px 520px at 92% 8%, #7a1a12 0%, transparent 58%),
        linear-gradient(152deg, #5c0f16 0%, #3d0a10 46%, #24070b 100%);
    --plk-ease: cubic-bezier(.22, .61, .36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--bg-page);
    color: var(--text-main);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Sideways overflow guard.
   `overflow-x: hidden` on <body> turns it into a scroll container, which breaks
   position:fixed children on mobile Safari/Chrome — that is what stopped the
   off-canvas drawer from sliding in. `clip` contains the overflow without
   creating a scroll container. Fallback stays on <html>, never on <body>. */
html {
    overflow-x: clip;
}

@supports not (overflow-x: clip) {
    html {
        overflow-x: hidden;
    }
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

:where(a, button, input, select, textarea):focus-visible {
    outline: none;
    box-shadow: var(--plk-ring);
    border-radius: 8px;
}

/* Fluid type scale ------------------------------------------------------- */
.section-header h2 {
    font-size: clamp(1.5rem, 1.05rem + 2.1vw, 2.35rem);
    letter-spacing: -.02em;
    line-height: 1.18;
}

.slide-title {
    font-size: clamp(1.6rem, .95rem + 3.1vw, 3rem);
    letter-spacing: -.025em;
    line-height: 1.1;
}

.big-prize {
    font-size: clamp(1.5rem, 1.05rem + 2vw, 2.3rem);
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 28px);
}

.section-block {
    padding: clamp(44px, 6vw, 84px) 0;
}

.section-header {
    max-width: 660px;
    margin: 0 auto clamp(26px, 4vw, 46px);
    text-align: center;
}

.section-header p {
    color: var(--text-muted);
    font-size: clamp(.9rem, .86rem + .2vw, 1.02rem);
    line-height: 1.65;
    margin: 10px 0 0;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    letter-spacing: .13em;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
}

/* ==========================================================================
   Brand mark (replaces the old PB block)
   ========================================================================== */
.pb-logo-container {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    text-decoration: none;
}

.plk-mark {
    width: 44px;
    height: 44px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #4a2c00;
    background: var(--gold-gradient);
    box-shadow: 0 3px 12px rgba(245, 158, 11, .42), inset 0 1px 0 rgba(255, 255, 255, .55);
}

.plk-title-block {
    min-width: 0;
}

.plk-title-block h1,
.plk-title-block h2 {
    margin: 0;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(.92rem, .82rem + .38vw, 1.12rem);
    letter-spacing: .055em;
    line-height: 1.15;
    white-space: nowrap;
}

.plk-title-block h1 span,
.plk-title-block h2 span {
    color: var(--gold-primary);
}

.plk-tagline {
    color: #f8c9cf;
    font-size: .655rem;
    font-weight: 600;
    letter-spacing: .05em;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main-header {
    box-shadow: none !important;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10000 !important;
}

.main-header .nav-menu a {
    position: relative;
    transition: color .2s var(--plk-ease);
}

.main-header .nav-menu a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .26s var(--plk-ease);
}

.main-header .nav-menu a:hover::after,
.main-header .nav-menu a.active::after {
    transform: scaleX(1);
}

.top-ticker {
    font-size: .8rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    border-radius: 11px;
    cursor: pointer;
    transition: transform .18s var(--plk-ease), box-shadow .18s var(--plk-ease), background .18s var(--plk-ease);
    text-decoration: none;
    line-height: 1.2;
    border: 1px solid transparent;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-gold {
    background: var(--gold-gradient);
    color: #4a2c00;
    box-shadow: var(--plk-shadow-gold), inset 0 1px 0 rgba(255, 255, 255, .42);
}

.btn-gold:hover {
    box-shadow: 0 10px 26px rgba(245, 158, 11, .44), inset 0 1px 0 rgba(255, 255, 255, .5);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, .34);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .6);
}

.section-block .btn-outline,
.home-cta .btn-outline {
    border-color: rgba(255, 255, 255, .34);
}

.header-buy-btn {
    padding: 9px 20px;
    font-size: .84rem;
}

/* ==========================================================================
   Hero carousel
   ========================================================================== */
.hero-slider-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--plk-hero-grad);
    padding: clamp(30px, 4.5vw, 62px) 0 clamp(52px, 6vw, 78px);
}

.hero-aurora {
    position: absolute;
    inset: -30% -10% auto -10%;
    height: 78%;
    background:
        radial-gradient(closest-side, rgba(245, 158, 11, .2), transparent 72%) 18% 30% / 46% 78% no-repeat,
        radial-gradient(closest-side, rgba(255, 120, 110, .16), transparent 70%) 82% 12% / 42% 70% no-repeat;
    filter: blur(24px);
    pointer-events: none;
    z-index: 0;
}

.hero-slider-section::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 90px;
    z-index: 0;
    background: linear-gradient(180deg, transparent, rgba(253, 251, 247, .14));
    pointer-events: none;
}

.hero-slides-wrapper {
    position: relative;
    z-index: 1;
}

.hero-slide {
    display: none;
    animation: plkSlideIn .62s var(--plk-ease) both;
}

.hero-slide.active {
    display: block;
}

@keyframes plkSlideIn {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: clamp(24px, 4vw, 52px);
    align-items: center;
}

.hero-content {
    min-width: 0;
    color: #fff;
}

.slide-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-bottom: 16px;
}

.slide-badge {
    backdrop-filter: blur(6px);
}

.slide-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(22, 163, 74, .16);
    border: 1px solid rgba(34, 197, 94, .42);
    color: #86efac;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
}

.live-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    flex: none;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .7);
    animation: plkPulse 1.9s infinite;
}

@keyframes plkPulse {
    70% {
        box-shadow: 0 0 0 9px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.slide-title {
    color: #fff;
    margin: 0 0 14px;
    font-weight: 800;
}

.slide-title .highlight {
    display: block;
    background: linear-gradient(96deg, #fde68a 0%, #fbbf24 42%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.slide-desc {
    color: #f6d5d9;
    font-size: clamp(.9rem, .86rem + .22vw, 1.02rem);
    line-height: 1.68;
    max-width: 56ch;
    margin: 0 0 22px;
}

/* Prize strip under the headline */
.hero-prize-strip {
    display: flex;
    align-items: center;
    gap: clamp(14px, 3vw, 26px);
    flex-wrap: wrap;
    background: rgba(0, 0, 0, .26);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-prize-main small,
.hero-prize-meta small {
    display: block;
    color: #e6a9b0;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.hero-prize-main strong {
    display: block;
    color: var(--gold-primary);
    font-weight: 900;
    line-height: 1.05;
    font-size: clamp(1.25rem, .95rem + 1.3vw, 1.85rem);
}

.hero-prize-divider {
    width: 1px;
    align-self: stretch;
    background: rgba(255, 255, 255, .16);
}

.hero-prize-meta {
    display: flex;
    gap: clamp(14px, 3vw, 26px);
    flex-wrap: wrap;
}

.hero-prize-meta strong {
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
}

.hero-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.hero-primary-btn {
    padding: 14px 26px;
    font-size: .95rem;
}

.hero-secondary-btn {
    padding: 14px 24px;
    font-size: .92rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
}

.hero-feature-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #f0bfc5;
    font-size: .8rem;
    font-weight: 600;
}

.hero-feature-item svg {
    color: var(--gold-primary);
    flex: none;
}

/* Featured card */
.featured-lottery-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    background: linear-gradient(168deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05));
    border: 1px solid rgba(255, 255, 255, .19);
    border-radius: var(--plk-radius);
    padding: clamp(18px, 2.4vw, 26px);
    box-shadow: var(--plk-shadow-lg);
    backdrop-filter: blur(14px);
    color: #fff;
}

.card-shine {
    position: absolute;
    top: -55%;
    left: -35%;
    width: 55%;
    height: 210%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .14), transparent);
    transform: rotate(19deg);
    animation: plkShine 5.5s var(--plk-ease) infinite;
    pointer-events: none;
}

@keyframes plkShine {

    0%,
    62% {
        left: -35%;
    }

    100% {
        left: 125%;
    }
}

.card-top-tag {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.slide-card-draw-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--gold-primary);
    font-size: .76rem;
    font-weight: 700;
}

.slide-card-title {
    color: #fff;
    font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem);
    font-weight: 800;
    margin: 0 0 5px;
    line-height: 1.25;
}

.slide-card-tagline {
    color: #eec3c8;
    font-size: .84rem;
    line-height: 1.55;
    margin: 0 0 16px;
}

.prize-callout {
    text-align: center;
    border-radius: 14px;
    padding: 16px 14px;
    margin-bottom: 15px;
    background: linear-gradient(140deg, rgba(245, 158, 11, .19), rgba(245, 158, 11, .07));
    border: 1px solid rgba(245, 158, 11, .42);
}

.prize-callout>span {
    display: block;
    color: var(--gold-primary);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.big-prize {
    color: #fff;
    font-weight: 900;
    line-height: 1.06;
    text-shadow: 0 2px 16px rgba(245, 158, 11, .42);
}

.draw-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.draw-meta-item {
    background: rgba(0, 0, 0, .24);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 11px;
    padding: 11px 13px;
    min-width: 0;
}

.draw-meta-item small {
    display: block;
    color: #e0a5ac;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.draw-meta-item strong {
    color: #fff;
    font-size: .93rem;
    font-weight: 700;
}

.slide-card-price {
    color: var(--gold-primary) !important;
}

.slide-card-action-btn {
    width: 100%;
    padding: 13px 20px;
    font-size: .9rem;
}

/* Carousel controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(0, 0, 0, .36);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(6px);
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--gold-primary);
    color: #4a2c00;
    border-color: transparent;
}

.slider-arrow-prev {
    left: clamp(8px, 1.6vw, 20px);
}

.slider-arrow-next {
    right: clamp(8px, 1.6vw, 20px);
}

.slider-indicators-wrap {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.slider-dots {
    display: flex;
    gap: 9px;
}

.slider-dot-btn {
    position: relative;
    width: 34px;
    height: 5px;
    padding: 0;
    cursor: pointer;
    border: 0;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, .26);
    transition: width .3s var(--plk-ease), background .3s var(--plk-ease);
}

.slider-dot-btn.active {
    width: 62px;
    background: rgba(255, 255, 255, .24);
}

.slider-dot-progress {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: var(--gold-primary);
    border-radius: 4px;
}

/* ==========================================================================
   Countdown strip
   ========================================================================== */
.countdown-strip {
    background: linear-gradient(140deg, #24070b, #3d0a10);
    border-top: 1px solid rgba(245, 158, 11, .24);
    border-bottom: 1px solid rgba(245, 158, 11, .24);
    padding: clamp(18px, 2.6vw, 26px) 0;
}

.countdown-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 3vw, 34px);
    flex-wrap: wrap;
}

.countdown-label {
    min-width: 0;
}

.countdown-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 5px;
    color: #86efac;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.countdown-label strong {
    display: block;
    color: #fff;
    font-size: clamp(.98rem, .9rem + .4vw, 1.16rem);
    font-weight: 800;
    line-height: 1.3;
}

.countdown-label small {
    display: block;
    color: #e6a9b0;
    font-size: .78rem;
    margin-top: 3px;
}

.countdown-clock {
    display: flex;
    align-items: center;
    gap: clamp(4px, 1vw, 9px);
}

.cd-unit {
    min-width: clamp(52px, 8vw, 66px);
    text-align: center;
    padding: 9px 6px;
    border-radius: 12px;
    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(245, 158, 11, .3);
}

.cd-unit b {
    display: block;
    color: var(--gold-primary);
    font-weight: 900;
    line-height: 1;
    font-size: clamp(1.15rem, .95rem + .85vw, 1.7rem);
    font-variant-numeric: tabular-nums;
}

.cd-unit span {
    display: block;
    margin-top: 4px;
    color: #e0a5ac;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cd-sep {
    color: rgba(245, 158, 11, .55);
    font-weight: 900;
    font-size: 1.15rem;
}

.countdown-cta {
    padding: 13px 22px;
    font-size: .88rem;
}

.countdown-strip.is-closed .countdown-clock {
    opacity: .55;
}

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trust-bar {
    background: linear-gradient(135deg, #180508 0%, #2b0b12 50%, #150407 100%);
    border-top: 1px solid rgba(245, 158, 11, 0.35);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    padding: clamp(18px, 2.5vw, 26px) 0;
    position: relative;
}

.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 2.4vw, 26px);
}

.trust-bar-item {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.trust-bar-icon {
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fbbf24;
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.08));
    border: 1px solid rgba(245, 158, 11, 0.35);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.trust-bar-item strong {
    display: block;
    color: #ffffff;
    font-size: .95rem;
    font-weight: 800;
    line-height: 1.25;
}

.trust-bar-item small {
    display: block;
    color: #cbd5e1;
    font-size: .78rem;
    margin-top: 2px;
    line-height: 1.4;
}

.trust-bar-text {
    min-width: 0;
    flex: 1;
}

/* ==========================================================================
   Scheme cards
   ========================================================================== */
.schemes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: clamp(16px, 2.4vw, 26px);
}

.scheme-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--plk-radius);
    box-shadow: var(--plk-shadow-sm);
    transition: transform .26s var(--plk-ease), box-shadow .26s var(--plk-ease), border-color .26s var(--plk-ease);
}

.scheme-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--gold-gradient);
    opacity: .85;
}

.scheme-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--plk-shadow-lg);
    border-color: rgba(245, 158, 11, .5);
}

.scheme-card-featured {
    border-color: rgba(245, 158, 11, .55);
    box-shadow: var(--plk-shadow);
}

.scheme-ribbon {
    position: absolute;
    top: 14px;
    right: -34px;
    z-index: 2;
    transform: rotate(38deg);
    width: 140px;
    text-align: center;
    background: var(--gold-gradient);
    color: #4a2c00;
    font-size: .6rem;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 5px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .18);
}

.scheme-header {
    padding: 22px 20px 16px;
    border-bottom: 1px dashed var(--card-border);
}

.scheme-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.scheme-draw-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--surface-light);
    border: 1px solid var(--card-border);
    color: var(--gold-secondary);
    font-size: .71rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.scheme-title {
    color: var(--text-dark);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.32;
    margin: 0 0 6px;
}

.scheme-tagline {
    color: var(--text-muted);
    font-size: .84rem;
    line-height: 1.55;
}

.scheme-body {
    padding: 18px 20px;
    flex: 1;
}

.scheme-first-prize {
    text-align: center;
    border-radius: 14px;
    padding: 15px 12px;
    margin-bottom: 15px;
    background: linear-gradient(150deg, #fff8ec, #fff1f2);
    border: 1px solid rgba(245, 158, 11, .34);
}

.scheme-first-prize small {
    display: block;
    color: var(--gold-secondary);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.scheme-first-prize strong {
    display: block;
    color: var(--brand-red-dark);
    font-weight: 900;
    line-height: 1.1;
    font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem);
}

.prize-list {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.prize-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dotted var(--card-border);
    font-size: .83rem;
}

.prize-list li:last-child {
    border-bottom: 0;
}

.prize-list li>span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-muted);
    min-width: 0;
}

.prize-list li>span svg {
    color: var(--gold-primary);
    flex: none;
}

.prize-list li strong {
    color: var(--text-dark);
    font-weight: 700;
    text-align: right;
}

.scheme-desc-snippet {
    color: var(--text-muted);
    font-size: .82rem;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.scheme-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 15px 20px;
    background: var(--surface-light);
    border-top: 1px solid var(--card-border);
}

.ticket-price-box small {
    display: block;
    color: var(--text-muted);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ticket-price-box strong {
    display: block;
    color: var(--text-dark);
    font-size: 1.16rem;
    font-weight: 900;
    line-height: 1.2;
}

.scheme-book-btn {
    padding: 11px 20px;
    font-size: .86rem;
}

/* Empty state */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: clamp(38px, 6vw, 62px) 24px;
    background: var(--card-bg);
    border: 1px dashed var(--card-border);
    border-radius: var(--plk-radius);
}

.empty-state-icon {
    color: var(--gold-primary);
    margin-bottom: 12px;
    display: inline-flex;
    opacity: .75;
}

.empty-state h3 {
    color: var(--text-dark);
    margin: 0 0 6px;
    font-size: 1.15rem;
}

.empty-state p {
    color: var(--text-muted);
    margin: 0 0 18px;
    font-size: .9rem;
}

.empty-state .btn-outline {
    border-color: var(--card-border);
    color: var(--text-main);
}

.empty-state .btn-outline:hover {
    background: var(--surface-light);
}

/* ==========================================================================
   How it works
   ========================================================================== */
.trust-strip {
    background: linear-gradient(135deg, #180508 0%, #2a0812 50%, #150307 100%) !important;
    padding: clamp(60px, 8vw, 100px) 0;
    border-top: 1px solid rgba(250, 204, 21, 0.15) !important;
    border-bottom: 1px solid rgba(250, 204, 21, 0.15) !important;
    margin: 0 !important;
}

.trust-strip .section-header h2 { color: #ffffff !important; }
.trust-strip .section-header p { color: #cbd5e1 !important; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px;
}

.step-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 20px !important;
    padding: 36px 24px !important;
    text-align: center !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: rgba(250, 204, 21, 0.5) !important;
    box-shadow: 0 15px 40px rgba(250, 204, 21, 0.15) !important;
}

.step-icon {
    width: 65px !important;
    height: 65px !important;
    margin: 0 auto 20px !important;
    border-radius: 18px !important;
    display: grid !important;
    place-items: center;
    color: #450a0a !important;
    background: linear-gradient(135deg, #fef08a, #f59e0b) !important;
    font-size: 1.8rem !important;
    font-weight: 900 !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35) !important;
}

.step-card h3 {
    color: #ffffff !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    margin: 0 0 10px !important;
}

.step-card p {
    color: #cbd5e1 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

@media (max-width: 992px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px; }
}

@media (max-width: 768px) {
    .steps-grid { grid-template-columns: 1fr !important; gap: 16px; }
    .step-card {
        display: grid !important;
        grid-template-columns: auto 1fr !important;
        grid-template-rows: auto auto !important;
        column-gap: 20px !important;
        row-gap: 4px !important;
        text-align: left !important;
        padding: 24px 20px !important;
        align-items: center !important;
    }
    .step-icon {
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;
        margin: 0 !important;
        width: 55px !important;
        height: 55px !important;
        font-size: 1.5rem !important;
    }
    .step-card h3 { 
        grid-column: 2 !important; 
        grid-row: 1 !important; 
        margin: 0 !important; 
        align-self: end !important; 
        font-size: 1.15rem !important;
    }
    .step-card p { 
        grid-column: 2 !important; 
        grid-row: 2 !important; 
        margin: 0 !important; 
        align-self: start !important; 
    }
}

/* ==========================================================================
   Feature grid
   ========================================================================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: clamp(16px, 2.4vw, 24px);
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--plk-radius);
    padding: 28px 24px;
    box-shadow: var(--plk-shadow-sm);
    transition: transform .26s var(--plk-ease), box-shadow .26s var(--plk-ease), border-color .26s var(--plk-ease);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--plk-shadow);
    border-color: rgba(245, 158, 11, .45);
}

.feature-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 15px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--brand-red);
    background: linear-gradient(145deg, #fff1f2, #ffe4e6);
    border: 1px solid #fecdd3;
}

.feature-card h3 {
    color: var(--text-dark);
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 8px;
    line-height: 1.35;
}

.feature-card p {
    color: var(--text-muted);
    font-size: .87rem;
    line-height: 1.65;
    margin: 0;
}

/* ==========================================================================
   Closing CTA
   ========================================================================== */
.home-cta {
    background: var(--plk-hero-grad);
    color: #fff;
    padding: clamp(40px, 5.5vw, 68px) 0 clamp(30px, 4vw, 44px);
}

.home-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 3.5vw, 40px);
    flex-wrap: wrap;
}

.home-cta h2 {
    color: #fff;
    font-size: clamp(1.35rem, 1.05rem + 1.4vw, 2rem);
    margin: 0 0 8px;
    letter-spacing: -.02em;
}

.home-cta p {
    color: #f0bfc5;
    font-size: .95rem;
    margin: 0;
    max-width: 52ch;
}

.home-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.home-cta-actions .btn {
    padding: 14px 26px;
    font-size: .92rem;
}

.home-cta-note {
    margin: clamp(26px, 4vw, 40px) 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .13);
    color: #d99aa2;
    font-size: .78rem;
    line-height: 1.6;
    text-align: center;
}

/* ==========================================================================
   Footer polish
   ========================================================================== */
.disclaimer-box {
    border-radius: var(--plk-radius-sm);
    font-size: .82rem;
    line-height: 1.6;
}

.footer-links a {
    transition: color .2s var(--plk-ease), padding-left .2s var(--plk-ease);
}

.footer-links a:hover {
    color: var(--gold-primary);
    padding-left: 4px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Tablet landscape */
@media (max-width: 1040px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .featured-lottery-card {
        max-width: 520px;
    }

    .trust-bar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .countdown-inner {
        justify-content: center;
        text-align: center;
    }

    .countdown-label {
        flex: 1 1 100%;
        text-align: center;
    }

    .countdown-eyebrow {
        justify-content: center;
    }
}

/* Tablet portrait */
@media (max-width: 860px) {
    .slider-arrow {
        display: none;
    }

    .home-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .home-cta-actions {
        width: 100%;
    }

    .home-cta-actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 680px) {
    .section-header {
        text-align: left;
        margin-left: 0;
    }

    .section-header p {
        margin-inline: 0;
    }

    .hero-slider-section {
        padding: 24px 0 40px;
    }

    .featured-lottery-card {
        max-width: none;
    }

    .card-shine {
        display: none;
    }

    .hero-prize-strip {
        gap: 14px;
        padding: 14px 16px;
    }

    .hero-prize-divider {
        display: none;
    }

    .hero-prize-main {
        flex: 1 1 100%;
    }

    .hero-prize-meta {
        flex: 1 1 100%;
        gap: 20px;
    }

    .hero-btn-row {
        gap: 10px;
    }

    .hero-btn-row .btn {
        flex: 1 1 100%;
        justify-content: center;
    }

    .hero-features {
        gap: 8px 16px;
    }

    .hero-feature-item {
        font-size: .76rem;
    }

    .draw-meta-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .countdown-clock {
        width: 100%;
        justify-content: space-between;
        gap: 4px;
    }

    .cd-unit {
        flex: 1;
        min-width: 0;
        padding: 9px 2px;
    }

    .cd-sep {
        display: none;
    }

    .countdown-cta {
        width: 100%;
    }

    .trust-bar {
        padding: 10px 0;
        background: linear-gradient(135deg, #180508 0%, #260910 50%, #140406 100%);
        border-top: 1px solid rgba(245, 158, 11, 0.35);
        border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    }

    .trust-bar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 10px;
    }

    .trust-bar-item {
        gap: 8px;
        padding: 7px 10px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(245, 158, 11, 0.22);
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(4px);
    }

    .trust-bar-icon {
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
        border-radius: 8px;
        color: #fbbf24;
        background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(245, 158, 11, 0.08));
        border: 1px solid rgba(245, 158, 11, 0.35);
    }

    .trust-bar-icon svg {
        width: 16px;
        height: 16px;
    }

    .trust-bar-text {
        min-width: 0;
        flex: 1;
    }

    .trust-bar-item strong {
        color: #ffffff;
        font-size: 0.78rem;
        font-weight: 700;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .trust-bar-item small {
        color: #cbd5e1;
        font-size: 0.65rem;
        line-height: 1.2;
        margin-top: 1px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .schemes-grid {
        grid-template-columns: 1fr;
    }

    .scheme-footer {
        flex-direction: row;
        align-items: center;
    }

    .scheme-book-btn {
        flex: 0 0 auto;
    }

    .scheme-ribbon {
        font-size: .55rem;
        width: 130px;
        right: -36px;
        top: 12px;
    }

    .steps-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        text-align: left;
        padding: 22px 20px;
        display: flex;
        gap: 16px;
        align-items: flex-start;
    }

    .step-icon {
        margin: 0;
        width: 44px;
        height: 44px;
        flex: none;
        border-radius: 13px;
        font-size: 1.05rem;
    }

    .feature-card {
        padding: 22px 20px;
    }

    .feature-icon {
        width: 46px;
        height: 46px;
        border-radius: 13px;
    }

    .home-cta-actions {
        flex-direction: column;
    }

    .home-cta-actions .btn {
        width: 100%;
    }

    .home-cta-note {
        text-align: left;
    }
}

/* Small phones */
@media (max-width: 400px) {
    .trust-bar {
        padding: 8px 0;
    }

    .trust-bar-grid {
        gap: 6px 6px;
    }

    .trust-bar-item {
        gap: 6px;
        padding: 5px 6px;
        border-radius: 8px;
    }

    .trust-bar-icon {
        width: 26px;
        height: 26px;
        flex: 0 0 26px;
        border-radius: 6px;
    }

    .trust-bar-icon svg {
        width: 13px;
        height: 13px;
    }

    .trust-bar-item strong {
        font-size: 0.72rem;
    }

    .trust-bar-item small {
        font-size: 0.58rem;
    }

    .plk-title-block h1,
    .plk-title-block h2 {
        font-size: .84rem;
        letter-spacing: .04em;
    }

    .plk-tagline {
        display: none;
    }

    .plk-mark {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .header-buy-btn {
        padding: 8px 13px;
        font-size: .76rem;
    }

    .cd-unit b {
        font-size: 1.05rem;
    }

    .cd-unit span {
        font-size: .55rem;
    }

    .scheme-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .scheme-book-btn {
        width: 100%;
    }

    .scheme-ribbon {
        display: none;
    }
}

/* Touch targets */
@media (pointer: coarse) {

    .btn,
    .nav-menu a,
    .footer-links a,
    .slider-dot-btn {
        min-height: 44px;
    }

    .slider-dot-btn {
        min-height: 22px;
        padding-block: 8px;
        background-clip: content-box;
    }

    .drawer-nav-item {
        min-height: 60px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }

    .btn:hover,
    .scheme-card:hover,
    .step-card:hover,
    .feature-card:hover {
        transform: none;
    }
}

@media print {

    .hero-slider-section,
    .countdown-strip,
    .home-cta,
    .floating-call-btn,
    .top-ticker,
    .slider-arrow,
    .slider-indicators-wrap {
        display: none !important;
    }

    body {
        background: #fff;
    }
}

/* ==========================================================================
   Full-width hero banner
   ========================================================================== */
.hero-fullwidth-banner-section {
    width: 100%;
    background: var(--plk-ink);
    line-height: 0;
}

.hero-fullwidth-banner-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.hero-fullwidth-banner-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    object-position: center;
    transition: transform .55s var(--plk-ease);
}

.hero-fullwidth-banner-link:hover .hero-fullwidth-banner-img {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .hero-fullwidth-banner-img {
        min-height: 260px;
        max-height: 420px;
    }
}

@media (max-width: 480px) {
    .hero-fullwidth-banner-img {
        min-height: 240px;
        max-height: 360px;
    }
}

@media (max-width: 380px) {
    .hero-fullwidth-banner-img {
        min-height: 220px;
        max-height: 320px;
    }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition: opacity .55s var(--plk-ease), transform .55s var(--plk-ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ==========================================================================
   NO LEFT-EDGE BORDERS ANYWHERE
   Accent bars on the left of containers read as "template". Removed globally,
   with the visual weight moved to a full-width top rule instead.
   ========================================================================== */
.disclaimer-box,
.mobile-drawer,
.call-text-pill,
.card,
.clean-card,
.form-card,
.payment-card,
.scheme-card,
.feature-card,
.step-card,
.receipt-wrapper,
.ticket-receipt-card,
.drawer-nav-item,
.drawer-notice,
.drawer-helpline-box,
.footer-col,
.trust-bar-item,
.empty-state {
    border-left: 0 !important;
}

/* ==========================================================================
   "Ready to pick your lucky number" — distinct emerald panel
   Deliberately not the red hero and not the navy footer, so the closing ask
   reads as its own moment.
   ========================================================================== */
.home-cta {
    background: transparent;
    padding: clamp(38px, 5vw, 68px) 0;
}

.home-cta-inner {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: clamp(18px, 2.6vw, 26px);
    padding: clamp(28px, 4vw, 52px) clamp(22px, 3.4vw, 48px);
    background:
        radial-gradient(760px 340px at 88% -30%, rgba(245, 158, 11, .22) 0%, transparent 62%),
        linear-gradient(140deg, #0d4f3c 0%, #0a3d2f 46%, #06251d 100%);
    border: 1px solid rgba(245, 158, 11, .34);
    box-shadow: 0 18px 46px rgba(6, 37, 29, .34), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.home-cta-inner::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    z-index: 1;
    background: linear-gradient(90deg, transparent, var(--gold-primary) 28%, #fde68a 50%, var(--gold-primary) 72%, transparent);
    opacity: .75;
}

.home-cta h2 {
    color: #fff;
}

.home-cta h2::after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    border-radius: 3px;
    margin-top: 12px;
    background: var(--gold-gradient);
}

.home-cta p {
    color: #a7d9c6;
}

.home-cta .btn-outline {
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
}

.home-cta .btn-outline:hover {
    background: rgba(255, 255, 255, .12);
    border-color: #fff;
}

.home-cta-note {
    max-width: 78ch;
    margin-inline: auto;
    border-top: 0;
    color: var(--text-muted);
    text-align: center;
}

@media (max-width: 680px) {
    .home-cta-inner {
        padding: 26px 20px;
        border-radius: 16px;
    }

    .home-cta h2::after {
        margin-top: 10px;
    }

    .home-cta-note {
        text-align: left;
    }
}

/* ==========================================================================
   FOOTER — hairline-led, no filled boxes
   Structure comes from rules and spacing rather than tinted panels, so the
   logo and the helpline number sit directly on the ground with nothing behind
   them. Deep navy keeps it reading as a records footer, not more marketing.
   ========================================================================== */
.main-footer {
    position: relative;
    background:
        radial-gradient(1000px 460px at 6% -16%, #16283f 0%, transparent 58%),
        linear-gradient(168deg, #101d2e 0%, #0b1622 54%, #060c14 100%);
    color: #aebbc9;
    padding: clamp(42px, 5.5vw, 72px) 0 0;
    border-top: 0;
    font-size: .88rem;
}

/* single gold hairline across the very top */
.main-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230, 181, 82, .28) 14%, var(--gold-primary) 50%, rgba(230, 181, 82, .28) 86%, transparent);
}

.main-footer a {
    color: #bccadb;
    text-decoration: none;
    transition: color .2s var(--plk-ease);
}

.main-footer a:hover {
    color: var(--gold-primary);
}

/* ------------------------------------------------------------ notice ----- */
.foot-notice {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 0 0 clamp(28px, 4vw, 40px);
    margin-bottom: clamp(30px, 4.2vw, 46px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.foot-notice-ico {
    color: var(--gold-primary);
    flex: none;
    display: inline-flex;
    margin-top: 1px;
}

.foot-notice p {
    margin: 0;
    color: #92a2b4;
    font-size: .82rem;
    line-height: 1.7;
    max-width: 108ch;
}

.foot-notice strong {
    display: block;
    color: var(--gold-primary);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* -------------------------------------------------------------- layout --- */
.footer-grid {
    display: grid;
    grid-template-columns: 1.9fr 1fr 1.25fr 1.35fr;
    gap: clamp(26px, 4vw, 58px);
    padding-bottom: clamp(30px, 4.2vw, 48px);
}

.main-footer h3,
.foot-accordion-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0 0 18px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    color: #fff;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-family: inherit;
    cursor: default;
}

.foot-accordion-btn span {
    display: block;
}

.foot-chevron {
    display: none;
}

.foot-accordion-body {
    display: block !important;
    height: auto !important;
    opacity: 1 !important;
}

.foot-col-notice-accordion {
    display: none;
}

/* ------------------------------------------------- brand (no background) -- */
.foot-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    background: none;
    /* logo sits bare on the footer ground */
    border: 0;
    padding: 0;
}

.foot-logo-img {
    height: 46px;
    width: auto;
    max-width: 230px;
    object-fit: contain;
    background: none;
    border: 0;
    padding: 0;
}

/* bare gold crown — no tile, no ring */
.foot-mark {
    display: inline-flex;
    flex: none;
    background: none !important;
    border: 0 !important;
    padding: 0;
    color: var(--gold-primary);
}

.foot-wordmark b {
    display: block;
    color: #fff;
    font-weight: 800;
    font-size: 1.02rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    line-height: 1.2;
}

.foot-wordmark i {
    font-style: normal;
    color: var(--gold-primary);
}

.foot-wordmark small {
    display: block;
    margin-top: 3px;
    color: #7d8da0;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .05em;
}

.foot-about {
    color: #92a2b4;
    font-size: .85rem;
    line-height: 1.75;
    margin: 0 0 18px;
    max-width: 48ch;
}

/* outline-only credential chip */
.foot-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border-radius: 999px;
    background: none;
    border: 1px solid rgba(230, 181, 82, .42);
    color: var(--gold-primary);
    font-size: .71rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.foot-badge svg {
    flex: none;
}

/* --------------------------------------------------------------- links --- */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 0;
    font-size: .86rem;
    transition: color .2s var(--plk-ease), padding-left .2s var(--plk-ease);
}

.footer-links a:hover {
    padding-left: 4px;
}

.footer-links svg {
    opacity: .55;
}

/* ----------------------------------------------- helpline (no background) - */
.foot-phone {
    background: none;
    /* number sits bare — no panel */
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0 0 22px;
}

.foot-phone small {
    display: block;
    color: #7d8da0;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.foot-phone a {
    display: inline-block;
    color: #fff;
    font-size: clamp(1.28rem, 1.1rem + .7vw, 1.6rem);
    font-weight: 800;
    letter-spacing: -.015em;
    line-height: 1.15;
    background: linear-gradient(96deg, #fde68a, var(--gold-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.foot-phone a:hover {
    opacity: .82;
}

.foot-phone span {
    display: block;
    margin-top: 7px;
    color: #7d8da0;
    font-size: .76rem;
}

/* generic label + value rows */
.foot-item {
    margin-bottom: 18px;
}

.foot-item:last-child {
    margin-bottom: 0;
}

.foot-item small {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #7d8da0;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.foot-item small svg {
    color: var(--gold-primary);
    opacity: .85;
}

.foot-item span,
.foot-item a {
    display: block;
    color: #b6c4d4;
    font-size: .85rem;
    line-height: 1.65;
}

/* --------------------------------------------------------------- bottom -- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 20px 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    color: #75849a;
    font-size: .79rem;
}

.foot-bottom-legal {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.foot-bottom-legal a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.foot-bottom-legal a:hover {
    color: var(--gold-primary);
}

.foot-bottom-legal span {
    color: rgba(255, 255, 255, 0.28);
    font-size: 0.75rem;
}

.foot-bottom-note {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--gold-primary);
    font-weight: 600;
}

/* ----------------------------------------------------------- responsive -- */
@media (max-width: 1080px) {
    .footer-grid {
        grid-template-columns: 1.6fr 1fr 1.3fr;
    }

    .footer-col:last-child {
        grid-column: 2 / -1;
    }
}

@media (max-width: 820px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .foot-col-brand {
        grid-column: 1 / -1;
    }

    .footer-col:last-child {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 24px 0 85px !important;
    }

    .foot-notice {
        display: none !important;
    }

    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding-bottom: 0 !important;
    }

    .foot-col-brand {
        padding-bottom: 16px;
        margin-bottom: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .foot-col-brand .foot-about {
        font-size: 0.8rem;
        line-height: 1.6;
        margin: 0 0 12px;
        max-width: none;
        color: #92a2b4;
    }

    .foot-col-brand .foot-badge {
        font-size: 0.68rem;
        padding: 5px 12px;
    }

    .foot-col-notice-accordion {
        display: block !important;
    }

    .foot-accordion-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0;
        margin: 0;
    }

    .foot-accordion-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 16px 4px !important;
        margin: 0 !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        color: #ffffff !important;
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        letter-spacing: 0.02em !important;
        text-transform: none !important;
        -webkit-tap-highlight-color: transparent;
        transition: color 0.2s ease;
    }

    .foot-accordion-btn:hover {
        color: var(--gold-primary) !important;
    }

    .foot-accordion-btn span {
        font-size: 0.92rem;
        font-weight: 600;
        color: inherit;
    }

    .foot-chevron {
        display: inline-block !important;
        color: #94a3b8;
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
        flex-shrink: 0;
    }

    .foot-accordion-item.open .foot-chevron {
        transform: rotate(180deg);
        color: var(--gold-primary);
    }

    .foot-accordion-body {
        display: none !important;
        padding: 4px 6px 18px !important;
    }

    .foot-accordion-item.open .foot-accordion-body {
        display: block !important;
        animation: footSlideDown 0.24s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes footSlideDown {
        from {
            opacity: 0;
            transform: translateY(-6px);
        }

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

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a {
        padding: 4px 0;
        font-size: 0.85rem;
        color: #cbd5e1;
    }

    .foot-phone {
        margin: 0 0 14px;
    }

    .foot-phone small {
        font-size: 0.64rem;
        margin-bottom: 4px;
    }

    .foot-phone a {
        font-size: 1.25rem !important;
    }

    .foot-phone span {
        font-size: 0.72rem;
        margin-top: 4px;
    }

    .foot-item {
        margin-bottom: 12px;
    }

    .foot-item small {
        font-size: 0.64rem;
        margin-bottom: 3px;
    }

    .foot-item span,
    .foot-item a {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    .foot-office-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .foot-notice-text {
        color: #92a2b4;
        font-size: 0.8rem;
        line-height: 1.6;
        margin: 0;
    }

    .foot-bottom-legal {
        justify-content: flex-start;
        gap: 8px 12px;
        margin-bottom: 8px;
    }

    .foot-bottom-legal a {
        font-size: 0.76rem;
    }

    .footer-bottom {
        padding: 14px 4px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        font-size: 0.72rem;
        color: #64748b;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .foot-bottom-note {
        font-size: 0.68rem;
    }
}

/* ==========================================================================
   SIMPLE, STYLISH MOBILE NAVIGATION MENU
   ========================================================================== */
.mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 40px;
    height: 40px;
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    padding: 0;
    cursor: pointer;
    gap: 5.5px;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: none !important;
    filter: none !important;
    outline: none !important;
    animation: none !important;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    touch-action: manipulation;
    z-index: 10002;
}

.mobile-toggle:hover {
    background: transparent !important;
    border: none !important;
    opacity: 0.9;
}

.mobile-toggle.open {
    background: transparent !important;
    border: none !important;
}

.mobile-toggle .hamburger-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background 0.2s ease;
    animation: none !important;
    pointer-events: none;
}

.mobile-toggle:hover .hamburger-bar {
    background: #fbbf24;
}

.mobile-toggle.open .hamburger-bar {
    background: #fbbf24;
}

.mobile-toggle.open .hamburger-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.mobile-toggle.open .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-toggle.open .hamburger-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Clean, Simple & Premium Mobile Dropdown Menu (No clashing background, No borders, Clean HR lines) */
.mobile-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #b91c1c;
    border: none !important;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
    z-index: 10001;
    animation: none !important;
}

.mobile-dropdown-menu.open {
    display: block;
}

.mobile-dropdown-inner {
    padding: 6px 18px 18px;
}

.mobile-nav-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 13px 4px !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    color: #ffffff !important;
    transition: color 0.18s ease, padding-left 0.18s ease !important;
    -webkit-tap-highlight-color: transparent;
    animation: none !important;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    background: transparent !important;
    color: var(--gold-primary) !important;
    padding-left: 6px !important;
}

.mobile-nav-link.active {
    background: transparent !important;
    color: var(--gold-primary) !important;
}

.mobile-nav-link .dropdown-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    background: transparent !important;
    border: none !important;
    flex-shrink: 0;
}

.mobile-nav-link.active .dropdown-icon {
    color: var(--gold-primary);
}

.dropdown-title {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.01em;
    flex: 1;
}

.mobile-nav-link:hover .dropdown-title,
.mobile-nav-link.active .dropdown-title {
    color: var(--gold-primary);
}

.dropdown-arrow {
    color: rgba(255, 255, 255, 0.42);
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover .dropdown-arrow,
.mobile-nav-link.active .dropdown-arrow {
    color: var(--gold-primary);
    transform: translateX(3px);
}

/* Elegant HR separator lines between nav items */
.dropdown-hr {
    border: none !important;
    height: 1px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    margin: 0 !important;
    width: 100% !important;
    display: block !important;
}

.mobile-dropdown-footer {
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dropdown-buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 18px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    border-radius: 10px;
    background: var(--gold-gradient) !important;
    color: #540e0e !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
    position: relative;
    overflow: hidden;
}

.dropdown-call-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.88);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 12px;
    text-align: center;
    transition: color 0.2s ease;
}

.dropdown-call-link:hover {
    color: var(--gold-primary);
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: flex !important;
    }
}

@media (min-width: 993px) {
    .mobile-dropdown-menu {
        display: none !important;
    }

    .mobile-toggle {
        display: none !important;
    }
}

/* ==========================================================================
   EXCLUSIVE TICKET SELECTION LIST PAGE (book.php)
   Select tickets from official live list, series filters, sticky dock & modal
   ========================================================================== */

.booking-portal-page {
    width: 100%;
    font-family: 'Poppins', sans-serif;
}

.clean-booking-wrapper {
    max-width: 1040px;
    margin: 0 auto 90px;
    padding: 0 16px;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

/* ----------------- FULL-WIDTH PORTAL HERO SHOWCASE (THEME ALIGNED) ----------------- */
.portal-hero-showcase {
    width: 100%;
    margin: 0 0 28px 0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    font-family: 'Poppins', sans-serif;
}

.portal-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* 1. Premium Green Draw Time Strip */
.portal-hero-draw-strip {
    background: linear-gradient(90deg, #15803d 0%, #16a34a 50%, #15803d 100%);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.draw-strip-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.draw-strip-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.82rem, 2vw, 0.92rem);
    font-weight: 500;
    color: #f0fdf4;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.draw-live-beacon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.35);
    display: inline-block;
    flex-shrink: 0;
    animation: beaconPulse 2s infinite ease-in-out;
}

@keyframes beaconPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.25);
        opacity: 0.7;
    }
}

.draw-datetime-chips {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.draw-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.32);
    padding: 4px 14px;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.82rem, 2vw, 0.9rem);
    font-weight: 500;
    color: #ffffff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
    transition: background 0.2s ease;
}

.draw-chip .chip-ico {
    color: #bbf7d0;
    display: inline-flex;
    flex-shrink: 0;
}

.draw-chip.time-chip {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
}

.draw-chip.time-chip .chip-ico {
    color: #fef08a;
}

/* 2. Red Ticket Name Strip (Little thin, premium Poppins) */
.portal-hero-name-strip {
    background: linear-gradient(90deg, #991b1b 0%, #b91c1c 50%, #991b1b 100%);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: clamp(0.86rem, 2.2vw, 1.02rem);
    text-align: center;
    padding: 9px 16px;
    line-height: 1.45;
    letter-spacing: 0.015em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.portal-hero-name-strip .strip-label {
    font-weight: 400;
    opacity: 0.92;
}

.portal-hero-name-strip .strip-value {
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.01em;
}

/* 4. Royal Theme First Prize Card (Full Width with Punjab Heritage Photo Background) */
.portal-hero-theme-card {
    background-color: #580a11;
    background-image:
        linear-gradient(180deg, rgba(76, 5, 25, 0.75) 0%, rgba(30, 2, 8, 0.86) 100%),
        url('../images/punjab_hero_bg.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 38px 0 42px;
    text-align: center;
    border-bottom: 3.5px solid var(--gold-primary, #f59e0b);
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.portal-hero-theme-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 70%);
    pointer-events: none;
}

.hero-center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.portal-hero-crown {
    color: #fbbf24;
    display: inline-flex;
    margin-bottom: 12px;
    filter: none !important;
    animation: crownFloat 3s ease-in-out infinite alternate;
}

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

    100% {
        transform: translateY(-4px);
    }
}

.portal-hero-first-prize-label {
    color: #fde047;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.95;
    text-shadow: none !important;
}

.portal-hero-prize-headline {
    font-size: clamp(1.9rem, 5.4vw, 2.75rem);
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    line-height: 1.15;
    margin: 0;
    text-shadow: none !important;
}

.portal-hero-prize-headline .prize-gold-amount {
    color: #ffd000;
    font-weight: 800;
    text-shadow: none !important;
    margin-left: 4px;
}

/* ==========================================================================
   HERO SECTION TOTAL BOOKING (NO ICON, MINIMALIST & PREMIUM)
   ========================================================================== */
.portal-hero-total-booking {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 30px;
    padding: 6px 20px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero-tb-label {
    color: #fde047;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-tb-number {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

@media (max-width: 480px) {
    .portal-hero-total-booking {
        margin-top: 10px;
        padding: 5px 16px;
        gap: 6px;
    }

    .hero-tb-label {
        font-size: 0.8rem;
    }

    .hero-tb-number {
        font-size: 1.02rem;
    }
}

/* ==========================================================================
   TICKET PRICE CALLOUT BADGE (TICKET STYLE WITH DASHED BORDER & ROUNDED CUTS)
   ========================================================================== */
.hero-price-callout-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 20px auto 16px;
    padding: 0 16px;
    max-width: 1040px;
}

.hero-price-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: #afc302;
    background: linear-gradient(135deg, #b5ca02 0%, #a4b700 100%);
    color: #ffffff;
    padding: 3px;
    border-radius: 14px;
    box-shadow: none !important;
    filter: none !important;
    transition: transform 0.2s ease;
    user-select: none;
    overflow: visible;
}

.hero-price-badge:hover {
    transform: translateY(-2px);
    box-shadow: none !important;
}

/* Rounded cuts like a real physical lottery ticket */
.hero-price-badge::before,
.hero-price-badge::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}

.hero-price-badge::before {
    left: -7px;
}

.hero-price-badge::after {
    right: -7px;
}

/* Inner dashed dotted border with 3px padding from outer ticket edge */
.ticket-dashed-inner {
    border: 1.5px dashed rgba(255, 255, 255, 0.92);
    border-radius: 11px;
    padding: 9px 24px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    box-shadow: none !important;
}

.price-badge-ticket-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.price-badge-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.price-badge-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: 0.01em;
    text-shadow: none !important;
}

.price-badge-rate {
    font-family: 'Poppins', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: 0.01em;
    text-shadow: none !important;
}

@media (max-width: 480px) {
    .hero-price-callout-wrap {
        margin: 16px auto 12px;
    }

    .ticket-dashed-inner {
        padding: 8px 18px;
        gap: 12px;
        border-radius: 10px;
    }

    .price-badge-title {
        font-size: 0.88rem;
    }

    .price-badge-rate {
        font-size: 0.92rem;
    }
}

/* ----------------- Error Alert ----------------- */
.booking-error-alert {
    background: #fef2f2;
    border: 1.5px solid #ef4444;
    color: #991b1b;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.12);
}

.booking-error-alert svg {
    color: #dc2626;
    flex-shrink: 0;
}

/* ==========================================================================
   LUCKY NUMBER TICKET SELECTION GRID (EXACT REFERENCE DESIGN)
   ========================================================================== */

.lucky-selection-wrapper {
    width: 100%;
    max-width: 100%;
    background: #ffffff;
    border-radius: 16px;
    padding: clamp(18px, 2vw, 32px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    border: 1px solid #e2e8f0;
    margin-bottom: 40px;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

/* 1. Top Red Scheme Banner */
.lucky-scheme-banner {
    background: #b91c1c;
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    color: #ffffff;
    text-align: center;
    padding: 10px 22px;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(185, 28, 28, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0;
    max-width: 100%;
    box-sizing: border-box;
    user-select: none;
}

.banner-scheme-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.76rem, 1.8vw, 0.86rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #fef08a;
    text-transform: uppercase;
}

.banner-sep {
    color: rgba(255, 255, 255, 0.55);
    margin: 0 2px;
}

.banner-prize-info {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.86rem, 2vw, 0.98rem);
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #ffffff;
    text-transform: uppercase;
}

@media (max-width: 540px) {
    .lucky-scheme-banner {
        padding: 8px 14px;
        flex-direction: column;
        gap: 2px;
        width: 100%;
    }

    .banner-sep {
        display: none;
    }

    .banner-scheme-title {
        font-size: 0.74rem;
    }

    .banner-prize-info {
        font-size: 0.86rem;
    }
}

/* 2. Section Heading */
.lucky-section-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
}

.lucky-grid-dots {
    display: inline-flex;
    color: #f59e0b;
}

.lucky-heading-text {
    font-size: 0.88rem;
    font-weight: 800;
    color: #334155;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* LIVE Badge in Section Header (Redesigned: Bold Live Capsule) */
.lucky-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    background: #dc2626;
    color: #ffffff;
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
    line-height: 1.2;
}

.live-dot-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.85);
    animation: liveDotBlink 1.4s infinite;
}

@keyframes liveDotBlink {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.85);
        opacity: 1;
    }

    70% {
        box-shadow: 0 0 0 5px rgba(255, 255, 255, 0);
        opacity: 0.6;
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
        opacity: 1;
    }
}

/* 3. Pills Grid */
.lucky-pills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
    margin-bottom: 24px;
}

.lucky-ticket-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    position: relative;
    user-select: none;
    box-shadow: none;
    transition: transform 0.16s ease, filter 0.16s ease;
    padding: 0 10px;
    letter-spacing: 0.03em;
}

.lucky-ticket-pill .pill-number-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.lucky-ticket-pill:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: none;
    filter: brightness(1.06);
}

.lucky-ticket-pill:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: none;
}

/* Green Pill */
.lucky-ticket-pill.pill-green {
    background: #16a34a;
    color: #ffffff;
    box-shadow: none;
}

/* Red Pill */
.lucky-ticket-pill.pill-red {
    background: #dc2626;
    color: #ffffff;
    box-shadow: none;
}

/* Yellow Pill */
.lucky-ticket-pill.pill-yellow {
    background: #facc15;
    color: #1e293b;
    font-weight: 500;
    box-shadow: none;
}

.lucky-ticket-pill.pill-yellow .pill-number-text {
    color: #1e293b;
    font-weight: 500;
}

/* Sold Pill */
.lucky-ticket-pill.pill-sold {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    overflow: hidden;
    box-shadow: none;
}

.lucky-ticket-pill.pill-sold .pill-number-text {
    opacity: 0.38;
    filter: blur(0.2px);
    font-weight: 400;
}

.pill-sold-stamp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
    border: 1.5px solid #ef4444;
    color: #ef4444;
    background: rgba(255, 255, 255, 0.96);
    font-size: 0.62rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
    box-shadow: none;
    pointer-events: none;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

/* Selected State (Reverted back to Blue as before, no border, no shadow, thin font) */
.lucky-ticket-pill.is-selected {
    background: linear-gradient(180deg, #2b6cee 0%, #1e52d8 100%) !important;
    color: #ffffff !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    transform: translateY(-2px);
    z-index: 5;
}

.lucky-ticket-pill.is-selected:hover {
    background: linear-gradient(180deg, #235cd6 0%, #1846be 100%) !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.lucky-ticket-pill.is-selected .pill-number-text {
    color: #ffffff !important;
    font-weight: 400;
}

/* Live Sold Stamp Drop Animation */
@keyframes stampDropSlam {
    0% {
        transform: translate(-50%, -50%) scale(2.4) rotate(-28deg);
        opacity: 0;
    }

    65% {
        transform: translate(-50%, -50%) scale(0.92) rotate(-10deg);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1) rotate(-12deg);
        opacity: 1;
    }
}

.pill-sold-stamp.sold-stamp-drop {
    animation: stampDropSlam 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Flash animation when ticket is being booked live */
@keyframes liveSellingFlash {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.08);
        filter: brightness(1.3);
        box-shadow: 0 0 14px rgba(220, 38, 38, 0.7);
    }

    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

.lucky-ticket-pill.pill-selling-flash {
    animation: liveSellingFlash 0.45s ease forwards;
    z-index: 10;
}

/* Redesigned Ultra-Premium Live Social Proof Toast Card */
/* Streamlined Compact Social Proof Toast (Comes from Header, Never Blocks Working Area) */
.live-booking-toast {
    position: fixed;
    top: 68px;
    left: 50%;
    transform: translateX(-50%) translateY(-75px);
    background: rgba(15, 23, 42, 0.96);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 7px;
    box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 16px rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: 'Poppins', sans-serif;
    z-index: 9999;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    pointer-events: none;
    max-width: 94vw;
    width: max-content;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.live-booking-toast.toast-active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-avatar-box {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #15803d 0%, #22c55e 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.toast-content-box {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.toast-main-line {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    white-space: nowrap;
}

.toast-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 3.5px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    background: #dc2626;
    padding: 2px 5.5px;
    border-radius: 4px;
    line-height: 1.2;
}

.toast-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ffffff;
}

.toast-body-text {
    color: #f1f5f9;
    font-weight: 500;
}

.toast-ticket-code {
    background: #fef08a;
    color: #78350f;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 1.5px 6.5px;
    border-radius: 4px;
    letter-spacing: 0.02em;
    margin: 0 2px;
}

.toast-sub-line {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.74rem;
    white-space: nowrap;
}

.toast-sep-inline {
    color: #64748b;
    font-size: 0.72rem;
}

.toast-sub-loc {
    display: inline-flex;
    align-items: center;
    gap: 3.5px;
    color: #94a3b8;
    font-size: 0.74rem;
}

.toast-pin-ico {
    color: #f87171;
    flex-shrink: 0;
}

.toast-time-label {
    color: #64748b;
    font-size: 0.7rem;
}

@media (max-width: 600px) {
    .live-booking-toast {
        top: 66px;
        padding: 9px 13px;
        border-radius: 7px;
        max-width: calc(100vw - 20px);
        gap: 9px;
        box-shadow: 0 8px 20px -3px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.14);
    }

    .toast-content-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

    .toast-main-line {
        gap: 6px;
        font-size: 0.75rem;
    }

    .toast-ticket-code {
        font-size: 0.75rem;
        padding: 1px 5px;
    }

    .toast-sep-inline {
        display: none;
    }

    .toast-sub-line {
        gap: 6px;
        font-size: 0.69rem;
    }

    .toast-sub-loc {
        max-width: 175px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .toast-time-label {
        font-size: 0.67rem;
    }
}

/* 4. Controls Bar */
.lucky-controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
    flex-wrap: wrap;
    background: #f8fafc;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.btn-lucky-refresh {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #334155;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-lucky-refresh:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}

.btn-lucky-refresh.is-spinning .refresh-spin-ico {
    animation: spinRefresh 0.6s ease-in-out;
}

@keyframes spinRefresh {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.lucky-search-add-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 480px;
    justify-content: flex-end;
}

.lucky-input-search {
    flex: 1;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.86rem;
    color: #0f172a;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lucky-input-search:focus {
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.btn-lucky-add {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #0f5132;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-lucky-add:hover {
    background: #0a3622;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 81, 50, 0.25);
}

/* 5. Selected Tickets Section */
.selected-tickets-section {
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    padding-top: 18px;
}

.selected-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.selected-title-wrap {
    display: flex;
    align-items: center;
    gap: 7px;
}

.gold-star-ico {
    display: inline-flex;
    color: #f59e0b;
}

.selected-heading-text {
    font-size: 0.86rem;
    font-weight: 800;
    color: #92400e;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.selected-counter-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #facc15;
    color: #1e293b;
    font-weight: 800;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(250, 204, 21, 0.35);
}

/* Dashed Box */
.selected-tickets-box {
    background: #fefce8;
    border: 1.5px dashed #facc15;
    border-radius: 12px;
    min-height: 76px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.selected-empty-placeholder {
    color: #78716c;
    font-style: italic;
    font-size: 0.86rem;
    text-align: center;
}

.selected-chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.selected-chip-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1.5px solid #d97706;
    color: #92400e;
    font-family: 'Poppins', monospace, sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 5px 10px 5px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.14);
    animation: chipPop 0.2s ease-out;
}

@keyframes chipPop {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.chip-remove-btn {
    background: #fee2e2;
    color: #ef4444;
    border: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 800;
    transition: background 0.15s ease;
}

.chip-remove-btn:hover {
    background: #ef4444;
    color: #ffffff;
}

/* 6. Checkout Bar */
.selected-checkout-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 18px;
    flex-wrap: wrap;
    animation: slideUpFade 0.2s ease;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

.selected-summary-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 18px;
    flex-wrap: wrap;
}

.stat-item {
    font-size: 0.88rem;
    color: #475569;
}

.stat-item strong {
    color: #0f172a;
    font-size: 0.96rem;
    margin-left: 4px;
}

.stat-item.total-stat strong {
    color: #b91c1c;
    font-size: 1.15rem;
    font-weight: 800;
}

.btn-proceed-selected {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #ffffff;
    border: none;
    padding: 11px 22px;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
    transition: all 0.2s ease;
}

.btn-proceed-selected:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.45);
    filter: brightness(1.05);
}

/* ----------------- STICKY BOTTOM CHECKOUT BAR (EXACT REFERENCE DESIGN) ----------------- */
.tickets-bottom-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.12), 0 -1px 3px rgba(0, 0, 0, 0.04);
    border-top: 1px solid #f1f5f9;
    z-index: 1000;
    padding: 14px 24px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.tickets-bottom-dock.visible {
    transform: translateY(0);
    opacity: 1;
}

.dock-container-ref {
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.dock-payable-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}

.dock-payable-label {
    font-size: 0.76rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 3px;
}

.dock-payable-amount {
    color: #065f46;
    /* Deep rich green matching user's uploaded image */
    font-size: clamp(1.8rem, 3.8vw, 2.3rem);
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1;
}

.btn-proceed-checkout {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #1e40af 100%);
    border: none;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.94rem, 2.2vw, 1.08rem);
    font-weight: 800;
    padding: 14px 30px;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.44);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.btn-proceed-checkout:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 50%, #172554 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.58);
    color: #ffffff !important;
}

.btn-proceed-checkout svg {
    transition: transform 0.2s ease;
}

.btn-proceed-checkout:hover svg {
    transform: translateX(4px);
}

/* ----------------- BOOKING & DELIVERY DETAILS MODAL ----------------- */
.booking-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
}

.booking-modal-dialog {
    background: #ffffff;
    border-radius: 18px;
    width: 100%;
    max-width: 560px;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    position: relative;
    max-height: 94vh;
    overflow-y: auto;
    animation: modalSlideUp 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }

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

.booking-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 14px;
}

.modal-pre-title {
    font-size: 0.72rem;
    font-weight: 800;
    color: #991b1b;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.booking-modal-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.modal-close-btn {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #475569;
    cursor: pointer;
    transition: all 0.16s ease;
}

.modal-close-btn:hover {
    background: #fee2e2;
    color: #991b1b;
}

.modal-ticket-summary-pill {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.modal-summary-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.modal-summary-label {
    font-size: 0.74rem;
    font-weight: 800;
    color: #92400e;
    text-transform: uppercase;
}

.modal-tickets-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 60px;
    overflow-y: auto;
}

.modal-ticket-chip {
    background: #ffffff;
    border: 1px solid #f59e0b;
    color: #92400e;
    font-family: monospace;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 5px;
}

.modal-summary-right {
    text-align: right;
    flex-shrink: 0;
}

.modal-summary-right small {
    display: block;
    color: #78350f;
    font-size: 0.72rem;
}

.modal-summary-right strong {
    color: #b91c1c;
    font-size: 1.25rem;
    font-weight: 900;
    font-family: var(--font-heading, 'Poppins', sans-serif);
}

.modal-security-note {
    text-align: center;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.modal-security-note svg {
    color: #16a34a;
}

/* ----------------- Form Inputs Inside Modal ----------------- */
.booking-modal-dialog .form-group {
    margin-bottom: 14px;
}

.booking-modal-dialog .form-group label {
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
}

.booking-modal-dialog .form-group label span.required {
    color: #b91c1c;
}

.booking-modal-dialog .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.booking-modal-dialog .input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.booking-modal-dialog .input-icon {
    position: absolute;
    left: 12px;
    color: #94a3b8;
    pointer-events: none;
    display: inline-flex;
}

.booking-modal-dialog .input-icon-prefix {
    position: absolute;
    left: 12px;
    color: #475569;
    font-size: 0.86rem;
    font-weight: 700;
    pointer-events: none;
}

.booking-modal-dialog .form-control.with-icon {
    padding-left: 38px !important;
}

.booking-modal-dialog .form-control.with-prefix {
    padding-left: 44px !important;
}

.booking-modal-dialog .form-control {
    width: 100%;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 9px !important;
    padding: 10px 14px !important;
    font-size: 0.9rem !important;
    color: #0f172a !important;
    font-family: inherit !important;
    transition: all 0.2s ease !important;
}

.booking-modal-dialog .form-control:focus {
    border-color: var(--brand-red, #b91c1c) !important;
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12) !important;
    outline: none !important;
}

.booking-modal-dialog textarea.form-control {
    min-height: 64px;
    resize: vertical;
}

.booking-modal-dialog .field-hint {
    display: block;
    font-size: 0.74rem;
    color: #64748b;
    margin-top: 3px;
}

.booking-modal-dialog .pin-sub-label {
    font-size: 0.74rem;
    color: #059669;
    font-weight: 600;
}

.booking-modal-dialog .text-muted-opt {
    font-size: 0.74rem;
    color: #94a3b8;
    font-weight: normal;
}

.booking-modal-dialog .pin-feedback {
    font-size: 0.8rem;
    margin-top: 4px;
    min-height: 18px;
    font-weight: 700;
}

.booking-modal-dialog .pin-feedback.loading {
    color: #2563eb;
}

.booking-modal-dialog .pin-feedback.success {
    color: #16a34a;
}

.booking-modal-dialog .pin-feedback.warning {
    color: #d97706;
}

.booking-modal-dialog .field-autofilled {
    border-color: #16a34a !important;
    background-color: #f0fdf4 !important;
}

.booking-modal-dialog .btn-proceed-payment {
    width: 100%;
    min-height: 50px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    border-radius: 11px;
    color: #451a03;
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.35);
    transition: all 0.2s ease;
    margin-top: 8px;
}

.booking-modal-dialog .btn-proceed-payment:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #ea580c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (< 768px and < 480px)
   ========================================================================== */

@media (max-width: 768px) {
    .clean-booking-wrapper {
        margin: 14px auto 80px;
        padding: 0 12px;
    }

    .clean-scheme-banner {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 18px !important;
        gap: 16px !important;
        text-align: left !important;
    }

    .clean-scheme-banner .scheme-prize-highlight {
        width: 100% !important;
        min-width: 0 !important;
        padding: 14px 16px !important;
    }

    .draw-strip-flex {
        gap: 8px;
    }

    .draw-strip-label {
        font-size: 0.78rem;
    }

    .draw-chip {
        padding: 3px 11px;
        font-size: 0.8rem;
    }

    .portal-hero-theme-card {
        padding: 30px 16px 34px;
    }

    .clean-booking-wrapper {
        width: 100%;
        max-width: 100%;
        margin: 0 0 70px 0;
        padding: 0;
    }

    .lucky-selection-wrapper {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 16px 10px;
        box-shadow: none;
    }

    .booking-error-alert {
        margin: 0 10px 14px;
    }

    .lucky-pills-grid {
        grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
        gap: 8px;
    }

    .lucky-ticket-pill {
        height: 42px;
        font-size: 0.84rem;
        padding: 0 6px;
        border-radius: 5px;
    }

    .pill-sold-stamp {
        font-size: 0.55rem;
        padding: 1px 4px;
    }

    .lucky-controls-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .lucky-search-add-wrap {
        max-width: 100%;
    }

    .selected-checkout-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn-proceed-selected {
        width: 100%;
        justify-content: center;
    }

    .selected-summary-stats {
        justify-content: space-between;
        width: 100%;
    }

    .tickets-bottom-dock {
        padding: 10px 14px;
    }

    .dock-container-ref {
        gap: 12px;
    }

    .dock-payable-label {
        font-size: 0.68rem;
    }

    .dock-payable-amount {
        font-size: 1.55rem;
    }

    .btn-proceed-checkout {
        padding: 11px 16px;
        font-size: 0.86rem;
        border-radius: 10px;
        gap: 6px;
    }

    .booking-modal-dialog {
        padding: 20px 16px;
        max-height: 90vh;
        margin-top: auto;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .booking-modal-dialog .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .draw-strip-flex {
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 380px) {
    .tickets-interactive-grid {
        grid-template-columns: 1fr;
    }

    .lottery-ticket-card {
        min-height: auto;
    }
}

/* ==========================================================================
   MODERN DYNAMIC UPI PAYMENT GATEWAY STYLES (PAYMENT.PHP)
   ========================================================================== */

.payment-gateway-wrapper {
    max-width: 480px;
    margin: 24px auto 60px;
    padding: 0 14px;
    box-sizing: border-box;
}

.payment-focus-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 22px;
    padding: 24px 20px 22px;
    box-shadow: 0 10px 32px -5px rgba(15, 23, 42, 0.08), 0 2px 8px -2px rgba(15, 23, 42, 0.03);
    text-align: center;
    box-sizing: border-box;
    width: 100%;
}

@media (max-width: 768px) {
    .payment-gateway-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .payment-focus-card {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        border-top: none !important;
        border-bottom: 1px solid #e2e8f0 !important;
        padding: 16px 14px 28px !important;
        box-shadow: none !important;
    }

    .pay-amount-banner {
        border-radius: 14px !important;
        padding: 14px 12px 12px !important;
        margin-bottom: 16px !important;
    }

    .amount-banner-value {
        font-size: 2.1rem !important;
    }

    .pay-qr-wrapper {
        border-radius: 14px !important;
        padding: 14px 12px !important;
        margin-bottom: 16px !important;
    }

    .upi-qr-image {
        width: 190px !important;
        height: 190px !important;
    }

    .btn-pay-now-primary {
        height: 52px !important;
        font-size: 1rem !important;
    }

    .pay-confirmation-block {
        padding-top: 16px !important;
    }

    .btn-get-ticket-now {
        height: 52px !important;
        font-size: 0.96rem !important;
    }
}

.pay-amount-banner {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 16px 18px 14px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(6, 95, 70, 0.22);
    text-align: center;
}

.pay-ref-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ecfdf5;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.76rem;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.pay-ref-badge strong {
    color: #ffffff;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.84rem;
    letter-spacing: 0.04em;
}

.amount-banner-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #a7f3d0;
    margin-bottom: 3px;
}

.amount-banner-value {
    font-size: 2.3rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.amount-banner-sub {
    display: block;
    font-size: 0.8rem;
    color: #d1fae5;
    margin-top: 5px;
    font-weight: 600;
    opacity: 0.94;
}

.pay-qr-wrapper {
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 18px;
    padding: 18px 16px 16px;
    text-align: center;
    margin-bottom: 20px;
}

.pay-qr-box {
    position: relative;
    display: inline-block;
    background: #ffffff;
    padding: 10px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    margin-bottom: 8px;
}

.upi-qr-image {
    width: 210px;
    height: 210px;
    display: block;
    border-radius: 8px;
    margin: 0 auto;
}

.qr-center-badge {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #059669;
    color: #ffffff;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

/* Download QR Code Row & Button */
.qr-download-row {
    margin-top: 14px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

.btn-download-qr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #334155;
    padding: 7px 16px;
    border-radius: 24px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.16s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-download-qr:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.btn-download-qr:active {
    transform: translateY(0);
}

/* UPI ID with Copy Pill inside QR container */
.qr-upi-id-bar {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 12px 0 10px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.qr-upi-info {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    text-align: left;
}

.qr-upi-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.qr-upi-value {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-copy-upi-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.16s ease;
    flex-shrink: 0;
    font-family: 'Poppins', sans-serif;
}

.btn-copy-upi-pill:hover {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
}

.upi-logo-svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}

.qr-scan-hint {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 6px;
}

.pay-btn-section {
    margin-bottom: 20px;
}

.btn-pay-now-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 54px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    color: #ffffff !important;
    font-size: 1.05rem;
    font-weight: 900;
    border-radius: 14px;
    text-decoration: none;
    border: none;
    box-shadow: none !important;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: all 0.18s ease;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.btn-pay-now-primary:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
    color: #ffffff !important;
    box-shadow: none !important;
}

.btn-pay-now-primary:active {
    transform: translateY(0);
}

.pay-click-hint {
    display: block;
    color: #64748b;
    font-size: 0.74rem;
    margin-top: 8px;
    font-weight: 500;
}

.pay-confirmation-block {
    border-top: 1.5px dashed #e2e8f0;
    padding-top: 20px;
    text-align: left;
}

/* Server Error Banner */
.pay-error-banner {
    background: #fef2f2;
    border: 1.5px solid #fecaca;
    color: #991b1b;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
    animation: shakeErr 0.35s ease;
}

.pay-field-group {
    margin-bottom: 16px;
    text-align: left;
}

.pay-field-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 7px;
}

.req-star {
    color: #ef4444;
    font-weight: 900;
    margin-left: 2px;
}

.pay-badge-req {
    font-size: 0.68rem;
    font-weight: 800;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 1.5px 7px;
    border-radius: 6px;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
}

.pay-badge-req.badge-valid {
    color: #059669 !important;
    background: #ecfdf5 !important;
    border-color: #a7f3d0 !important;
}

.field-error-tip {
    color: #dc2626;
    font-size: 0.74rem;
    font-weight: 600;
    margin-top: 5px;
    text-align: left;
}

.pay-slip-dropzone.zone-error {
    border-color: #ef4444 !important;
    background: #fff5f5 !important;
    animation: shakeErr 0.3s ease;
}

.pay-utr-input.input-err {
    border-color: #ef4444 !important;
    background: #fff5f5 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
    animation: shakeErr 0.3s ease;
}

.pay-utr-input.input-valid {
    border-color: #10b981 !important;
    background: #f0fdf4 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12) !important;
}

.utr-status-icon {
    position: absolute;
    right: 14px;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes shakeErr {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-4px);
    }

    40%,
    80% {
        transform: translateX(4px);
    }
}

/* Slip Upload Dropzone */
.pay-slip-dropzone {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    padding: 16px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.pay-slip-dropzone:hover {
    background: #f1f5f9;
    border-color: #2563eb;
}

.pay-slip-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.slip-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e0e7ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    transition: transform 0.2s ease;
}

.pay-slip-dropzone:hover .slip-icon-circle {
    transform: scale(1.08);
}

.slip-text-main {
    font-size: 0.84rem;
    font-weight: 700;
    color: #1e293b;
}

.slip-text-sub {
    font-size: 0.72rem;
    color: #64748b;
}

/* Uploaded Slip Preview */
.pay-slip-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 10px 12px;
    border-radius: 10px;
    text-align: left;
}

.slip-thumb-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    flex-shrink: 0;
}

.slip-file-meta {
    flex: 1;
    min-width: 0;
}

.slip-file-name {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.slip-file-status {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #059669;
    margin-top: 2px;
}

.btn-change-slip {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    font-family: 'Poppins', sans-serif;
    transition: all 0.15s ease;
}

.btn-change-slip:hover {
    background: #dc2626;
    color: #ffffff;
}

/* UTR input */
.pay-utr-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.pay-utr-input {
    width: 100%;
    height: 48px;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: 'JetBrains Mono', 'Fira Code', 'Poppins', monospace;
    color: #0f172a;
    background: #ffffff;
}

.pay-utr-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

/* GET YOUR TICKET NOW Button */
.btn-get-ticket-now {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 900;
    border-radius: 14px;
    border: none;
    box-shadow: none !important;
    cursor: pointer;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.18s ease;
    font-family: 'Poppins', sans-serif;
    margin-top: 6px;
    box-sizing: border-box;
}

.btn-get-ticket-now:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    color: #ffffff !important;
    box-shadow: none !important;
}

.btn-get-ticket-now:active {
    transform: translateY(0);
}

.pay-guarantee-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.72rem;
    color: #475569;
    font-weight: 600;
    margin-top: 10px;
    text-align: center;
}

/* LEFT COLUMN: ORDER SUMMARY */
.payment-summary-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.pay-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.pay-summary-header h3 {
    margin: 0;
    font-size: 1.18rem;
    font-weight: 800;
    color: #0f172a;
}

.pay-status-pending-pill {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.76rem;
    font-weight: 700;
}

.pay-scheme-highlight {
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
    border: 1px solid #fecdd3;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
}

.scheme-title-text {
    font-size: 1.05rem;
    font-weight: 800;
    color: #991b1b;
    margin-bottom: 6px;
}

.scheme-meta-line {
    display: flex;
    gap: 16px;
    font-size: 0.82rem;
    color: #4b5563;
    flex-wrap: wrap;
}

.scheme-meta-line strong {
    color: #111827;
}

.pay-tickets-container {
    margin-bottom: 18px;
}

.pay-field-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.pay-tickets-chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pay-ticket-chip {
    background: #0f172a;
    color: #f8fafc;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #334155;
    letter-spacing: 0.04em;
}

.pay-delivery-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-size: 0.88rem;
}

.pay-box-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.pay-recipient-name {
    font-weight: 800;
    color: #0f172a;
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.pay-recipient-phone {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #059669;
    font-weight: 700;
    font-size: 0.86rem;
    margin-bottom: 6px;
}

.pay-recipient-addr {
    color: #475569;
    line-height: 1.45;
}

.pay-pricing-table {
    border-top: 1px dashed #cbd5e1;
    padding-top: 14px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 6px;
}

.pricing-row .free-tag {
    color: #059669;
    font-weight: 800;
}

.pricing-row.total-row {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
    color: #0f172a;
    font-weight: 800;
    font-size: 1.05rem;
}

.pricing-row.total-row .grand-total {
    font-size: 1.4rem;
    color: #059669;
    font-weight: 900;
}

.pay-trust-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.trust-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.trust-icon {
    width: 34px;
    height: 34px;
    background: #ecfdf5;
    color: #059669;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-item strong {
    display: block;
    font-size: 0.86rem;
    color: #0f172a;
    margin-bottom: 2px;
}

.trust-item p {
    margin: 0;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
}

/* RIGHT COLUMN: PAYMENT ACTIONS */
.payment-action-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.pay-amount-banner {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
    color: #ffffff;
    border-radius: 14px;
    padding: 18px 20px;
    text-align: center;
    margin-bottom: 22px;
    box-shadow: 0 6px 20px rgba(6, 95, 70, 0.25);
}

.amount-banner-label {
    display: block;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #a7f3d0;
    margin-bottom: 4px;
}

.amount-banner-value {
    font-size: 2.25rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.amount-banner-sub {
    display: block;
    font-size: 0.8rem;
    color: #d1fae5;
    margin-top: 6px;
}

/* 1-CLICK PRIMARY PAY BUTTON */
.pay-btn-section {
    text-align: center;
    margin-bottom: 20px;
}

.btn-launch-upi-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 900;
    padding: 16px 20px;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.btn-launch-upi-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.45);
    color: #ffffff;
}

.btn-launch-upi-primary:active {
    transform: translateY(1px);
}

.pay-click-hint {
    display: block;
    color: #64748b;
    font-size: 0.78rem;
    margin-top: 8px;
}

/* SPECIFIC APPS ROW */
.upi-apps-choice-wrap {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 24px;
}

.upi-choice-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-align: center;
}

.upi-app-buttons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.btn-app-choice {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    text-decoration: none;
    color: #1e293b;
    font-size: 0.76rem;
    font-weight: 700;
    transition: all 0.15s ease;
}

.btn-app-choice:hover {
    border-color: #f59e0b;
    background: #fffbeb;
    transform: translateY(-2px);
}

.app-icon-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 900;
    color: #ffffff;
}

.gpay-btn .app-icon-badge {
    background: #4285f4;
}

.phonepe-btn .app-icon-badge {
    background: #5f259f;
}

.paytm-btn .app-icon-badge {
    background: #00b9f1;
}

.bhim-btn .app-icon-badge {
    background: #0088cc;
}

/* QR CODE SECTION */
.pay-qr-wrapper {
    background: #fbfbfb;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    margin-bottom: 24px;
}

.qr-heading-row {
    margin-bottom: 12px;
}

.qr-tag {
    background: #0f172a;
    color: #f8fafc;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.qr-subtext {
    display: block;
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 6px;
}

.pay-qr-box {
    position: relative;
    display: inline-block;
    background: #ffffff;
    padding: 12px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    margin: 10px 0 16px;
}

.upi-qr-image {
    width: 220px;
    height: 220px;
    display: block;
    border-radius: 8px;
}

.qr-center-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #059669;
    color: #ffffff;
    padding: 2px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* CREDENTIALS LIST (UPI NUMBER & ID) */
.upi-credentials-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 380px;
    margin: 0 auto;
}

.credential-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.cred-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.cred-label {
    font-size: 0.68rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

.cred-value {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.95rem;
    color: #0f172a;
    font-weight: 800;
}

.btn-copy-cred {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.btn-copy-cred:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.cred-payee-note {
    font-size: 0.76rem;
    color: #64748b;
    margin-top: 4px;
}

/* CONFIRMATION FORM */
.pay-confirmation-block {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.confirm-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #059669;
    margin-bottom: 12px;
}

.confirm-heading h4 {
    margin: 0;
    font-size: 0.96rem;
    font-weight: 800;
    color: #0f172a;
}

.uin-input {
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.92rem;
    width: 100%;
    box-sizing: border-box;
}

.uin-input:focus {
    border-color: #059669;
    outline: none;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.btn-submit-payment-confirm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    padding: 14px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
    transition: all 0.18s ease;
}

.btn-submit-payment-confirm:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

.pay-guarantee-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.74rem;
    color: #94a3b8;
    margin-top: 14px;
    text-align: center;
    line-height: 1.4;
}

/* COPY TOAST */
.pay-copy-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0f172a;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 99999;
    border: 1px solid #334155;
    animation: toastSlideIn 0.25s ease-out;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

/* RESPONSIVE STYLES FOR PAYMENT GATEWAY */
@media (max-width: 860px) {
    .payment-layout-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .payment-col-details {
        order: 2;
    }

    .payment-col-action {
        order: 1;
    }

    .amount-banner-value {
        font-size: 1.95rem;
    }

    .upi-app-buttons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {

    .payment-action-card,
    .payment-summary-card {
        padding: 16px;
        border-radius: 16px;
    }

    .upi-qr-image {
        width: 190px;
        height: 190px;
    }

    .btn-launch-upi-primary {
        font-size: 0.94rem;
        padding: 14px 16px;
    }
}

/* Hide right-side calling button and header buy ticket button on booking, details, and payment flows */
body:has(.booking-portal-page) .floating-call-btn,
body:has(.booking-portal-page) .header-buy-btn,
body:has(.details-page-wrapper) .floating-call-btn,
body:has(.details-page-wrapper) .header-buy-btn,
body:has(.payment-gateway-wrapper) .floating-call-btn,
body:has(.payment-gateway-wrapper) .header-buy-btn {
    display: none !important;
}

/* ==========================================================================
   Dedicated Recipient Delivery Details Page Styles
   ========================================================================== */
.details-page-wrapper {
    background: #f8fafc;
    padding: 16px 0 95px;
    /* Extra bottom padding so content scrolls completely clear of sticky dock */
    min-height: 82vh;
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 600px) {
    .details-page-wrapper {
        padding: 10px 0 90px;
    }
}

/* Sticky Bottom Footer Dock for Proceed to Payment */
.details-bottom-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12), 0 -1px 3px rgba(0, 0, 0, 0.04);
    border-top: 1px solid #e2e8f0;
    z-index: 1000;
    padding: 12px 16px;
}

.details-dock-container {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 600px) {
    .details-bottom-dock {
        padding: 10px 14px;
    }
}

/* Details Hero Section with Photo in Background & Scheme Name Only */
.details-hero-photo-strip {
    background-color: #580a11;
    background-image:
        linear-gradient(180deg, rgba(76, 5, 25, 0.78) 0%, rgba(30, 2, 8, 0.9) 100%),
        url('../images/punjab_hero_bg.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 30px 16px 32px;
    text-align: center;
    border-bottom: 3.5px solid var(--gold-primary, #f59e0b);
    position: relative;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14);
}

.details-hero-title {
    margin: 0;
    font-size: clamp(1.25rem, 3.2vw, 1.85rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.details-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.details-layout-grid {
    display: grid;
    grid-template-columns: 1.28fr 0.82fr;
    gap: 26px;
    align-items: start;
}

/* Left Form Card */
.details-form-card {
    background: linear-gradient(180deg, #f0f6ff 0%, #f8fbff 100%);
    border: 1.5px solid #dbeafe;
    border-radius: 20px;
    padding: 24px 26px;
    box-shadow: 0 10px 30px -5px rgba(37, 99, 235, 0.08), 0 2px 8px -2px rgba(15, 23, 42, 0.03);
    position: relative;
}

.details-form-header {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #dbeafe;
}

.details-heading {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.details-form-body {
    display: flex;
    flex-direction: column;
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Material Design Floating Label Pattern */
.floating-group {
    position: relative;
    margin-bottom: 14px;
}

.floating-input {
    width: 100%;
    height: 52px;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #0f172a;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.floating-input.with-end-icon {
    padding-right: 44px;
}

.floating-input:focus {
    border-color: #2563eb;
    background-color: #ffffff;
    box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.14);
}

/* End Icons positioned inside the input box on right */
.floating-end-icon {
    position: absolute;
    right: 15px;
    top: 26px;
    transform: translateY(-50%);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: color 0.2s ease;
    z-index: 2;
}

.floating-input:focus~.floating-end-icon {
    color: #2563eb;
}

.floating-label {
    position: absolute;
    left: 14px;
    top: 26px;
    transform: translateY(-50%);
    background: #ffffff;
    padding: 0 6px;
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 500;
    pointer-events: none;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 4px;
    line-height: 1;
    z-index: 2;
}

/* Float label onto border when focused or non-empty */
.floating-input:focus~.floating-label,
.floating-input:not(:placeholder-shown)~.floating-label {
    top: 0;
    transform: translateY(-50%) scale(0.85);
    transform-origin: left center;
    color: #2563eb;
    font-weight: 700;
    background: #f2f7ff;
}

/* Eliminate Gap between Postal PIN Code and State:
   Collapse pin-feedback completely when empty */
.pin-feedback {
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 5px;
    min-height: 0 !important;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.pin-feedback:empty {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.pin-feedback.loading {
    color: #2563eb;
    padding: 2px 4px;
}

.pin-feedback.success {
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 3px 8px;
    display: inline-flex;
}

.pin-feedback.warning {
    color: #b45309;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 6px;
    padding: 3px 8px;
    display: inline-flex;
}

.btn-details-proceed {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 0 22px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-details-proceed:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(29, 78, 216, 0.42);
}

.btn-details-proceed:active {
    transform: translateY(0);
}

/* Security Trust Bar */
.details-security-note {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    padding: 8px 12px;
    margin-top: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.details-security-note .sec-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 400;
    color: #64748b;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.details-security-note .sec-item svg {
    flex-shrink: 0;
}

/* Right Summary Column */
/* Right Summary Column - Redesigned Luxury Ticket Pass */
.details-summary-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 22px 20px 20px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 2px 8px -2px rgba(15, 23, 42, 0.03);
    position: sticky;
    top: 85px;
}

.details-summary-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.summary-header-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.summary-eyebrow {
    font-size: 0.65rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.summary-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.summary-live-badge {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    padding: 4px 9px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 1px 2px rgba(4, 120, 87, 0.06);
    flex-shrink: 0;
}

/* Scheme Card - Official Ticket Pass Header */
.summary-scheme-card {
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border: 1px solid #dbeafe;
    border-radius: 14px;
    padding: 13px 14px;
    margin-bottom: 12px;
}

.scheme-lottery-badge {
    font-size: 0.64rem;
    font-weight: 800;
    color: #2563eb;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.summary-scheme-title {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 9px;
    line-height: 1.3;
}

.scheme-meta-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.scheme-badge-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 3px 8px;
    font-size: 0.72rem;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.scheme-badge-pill strong {
    color: #0f172a;
    font-weight: 700;
}

/* Reserved Tickets Card */
.summary-tickets-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 13px 14px;
    margin-bottom: 12px;
}

.summary-tickets-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
}

.tickets-count-label {
    font-size: 0.76rem;
    font-weight: 700;
    color: #475569;
}

.summary-change-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2.5px 9px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.summary-change-btn:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1e40af;
}

.summary-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    max-height: 140px;
    overflow-y: auto;
    padding: 2px 1px;
}

.summary-ticket-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1.5px solid #fde047;
    color: #854d0e;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    letter-spacing: 0.03em;
    box-shadow: 0 1px 3px rgba(234, 179, 8, 0.15);
}

.chip-ticket-icon {
    font-size: 0.85rem;
    line-height: 1;
}

/* Ticket Perforation Line */
.summary-perforation-line {
    position: relative;
    margin: 16px -20px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.perf-dashes {
    width: 100%;
    border-top: 2px dashed #cbd5e1;
}

.perf-circle {
    width: 18px;
    height: 18px;
    background: #f8fafc;
    border: none;
    border-radius: 50%;
    position: absolute;
    top: -9px;
    z-index: 2;
}

.perf-left {
    left: -9px;
}

.perf-right {
    right: -9px;
}

/* Price Calculation Breakdown */
.summary-price-table {
    margin-bottom: 12px;
}

.summary-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 7px;
}

.summary-price-row .price-val {
    font-weight: 700;
    color: #1e293b;
}

.badge-free-delivery {
    background: #dcfce7;
    color: #15803d;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 1.5px 5px;
    border-radius: 4px;
    margin-left: 5px;
    vertical-align: middle;
}

.summary-price-row .price-free {
    color: #16a34a;
    font-weight: 800;
}

.summary-price-row.total-row {
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
    margin-top: 10px;
    margin-bottom: 0;
    align-items: center;
}

.price-total-info {
    display: flex;
    flex-direction: column;
}

.price-total-lbl {
    font-size: 0.86rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.02em;
}

.price-total-sub {
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 500;
}

.price-total-val {
    font-size: 1.6rem;
    font-weight: 900;
    color: #16a34a;
    letter-spacing: -0.02em;
}

/* Speed Post Dispatch Guarantee */
.summary-dispatch-guarantee {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 8px 11px;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.7rem;
    color: #166534;
    font-weight: 500;
    line-height: 1.35;
}

.summary-dispatch-guarantee svg {
    flex-shrink: 0;
}

.label-with-manual-opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.label-with-manual-opt .details-label {
    margin-bottom: 0;
}

.manual-opt-tag {
    font-size: 0.68rem;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 1.5px 6.5px;
    border-radius: 4px;
}

.manual-fallback-bar {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 0.76rem;
    color: #64748b;
    margin-top: -4px;
    margin-bottom: 18px;
    line-height: 1.4;
}

.manual-fallback-bar strong {
    color: #1e293b;
}

.details-hero-showcase {
    margin-bottom: 18px;
}

@media (max-width: 920px) {
    .details-layout-grid {
        grid-template-columns: 1fr;
    }

    .details-form-card {
        order: 1 !important;
        padding: 20px 16px;
    }

    .details-summary-col {
        order: 2 !important;
    }

    .details-summary-card {
        position: static;
        padding: 16px;
    }

    .form-row-2col {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .details-heading {
        font-size: 1.25rem;
    }

    .btn-details-proceed {
        font-size: 0.96rem;
        padding: 14px 18px;
    }
}

/* ==========================================================================
   OFFICIAL TICKET RECEIPT & PRINT STYLES (SUCCESS.PHP)
   ========================================================================== */

.receipt-wrapper {
    max-width: 820px;
    margin: 30px auto 60px;
    padding: 0 16px;
    box-sizing: border-box;
}

.receipt-success-banner {
    text-align: center;
    margin-bottom: 25px;
}

.receipt-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(34, 197, 94, 0.15);
    border: 2.5px solid #16a34a;
    border-radius: 50%;
    color: #16a34a;
    margin-bottom: 12px;
}

.receipt-success-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: #0f172a;
}

.receipt-success-subtitle {
    color: #64748b;
    font-size: 0.96rem;
    margin-bottom: 16px;
}

.receipt-action-group {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.receipt-btn-print {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #451a03 !important;
    font-weight: 800;
    font-size: 0.92rem;
    padding: 12px 24px;
    border-radius: 10px;
    border: 1px solid #f59e0b;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.receipt-btn-print:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.35);
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #291000 !important;
}

.receipt-btn-track {
    background: #ffffff;
    color: #0f172a !important;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 12px 22px;
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.receipt-btn-track:hover {
    background: #f8fafc;
    border-color: #0284c7;
    color: #0284c7 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.receipt-btn-secondary {
    background: #ffffff;
    color: #0f172a !important;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 12px 22px;
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.receipt-btn-secondary:hover {
    background: #f8fafc;
    border-color: #991b1b;
    color: #991b1b !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ticket-receipt-card {
    background: #ffffff;
    color: #0f172a;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    border: 2.5px solid #991b1b;
    box-sizing: border-box;
}

.ticket-receipt-header {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 60%, #7f1d1d 100%);
    color: #ffffff;
    padding: 22px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3.5px solid #f59e0b;
}

.ticket-receipt-header h2 {
    font-size: 1.45rem;
    color: #ffffff;
    margin-bottom: 2px;
    font-weight: 800;
}

.receipt-status-badge {
    background: #fbbf24;
    color: #7f1d1d;
    font-weight: 900;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: inline-block;
}

.ticket-receipt-body {
    padding: 24px 24px 20px;
}

/* Reference and Helpline Banner */
.receipt-ref-banner {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
}

.receipt-ref-label {
    display: block;
    color: #64748b;
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

.receipt-ref-value {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.02em;
}

.receipt-helpline-col {
    text-align: right;
}

.receipt-helpline-value {
    font-weight: 800;
    color: #0f172a;
    font-size: 0.95rem;
}

/* 2-Column Info Grid */
.receipt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.receipt-info-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 18px;
}

.receipt-section-heading {
    font-size: 0.9rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 6px;
    letter-spacing: 0.01em;
}

.receipt-field {
    margin-bottom: 10px;
}

.receipt-field small {
    display: block;
    color: #64748b;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 2px;
}

.receipt-field strong {
    font-size: 0.9rem;
    color: #0f172a;
    font-weight: 700;
}

.receipt-scheme-name {
    font-size: 0.98rem;
    color: #0f172a;
}

.receipt-draw-datetime {
    color: #b91c1c !important;
}

.receipt-first-prize {
    color: #059669 !important;
    font-size: 1.12rem !important;
}

.receipt-addr-text {
    color: #334155;
    font-size: 0.86rem;
    line-height: 1.5;
    margin: 3px 0 0;
}

/* Allocated Tickets Box */
.receipt-tickets-box {
    background: #fef2f2;
    border: 1.5px dashed #f87171;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
}

.receipt-tickets-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 6px;
}

.receipt-tickets-title {
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 800;
}

.receipt-govt-tag {
    font-size: 0.68rem;
    font-weight: 700;
    color: #dc2626;
    background: #ffffff;
    border: 1px solid #fecaca;
    padding: 2px 8px;
    border-radius: 6px;
}

.receipt-tickets-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.receipt-ticket-num {
    background: #0f172a;
    color: #f59e0b;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 6px 12px;
    border-radius: 8px;
    letter-spacing: 0.04em;
    display: inline-block;
}

/* Payment Summary Table */
.receipt-pay-summary {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 18px;
}

.receipt-pay-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.86rem;
    color: #475569;
    margin-bottom: 7px;
}

.receipt-slip-link {
    color: #2563eb;
    font-weight: 700;
    text-decoration: underline;
}

.receipt-free-tag {
    color: #059669;
    font-weight: 800;
}

.receipt-pay-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1.5px solid #cbd5e1;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

.receipt-total-amt {
    color: #b45309;
    font-size: 1.3rem;
    font-weight: 900;
}

/* Real Code-39 Barcode Styling */
.receipt-real-barcode-wrapper {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 14px 14px;
    text-align: center;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.barcode-security-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    color: #475569;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.barcode-svg-container {
    overflow-x: auto;
    padding: 4px 0;
    display: flex;
    justify-content: center;
}

.barcode-svg-container svg {
    max-width: 100%;
    height: auto;
}

.barcode-human-code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #0f172a;
    margin-top: 6px;
}

/* Security Seal & Signatory Footer */
.receipt-security-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1.5px dashed #cbd5e1;
    padding-top: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.security-seal-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 8px;
    letter-spacing: 0.02em;
}

.security-sign-block {
    text-align: right;
}

.sign-line-bar {
    width: 130px;
    height: 1.5px;
    background: #0f172a;
    margin-bottom: 4px;
    margin-left: auto;
}

.sign-title {
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    color: #0f172a;
}

.sign-agency {
    display: block;
    font-size: 0.66rem;
    color: #64748b;
    font-weight: 600;
}

.receipt-legal-terms {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.5;
    margin-top: 14px;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
}

/* MOBILE RESPONSIVE RECEIPT */
@media (max-width: 768px) {
    .receipt-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        margin: 10px auto 30px !important;
        padding: 0 8px !important;
    }

    .receipt-action-group {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .receipt-btn-print,
    .receipt-btn-track,
    .receipt-btn-secondary {
        width: 100% !important;
        justify-content: center !important;
        padding: 13px 18px !important;
        box-sizing: border-box !important;
        font-size: 0.95rem !important;
    }

    .ticket-receipt-card {
        border-radius: 14px !important;
        border-width: 2px !important;
    }

    .ticket-receipt-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        padding: 16px 16px 14px !important;
    }

    .ticket-receipt-header div:nth-child(2) {
        text-align: left !important;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .ticket-receipt-header div:nth-child(2) p {
        margin-top: 0 !important;
    }

    .ticket-receipt-body {
        padding: 16px 12px 14px !important;
    }

    .receipt-ref-banner {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 10px 14px !important;
        gap: 6px !important;
    }

    .receipt-helpline-col {
        text-align: left !important;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .receipt-ref-value {
        font-size: 1.15rem !important;
    }

    .receipt-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .receipt-info-card {
        padding: 14px 14px !important;
    }

    .receipt-tickets-box {
        padding: 12px 14px !important;
    }

    .receipt-tickets-top {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
    }

    .receipt-pay-summary {
        padding: 12px 14px !important;
    }

    .receipt-security-footer {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .security-sign-block {
        text-align: left !important;
        width: 100%;
    }

    .sign-line-bar {
        margin-left: 0 !important;
    }
}

/* ==========================================================================
   PRINT STYLES FOR OFFICIAL PHYSICAL TICKET RECEIPT
   ========================================================================== */
@media print {
    @page {
        size: A4 portrait;
        margin: 8mm 10mm;
    }

    html,
    body {
        background: #ffffff !important;
        color: #000000 !important;
        padding: 0 !important;
        margin: 0 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .no-print,
    .main-header,
    .main-footer,
    .top-ticker,
    .floating-call-btn,
    .mobile-bottom-nav,
    #copyToast,
    nav,
    footer {
        display: none !important;
    }

    .receipt-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .ticket-receipt-card {
        border: 2.5px solid #991b1b !important;
        box-shadow: none !important;
        border-radius: 8px !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .ticket-receipt-header {
        background: #991b1b !important;
        color: #ffffff !important;
        padding: 16px 20px !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .receipt-status-badge {
        background: #f59e0b !important;
        color: #7f1d1d !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .receipt-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 14px !important;
    }

    .receipt-info-card {
        background: #f8fafc !important;
        border: 1px solid #cbd5e1 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .receipt-tickets-box {
        background: #fff1f2 !important;
        border-color: #f87171 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .receipt-ticket-num {
        background: #0f172a !important;
        color: #f59e0b !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .receipt-pay-summary {
        background: #f8fafc !important;
        border: 1px solid #cbd5e1 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .receipt-real-barcode-wrapper {
        border: 1px solid #cbd5e1 !important;
        box-shadow: none !important;
        padding: 10px !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .barcode-svg-container svg {
        filter: none !important;
    }
}

/* ==========================================================================
   SCHEME OFFICIAL PRIZES & WINNERS BREAKDOWN (DYNAMIC PER SCHEME)
   - Completely flat & crisp typography (ZERO text-shadow & ZERO box-shadow)
   - Premium shining light sweep animation on the First Prize Champion row
   ========================================================================== */
.scheme-leaderboard-section {
    width: 100%;
    max-width: 920px;
    margin: 24px auto 28px auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.scheme-leaderboard-card {
    background: #230438;
    border: 2px solid #ffd700;
    border-radius: 24px;
    padding: 24px 26px 22px 26px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    box-shadow: none !important;
    filter: none !important;
}

/* Card Scheme Header (Clean & Minimal Scheme Title Only) */
.slb-card-header {
    text-align: center;
    padding: 16px 16px 26px 16px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.25);
    margin-bottom: 24px;
}

.slb-card-scheme-title {
    color: #ffffff;
    font-size: 1.65rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.25;
    text-shadow: none !important;
}

/* Card Draw Date & Time Meta (Ultra-Premium Borderless & Backgroundless) */
.slb-card-draw-meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 18px;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.slb-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    line-height: 1.2;
}

.slb-meta-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    flex-shrink: 0;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.slb-meta-text-box {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.slb-meta-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #ffd700;
    text-transform: uppercase;
    line-height: 1.2;
    text-shadow: none !important;
}

.slb-meta-val {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-shadow: none !important;
}

.slb-meta-v-sep {
    width: 1px;
    height: 32px;
    background: rgba(255, 215, 0, 0.35);
    margin: 0 6px;
    display: block;
}

/* 4-Column Table Header Row (Rank, Prize Tier, Winners, Amount) */
.slb-header-row {
    display: grid;
    grid-template-columns: 75px 1.4fr 1.1fr auto;
    align-items: center;
    padding: 0 16px 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 10px;
    gap: 12px;
}

.slb-th {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #c4b5fd;
    text-transform: uppercase;
    text-shadow: none !important;
}

.slb-th-rank {
    text-align: center;
}

.slb-th-prize {
    text-align: left;
    padding-left: 4px;
}

.slb-th-winners {
    text-align: center;
}

.slb-th-amount {
    text-align: right;
}

/* Rows List */
.slb-rows-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.slb-row {
    display: grid;
    grid-template-columns: 75px 1.4fr 1.1fr auto;
    align-items: center;
    padding: 11px 16px;
    border-radius: 14px;
    box-sizing: border-box;
    position: relative;
    box-shadow: none !important;
    filter: none !important;
    transition: transform 0.15s ease;
    gap: 12px;
}

.slb-row:hover {
    transform: translateY(-1px);
}

/* Rank 1 Champion Row (Magenta/Pink Banner with Shining Light Sweep) */
.slb-row-champion {
    background: linear-gradient(90deg, #d80064 0%, #ea006f 48%, #b80053 100%);
    border: 1.5px solid #ffd700;
    box-shadow: none !important;
    overflow: hidden;
}

/* Shining Light Sweep Effect */
.slb-row-champion::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 50%;
    height: 200%;
    background: linear-gradient(115deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.12) 25%,
            rgba(255, 255, 255, 0.7) 50%,
            rgba(255, 255, 255, 0.12) 75%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(25deg);
    animation: championShineSweep 3.2s infinite cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 5;
}

@keyframes championShineSweep {
    0% {
        left: -150%;
    }

    40% {
        left: 220%;
    }

    100% {
        left: 220%;
    }
}

/* Standard Rows (Ranks 2+) */
.slb-row-standard {
    background: #350852;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none !important;
}

/* Rank Column */
.slb-rank-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 6;
}

.slb-crown-wrapper {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffd700;
    line-height: 1;
    z-index: 7;
    filter: none !important;
}

.slb-rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1;
    user-select: none;
    text-shadow: none !important;
}

.slb-bracket {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1;
    text-shadow: none !important;
}

.slb-row-champion .slb-bracket {
    color: #ffd700;
}

.slb-row-standard.slb-rank-3 .slb-bracket {
    color: #f97316;
}

.slb-row-standard .slb-bracket {
    color: #e9d5ff;
}

.slb-circle-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid #ffffff;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1;
    box-sizing: border-box;
    text-shadow: none !important;
}

.slb-row-champion .slb-circle-badge {
    background: rgba(0, 0, 0, 0.18);
}

.slb-row-standard .slb-circle-badge {
    background: rgba(0, 0, 0, 0.25);
}

/* 2. Prize Tier Name Column */
.slb-prize-col {
    padding-left: 4px;
    min-width: 0;
    z-index: 6;
}

.slb-prize-title {
    display: block;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    text-shadow: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slb-row-champion .slb-prize-title {
    font-size: 1.1rem;
    font-weight: 600;
}

/* 3. Dedicated Winners Number Column */
.slb-winners-col {
    text-align: center;
    z-index: 6;
}

.slb-winners-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.25;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    text-shadow: none !important;
    box-shadow: none !important;
    white-space: nowrap;
}

.slb-row-champion .slb-winners-pill {
    background: rgba(255, 215, 0, 0.2);
    color: #fff9c4;
    border-color: rgba(255, 215, 0, 0.5);
    font-weight: 500;
}

/* 4. Prize Amount Column */
.slb-amount-col {
    text-align: right;
    white-space: nowrap;
    z-index: 6;
}

.slb-prize-amount {
    color: #ffd700;
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: 0.01em;
    text-shadow: none !important;
}

.slb-row-champion .slb-prize-amount {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffd700;
}

/* Responsive adjustments for mobile devices */
@media (max-width: 600px) {
    .scheme-leaderboard-section {
        padding: 0 6px;
        margin: 14px auto 18px auto;
    }

    .scheme-leaderboard-card {
        padding: 14px 10px 12px 10px;
        border-radius: 16px;
        border-width: 1.5px;
    }

    .slb-card-header {
        padding: 12px 6px 20px 6px;
        margin-bottom: 18px;
    }

    .slb-card-scheme-title {
        font-size: 1.3rem;
        font-weight: 800;
    }

    .slb-card-draw-meta {
        gap: 14px;
        margin-top: 14px;
    }

    .slb-meta-item {
        gap: 7px;
    }

    .slb-meta-icon-box svg {
        width: 17px;
        height: 17px;
    }

    .slb-meta-label {
        font-size: 0.62rem;
    }

    .slb-meta-val {
        font-size: 0.88rem;
    }

    .slb-meta-v-sep {
        height: 28px;
        margin: 0 3px;
    }

    .slb-header-row {
        grid-template-columns: 46px 1fr 1fr auto;
        padding: 0 4px 8px 4px;
        margin-bottom: 8px;
        gap: 6px;
    }

    .slb-th {
        font-size: 0.65rem;
        font-weight: 600;
        letter-spacing: 0.08em;
    }

    .slb-row {
        grid-template-columns: 46px 1fr 1fr auto;
        padding: 9px 8px;
        border-radius: 12px;
        gap: 6px;
    }

    .slb-crown-wrapper {
        top: -11px;
    }

    .slb-crown-wrapper svg {
        width: 16px;
        height: 13px;
    }

    .slb-bracket {
        font-size: 1.05rem;
        font-weight: 600;
    }

    .slb-circle-badge {
        width: 20px;
        height: 20px;
        font-size: 0.74rem;
        font-weight: 600;
        border-width: 1px;
    }

    .slb-prize-col {
        padding-left: 2px;
    }

    .slb-prize-title {
        font-size: 0.82rem;
        font-weight: 600;
    }

    .slb-row-champion .slb-prize-title {
        font-size: 0.85rem;
        font-weight: 600;
    }

    .slb-winners-col {
        text-align: center;
    }

    .slb-winners-pill {
        font-size: 0.68rem;
        font-weight: 500;
        padding: 2px 6px;
    }

    .slb-prize-amount {
        font-size: 0.95rem;
        font-weight: 600;
    }

    .slb-row-champion .slb-prize-amount {
        font-size: 1.02rem;
        font-weight: 700;
    }
}