/* Golden Numbers first paint.
 *
 * Layout values are copied from Bootstrap 5.3.3 (.container / .row / gutters /
 * .col-lg-5 / .col-lg-7 / .align-items-start) and from premium-numbers.css
 * hero + subnav + header-container rules so deferred stylesheets do not
 * change geometry. Header visual chrome lives in gn-chrome.css.
 */

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

:root {
    --navy: #0F1D4A;
    --navy-light: #1A2E6B;
    --navy-dark: #060B1E;
    --primary: #2563EB;
    --gold: #D4AF37;
    --gold-light: #FCE181;
    --font: Inter, system-ui, sans-serif;
    --serif: "Playfair Display", "Playfair Display Fallback", Georgia, serif;
    --header-height: 62px;
    --gap-xs: 0.35rem;
    --gap-sm: 0.6rem;
    --r-lg: 24px;
}

@font-face {
    font-family: "Playfair Display Fallback";
    src: local("Georgia");
    font-weight: 800;
    font-style: normal;
    size-adjust: 86%;
    ascent-override: 96%;
    descent-override: 22%;
    line-gap-override: 0%;
}

img { max-width: 100%; height: auto; }
body.pb-page {
    font-family: Inter, system-ui, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.d-none { display: none !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.align-items-start { align-items: flex-start !important; }

/* Bootstrap 5.3.3 .container — scoped so styles.css (1400px / 40px) cannot
   paint a wider hero, and so deferred Bootstrap matches this geometry. */
.pb-hero .container.pb-hero-inner,
.pb-subnav > .container {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-right: auto;
    margin-left: auto;
    max-width: 100%;
}
@media (min-width: 576px) {
    .pb-hero .container.pb-hero-inner,
    .pb-subnav > .container { max-width: 540px; }
}
@media (min-width: 768px) {
    .pb-hero .container.pb-hero-inner,
    .pb-subnav > .container { max-width: 720px; }
}
@media (min-width: 992px) {
    .pb-hero .container.pb-hero-inner,
    .pb-subnav > .container { max-width: 960px; }
}
@media (min-width: 1200px) {
    .pb-hero .container.pb-hero-inner,
    .pb-subnav > .container { max-width: 1140px; }
}
@media (min-width: 1400px) {
    .pb-hero .container.pb-hero-inner,
    .pb-subnav > .container { max-width: 1320px; }
}

/* Bootstrap 5.3.3 .row + .g-3 / .g-lg-4, plus premium-numbers .pb-hero .row. */
.pb-hero .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1rem;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}
.pb-hero .row.g-3 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}
@media (min-width: 992px) {
    .pb-hero .row.g-lg-4 {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 1.5rem;
    }
    .pb-hero .row {
        --bs-gutter-y: 1.15rem;
    }
    .pb-hero-layout { align-items: stretch; }
    .pb-hero-copy {
        display: flex;
        flex-direction: column;
        min-height: 100%;
    }
    .pb-hero-search { margin-top: auto; margin-bottom: 0; }
    .pb-hero-aside { justify-content: flex-end; }
}
.pb-hero .row > * {
    box-sizing: border-box;
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-top: var(--bs-gutter-y);
}
@media (min-width: 992px) {
    .pb-hero .col-lg-5 { flex: 0 0 auto; width: 41.66666667%; }
    .pb-hero .col-lg-7 { flex: 0 0 auto; width: 58.33333333%; }
}
@media (max-width: 991.98px) {
    .pb-hero-copy,
    .pb-hero-aside {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .pb-hero-copy { order: 1; }
    .pb-hero-aside { order: 2; align-items: stretch; }
}

.skip-to-main {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-to-main:focus {
    width: auto;
    height: auto;
    margin: 0;
    clip: auto;
    overflow: visible;
    padding: 0.6rem 1rem;
    background: #0F1D4A;
    color: #fff;
    z-index: 4000;
    top: 0.75rem;
    inset-inline-start: 0.75rem;
}

/* premium-numbers.css — header container (beats deferred Bootstrap .container). */
body.pb-page.has-site-header .header .container {
    max-width: 1400px;
    padding-left: 40px;
    padding-right: 40px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 768px) {
    body.pb-page.has-site-header .header .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

#header.header,
header.header {
    position: relative;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
}
body.pb-gn-landing #header.header {
    background: linear-gradient(118deg, #F6E4AC 0%, #E8C56A 42%, #D8B65A 68%, #B68A32 100%);
    border-bottom: 1px solid rgba(15, 29, 74, 0.12);
}
@media (min-width: 1181px) {
    body.pb-gn-landing {
        --header-height: 53px;
    }
    body.pb-gn-landing #header.header,
    body.pb-gn-landing header.header {
        height: var(--header-height);
        min-height: 53px;
        padding-top: 0;
        padding-bottom: 0;
    }
    body.pb-gn-landing #header.header .nav-container,
    body.pb-gn-landing #header.header .navbar {
        min-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        align-items: center;
    }
}

/* premium-numbers.css hero geometry */
.pb-hero {
    position: relative;
    background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 45%, var(--navy-light) 100%);
    color: #fff;
    padding: 2rem 0 3rem;
    overflow: hidden;
}
@media (min-width: 992px) {
    .pb-hero { padding: 2.25rem 0 3.25rem; }
}
@media (max-width: 575.98px) {
    .pb-hero { padding: 1.65rem 0 2.5rem; }
}
.pb-hero-inner { position: relative; z-index: 2; }
.pb-hero-aside {
    min-height: 1px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    padding-top: 0;
}
.pb-hero-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4.6vw, 3.15rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: var(--gap-sm);
    line-height: 1.08;
    letter-spacing: -0.02em;
}
@media (max-width: 767.98px) {
    .pb-hero-title { font-size: clamp(1.7rem, 8vw, 2.25rem); }
}
.pb-title-gold { color: #E8C56A; }
.pb-title-white {
    color: #fff;
    -webkit-text-fill-color: #fff;
}
html[dir="rtl"] .font-serif,
html[dir="rtl"] .pb-hero-title {
    font-family: "SF Arabic", "Geeza Pro", "Noto Naskh Arabic", "Times New Roman", serif;
}
html[dir="rtl"] .pb-title-gold {
    color: #F8E7A1;
    -webkit-text-fill-color: #F8E7A1;
}
.pb-hero-tagline {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--gap-xs);
}
.pb-hero-desc {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    font-size: 0.98rem;
    color: rgba(255,255,255,0.82);
    max-width: 520px;
    margin-bottom: 0.75rem;
    font-weight: 400;
    line-height: 1.55;
}
.pb-hero-desc p { margin: 0; }
.pb-hero-lead {
    font-size: 1rem;
    font-weight: 650;
    color: rgba(255,255,255,0.94);
    line-height: 1.4;
}
.pb-hero-body {
    font-size: 0.98rem;
    font-weight: 400;
    color: rgba(255,255,255,0.82);
    line-height: 1.55;
}
.pb-hero-btns { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.pb-hero .pb-hero-btns .btn-lg {
    min-height: 44px;
    padding-top: 0.42rem;
    padding-bottom: 0.42rem;
}
.pb-pill {
    display: inline-flex; align-items: center; gap: 0.45rem;
    width: max-content;
    max-width: 100%;
    align-self: flex-start;
    flex-wrap: wrap;
    padding: 0.35rem 0.9rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    font-size: 0.8rem; font-weight: 600;
    margin-bottom: var(--gap-sm);
}
html[dir="rtl"] .pb-pill {
    align-self: flex-start;
}
.pb-pill-strong {
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(252, 225, 129, 0.45);
}
.pb-hero-kicker {
    color: rgba(255,255,255,0.78);
    font-weight: 600;
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
}
.pb-hero-search {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--r-lg);
    padding: 0.55rem 0.65rem;
    margin-bottom: 0.85rem;
    width: 100%;
}
.search-mode-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.4rem; }
.search-mode-opt { cursor: pointer; margin: 0; }
.search-mode-opt input { display: none; }
.search-mode-opt span {
    display: block;
    padding: 0.4rem 0.95rem;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 999px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.78);
    border: 1px solid rgba(255,255,255,0.14);
}
.search-preset-row,
.search-preset-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0;
}
.search-preset-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    align-items: stretch;
}
.search-preset {
    border: none;
    padding: 0.38rem 0.55rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    min-width: 0;
    width: 100%;
}
.search-preset-grid .search-input-row--compact {
    grid-column: 4 / -1;
    min-width: 0;
    width: 100%;
    padding: 0.2rem 0.25rem 0.2rem 0.7rem;
}
.search-input-row {
    display: flex; align-items: center; gap: 0.5rem;
    border-radius: 999px;
    padding: 0.35rem 0.35rem 0.35rem 1rem;
}
.search-input-row input { flex: 1; min-width: 0; border: none; background: transparent; font-size: 0.95rem; }
.search-input-row .btn-pb-primary { padding: 0.45rem 1rem; font-size: 0.85rem; flex-shrink: 0; min-height: 44px; }
@media (max-width: 991.98px) {
    .search-preset-grid {
        display: flex;
        flex-wrap: wrap;
    }
    .search-preset-grid .search-preset { width: auto; }
    .search-preset-grid .search-input-row--compact {
        flex: 1 1 100%;
        width: 100%;
        grid-column: auto;
    }
}
.pb-live-player {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 20px;
    padding: 0.75rem;
}
.pb-live-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 0.55rem;
}
.pb-live-heading {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.2rem;
    line-height: 1.25;
}
.pb-live-sub {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(255,255,255,0.72);
}
.btn-pb-primary,
.btn-pb-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 999px;
    text-decoration: none;
}
.btn-pb-primary {
    background: linear-gradient(135deg, var(--primary), #1d4ed8);
    color: #fff;
    border: none;
}
.btn-pb-ghost {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.35);
}

