* {
    box-sizing: border-box;
}

:root {
    --bg-1: #2d6870;
    --bg-2: #6bafb5;
    --text-main: #ffffff;
    --text-soft: #d5ebee;
    --text-muted: #a7c3c7;
    --accent-1: #facc15;
    --accent-2: #f97316;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-strong: rgba(2, 6, 23, 0.62);
    --border-soft: rgba(255, 255, 255, 0.08);
    --ui-scale: 1;
}

body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    background: #6faeb4;
    color: var(--text-main);
    overflow-x: hidden;
}

.lux-bg {
    display: none;
}

@keyframes bgMove {
    from { transform: translateY(0); }
    to { transform: translateY(-50px); }
}

.home-navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 28px 0 12px;
    gap: 8px;
}

.brand-logo {
    width: 146px;
    filter: drop-shadow(0 0 22px rgba(250, 204, 21, 0.68));
}

.verified-badge {
    font-size: 11px;
    background: rgba(250, 204, 21, 0.15);
    padding: 5px 12px;
    border-radius: 999px;
    color: var(--accent-1);
    letter-spacing: 0.3px;
}

.system-chip {
    padding: 5px 12px;
    font-size: 10px;
    border-radius: 999px;
    color: #86efac;
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.28);
}

.hero {
    text-align: center;
    padding: 58px 16px 40px;
    background: linear-gradient(135deg, rgba(19, 61, 66, 0.5), rgba(98, 162, 168, 0.22));
    border: 1px solid rgba(182, 228, 231, 0.18);
    border-radius: 20px;
    width: min(1160px, calc(100% - 28px));
    margin: 0 auto;
    box-shadow: 0 12px 24px rgba(8, 32, 36, 0.18);
}

.hero h1 {
    margin: 0;
    font-size: clamp(30px, 4.8vw, 46px);
    font-weight: 900;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.jackpot {
    font-size: clamp(42px, 7vw, 70px);
    font-weight: 900;
    color: var(--accent-1);
    margin: 24px 0;
    text-shadow: 0 0 40px rgba(250, 204, 21, 0.88);
    animation: jackPulse 2.5s infinite;
}

@keyframes jackPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.035); }
    100% { transform: scale(1); }
}

.hero-desc {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-soft);
    line-height: 1.65;
    transition: opacity 0.25s ease;
    font-size: 14px;
}

.hero-pills {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.hero-pill {
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #dbeafe;
}

.risk-note {
    margin: 14px auto 0;
    max-width: 760px;
    padding: 12px 14px;
    font-size: 12px;
    color: var(--text-soft);
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
}

.risk-note strong {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    color: #e2e8f0;
    letter-spacing: 0.2px;
}

.risk-note p {
    margin: 0;
}

.risk-note p + p {
    margin-top: 7px;
}

.btn-primary {
    display: inline-block;
    margin-top: 18px;
    padding: 13px 34px;
    border-radius: 30px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    color: #0b1120;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(250, 204, 21, 0.35);
}

#homeStats {
    position: relative;
    z-index: 2;
    max-width: 1030px;
    margin: -10px auto 10px;
    padding: 0 16px;
}

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 8px;
    background: var(--surface-strong);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 8px;
    backdrop-filter: blur(8px);
}

.home-stat-card {
    position: relative;
    padding: 10px 11px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.22s ease;
}

.home-stat-card::after {
    content: none;
}

.home-stat-card:hover {
    transform: translateY(-2px);
}

.home-stat-label {
    display: block;
    font-size: 10px;
    color: var(--text-soft);
    margin-bottom: 4px;
}

.home-stat-value {
    font-size: 14px;
    color: var(--accent-1);
}

.trust-section {
    padding: 24px 16px 10px;
    text-align: center;
    background: rgba(16, 53, 58, 0.28);
    border-top: 1px solid rgba(190, 228, 231, 0.14);
    border-bottom: 1px solid rgba(190, 228, 231, 0.14);
    margin-top: 14px;
}

