/* Rise Poker marketing site.
   Layout and styling follow the homepage design from the brand work (design/brand/chatgpt):
   forest header, halftone hero with the headline in its centre, four category cards,
   a row of four panels, and a dark information strip. */
:root {
  --deep: #073b2b;
  --forest: #05271d;
  --green: #16a34a;
  --green-bright: #22c55e;
  --ivory: #f8eed6;
  --ivory-2: #efe2c2;
  --ink: #0b0b0b;
  --gold: #d4af37;
  --display: 'Barlow Condensed', 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --body: 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--ivory); color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(1640px, 100% - 40px); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--body); font-weight: 800; font-size: 15px; text-decoration: none; padding: 9px 22px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: transform 0.08s, filter 0.12s; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn.green { background: linear-gradient(180deg, #23b455, #128a3c); color: #fff; border-color: #7be0a0; box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35); }
.btn.outline { background: transparent; color: var(--ivory); border-color: var(--ivory); }
.btn.dark { background: #0c1f17; color: #fff; border-color: var(--ivory); }
.btn.big { font-size: clamp(16px, 1.45vw, 23px); padding: 0.55em 1.35em; border-radius: 10px; border-width: 2.5px; }
.play-ico { font-size: 0.8em; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--forest); border-bottom: 3px solid var(--ivory); }
.site-header .wrap { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 44px); height: 66px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: clamp(14px, 2.4vw, 46px); }
.nav a { color: var(--ivory); text-decoration: none; font-weight: 600; font-size: 16px; padding: 6px 2px; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a.active { border-bottom-color: var(--green-bright); }
.header-cta { margin-left: auto; display: flex; gap: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--deep); overflow: hidden; border-bottom: 3px solid var(--ivory); }
.hero-art { width: 100%; aspect-ratio: 2172 / 610; object-fit: cover; object-position: center 42%; }
/* darken the open centre of the artwork so the headline reads */
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 30% 78% at 47% 52%, rgba(3, 30, 20, 0.86), rgba(3, 30, 20, 0.5) 62%, transparent 100%); pointer-events: none; }
.hero-copy { position: absolute; z-index: 2; left: 31.5%; width: 31%; top: 50%; transform: translateY(-50%); color: var(--ivory); }
.hero-kicker { font-family: var(--display); font-style: italic; font-weight: 700; text-transform: uppercase; letter-spacing: 0.24em; font-size: clamp(11px, 1.2vw, 20px); white-space: nowrap; }
.hero-lockup { border-left: 2px solid rgba(248, 238, 214, 0.75); padding-left: clamp(10px, 1.3vw, 22px); margin-top: 0.6vw; }
.hero h1 { font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(28px, 3.9vw, 68px); line-height: 0.88; letter-spacing: 0.01em; transform: skewY(-4deg); transform-origin: left center; text-shadow: 0.05em 0.05em 0 rgba(0, 0, 0, 0.55); }
.hero h1 span { display: block; }
.hero h1 .win { color: var(--green-bright); font-size: 1.3em; line-height: 0.86; }
.hero-lede { margin-top: 1.1vw; font-size: clamp(12px, 1.12vw, 19px); font-weight: 500; max-width: 26em; }
.hero-buttons { display: flex; gap: 12px; margin-top: 1.2vw; }
.hero-ticks { display: flex; gap: 0 1.6vw; margin-top: 1vw; list-style: none; font-size: clamp(11px, 0.95vw, 16px); font-weight: 600; white-space: nowrap; }
.hero-ticks li::before { content: '✓'; color: #7be0a0; margin-right: 0.5em; font-weight: 900; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6); }

/* ---------- page body ---------- */
.page { width: min(1640px, 100% - 40px); margin-inline: auto; padding-block: 18px 34px; }

/* four category cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { display: block; border-radius: 16px; overflow: hidden; transition: transform 0.12s, box-shadow 0.12s; box-shadow: 0 2px 0 rgba(11, 11, 11, 0.25); }
.card img { width: 100%; aspect-ratio: 1066 / 232; object-fit: cover; }
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(11, 11, 11, 0.28); }

/* four panels */
.panels { display: grid; grid-template-columns: 1fr 0.95fr 1.1fr 1.5fr; gap: 16px; margin-top: 18px; align-items: stretch; }
.panel { background: #fdf7e6; border: 2px solid #d9cfb4; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; }
.panel > header { background: linear-gradient(180deg, #0b4a35, #073b2b); color: var(--ivory); font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 25px; letter-spacing: 0.02em; padding: 8px 18px; display: flex; align-items: center; gap: 12px; line-height: 1.15; }
.ph-ico { font-size: 22px; filter: sepia(1) saturate(3) hue-rotate(5deg); }
.panel-body { padding: 14px 16px 12px; flex: 1; display: flex; flex-direction: column; position: relative; }
.panel-link { margin-top: auto; padding-top: 10px; text-align: center; font-weight: 700; font-size: 14.5px; text-decoration: none; }
.panel-link:hover { text-decoration: underline; }
.panel.art { border: 0; background: var(--deep); }
.panel.art img { width: 100%; height: 100%; object-fit: cover; object-position: 8% center; }

/* leaderboard */
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid #cfc5a8; border-radius: 8px; overflow: hidden; background: #fff; }
.tabs button { font: 600 13.5px var(--body); padding: 6px 4px; border: 0; background: transparent; cursor: pointer; color: var(--ink); }
.tabs button.on { background: var(--green); color: #fff; border-radius: 6px; }
.lb-head { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; font-size: 13px; font-weight: 600; color: #333; background: #efe6cd; padding: 5px 10px; margin-top: 10px; }
.lb { list-style: none; }
.lb li { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; padding: 5px 10px; border-bottom: 1px solid #e3dac0; font-weight: 700; font-size: 14.5px; }
.lb .rank { width: 26px; height: 20px; border-radius: 10px; display: grid; place-items: center; font-size: 12.5px; font-weight: 800; }
.lb li:nth-child(1) .rank { background: var(--gold); }
.lb li:nth-child(2) .rank { background: #c3c7cc; }
.lb li:nth-child(3) .rank { background: #b9773f; color: #fff; }
.lb .pts { font-variant-numeric: tabular-nums; }
.lb .empty { display: block; font-weight: 500; color: #444; padding: 18px 10px; text-align: center; border-bottom: 0; }

/* rewards */
.rewards h3 { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 27px; line-height: 1.05; }
.rewards p { margin-top: 10px; font-size: 14.5px; color: #222; position: relative; z-index: 1; padding-bottom: 8px; }
.rewards .btn { align-self: flex-start; margin-top: auto; position: relative; z-index: 1; }
.rewards-art { position: absolute; right: 4px; bottom: 54px; width: 40%; max-width: 150px; }

/* community highlights */
.news { list-style: none; }
.news li { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid #e3dac0; }
.n-ico { width: 44px; height: 40px; border-radius: 8px; background: #f1e3b8; display: grid; place-items: center; font-size: 20px; }
.news b { display: block; font-size: 15px; line-height: 1.25; }
.news small { font-size: 13px; color: #333; }

.ad-slot { margin: 22px auto 0; max-width: 970px; text-align: center; }
.ad-slot:empty { display: none; }

/* ---------- lower page: follows the continuation design ---------- */
h2, .panel > header, .slab, .qcard h3, .getapp-copy h2 { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; }

/* how it works band */
.how { position: relative; background: var(--deep); border-block: 3px solid var(--ink); margin-top: 6px; }
.how > img { width: 100%; }
.how-captions { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; text-align: center; background: var(--forest); color: var(--ivory); padding: 14px 2% 16px 27%; font-size: clamp(13px, 1.25vw, 20px); font-weight: 500; line-height: 1.3; border-top: 3px solid var(--ink); }
.how-captions li { padding-inline: 8%; }
.how-captions b { display: none; }

/* skewed slab headings */
.feature { margin-top: 26px; }
.slab { display: inline-block; background: linear-gradient(180deg, #0b4a35, #05271d); color: var(--ivory); font-weight: 900; font-size: clamp(30px, 3.4vw, 54px); line-height: 1; padding: 0.16em 0.6em 0.1em; transform: skew(-9deg) rotate(-2deg); transform-origin: left bottom; text-shadow: 0.05em 0.05em 0 rgba(0, 0, 0, 0.6); border-radius: 4px; box-shadow: 4px 4px 0 rgba(11, 11, 11, 0.25); }
.slab-row { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.slab-row p { font-size: clamp(16px, 1.5vw, 23px); font-weight: 500; max-width: 22em; }

/* featured tournaments */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 20px; }
.tcard { display: flex; flex-direction: column; border: 3px solid var(--ink); border-radius: 16px; overflow: hidden; background: var(--deep); text-decoration: none; box-shadow: 5px 5px 0 rgba(11, 11, 11, 0.85); transition: transform 0.12s, box-shadow 0.12s; }
.tcard:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 rgba(11, 11, 11, 0.85); }
.tcard img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.tcard span { background: #fdf2cf; color: var(--ink); border-top: 3px solid var(--ink); font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(17px, 1.5vw, 24px); letter-spacing: 0.02em; text-align: center; padding: 10px 12px 8px; line-height: 1.1; }

/* get the app band */
.getapp { position: relative; margin-top: 30px; background: var(--deep); border-block: 3px solid var(--ink); overflow: hidden; }
.getapp > img { width: 100%; aspect-ratio: 2172 / 660; object-fit: cover; }
.getapp-copy { position: absolute; left: 36%; width: 30%; top: 50%; transform: translateY(-50%) rotate(-3deg); color: var(--ivory); }
.getapp-copy h2 { font-weight: 900; font-size: clamp(34px, 5.6vw, 96px); line-height: 0.86; text-shadow: 0.05em 0.05em 0 var(--ink), -1px -1px 0 var(--ink), 1px -1px 0 var(--ink), -1px 1px 0 var(--ink); border-bottom: 0.11em solid var(--green-bright); padding-bottom: 0.06em; display: inline-block; }
.getapp-copy p { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(15px, 2vw, 34px); line-height: 1.05; margin-top: 0.5em; text-shadow: 0.05em 0.05em 0 var(--ink); max-width: 9em; }
.store-badges { display: flex; align-items: center; gap: 4px; margin-top: 1vw; transform: rotate(3deg); transform-origin: left center; }
.store-badges .b-apple { height: clamp(30px, 3.3vw, 52px); width: auto; }
/* Google's artwork carries its own clear space, so it is drawn larger to match the Apple badge */
.store-badges .b-google { height: clamp(44px, 4.9vw, 77px); width: auto; }
.getapp-copy .soon { display: inline-block; margin-top: 2px; font-size: clamp(10px, 0.95vw, 15px); font-weight: 700; background: var(--ink); color: var(--ivory); padding: 4px 10px; border-radius: 6px; transform: rotate(3deg); }
.getapp-copy .soon a { color: #7be0a0; }

/* questions */
.qcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }
.qcard { background: #fdf7e6; border: 3px solid var(--ink); border-radius: 16px; padding: 14px 18px 18px; text-align: center; box-shadow: 4px 4px 0 rgba(11, 11, 11, 0.8); }
.qcard img { width: 70%; max-width: 210px; aspect-ratio: 1; object-fit: contain; margin: 0 auto; }
.qcard h3 { font-weight: 900; font-size: clamp(22px, 2vw, 31px); line-height: 0.98; margin-top: 6px; }
.qcard p { font-size: 15px; margin-top: 8px; color: #222; text-align: left; }
.q-more { margin-top: 16px; font-size: 14.5px; color: #333; }
.q-more a { color: #0b6b34; font-weight: 700; }

/* ---------- footer strip ---------- */
.site-footer { background: var(--forest); color: var(--ivory); font-size: 13px; }
.strip { display: grid; grid-template-columns: 1fr 1.1fr 1.2fr 1.2fr auto; gap: 0; align-items: center; padding-block: 16px; }
.f-item { display: flex; gap: 14px; align-items: center; padding: 2px 26px; border-left: 1.5px solid rgba(248, 238, 214, 0.5); min-height: 46px; }
.f-item:first-child { border-left: 0; padding-left: 4px; }
.f-item p { line-height: 1.35; color: rgba(248, 238, 214, 0.88); }
.f-item b { display: block; color: var(--ivory); font-size: 14px; }
.age { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 2.5px solid var(--ivory); display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.f-ico { flex: none; font-size: 30px; line-height: 1; }
.strip .btn { margin-left: 22px; font-size: 14px; }
.fine { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-block: 10px 16px; border-top: 1px solid rgba(248, 238, 214, 0.18); color: rgba(248, 238, 214, 0.7); font-size: 12.5px; }
.fine a { color: rgba(248, 238, 214, 0.85); }

/* ---------- legal / text pages ---------- */
.page-head { background: var(--deep); color: var(--ivory); border-bottom: 3px solid var(--ivory); padding-block: 40px; background-image: radial-gradient(rgba(248, 238, 214, 0.14) 1.4px, transparent 1.6px); background-size: 9px 9px; }
.page-head h1 { font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(42px, 6vw, 66px); line-height: 0.95; }
.page-head p { color: rgba(248, 238, 214, 0.82); margin-top: 6px; }
.prose { max-width: 780px; padding-block: 40px 64px; }
.prose h2 { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 30px; margin-top: 30px; }
.prose p, .prose li { margin-top: 12px; font-size: 16.5px; color: #222; }
.prose ul { padding-left: 22px; }
.prose a { color: #0b6b34; font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav a { font-size: 14.5px; }
  .panels { grid-template-columns: 1fr 1fr; }
  .qcards { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: 1fr 1fr; gap: 14px 0; }
  .strip .btn { margin: 0; justify-self: start; }
  .f-item:nth-child(3) { border-left: 0; padding-left: 4px; }
}
@media (max-width: 760px) {
  .nav, .header-cta .outline { display: none; }
  .brand img { height: 40px; }
  .hero-art { aspect-ratio: 16 / 9; }
  .hero::after { display: none; }
  .hero-copy { position: static; width: auto; transform: none; padding: 20px 20px 24px; background: var(--forest); }
  .hero-kicker { font-size: 14px; }
  .hero h1 { font-size: 56px; }
  .hero-lede { font-size: 16px; margin-top: 16px; }
  .hero-buttons { margin-top: 16px; }
  .hero-ticks { font-size: 13px; gap: 0 14px; margin-top: 14px; flex-wrap: wrap; }
  .btn.big { font-size: 18px; }
  .cards, .panels, .tcards { grid-template-columns: 1fr; }
  .qcards { grid-template-columns: 1fr 1fr; }
  .how-captions { grid-template-columns: 1fr; gap: 10px; padding: 14px 20px 18px; font-size: 15px; text-align: left; }
  .how-captions b { display: block; font-family: var(--display); font-style: italic; text-transform: uppercase; font-size: 22px; }
  .getapp > img { aspect-ratio: 2 / 1; object-position: 0% center; }
  .getapp-copy { position: static; width: auto; transform: none; padding: 20px; background: var(--forest); }
  .getapp-copy h2 { font-size: 60px; }
  .getapp-copy p { font-size: 24px; max-width: none; }
  .store-badges { transform: none; margin-top: 14px; }
  .store-badges .b-apple { height: 44px; }
  .store-badges .b-google { height: 65px; }
  .getapp-copy .soon { transform: none; font-size: 14px; margin-top: 6px; }
  .strip { grid-template-columns: 1fr; }
  .f-item { border-left: 0; padding-left: 4px; }
}

@media (max-width: 560px) {
  .qcards { grid-template-columns: 1fr; }
  .qcard { display: grid; grid-template-columns: 96px 1fr; column-gap: 14px; align-items: center; text-align: left; padding: 14px 16px; }
  .qcard img { width: 96px; grid-row: span 2; margin: 0; }
  .qcard h3 { margin-top: 0; align-self: end; }
  .qcard p { margin-top: 4px; align-self: start; }
}