.wa-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.25rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 999px;
    text-decoration: none;
}
.pb-back-top {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 1045;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
}
@media (max-width: 576px) {
    .wa-float span { display: none; }
    .wa-float { padding: 0.9rem; border-radius: 50%; }
}
@media (max-width: 767.98px) {
    html[dir="rtl"] .wa-float { right: auto; left: 1rem; }
}

.pb-live-frame {
    position: relative;
    width: 100%;
    contain: layout;
}
.pb-live-aspect {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 14px;
    overflow: hidden;
    background: #060B1E;
    border: 1px solid rgba(255,255,255,0.1);
    min-height: 0;
}
.pb-live-aspect > .pb-live-poster,
.pb-live-aspect > .pb-live-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block;
}
.pb-live-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 0.75rem;
    margin-top: 0.65rem;
    min-height: 2.45rem;
}
.pb-live-media-btns,
.pb-tier-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}
.pb-tier-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    min-width: 5.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}
.pb-trust {
    padding: 1.25rem 0 1.5rem;
    min-height: 7.25rem;
}
.pb-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}
.pb-trust-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    min-height: 5.2rem;
    border-radius: 18px;
}
@media (max-width: 992px) {
    .pb-trust { min-height: 0; }
    .pb-trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .pb-trust-grid { grid-template-columns: 1fr; }
}
@media (min-width: 993px) {
    #header .nav-menu {
        min-height: 34px;
        height: 34px;
        overflow: visible;
    }
    #header .nav-link {
        line-height: 1.2;
        min-height: 1.35em;
    }
}