.trust-section h2,
.live-activity h2,
.provider-section h2 {
    margin: 0;
    font-size: clamp(20px, 3.1vw, 30px);
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trust-grid {
    max-width: 1080px;
    margin: 14px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.trust-card {
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.trust-card span {
    display: block;
    font-size: 10px;
    color: var(--text-soft);
}

.trust-card b {
    display: block;
    margin-top: 4px;
    font-size: 20px;
    color: #e2e8f0;
}

.trust-card p {
    margin: 6px 0 0;
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.45;
}

.live-activity {
    padding: 30px 16px 10px;
    text-align: center;
    background: rgba(101, 165, 171, 0.16);
    border-top: 1px solid rgba(190, 228, 231, 0.14);
    border-bottom: 1px solid rgba(190, 228, 231, 0.14);
    margin-top: 14px;
}

.activity-box {
    max-width: 980px;
    margin: 14px auto;
    min-height: 248px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    padding: 4px 10px;
    overflow: hidden;
}

/* Keep live winner box snug to content (no empty blank area) */
.activity-box {
    min-height: 0 !important;
    height: auto !important;
}

#activityList {
    list-style: none;
    margin: 0;
    padding: 0;
    transform: translateY(0);
}

#activityList.ticker-animate {
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    transform: translateY(calc(var(--ticker-shift, 0px) * -1));
}

#activityList .activity-item {
    padding: 10px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
    display: grid;
    grid-template-columns: minmax(78px, auto) minmax(120px, auto) 1fr minmax(70px, auto);
    gap: 8px;
    align-items: center;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

#activityList .activity-item.show {
    opacity: 1;
    transform: translateY(0);
}

#activityList .winner-name {
    color: var(--text-soft);
    font-weight: 500;
    text-align: left;
}

#activityList .winner-amount {
    text-align: left;
    font-weight: 700;
    color: var(--accent-1);
}

#activityList .winner-amount.tier-gold {
    color: #facc15;
}

#activityList .winner-amount.tier-silver {
    color: #cbd5e1;
}

#activityList .winner-amount.tier-bronze {
    color: #d97706;
}

#activityList .winner-game {
    color: #cbd5e1;
    font-size: 11px;
    text-align: left;
}

#activityList .winner-time {
    color: var(--text-muted);
    font-size: 10px;
    text-align: right;
}

.provider-section {
    padding: 30px 16px 48px;
    text-align: center;
    background: rgba(16, 56, 62, 0.24);
    border-top: 1px solid rgba(190, 228, 231, 0.14);
    margin-top: 14px;
}

.provider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    max-width: 1120px;
    margin: 14px auto 0;
}

.provider-card {
    padding: 13px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 12px;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.provider-card:hover {
    transform: translateY(-3px);
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    color: #0b1120;
}

.provider-card.highlight {
    border-color: var(--accent-1);
    box-shadow: 0 0 18px rgba(250, 204, 21, 0.18);
}

/* Remove special mark on specific provider cards (Pragmatic/PG Soft) */
.provider-card.elite {
    border-color: transparent !important;
    box-shadow: none !important;
}

.footer {
    padding: 14px 14px 22px;
    text-align: center;
    color: #e6f6f8;
}

.footer p {
    margin: 0;
    font-size: 11px;
}

@media (max-width: 900px) {
    .home-navbar {
        padding: 20px 0 10px;
        gap: 6px;
    }

    .hero {
        padding: 42px 12px 28px;
    }

    .hero h1 {
        font-size: clamp(27px, 6.2vw, 36px);
    }

    .jackpot {
        margin: 18px 0;
    }

    .activity-box {
        min-height: 206px;
        padding: 4px 8px;
    }

    #activityList .activity-item {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    #activityList .winner-time {
        text-align: left;
    }

    .provider-section {
        padding-bottom: 34px;
    }
}

