@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/bricolage-grotesque.ttf") format("truetype"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("/manrope-400.ttf") format("truetype"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("/manrope-500.ttf") format("truetype"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("/manrope-600.ttf") format("truetype"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("/manrope-700.ttf") format("truetype"); }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 600; font-display: swap; src: url("/unbounded-600.ttf") format("truetype"); }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 700; font-display: swap; src: url("/unbounded-700.ttf") format("truetype"); }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 800; font-display: swap; src: url("/unbounded-800.ttf") format("truetype"); }
/* FortuneLand / Tidal — petrol teal and luminous mint identity, 2026-11-11. */
:root {
  --canvas: #07383D;
  --navigation: #092C31;
  --surface: #0E353A;
  --surface-hover: #174A50;
  --input: #123D43;
  --border: #3E747A;
  --border-subtle: #19494F;
  --border-hover: #45F6D6;
  --brand: #45F6D6;
  --brand-hover: #83FFE7;
  --on-brand: #07352F;
  --text: #F5FCFB;
  --text-muted: #B8D0D1;
  --accent: #45F6D6;
  --success: #6EE3B4;
  --warning: #F0C681;
  --error: #FFB0AD;
}
:root { color-scheme: dark; font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: var(--canvas); font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
[hidden] { display: none !important; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--brand); outline-offset: 5px; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 35px 5.5%; }
.wordmark { font-family: Georgia, "Times New Roman", serif; font-size: 31px; letter-spacing: -1.5px; color: var(--text); text-decoration: none; }
.wordmark span { color: var(--brand); }
.auth-nav { display: flex; gap: 6px; }
.auth-nav button { border: 1px solid transparent; background: transparent; color: var(--text-muted); padding: 10px 16px; border-radius: 5px; font-size: 14px; }
.auth-nav button[aria-pressed="true"] { border-color: var(--border); color: var(--text); }
main { flex: 1; display: grid; place-items: center; padding: 60px 24px 88px; }
.panel { width: 100%; max-width: 420px; }
h1 { font-size: clamp(30px, 5vw, 38px); font-weight: 500; letter-spacing: -1.3px; line-height: 1.18; margin: 0 0 14px; }
p { line-height: 1.6; }
.description { color: var(--text-muted); margin: 0 0 38px; font-size: 15px; }
label { display: block; font-size: 14px; margin: 24px 0 10px; }
input { width: 100%; height: 54px; border: 1px solid var(--border); border-radius: 5px; background: var(--input); color: var(--text); padding: 0 15px; font-size: 16px; }
input:hover { border-color: var(--border-hover); }
input:focus { border-color: var(--brand); }
.password-field { position: relative; }
.password-field input { padding-right: 75px; }
.password-field button { position: absolute; right: 6px; top: 6px; height: 42px; padding: 0 12px; background: transparent; border: none; border-radius: 3px; color: var(--brand); font-size: 13px; }
.hint { margin: 9px 0 0; font-size: 12px; color: var(--text-muted); }
.error { color: var(--error); font-size: 14px; margin: 14px 0; overflow-wrap: anywhere; }
.error:empty { margin: 22px 0 0; }
.primary, .secondary { width: 100%; min-height: 52px; padding: 14px 20px; border-radius: 5px; font-size: 15px; font-weight: 600; }
.primary { background: var(--brand); color: var(--on-brand); border: 1px solid var(--brand); }
.primary:hover:not(:disabled) { background: var(--brand-hover); }
.secondary { border: 1px solid var(--border); background: transparent; color: var(--text); }
.secondary:hover:not(:disabled) { background: var(--input); }
.switch-copy { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 26px; }
.switch-copy button { background: transparent; border: none; padding: 5px 2px; color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.account-heading { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--brand); margin-bottom: 25px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.account-email { color: var(--text-muted); overflow-wrap: anywhere; margin-bottom: 38px; }
.deposit-status { display: flex; justify-content: space-between; gap: 20px; border-block: 1px solid var(--border); padding: 22px 0; font-size: 14px; }
.deposit-status span:last-child { color: var(--text-muted); text-align: right; }
footer { text-align: center; font-size: 11px; color: var(--text-muted); padding: 20px 24px 28px; }
@media (max-width: 480px) { .header { padding: 24px 20px; gap: 12px; } .wordmark { font-size: 26px; } .auth-nav { gap: 0; } .auth-nav button { padding: 9px 11px; font-size: 13px; } main { padding: 55px 24px 65px; } }
.deposit-addresses { display: grid; gap: 1rem; margin: 1.5rem 0; }
.deposit-addresses section { border: 1px solid var(--border); border-radius: 10px; padding: 1rem; min-width: 0; }
.deposit-addresses h2 { font-size: 1rem; margin: 0 0 .5rem; }
.deposit-addresses p { font-size: .85rem; margin: 0 0 .75rem; }
.deposit-addresses code { display: block; font-size: .8rem; overflow-wrap: anywhere; line-height: 1.7; user-select: all; }
.history-heading { font-size: 1.1rem; margin-top: 2rem; }
.deposit-history { font-size: .85rem; margin: 1rem 0; }
.deposit-history section { padding: 1rem 0; border-top: 1px solid var(--border); }
.deposit-history code { display: block; overflow-wrap: anywhere; line-height: 1.7; font-size: .75rem; }
.network-status { color: var(--warning); }
#refresh-payments { margin-bottom: 1rem; }

/* FortuneLand shell: empty lobby with a persistent, collapsible navigation rail. */
:root { --header-height: 72px; --sidebar-width: 248px; --rail-width: 64px; color: var(--text); background: var(--canvas); font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body { display: block; }
.header { height: var(--header-height); padding: 0; gap: 0; position: fixed; inset: 0 0 auto; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--border-subtle); }
.menu-control { width: var(--sidebar-width); height: 100%; flex-shrink: 0; display: flex; align-items: center; padding-left: 12px; background: var(--navigation); transition: width 200ms ease; }
.icon-button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--text-muted); }
.icon-button:hover { color: var(--text); background: var(--surface-hover); }
.header-content { display: flex; align-items: center; justify-content: space-between; flex: 1; min-width: 0; height: 100%; padding: 0 36px; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 25px; font-weight: 750; letter-spacing: -1px; color: var(--text); }
.wordmark span { color: inherit; }
.brand-symbol { color: var(--brand); flex-shrink: 0; }
.auth-nav { align-items: center; gap: 8px; }
.auth-nav button { min-height: 44px; padding: 0 21px; border: 0; color: var(--text); font-weight: 650; border-radius: 10px; }
.auth-nav button[aria-pressed="true"] { border: 0; color: var(--text); }
#login-mode:hover { background: var(--surface-hover); }
.auth-nav #signup-mode { background: var(--brand); color: var(--on-brand); }
.auth-nav #signup-mode:hover { background: var(--brand-hover); }
.sidebar { position: fixed; inset: var(--header-height) auto 0 0; width: var(--sidebar-width); background: var(--navigation); transition: width 200ms ease; }
#main-content { display: block; min-height: calc(100svh - var(--header-height)); padding: 0; margin-top: var(--header-height); margin-left: var(--sidebar-width); transition: margin-left 200ms ease; }
.sidebar-closed .menu-control, .sidebar-closed .sidebar { width: var(--rail-width); }
.sidebar-closed #main-content { margin-left: var(--rail-width); }
button:focus-visible, a:focus-visible, input:focus-visible { outline-color: var(--brand); outline-offset: 4px; }
#account-dialog { width: min(460px, calc(100% - 32px)); max-height: calc(100svh - 48px); padding: 48px 28px 28px; border: 1px solid var(--border); border-radius: 16px; color: var(--text); background: var(--surface); }
#account-dialog::backdrop { background: rgb(5 25 29 / 78%); }
.dialog-close { position: absolute; right: 8px; top: 8px; font-size: 26px; }
#account-dialog input { background: var(--input); border-color: var(--border); color: var(--text); border-radius: 10px; }
#account-dialog .primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); border-radius: 10px; }
#account-dialog .description, #account-dialog .hint, #account-dialog .account-email { color: var(--text-muted); }
#account-dialog .switch-copy button, #account-dialog .password-field button { color: var(--brand); }
@media (max-width: 700px) {
  :root { --header-height: 64px; --rail-width: 0px; }
  .menu-control, .sidebar-closed .menu-control { width: 52px; padding-left: 6px; }
  .header-content { padding: 0 16px 0 4px; gap: 12px; }
  .wordmark { font-size: 21px; gap: 7px; letter-spacing: -.8px; }
  .brand-symbol { width: 24px; height: 28px; }
  .auth-nav { gap: 3px; }
  .auth-nav button { padding: 0 12px; min-height: 40px; font-size: 13px; }
  .sidebar { z-index: 20; box-shadow: 8px 0 20px #0002; }
  .sidebar-closed .sidebar { box-shadow: none; }
  #main-content { margin-left: 0; }
}
@media (max-width: 380px) {
  .header-content { padding-right: 10px; gap: 6px; }
  .wordmark { font-size: 18px; gap: 5px; }
  .brand-symbol { width: 20px; }
  .auth-nav button { padding: 0 9px; }
}
@media (prefers-reduced-motion: reduce) { .menu-control, .sidebar, #main-content { transition: none; } }

.consent-field { display: flex; align-items: flex-start; gap: 10px; margin-top: 24px; font-size: 13px; line-height: 1.6; color: var(--text-muted); }
#account-dialog .consent-field input { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--brand); cursor: pointer; }
.consent-field label { display: inline; margin: 0; font-size: inherit; cursor: pointer; }
#open-terms { display: inline; padding: 0; border: 0; background: transparent; color: var(--brand); font: inherit; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
#terms-dialog { width: min(420px, calc(100% - 32px)); padding: 0; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text); }
#terms-dialog::backdrop { background: rgb(5 25 29 / 78%); }
.terms-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 22px; border-bottom: 1px solid var(--border); }
.terms-header h2 { margin: 0; font-size: 17px; }
#close-terms { font-size: 26px; flex-shrink: 0; }
.terms-content { height: min(300px, 50svh); overflow-y: auto; padding: 22px; overscroll-behavior: contain; }

/* Compact account popup typography. */
#account-dialog h1 { font-size: 22px; font-weight: 650; letter-spacing: -.45px; line-height: 1.3; margin-bottom: 8px; }
#account-dialog .description { font-size: 14px; line-height: 1.5; margin: 0 0 22px; }
#account-dialog label { font-size: 13px; }
#account-dialog .consent-field label { font-size: inherit; }

.required-marker { color: var(--error); }

/* Keep wheel, touch and keyboard scrolling; never show scrollbar tracks. */
* { scrollbar-width: none; -ms-overflow-style: none; }
*::-webkit-scrollbar { display: none; width: 0; height: 0; }

#account-dialog input::placeholder { color: var(--text-muted); opacity: 1; font-size: 13px; }
#account-dialog input:not([type="checkbox"]):focus { outline: none; box-shadow: none; }
#account-dialog input:not([type="checkbox"]):not([aria-invalid="true"]):focus { border-color: var(--border-hover); }
#account-dialog input[type="checkbox"]:focus-visible { outline-width: 1px; outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

#account-dialog input[aria-invalid="true"] { border-color: var(--error); }
#account-dialog input[aria-invalid="true"]:focus-visible { outline-color: var(--error); }
#account-dialog #accepted-terms[aria-invalid="true"] { outline: 1px solid var(--error); outline-offset: 2px; }
.field-error { margin: 6px 0 0; color: var(--error); font-size: 12px; line-height: 1.45; }

/* Reference-led branding: chromatic depth, fine grain, wide display type. */
body {
  background-color: var(--canvas);
  background-image: url('/brand-grain.svg'), radial-gradient(ellipse at 58% 120%, #247A80 0%, transparent 69%), radial-gradient(ellipse at 0% 70%, #07534C 0%, transparent 66%), linear-gradient(165deg, #092E35 0%, #07464A 100%);
  background-attachment: fixed;
  background-size: 180px 180px, cover, cover, cover;
}
.header { background: #09282D; }
.sidebar, .menu-control { background: #0A3035; }
.sidebar { border-right: 1px solid #20545A; }
.wordmark { font-family: "Unbounded", "Manrope", sans-serif; font-size: 21px; font-weight: 800; letter-spacing: -1.1px; }
.auth-nav button { font-size: 15px; font-weight: 600; border-radius: 14px; }
.auth-nav #signup-mode { background: #0E7869; color: #F5FCFB; box-shadow: inset 0 0 0 1px #2C9A88; }
.auth-nav #signup-mode:hover { background: #118776; }
.brand-symbol { color: #45F6D6; }
#account-dialog h1, .terms-header h2 { font-family: "Unbounded", "Manrope", sans-serif; font-weight: 700; letter-spacing: -.7px; }
#account-dialog h1 { font-size: 19px; line-height: 1.4; }
#account-dialog, #terms-dialog { background: #0E353A; }
#account-dialog .primary { background: #45F6D6; color: #07352F; font-weight: 700; }
#account-dialog .primary:hover:not(:disabled) { background: #83FFE7; }
@media (max-width: 700px) {
  .wordmark { font-size: 14.5px; letter-spacing: -.75px; gap: 7px; }
  .auth-nav button { font-size: 13px; padding: 0 12px; border-radius: 12px; }
}
@media (max-width: 380px) {
  .wordmark { font-size: 12.5px; letter-spacing: -.6px; gap: 5px; }
  .auth-nav button { font-size: 12px; padding: 0 9px; }
}

/* One full-width typographic hero. */
.welcome-hero { container-type: inline-size; width: 100%; padding: 32px 36px 12px; text-align: left; }
#welcome-title { font-family: "Bricolage Grotesque", "Manrope", sans-serif; font-size: clamp(16px, 3cqw, 32px); font-weight: 800; line-height: 1.3; letter-spacing: -.045em; margin: 0; }
#welcome-title span { display: block; white-space: nowrap; }
#welcome-title span + span { margin-top: .12em; font-size: 1.35em; color: #79D9F0; }
@media (min-width: 701px) {
  #welcome-title { display: flex; align-items: baseline; justify-content: flex-start; gap: .3em; flex-wrap: nowrap; font-size: clamp(14px, 2.9cqw, 32px); }
  #welcome-title span { display: inline; }
  #welcome-title span + span { margin-top: 0; font-size: 1em; }
}
@media (max-width: 700px) {
  .welcome-hero { padding: 24px 20px 20px; text-align: center; }
  #welcome-title { font-size: clamp(12px, 4.5cqw, 32px); }
  #welcome-title span + span { font-size: 1.65em; }
}

/* Editorial offer campaign: three wide frames, one-card steps. */
.offers-carousel { position: relative; width: calc(100% - 72px); margin: 0 36px 72px; min-width: 0; }
.offers-viewport { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; cursor: grab; border-radius: 18px; scroll-margin-top: calc(var(--header-height) + 16px); touch-action: pan-x pan-y; }
.offers-viewport:focus-visible { outline: 2px solid var(--brand); outline-offset: 5px; }
.offers-track { display: flex; gap: 16px; list-style: none; padding: 0; margin: 0; }
.offer-card { flex: 0 0 calc((100% - 32px) / 3); min-width: 0; position: relative; isolation: isolate; overflow: hidden; border-radius: 18px; aspect-ratio: 1.65; scroll-snap-align: start; background: #0E353A; user-select: none; }
.offer-card { cursor: pointer; }
.offer-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 280ms ease, filter 280ms ease; }
.offer-card::before { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgb(69 246 214 / 0%); transition: box-shadow 220ms ease; }
@media (hover: hover) and (pointer: fine) {
  .offers-viewport:not(.is-dragging) .offer-card:hover .offer-art { transform: scale(1.035); filter: brightness(1.08); }
  .offers-viewport:not(.is-dragging) .offer-card:hover::before { box-shadow: inset 0 0 0 1px rgb(69 246 214 / 65%); }
}
.offers-viewport.is-dragging .offer-card { cursor: grabbing; }
@media (prefers-reduced-motion: reduce) {
  .offer-art, .offer-card::before { transition: none; }
  .offers-viewport:not(.is-dragging) .offer-card:hover .offer-art { transform: none; }
}
.offer-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgb(3 20 26 / 10%) 58%, rgb(3 17 22 / 74%) 100%); }
.offer-copy { position: absolute; left: 20px; right: 16px; bottom: 18px; }
.offer-copy h2 { font-family: 'Bricolage Grotesque', 'Manrope', sans-serif; font-size: clamp(18px, 1.75vw, 27px); font-weight: 700; line-height: 1.25; letter-spacing: -.015em; color: #F5FCFB; margin: 0 0 7px; text-wrap: balance; }
.offer-copy p { font-family: 'Manrope', sans-serif; color: #E1F1EF; font-size: clamp(11px, 1vw, 14px); line-height: 1.4; margin: 0; }
.offers-controls { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 10px; }
.offer-control { width: 34px; height: 34px; padding: 0; display: grid; place-items: center; border: 1px solid #2C6067; border-radius: 10px; color: #D6E9E9; background: #103B41; }
.offer-control:hover { color: var(--brand); background: #184D52; }
.offers-viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }
@media (max-width: 1000px) and (min-width: 701px) {
  .welcome-hero { padding-inline: 24px; }
  .offers-carousel { position: relative; width: calc(100% - 48px); margin-inline: 24px; }
  .offer-copy { left: 14px; right: 12px; bottom: 14px; }
  .offer-card { aspect-ratio: 1.4; }
}
@media (max-width: 700px) {
  .offers-carousel { width: 100%; margin: 0 0 60px; }
  .offers-viewport { border-radius: 0; scroll-padding-inline: 0; }
  .offers-track { gap: 12px; padding: 0 32px; }
  .offer-card { flex-basis: 100%; aspect-ratio: 1.65; border-radius: 16px; scroll-snap-align: center; }
  .offer-copy { left: 20px; right: 16px; bottom: 20px; }
  .offer-copy h2 { font-size: clamp(17px, 5.2vw, 24px); }
  .offer-copy p { font-size: 13px; }
  .offers-controls { display: none; }
}

.offer-control:disabled { cursor: default; opacity: .35; }

/* FortuneWorld: portrait game artwork, five desktop columns and three mobile columns. */
.fortune-world { margin: 0 36px 48px; }
.fortune-world h2 { margin: 0 0 20px; font-family: 'Bricolage Grotesque', 'Manrope', sans-serif; font-size: clamp(25px, 2.4vw, 34px); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; }
.game-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px 16px; padding: 0; margin: 0; list-style: none; }
.game-tile { position: relative; isolation: isolate; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 16px; background: #173D4C; box-shadow: 0 5px 14px rgb(0 0 0 / 15%); }
.game-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 240ms ease; }
.game-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgb(4 8 25 / 10%) 74%, rgb(4 8 25 / 68%) 100%); pointer-events: none; }
.game-tile h3 { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 15px; margin: 0; color: #FFF; font-family: 'Bricolage Grotesque', 'Manrope', sans-serif; font-size: clamp(18px, 1.8vw, 27px); font-weight: 800; line-height: 1.05; letter-spacing: -.025em; text-align: center; text-wrap: balance; text-shadow: 0 2px 7px rgb(0 0 0 / 60%); }
@media (hover: hover) and (pointer: fine) { .game-tile:hover img { transform: scale(1.035); } }
@media (max-width: 1000px) and (min-width: 701px) { .fortune-world { margin-inline: 24px; } .game-grid { gap: 14px 12px; } .game-tile h3 { font-size: 17px; left: 8px; right: 8px; } }
@media (max-width: 700px) {
  .fortune-world { margin: 0 20px 32px; }
  .fortune-world h2 { margin-bottom: 16px; font-size: 26px; }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; }
  .game-tile { border-radius: 11px; }
  .game-tile h3 { font-size: clamp(13px, 3.6vw, 21px); left: 6px; right: 6px; bottom: 10px; line-height: 1.08; }
}
@media (prefers-reduced-motion: reduce) { .game-tile img { transition: none; } .game-tile:hover img { transform: none; } }


.world-features {
  margin: 0 36px 48px;
}
.world-features > h2 {
  margin: 0 0 20px;
  font: 800 clamp(25px, 2.4vw, 34px)/1.2 "Bricolage Grotesque", Manrope, sans-serif;
  letter-spacing: -.025em;
}
.world-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.world-stack {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
}
.world-banner, .world-benefit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgb(255 255 255 / 9%);
}
.world-banner {
  display: grid;
  align-items: center;
  min-height: 108px;
  padding: 18px clamp(14px, 2vw, 28px);
  background: var(--world-surface);
}
.world-token {
  --world-surface: #06333b;
  align-content: end;
  min-height: 348px;
  padding: clamp(20px, 3vw, 36px);
}
.world-rewards { --world-surface: #390718; }
.world-leaderboards { --world-surface: #0c153c; }
.world-promotions { --world-surface: #36160d; }

.world-banner .world-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% center;
}
.world-banner::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgb(8 12 28 / 78%), rgb(8 12 28 / 55%) 44%, transparent 81%);
  pointer-events: none;
}
.world-token .world-art {
  object-position: center 46%;
}
.world-token::after {
  background: linear-gradient(180deg, transparent 42%, rgb(5 30 37 / 20%) 56%, rgb(5 30 37 / 83%));
}
.world-copy h3 {
  margin: 0 0 5px;
  font: 800 clamp(18px, 2vw, 26px)/1.1 "Bricolage Grotesque", Manrope, sans-serif;
  letter-spacing: -.025em;
}
.world-copy p {
  margin: 0;
  color: #deeeef;
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.4;
  text-wrap: pretty;
}
.world-stack .world-copy { max-width: 62%; }
.world-token h3 {
  font-size: clamp(46px, 7vw, 78px);
  color: #b5fff2;
}
.world-token p {
  max-width: 24em;
  font-weight: 700;
}
.world-benefits { margin-top: 16px; }
.world-benefit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36%;
  align-items: center;
  min-height: 148px;
  padding: 16px clamp(14px, 2vw, 28px);
  background: #163840;
}
.world-benefit .world-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  gap: 16px;
  padding-block: 7px;
}
.world-benefit .world-copy p { color: var(--text-muted); }
.world-benefit .world-art {
  width: min(100%, 116px);
  height: auto;
  justify-self: end;
  mask-image: radial-gradient(ellipse closest-side, black 78%, transparent 100%);
}
@media (max-width: 1000px) and (min-width: 701px) {
  .world-features { margin-inline: 24px; }
}
@media (max-width: 700px) {
  .world-features { margin: 0 20px 32px; }
  .world-features > h2 { margin-bottom: 16px; font-size: 26px; }
  .world-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .world-token { min-height: 275px; }
  .world-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
  .world-benefit {
    --benefit-art-size: clamp(36px, 12vw, 72px);
    grid-template-columns: minmax(0, 1fr);
    min-height: 128px;
    padding: 12px;
  }
  .world-benefit .world-copy { gap: 10px; padding: 0; }
  .world-benefit h3 {
    min-height: var(--benefit-art-size);
    margin: 0;
    padding-inline-end: calc(var(--benefit-art-size) + 4px);
    font-size: clamp(15px, 4.2vw, 22px);
  }
  .world-benefit .world-art {
    position: absolute;
    inset: 12px 12px auto auto;
    width: var(--benefit-art-size);
  }
}

.provider-lobby {
  width: min(100%, 1380px);
  margin-inline: auto;
  padding: clamp(20px, 4vw, 58px);
}
.provider-lobby h1 {
  margin: .35em 0 .6em;
  font: 800 clamp(2rem, 5.8vw, 4rem)/1 Bricolage Grotesque, sans-serif;
}
.provider-lobby-link {
  color: #a5fbe9;
  text-underline-offset: .24em;
}
#provider-lobby-link { display: inline-block; margin: 0 0 16px; }
.provider-toolbar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.provider-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.provider-filters button, .provider-search input {
  font: inherit;
  padding: 8px 13px;
  border-radius: 9px;
  border: 1px solid #46767b;
  background: #103b42;
  color: #f5fcfb;
}
.provider-filters button { cursor: pointer; }
.provider-filters button[aria-pressed="true"] { background: #9aefd9; border-color: #9aefd9; color: #07352f; }
.provider-status { color: #d0e9e8; }
.provider-status:empty { display: none; }
.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(155px, 100%), 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}
.provider-game {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0 0 12px;
  overflow: hidden;
  border: 1px solid #3b7074;
  border-radius: 13px;
  background: #103b42;
  color: #f5fcfb;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.provider-game:hover { border-color: #9aefd9; }
.provider-game img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0a3035;
}
.provider-game strong { margin: 10px 11px 3px; overflow-wrap: anywhere; }
.provider-game span { margin-inline: 11px; color: #b8d0d1; font-size: .8rem; }
.provider-more { width: auto; padding-inline: 16px; }
.provider-lobby :is(button,input,a):focus-visible { outline: 2px solid #9aefd9; outline-offset: 3px; }
@media (max-width: 420px) {
  .provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.provider-preview {
  width: min(420px, calc(100vw - 28px));
  margin: auto;
  padding: 24px;
  color: #f5fcfb;
  background: #103b42;
  border: 1px solid #46767b;
  border-radius: 14px;
}
.provider-preview::backdrop { background: #06252bcc; }
.provider-preview form { display: flex; justify-content: end; }
.provider-preview form button {
  color: #a5fbe9;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.offers-carousel:has(+ .game-categories) { margin-bottom: 24px; }
.game-categories { margin: 0 36px 48px; }
.category-row {
  display: grid;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 14px;
}
.category-row-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.category-row-quick {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 14px;
}
.category-card {
  position: relative;
  display: grid;
  box-sizing: border-box;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-family: "Bricolage Grotesque", Manrope, sans-serif;
  font-weight: 800;
  line-height: 1.1;
}
.category-card[href]:hover { background: var(--surface-hover); border-color: var(--border); }
.category-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.category-art { display: block; object-fit: contain; }
.category-row-featured .category-card {
  min-height: clamp(126px, 15vw, 216px);
  padding: clamp(14px, 2.1vw, 30px);
  align-content: start;
  font-size: clamp(20px, 2.4vw, 36px);
}
.category-row-featured .category-card span { max-width: 66%; z-index: 1; }
.category-row-featured .category-art {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  height: 88%;
}
.category-row-quick .category-card {
  grid-template-rows: 1fr auto;
  justify-items: center;
  align-items: center;
  min-height: clamp(92px, 10vw, 146px);
  padding: 8px 5px 12px;
  text-align: center;
  font-size: clamp(13px, 1.4vw, 20px);
}
.category-row-quick .category-art {
  grid-row: 1;
  width: min(75%, 92px);
  height: auto;
  aspect-ratio: 1;
}
#fortune-world, .game-tile[id] { scroll-margin-top: calc(var(--header-height) + 12px); }
@media (701px <= width <= 1000px) {
  .game-categories { margin-inline: 24px; }
}
@media (max-width: 700px) {
  .offers-carousel:has(+ .game-categories) { margin-bottom: 18px; }
  .game-categories { margin: 0 20px 32px; }
  .category-row { gap: 6px; }
  .category-row-featured { gap: 8px; }
  .category-row-quick { margin-top: 8px; }
  .category-card { border-radius: 10px; }
  .category-row-featured .category-card {
    min-height: clamp(78px, 23vw, 128px);
    padding: 10px;
    font-size: clamp(14px, 4vw, 23px);
  }
  .category-row-featured .category-art { right: 3%; width: 43%; }
  .category-row-quick .category-card {
    grid-template-rows: 1fr minmax(2.2em, auto);
    min-height: clamp(62px, 17vw, 106px);
    padding: 3px 2px 4px;
    font-size: clamp(9px, 2.35vw, 14px);
  }
  .category-row-quick .category-card span { overflow-wrap: anywhere; }
  .category-row-quick .category-art { width: min(82%, 62px); }
}