/* Subnav: do not shrink labels; scroll the row (including RTL). */
.pb-subnav {
    position: relative;
    z-index: 900;
    background: rgba(6, 11, 30, 0.96);
    overflow: hidden;
}
body.pb-gn-landing .pb-subnav {
    border-bottom: 1px solid #ffffff;
}
.pb-subnav-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0;
    min-height: 44px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: thin;
}
.pb-subnav-link,
.pb-subnav-wa {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.95rem;
    font-size: 0.86rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    border-radius: 999px;
    scroll-margin-inline: 0.75rem;
    min-height: 44px;
}
.pb-subnav-link {
    color: rgba(255,255,255,0.65);
}
.pb-subnav-link.on {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #1d4ed8);
}
.pb-subnav-wa {
    margin-inline-start: auto;
    color: #fff;
    background: linear-gradient(135deg, #25D366, #128C7E);
}
.pb-subnav-link:focus-visible,
.pb-subnav-wa:focus-visible {
    outline: 2px solid #FCE181;
    outline-offset: 2px;
}
html[dir="rtl"] .pb-subnav-inner { direction: rtl; }
@media (max-width: 767.98px) {
    .pb-subnav-inner {
        gap: 0.45rem;
        padding: 0.35rem 0 0.5rem;
    }
    .pb-subnav-link,
    .pb-subnav-wa {
        padding: 0.4rem 0.85rem;
        font-size: 0.8rem;
    }
}