@media (max-width: 768px) {
    .brand-logo {
        width: 122px;
    }

    #homeStats {
        padding: 0 10px;
        margin: -6px auto 8px;
    }

    .home-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        padding: 7px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .provider-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .provider-card {
        min-height: 44px;
        display: grid;
        place-items: center;
        font-size: 11px;
        letter-spacing: 0.2px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 34px 10px 22px;
    }

    .hero-desc {
        font-size: 12px;
        line-height: 1.55;
    }

    .hero-pills {
        gap: 6px;
    }

    .hero-pill {
        font-size: 9px;
        padding: 5px 9px;
    }

    .risk-note {
        font-size: 10px;
        margin-top: 8px;
        padding: 10px 11px;
        line-height: 1.5;
    }

    .btn-primary {
        width: min(100%, 290px);
        padding: 12px 16px;
        font-size: 12px;
        border-radius: 14px;
    }

    #homeStats {
        margin: -4px auto 8px;
        padding: 0 8px;
    }

    .home-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .home-stat-label {
        font-size: 9px;
    }

    .home-stat-value {
        font-size: 13px;
    }

    .trust-section,
    .live-activity,
    .provider-section {
        padding-left: 10px;
        padding-right: 10px;
    }

    .trust-card {
        padding: 10px;
    }

    .trust-card b {
        font-size: 18px;
    }

    .activity-box {
        min-height: 188px;
        border-radius: 12px;
        margin-top: 10px;
    }

    #activityList .activity-item {
        padding: 8px 2px;
        font-size: 11px;
    }

    #activityList .winner-game {
        font-size: 10px;
    }

    #activityList .winner-time {
        font-size: 9px;
    }

    .provider-grid {
        gap: 7px;
    }

    .provider-card {
        padding: 10px 8px;
        border-radius: 12px;
        font-size: 10px;
    }

    .footer p {
        font-size: 10px;
    }
}

@media (max-width: 420px) {
    .verified-badge,
    .system-chip {
        max-width: calc(100vw - 20px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .jackpot {
        font-size: 38px;
    }

    .home-stats-grid {
        grid-template-columns: 1fr;
    }

    .provider-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* ================= PHONE ONLY OVERRIDE (DESKTOP SAFE) ================= */
@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }

    .home-navbar,
    .hero,
    #homeStats,
    .trust-section,
    .live-activity,
    .provider-section,
    .footer {
        width: 100%;
        max-width: 100%;
    }

    .hero {
        padding: 36px 12px 24px;
    }

    .hero h1 {
        font-size: clamp(24px, 7.5vw, 32px);
        line-height: 1.2;
    }

    .jackpot {
        font-size: clamp(34px, 10.8vw, 50px);
        margin: 14px 0;
    }

    .hero-desc {
        font-size: 12px;
        line-height: 1.55;
        max-width: 100%;
    }

    .btn-primary {
        width: min(100%, 320px);
        padding: 12px 14px;
        border-radius: 12px;
    }

    #homeStats {
        margin: 2px auto 10px;
        padding: 0 10px;
    }

    .home-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 8px;
    }

    .home-stat-card {
        min-width: 0;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .activity-box {
        min-height: 196px;
        padding: 4px 8px;
    }

    #activityList .activity-item {
        grid-template-columns: 1fr;
        gap: 3px;
        padding: 8px 2px;
        min-width: 0;
    }

    #activityList .winner-name,
    #activityList .winner-amount,
    #activityList .winner-game,
    #activityList .winner-time {
        min-width: 0;
        text-align: left;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .provider-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .provider-card {
        min-height: 46px;
        padding: 10px 8px;
        font-size: 11px;
        min-width: 0;
    }
}

@media (max-width: 420px) {
    .home-stats-grid {
        grid-template-columns: 1fr;
    }

    .provider-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero h1 {
        font-size: 22px;
    }

    .jackpot {
        font-size: 34px;
    }
}

