/* Shared campaign shell, matching the home and rules pages. */
:root { --blue: #0b6cae; --navy: #113d6b; --gold: #d3ae66; --cream: #faf8f2; }
html { scroll-padding-top: 94px; }
body { line-height: 1.7; -webkit-font-smoothing: antialiased; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 110; background: #fff; color: var(--navy); padding: 10px 14px; }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible { outline: 3px solid #d5ad60; outline-offset: 4px; }

.site-header { position: fixed; inset: 0 0 auto; height: 76px; background: #092e63; box-shadow: none; transition: background .25s, box-shadow .25s; }
.site-header.is-scrolled, .site-header.is-menu-open { background: #06112ce8; box-shadow: 0 10px 40px #00192c3b; backdrop-filter: blur(18px); }
.header-hero-actions { display: none; }
.nav-shell { width: min(1320px, calc(100% - 64px)); height: 100%; display: grid; grid-template-columns: max-content minmax(0,1fr) max-content; gap: clamp(18px,2vw,30px); }
.co-brand { display: flex; align-items: center; gap: 16px; flex: none; }
.co-brand .ncb-logo { width: 103px; height: auto; }
.co-brand .sun-logo { width: 94px; height: auto; }
.brand-divider { width: 1px; height: 28px; background: #ffffff4a; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 0; margin: 0; min-width: 0; }
.desktop-nav > a { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 9px; border-radius: 999px; color: #ffffffd1; font-size: 13.2px; font-weight: 600; transition: color .2s, background .2s; }
.desktop-nav > a:hover { color: #fff; background: #ffffff13; }
.desktop-nav > a.nav-active { color: #f4dca0; background: none; }
.desktop-nav > a.nav-active::after { content: ''; position: absolute; left: 20%; right: 20%; bottom: 5px; height: 1px; background: linear-gradient(90deg,transparent,#f4dca0,transparent); }
.header-cta, .mobile-menu-cta { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 44px; border-radius: 999px; padding: 12px 17px; background: linear-gradient(110deg,#f8e5a8,#e5bf6c); color: #17395a; font-size: 13px; font-weight: 700; box-shadow: 0 4px 18px #0e2f6a2e; transition: transform .2s, box-shadow .2s; }
.header-cta svg, .mobile-menu-cta svg { width: 18px; height: 18px; }
.header-cta:hover, .mobile-menu-cta:hover { transform: translateY(-2px); box-shadow: 0 9px 22px #0e2f6a45; }
.menu-toggle { display: none; position: relative; width: 44px; height: 44px; border: 1px solid #ffffff38; border-radius: 12px; background: #ffffff0f; color: #fff; flex: none; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; top: 21px; height: 2px; width: auto; border-radius: 2px; background: #fff; transition: transform .2s, top .2s, opacity .2s; }
.menu-toggle span:first-child { top: 15px; }
.menu-toggle span:last-child { top: 27px; }
.menu-toggle[aria-expanded=true] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded=true] span:last-child { top: 21px; transform: rotate(-45deg); }
.menu-scrim:not([hidden]) { display: block; position: fixed; inset: 76px 0 0; z-index: 48; background: #06172d82; }
.mobile-menu:not([hidden]) { display: block; position: fixed; inset: 76px 0 auto; width: 100%; max-height: calc(100dvh - 76px); z-index: 49; padding: 20px max(24px,calc((100vw - 720px)/2)) 28px; overflow: auto; background: #06172c; box-shadow: 0 22px 35px #001f4038; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu [data-nav] { padding: 14px 8px; border-bottom: 1px solid #ffffff1a; color: #fff; font-size: 16px; font-weight: 650; }
.mobile-menu [data-nav].nav-active { color: #f4dca0; }
.mobile-menu-cta { margin-top: 20px; }

/* Consistent direction marks and buttons. */
.inline-arrow { width: 18px; height: 18px; transition: translate .24s ease; }
.icon-down { transform: rotate(90deg); }
a:hover > .inline-arrow, a:hover b > .inline-arrow, a:hover .text-arrow .inline-arrow { translate: 3px 0; }
.btn { gap: 16px; }
.btn .inline-arrow { width: 17px; height: 17px; }
.text-arrow { display: inline-flex; align-items: center; gap: 10px; }
.news-card > b { display: inline-flex; align-items: center; gap: 8px; }
.related-grid a > .inline-arrow { margin-top: auto; align-self: flex-end; color: var(--blue); }
.section { scroll-margin-top: 76px; }

/* Image-led editorial heroes. */
.page-hero { min-height: 666px; padding-top: 76px; }
.page-hero .hero-grid { min-height: 590px; }
.page-hero .eyebrow { gap: 0; }
.hero-news { background: radial-gradient(circle at 14% 15%,#fffef8,transparent 38%),#f6f6f0; }
.news-visual { border-radius: 24px; border: 1px solid #fff; box-shadow: 0 25px 60px #183e6424; }
.news-visual img { object-position: center 54%; }
.visual-seal { width: auto; height: auto; top: auto; right: 18px; bottom: 18px; padding: 9px 14px; border-radius: 999px; background: #fffaf0ed; color: #1d527a; font-size: 9px; letter-spacing: .12em; transform: none; box-shadow: 0 8px 18px #0a2c5050; }
.feature-photo { display: grid; place-items: center; background: radial-gradient(circle at 51% 42%,#4190bb 0%,#1b5a96 49%,#0e3a70 100%); }
.feature-photo img { width: 95%; height: 95%; object-fit: contain; filter: drop-shadow(0 18px 22px #001d4770); }
.live-visual { overflow: visible; }
.live-wheel-art { position: relative; z-index: 2; width: min(100%,510px); height: 100%; object-fit: contain; filter: drop-shadow(0 25px 35px #00193366); }
.live-rings i { opacity: .72; }
.winners-visual img { max-width: 96%; max-height: 440px; }
.winners-halo { background: radial-gradient(circle,#64b5d2a8 0%,#3584bd59 50%,transparent 73%); }
.broadcast-poster strong { font-size: clamp(43px,4vw,60px); line-height: .98; letter-spacing: -.06em; }
.video-thumb { background: radial-gradient(circle at 55% 45%,#328dc4,#093669 67%); }
.video-art { width: 88%; height: 88%; object-fit: contain; filter: drop-shadow(0 20px 28px #001f4270); }
.video-thumb > span { z-index: 2; border: 1px solid #ffffff75; border-radius: 999px; padding: 8px 13px; background: #082d60c9; }

/* The guide image belongs to its hero, including on narrow screens. */
.article-hero { position: relative; overflow: hidden; min-height: 660px; padding: 150px 0 100px; background: #f8f6ef; }
.article-hero > .container { position: relative; z-index: 3; }
.article-hero::after { content: ''; position: absolute; inset: 76px 0 0; z-index: 2; background: linear-gradient(90deg,#f8f6ef 0%,#f8f6eff2 38%,#f8f6ef70 62%,transparent 84%); pointer-events: none; }
.article-hero .breadcrumbs { margin-bottom: 58px; }
.article-hero h1 { max-width: 760px; }
.article-hero > .container > p { max-width: 650px; }
.article-cover { position: absolute; inset: 76px 0 0 auto; width: 55%; height: calc(100% - 76px); margin: 0; border-radius: 0; box-shadow: none; }
.article-cover img { object-position: center 45%; }
.article-body { padding-top: 85px; }

/* Clearly synthetic winner records, with a card layout on phones. */
.demo-notice { display: flex; align-items: flex-start; gap: 16px; margin: 0 0 27px; padding: 18px 22px; border: 1px solid #e1ca8e; border-radius: 16px; background: #fff8e8; color: #664d20; }
.demo-notice > span { font-size: 24px; line-height: 1; color: #b88a36; }
.demo-notice strong { display: block; font-size: 11px; letter-spacing: .14em; }
.demo-notice p { margin: 5px 0 0; font-size: 12px; }
.results-panel td { padding: 19px 20px; border-top: 1px solid #e8eff2; color: #244b67; font-size: 12px; line-height: 1.5; vertical-align: middle; }
.results-panel tbody tr:nth-child(even) { background: #fbfdfd; }
.results-panel tbody tr:hover { background: #f4f9fb; }
.results-panel td:nth-child(2) { font-weight: 750; color: #133e6a; }
.results-panel th { background: #eaf3f7; }
.demo-code { display: block; font-size: 10px; letter-spacing: .02em; white-space: nowrap; }
.demo-badge { display: inline-flex; margin-top: 6px; padding: 4px 7px; border-radius: 999px; background: #f9edd1; color: #805f26; font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.period-control select { min-width: 170px; color: #174468; background: #fff; cursor: pointer; }
.results-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 25px; border-top: 1px solid var(--line); color: #698091; font-size: 11px; }
.results-bottom p { margin: 0; }
.results-bottom span { white-space: nowrap; color: #23618e; font-weight: 750; }

/* Footer content and scale match Home and Rules. */
.site-footer { padding: 0; background: #063269; color: #d6e4f4; }
.footer-main { display: grid; grid-template-columns: 1.1fr .85fr 1.2fr; gap: 48px; padding-top: 52px; padding-bottom: 45px; }
.footer-bank > img { width: 142px; height: auto; margin-bottom: 25px; }
.site-footer h3 { margin: 0 0 10px; color: #fff; font-size: 14px; font-weight: 650; }
.footer-bank p, .footer-bank > a { margin: 0; color: #c0d4e8; font-size: 13px; line-height: 1.9; }
.footer-bank > a b { color: #ead199; }
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-links a { width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid #ffffff2c; border-radius: 50%; background: #ffffff0c; color: #c8dded; }
.social-links a:hover { background: #ffffff20; }
.social-icon { width: 20px; height: 20px; }
.footer-links { display: flex; flex-direction: column; align-items: start; gap: 10px; padding-top: 6px; }
.footer-links h3 { margin-bottom: 10px; }
.footer-links > a { color: #c0d4e8; font-size: 13px; }
.footer-links > a:hover, .footer-bottom > a:hover { color: #f4dca0; }
.footer-app { display: flex; align-items: start; gap: 22px; padding-top: 6px; }
.footer-app p { margin: 0; color: #a9c4dd; font-size: 12px; }
.store-downloads { display: flex; flex-direction: column; gap: 9px; margin-top: 20px; }
.store-badge img { width: 150px; height: auto; }
.qr-button { width: 90px; min-width: 90px; margin-top: 6px; padding: 6px; border-radius: 9px; background: #fff; }
.qr-button img { width: 100%; height: auto; }
.footer-bottom.container { width: min(1320px,calc(100% - 80px)); display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 18px 0; border-top: 1px solid #b5d0eb25; color: #8eafcd; font-size: 11px; }
.back-top-icon { width: 15px; height: 15px; transform: rotate(-90deg); }
.floating-join { position: fixed; right: 24px; bottom: 24px; z-index: 45; width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid #f6e3a9; border-radius: 50%; background: linear-gradient(120deg,#f8e9b4,#e7c376); color: #204670; box-shadow: 0 7px 24px #053d6d2b; transition: opacity .2s,transform .2s; }
.floating-join svg { width: 23px; height: 23px; }
.floating-join.is-hidden { opacity: 0; pointer-events: none; transform: translateY(14px); }

@media (max-width: 1180px) {
  .nav-shell { display: flex; width: calc(100% - 48px); gap: 16px; }
  .desktop-nav { display: none; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: block; }
  .footer-main { gap: 28px; }
  .footer-app { gap: 12px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 78px; }
  .container { width: min(100% - 36px,540px); }
  .site-header { height: 66px; }
  .nav-shell { width: calc(100% - 24px); gap: 9px; }
  .co-brand { gap: 9px; }
  .co-brand .ncb-logo { width: 72px; }
  .co-brand .sun-logo { width: 78px; }
  .brand-divider { height: 25px; }
  .header-cta { display: none; }
  .menu-toggle { width: 42px; height: 42px; margin-left: auto; }
  .menu-toggle span { left: 10px; right: 10px; }
  .menu-scrim:not([hidden]) { top: 66px; }
  .mobile-menu:not([hidden]) { inset: 66px 0 auto; width: 100%; max-height: calc(100dvh - 66px); padding: 17px 20px 28px; }

  .page-hero { min-height: 730px; padding: 66px 0 0; }
  .page-hero .hero-grid { position: static; display: block; min-height: 0; padding-top: 58px; padding-bottom: 340px; }
  .page-hero .hero-grid > div:first-child { position: relative; z-index: 3; }
  .page-hero h1 { font-size: clamp(38px,9.1vw,53px); line-height: 1.11; margin: 18px 0 20px; }
  .page-hero .hero-lead { font-size: 13px; line-height: 1.75; }
  .page-hero .btn { margin-top: 24px; min-height: 46px; padding: 12px 17px; font-size: 11px; }
  .page-hero .hero-visual { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 400px!important; margin: 0; border-radius: 0; box-shadow: none; }
  .hero-news::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg,#f8f8f3 0%,#f8f8f3 39%,#f8f8f3eb 50%,#f8f8f35c 68%,transparent 79%); }
  .hero-news .hero-visual { height: 550px!important; }
  .news-visual img { object-fit: cover; object-position: center 43%; }
  .visual-seal { bottom: 15px; right: 16px; }
  .hero-live::after, .hero-winners::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg,#082e61 0%,#082e61 39%,#082e61dc 52%,transparent 75%); }
  .live-visual { display: grid; place-items: center; }
  .live-wheel-art { width: min(115%,450px); max-width: none; height: 100%; }
  .winners-visual img { max-width: calc(100% - 20px); max-height: 390px; }
  .winners-halo { width: 330px; height: 330px; }

  .article-hero { min-height: 750px; padding: 104px 0 320px; }
  .article-hero > .container { z-index: 3; }
  .article-hero .breadcrumbs { margin-bottom: 34px; }
  .article-hero h1 { font-size: clamp(38px,8.8vw,51px); }
  .article-hero > .container > p { font-size: 13px; }
  .article-hero::after { inset: 0; background: linear-gradient(180deg,#f8f6ef 0%,#f8f6ef 39%,#f8f6efed 52%,#f8f6ef63 68%,transparent 82%); }
  .article-cover { inset: auto 0 0; width: 100%; height: 550px; }
  .article-cover img { object-position: center 43%; }
  .article-body { padding-top: 55px; }

  .demo-notice { padding: 15px; gap: 11px; }
  .demo-notice p { font-size: 11px; }
  .results-panel tbody { display: grid; gap: 10px; padding: 0 13px 18px; }
  .results-panel tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; padding: 16px; border: 1px solid #e1eaee; border-radius: 14px; background: #fff; }
  .results-panel tbody tr:nth-child(even) { background: #fff; }
  .results-panel td { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border: 0; font-size: 12px; }
  .results-panel td::before { content: attr(data-label); color: #7890a1; font-size: 9px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
  .results-panel td:nth-child(2), .results-panel td:last-child { grid-column: 1/-1; }
  .results-panel td:nth-child(2) { order: -1; padding-bottom: 13px; border-bottom: 1px solid #e7eef1; font-size: 14px; }
  .results-panel td:last-child { display: grid; grid-template-columns: 1fr auto; align-items: center; padding-top: 13px; border-top: 1px solid #e7eef1; }
  .results-panel td:last-child::before { grid-column: 1/-1; }
  .demo-badge { margin: 0; }
  .results-bottom { display: block; padding: 16px 20px; }
  .results-bottom p { margin-top: 5px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; padding-top: 38px; padding-bottom: 35px; }
  .footer-bank > img { width: 134px; }
  .footer-app { justify-content: space-between; gap: 20px; }
  .store-badge img { width: 143px; }
  .qr-button { width: 94px; min-width: 94px; }
  .footer-bottom.container { width: min(100% - 36px,540px); display: flex; flex-direction: column; align-items: start; gap: 9px; padding: 20px 0 25px; font-size: 10px; }
  .floating-join { right: 14px; bottom: 14px; width: 50px; height: 50px; }
}

@media (max-width: 374px) {
  .co-brand .ncb-logo { width: 65px; }
  .co-brand .sun-logo { width: 70px; }
  .page-hero .hero-grid { padding-bottom: 335px; }
  .page-hero .hero-visual { height: 380px!important; }
  .hero-news .hero-visual { height: 520px!important; }
  .article-hero { padding-bottom: 340px; }
  .article-cover { height: 520px; }
}

@media (prefers-reduced-motion: no-preference) {
  .page-hero .eyebrow, .page-hero h1, .page-hero .hero-lead, .page-hero .btn,
  .article-hero .breadcrumbs, .article-hero .tag, .article-hero h1, .article-hero > .container > p {
    opacity: 0; transform: translateY(17px); animation: subpage-enter .78s cubic-bezier(.2,.7,.2,1) forwards;
  }
  .page-hero h1, .article-hero h1 { animation-delay: .1s; }
  .page-hero .hero-lead, .article-hero > .container > p { animation-delay: .2s; }
  .page-hero .btn { animation-delay: .3s; }
  .page-hero .hero-visual, .article-cover { animation: subpage-art-enter 1.2s cubic-bezier(.2,.7,.2,1) both; }
  .subpage-motion-stage { opacity: 0; translate: 0 26px; transition: opacity .72s cubic-bezier(.2,.7,.2,1),translate .72s cubic-bezier(.2,.7,.2,1); }
  .subpage-motion-stage.is-revealed { opacity: 1; translate: 0 0; }
  .live-wheel-art { animation: subpage-float 7s ease-in-out infinite; }
  @keyframes subpage-enter { to { opacity: 1; transform: translateY(0); } }
  @keyframes subpage-art-enter { from { opacity: .5; scale: 1.035; } to { opacity: 1; scale: 1; } }
  @keyframes subpage-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -7px; } }
}