/* ================= DESKTOP COMPACT + FLUID SCALE ================= */
@media (min-width: 769px) {
    .home-navbar,
    .hero,
    #homeStats,
    .trust-section,
    .live-activity,
    .provider-section,
    .footer {
        width: min(1200px, calc(100% - 44px));
        margin-left: auto;
        margin-right: auto;
    }

    .home-navbar {
        padding: clamp(22px, 2.5vw, 34px) 0 12px;
        gap: 8px;
    }

    .brand-logo {
        width: clamp(128px, 11vw, 164px);
    }

    .hero {
        padding: clamp(42px, 5.2vw, 72px) 0 clamp(26px, 3vw, 40px);
    }

    .hero h1 {
        font-size: clamp(34px, 4.8vw, 56px);
        line-height: 1.08;
    }

    .jackpot {
        font-size: clamp(52px, 7.2vw, 84px);
        margin: clamp(16px, 2vw, 28px) 0;
    }

    .hero-desc {
        max-width: min(840px, 92%);
        font-size: clamp(14px, 1.15vw, 16px);
        line-height: 1.7;
    }

    .hero-pills {
        gap: 10px;
        margin-top: 16px;
    }

    .hero-pill {
        font-size: clamp(10px, 0.85vw, 12px);
        padding: 7px 12px;
    }

    .btn-primary {
        margin-top: 20px;
        font-size: clamp(13px, 0.95vw, 15px);
        padding: 14px 34px;
    }

    #homeStats {
        margin-top: 2px;
        margin-bottom: 12px;
        padding: 0;
    }

    .home-stats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
        padding: 10px;
    }

    .home-stat-card {
        padding: 12px;
    }

    .home-stat-label {
        font-size: clamp(10px, 0.78vw, 11px);
    }

    .home-stat-value {
        font-size: clamp(14px, 1.05vw, 17px);
    }

    .trust-section,
    .live-activity,
    .provider-section {
        padding-left: 0;
        padding-right: 0;
    }

    .trust-section h2,
    .live-activity h2,
    .provider-section h2 {
        font-size: clamp(24px, 2.7vw, 36px);
    }

    .trust-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }

    .trust-card {
        padding: 14px;
    }

    .trust-card b {
        font-size: clamp(20px, 1.9vw, 28px);
    }

    .activity-box {
        min-height: clamp(220px, 27vw, 300px);
        padding: 6px 12px;
    }

    #activityList .activity-item {
        grid-template-columns: minmax(90px, auto) minmax(150px, auto) 1fr minmax(90px, auto);
        font-size: clamp(12px, 0.95vw, 14px);
        gap: 10px;
    }

    #activityList .winner-game,
    #activityList .winner-time {
        font-size: clamp(10px, 0.78vw, 12px);
    }

    .provider-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }

    .provider-card {
        padding: 14px 10px;
        min-height: 50px;
        font-size: clamp(11px, 0.9vw, 13px);
        border-radius: 14px;
    }

    .footer {
        padding: 16px 0 26px;
    }

    .footer p {
        font-size: clamp(11px, 0.85vw, 13px);
    }
}

/* ================= DESKTOP ZOOM CONTROL ================= */
.scale-controls {
    position: fixed;
    right: 16px;
    top: 14px;
    z-index: 60;
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    border-radius: 12px;
    background: rgba(2, 6, 23, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.scale-controls button {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #f8fafc;
    font-size: 11px;
    font-weight: 700;
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
}

.scale-controls button:hover {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    color: #111827;
    border-color: transparent;
}

@media (min-width: 769px) {
    body {
        zoom: var(--ui-scale);
    }
}

@media (max-width: 768px) {
    .scale-controls {
        display: none;
    }

    body {
        zoom: 1;
    }
}


.feed-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.feed-status.real {
    color: #86efac;
    background: rgba(34, 197, 94, 0.14);
    border-color: rgba(34, 197, 94, 0.35);
}

.feed-status.sim {
    color: #fde68a;
    background: rgba(250, 204, 21, 0.12);
    border-color: rgba(250, 204, 21, 0.3);
}

@media (max-width: 768px) {
    .feed-status {
        font-size: 10px;
        padding: 5px 9px;
        margin-top: 6px;
    }
}

/* Hide time column in Live Winner Activity */
#activityList .winner-time {
    display: none !important;
}

#activityList .activity-item {
    grid-template-columns: minmax(78px, auto) minmax(120px, auto) 1fr !important;
}

/* Final live winner layout: no empty space + centered block */
.activity-box {
    min-height: 0 !important;
    height: auto !important;
    padding-top: 8px;
    padding-bottom: 8px;
}

#activityList {
    width: min(920px, 100%);
    margin-left: auto;
    margin-right: auto;
}

/* ================= HOME BRAND + TITLE SIZE ADJUST ================= */
.home-navbar .brand-logo {
    width: 132px;
}

.hero h1 {
    font-size: clamp(26px, 4.1vw, 40px);
}

@media (min-width: 769px) {
    .home-navbar .brand-logo {
        width: 138px;
    }

    .hero h1 {
        font-size: clamp(30px, 3.9vw, 46px);
    }
}

@media (max-width: 768px) {
    .home-navbar .brand-logo {
        width: 108px;
    }

    .hero h1 {
        font-size: clamp(21px, 6.8vw, 29px);
    }
}

/* ================= FINAL SIZE REQUEST ================= */
.home-navbar .brand-logo {
    width: 170px;
}

.hero h1 {
    font-size: clamp(24px, 3.2vw, 36px);
}

@media (max-width: 768px) {
    .home-navbar .brand-logo {
        width: 126px;
    }

    .hero h1 {
        font-size: clamp(20px, 6.2vw, 28px);
    }
}

/* ================= SIZE TWEAK LATEST ================= */
.home-navbar .brand-logo {
    width: 188px;
}

.hero h1 {
    font-size: clamp(22px, 2.8vw, 32px);
}

.jackpot {
    font-size: clamp(38px, 5.2vw, 62px);
}

@media (max-width: 768px) {
    .home-navbar .brand-logo {
        width: 136px;
    }

    .hero h1 {
        font-size: clamp(18px, 5.8vw, 24px);
    }

    .jackpot {
        font-size: clamp(30px, 10vw, 44px);
    }
}



/* ================= MOBILE LOGO BOOST ================= */
@media (max-width: 768px) {
    .home-navbar {
        padding-top: 10px !important;
    }

    .home-navbar .brand-logo {
        width: 156px !important;
    }
}

/* ================= HOME SYNC WITH DASHBOARD ================= */
.home-navbar {
    padding: 18px 14px 14px;
    border: 1px solid rgba(174, 226, 230, 0.24);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(12, 44, 51, 0.9), rgba(20, 65, 73, 0.78));
    box-shadow: 0 10px 22px rgba(6, 28, 32, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(7px);
}

.hero,
#homeStats .home-stats-grid,
.trust-section,
.live-activity,
.provider-section {
    border-color: rgba(176, 226, 230, 0.24);
    box-shadow: 0 10px 22px rgba(6, 28, 32, 0.14);
}

#homeStats .home-stats-grid {
    background: linear-gradient(130deg, rgba(11, 44, 52, 0.88), rgba(38, 96, 103, 0.76));
}

.trust-card,
.activity-box,
.provider-card,
.home-stat-card {
    background: rgba(12, 49, 57, 0.52);
    border: 1px solid rgba(176, 226, 230, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.activity-box {
    background: linear-gradient(145deg, rgba(11, 45, 53, 0.74), rgba(34, 88, 95, 0.62));
}

.provider-card:hover {
    box-shadow: 0 12px 20px rgba(8, 28, 32, 0.24);
}

.system-chip {
    background: rgba(106, 174, 180, 0.22);
    border-color: rgba(183, 232, 236, 0.32);
    color: #d8f4f7;
}

@media (max-width: 768px) {
    .home-navbar {
        border-radius: 16px 16px 0 0;
        padding: 14px 10px 11px !important;
        margin-bottom: 0;
    }

    .hero {
        width: calc(100% - 16px);
        border-radius: 16px;
        margin-top: -1px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .trust-section,
    .live-activity,
    .provider-section {
        border-radius: 14px;
    }
}

/* ================= HOME REBALANCE (DESKTOP + MOBILE) ================= */
@media (min-width: 769px) {
    .home-navbar {
        border-radius: 18px;
        padding: 20px 0 12px;
    }

    .hero {
        border-radius: 18px;
        margin-top: 10px;
        padding: 54px 18px 36px;
    }

    #homeStats {
        margin-top: 8px;
    }

    .trust-section,
    .live-activity,
    .provider-section {
        border-radius: 16px;
        margin-top: 12px;
    }
}

@media (max-width: 768px) {
    .home-navbar,
    .hero,
    #homeStats,
    .trust-section,
    .live-activity,
    .provider-section {
        width: calc(100% - 16px);
        margin-left: auto;
        margin-right: auto;
    }

    .home-navbar {
        border-radius: 16px 16px 0 0;
        padding: 14px 10px 11px !important;
        margin-bottom: 0;
    }

    .hero {
        margin-top: -1px;
        border-radius: 0 0 16px 16px;
        border-top: none;
        padding: 30px 12px 22px;
    }

    #homeStats {
        margin: 10px auto 0;
        padding: 0;
    }

    .trust-section,
    .live-activity,
    .provider-section {
        margin-top: 10px;
        border-radius: 14px;
    }
}

/* Keep top and hero in one identical flat color */
.home-navbar,
.hero {
    background: #2b6971 !important;
}

/* ================= HOME MODERN REFRESH ================= */
body {
    background: #6faeb4;
}

.home-navbar,
.hero {
    width: min(1160px, calc(100% - 44px));
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(210, 242, 245, 0.18);
    box-shadow: 0 14px 34px rgba(7, 32, 38, 0.2);
}

.home-navbar {
    margin-top: 16px;
    margin-bottom: 0;
    padding: 24px 20px 14px;
    border-radius: 18px 18px 0 0;
    background: #1f5660 !important;
}

.hero {
    margin-top: -1px;
    padding: 44px 22px 34px;
    border-radius: 0 0 18px 18px;
    border-top: none;
    background: #1f5660 !important;
}

.home-navbar .brand-logo {
    width: 176px;
    filter: drop-shadow(0 6px 18px rgba(250, 204, 21, 0.28));
}

.verified-badge {
    background: rgba(250, 204, 21, 0.16);
    border: 1px solid rgba(250, 204, 21, 0.18);
}

.system-chip {
    color: #dff8fb;
    background: rgba(139, 214, 220, 0.16);
    border-color: rgba(179, 233, 238, 0.26);
}

.hero h1 {
    font-size: clamp(34px, 4.6vw, 48px);
    letter-spacing: 0.3px;
}

.jackpot {
    margin: 20px 0 16px;
    text-shadow: 0 0 28px rgba(250, 204, 21, 0.52);
}

.hero-desc {
    font-size: clamp(13px, 1.1vw, 15px);
    max-width: 780px;
    color: #d8eef1;
}

.hero-pill {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(214, 242, 245, 0.2);
}

.risk-note {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(220, 244, 246, 0.18);
    border-radius: 14px;
}

.btn-primary {
    margin-top: 20px;
    border-radius: 999px;
    padding: 14px 34px;
    box-shadow: 0 10px 22px rgba(249, 115, 22, 0.22);
}

@media (max-width: 768px) {
    .home-navbar,
    .hero {
        width: calc(100% - 16px);
    }

    .home-navbar {
        margin-top: 8px;
        padding: 14px 10px 10px !important;
        border-radius: 14px 14px 0 0;
    }

    .hero {
        padding: 28px 12px 20px;
        border-radius: 0 0 14px 14px;
    }

    .home-navbar .brand-logo {
        width: 136px !important;
    }
}

/* ================= PROFESSIONAL FINAL OVERRIDE ================= */
:root {
    --pro-bg: #0d2c33;
    --pro-panel: #16464f;
    --pro-panel-2: #1d5660;
    --pro-border: rgba(206, 239, 242, 0.2);
    --pro-text: #e6f6f8;
    --pro-muted: #bcd9dd;
    --pro-accent: #f9bf2a;
}

body {
    background: radial-gradient(circle at 20% 10%, rgba(142, 205, 212, 0.2), transparent 36%), #6caeb4 !important;
    color: var(--pro-text);
}

.home-navbar,
.hero,
#homeStats .home-stats-grid,
.trust-section,
.live-activity,
.provider-section {
    width: min(1160px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

.home-navbar,
.hero {
    border: 1px solid var(--pro-border);
    box-shadow: 0 14px 30px rgba(5, 24, 29, 0.18);
}

.home-navbar {
    margin-top: 16px;
    margin-bottom: 0;
    padding: 20px 16px 12px;
    border-radius: 16px 16px 0 0 !important;
    background: linear-gradient(180deg, var(--pro-panel), var(--pro-panel-2)) !important;
}

.hero {
    margin-top: -1px;
    padding: 36px 20px 26px;
    border-top: none;
    border-radius: 0 0 16px 16px !important;
    background: linear-gradient(180deg, var(--pro-panel), var(--pro-panel-2)) !important;
}

.home-navbar .brand-logo {
    width: 162px !important;
    filter: drop-shadow(0 4px 14px rgba(250, 204, 21, 0.3));
}

.verified-badge {
    background: rgba(249, 191, 42, 0.15);
    border: 1px solid rgba(249, 191, 42, 0.24);
    color: var(--pro-accent);
}

.system-chip {
    color: var(--pro-text);
    background: rgba(182, 224, 229, 0.14);
    border: 1px solid rgba(193, 234, 238, 0.24);
}

.hero h1,
.trust-section h2,
.live-activity h2,
.provider-section h2 {
    background: linear-gradient(90deg, #ffd34d, #ff9f1c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--pro-muted);
}

.hero-pill,
.risk-note,
.home-stat-card,
.trust-card,
.activity-box,
.provider-card {
    background: rgba(7, 36, 42, 0.26);
    border: 1px solid var(--pro-border);
}

#homeStats .home-stats-grid {
    background: linear-gradient(180deg, rgba(20, 70, 78, 0.84), rgba(16, 56, 63, 0.84));
    border: 1px solid var(--pro-border);
    border-radius: 14px;
    box-shadow: 0 10px 20px rgba(6, 28, 33, 0.14);
}

.trust-section,
.live-activity,
.provider-section {
    border-radius: 14px;
    border: 1px solid var(--pro-border);
    background: linear-gradient(180deg, rgba(22, 78, 86, 0.42), rgba(20, 68, 75, 0.42));
    box-shadow: 0 10px 20px rgba(6, 28, 33, 0.12);
}

.btn-primary {
    background: linear-gradient(90deg, #ffd34d, #ff9f1c);
    color: #1b2b30;
    box-shadow: 0 12px 24px rgba(255, 159, 28, 0.24);
}

.provider-card:hover {
    background: linear-gradient(90deg, #ffd34d, #ff9f1c);
    color: #1b2b30;
}

@media (max-width: 768px) {
    .home-navbar,
    .hero,
    #homeStats .home-stats-grid,
    .trust-section,
    .live-activity,
    .provider-section {
        width: calc(100% - 14px);
    }

    .home-navbar {
        margin-top: 8px;
        padding: 14px 10px 10px !important;
        border-radius: 14px 14px 0 0 !important;
    }

    .hero {
        padding: 26px 12px 20px;
        border-radius: 0 0 14px 14px !important;
    }

    .home-navbar .brand-logo {
        width: 136px !important;
    }
}

