@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

/* ---------- TOKENS ---------- */
:root {
  --bg-base: #17142b;
  --bg-card: #262046;
  --accent: #22e6a4;
  --highlight: #ef4bc8;
  --text: #efecfa;
  --muted: #a29ccb;
  --border: #362f5e;

  --disp: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --body: 'IBM Plex Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --pill: 999px;
  --rad: 20px;
  --rad-s: 12px;
  --ease: 200ms cubic-bezier(.32,.72,0,1);
  --shell: 1180px;
}

/* ---------- BASE ---------- */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg-base);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.66;
  overflow-x: hidden;
}
::selection { background: var(--highlight); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #100e1f; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: var(--pill); }
::-webkit-scrollbar-thumb:hover { background: var(--highlight); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- TYPE ---------- */
h1, h2, h3, h4 { font-family: var(--disp); line-height: 1.16; font-weight: 700; letter-spacing: -0.4px; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; margin-bottom: .65rem; }
h3 { font-size: 1.12rem; margin-bottom: .4rem; font-weight: 600; }
h4 { font-size: .98rem; margin-bottom: .28rem; font-weight: 600; }
p { margin-bottom: 1rem; }
ul, ol { margin: 0 0 1.1rem 1.1rem; }
li { margin-bottom: .42rem; }
small { font-size: .84rem; color: var(--muted); }

/* ---------- CONTAINER ---------- */
.k2r_shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 18px; }
.k2r_intro { font-size: 1.06rem; color: #ddd8f4; }

/* ---------- BUTTONS (pill, matching the brand's cashier) ---------- */
.k2r_b {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 12px 26px; border-radius: var(--pill);
  font-family: var(--disp); font-weight: 700; font-size: .98rem;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}
.k2r_b:hover { text-decoration: none; transform: translateY(-2px); }
.k2r_b--mint { background: var(--accent); color: #06301f; box-shadow: 0 8px 24px rgba(34,230,164,.24); }
.k2r_b--mint:hover { box-shadow: 0 12px 30px rgba(34,230,164,.38); }
.k2r_b--pink { background: var(--highlight); color: #fff; box-shadow: 0 8px 24px rgba(239,75,200,.26); }
.k2r_b--edge { border: 2px solid var(--accent); color: var(--accent); }
.k2r_b--edge:hover { background: var(--accent); color: #06301f; }
.k2r_b--quiet { color: var(--text); border: 1px solid var(--border); background: rgba(255,255,255,.03); }
.k2r_b--quiet:hover { border-color: var(--highlight); color: var(--highlight); }
.k2r_b--lg { min-height: 56px; padding: 15px 34px; font-size: 1.06rem; }
.k2r_b--sm { min-height: 44px; padding: 9px 20px; font-size: .9rem; }
.k2r_b--wide { display: flex; width: 100%; }

/* ---------- NAV ---------- */
.k2r_bar { position: sticky; top: 0; z-index: 60; background: rgba(23,20,43,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.k2r_bar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.k2r_mark { display: flex; align-items: center; }
.k2r_mark img { height: 36px; width: auto; }
.k2r_menu { display: none; }
.k2r_menu a { color: var(--muted); font-weight: 600; font-size: .9rem; padding: 8px 8px; border-radius: var(--rad-s); transition: color var(--ease); }
.k2r_menu a:hover, .k2r_menu a[aria-current="page"] { color: var(--accent); text-decoration: none; }
.k2r_hamb { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: var(--pill); color: var(--text); }
.k2r_hamb span { display: block; width: 18px; height: 2px; background: currentColor; box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor; }
.k2r_drawer { display: none; border-top: 1px solid var(--border); padding: 8px 0 16px; }
.k2r_drawer.open { display: block; }
.k2r_drawer a { display: block; padding: 12px 4px; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--border); }
.k2r_drawer a:last-child { border-bottom: 0; }
.k2r_barcta { display: none; }

/* ---------- TICKER ---------- */
.k2r_tick { background: linear-gradient(90deg, var(--highlight), #7b2fe0 65%, var(--accent)); color: #fff; font-size: .86rem; font-weight: 600; text-align: center; padding: 8px 18px; }
.k2r_tick a { color: #06301f; background: #fff; padding: 2px 10px; border-radius: var(--pill); font-weight: 700; }
.k2r_tick a:hover { text-decoration: none; }

/* ---------- HERO — LAYOUT E (magazine 3-col) ---------- */
.k2r_hero { padding: 34px 0 30px; position: relative; }
.k2r_hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(680px 300px at 78% 4%, rgba(239,75,200,.24), transparent 64%),
    radial-gradient(560px 280px at 10% 30%, rgba(34,230,164,.14), transparent 62%);
}
.k2r_mag { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
.k2r_eyebrow { display: inline-block; font-family: var(--disp); font-size: .72rem; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: var(--highlight); margin-bottom: 12px; }
.k2r_hero h1 { font-size: clamp(1.95rem, 7.4vw, 3.1rem); margin-bottom: 14px; }
.k2r_hero h1 span { color: var(--accent); }
.k2r_acts { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

/* magazine side rail */
.k2r_rail { display: grid; gap: 12px; }
.k2r_railcard { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--rad); padding: 16px 16px; }
.k2r_railcard h3 { color: var(--accent); font-size: .82rem; letter-spacing: 1.4px; text-transform: uppercase; font-family: var(--body); }
.k2r_railcard b { display: block; font-family: var(--disp); font-size: 1.42rem; line-height: 1.16; margin: 4px 0 4px; }
.k2r_railcard p { font-size: .9rem; color: var(--muted); margin-bottom: 0; }

/* offer panel (rebuild of the brand's own sign-up banner) */
.k2r_offer { border-radius: var(--rad); overflow: hidden; border: 1px solid var(--border); background: linear-gradient(112deg, #e5169b 0%, #8b31d8 52%, #3555e0 100%); position: relative; }
.k2r_offer-in { padding: 24px 20px; }
.k2r_offer small { display: block; font-family: var(--disp); font-size: .74rem; letter-spacing: 2px; text-transform: uppercase; color: #ffe27a; font-weight: 700; }
.k2r_offer b { display: block; font-family: var(--disp); font-size: 1.7rem; line-height: 1.14; margin: 8px 0 4px; color: #fff; }
.k2r_offer p { color: #efe3fb; font-size: .93rem; margin-bottom: 14px; }
.k2r_offer .k2r_fine { font-size: .78rem; color: #e0cdf2; margin: 12px 0 0; }

/* ---------- STAT STRIP ---------- */
.k2r_stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #1d1935; }
.k2r_stats-in { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.k2r_stat { background: #1d1935; padding: 15px 12px; text-align: center; }
.k2r_stat b { display: block; font-family: var(--disp); font-size: 1.18rem; color: var(--accent); }
.k2r_stat span { font-size: .78rem; color: var(--muted); }

/* ---------- SECTIONS ---------- */
.k2r_sec { padding: 40px 0; }
.k2r_sec + .k2r_sec { border-top: 1px solid var(--border); }
.k2r_sec--panel { background: #1d1935; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.k2r_box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--rad); padding: 18px 16px; margin-bottom: 16px; }
.k2r_box h3 { color: var(--accent); }
.k2r_box--pink { border-left: 3px solid var(--highlight); }
.k2r_box--mint { border-color: rgba(34,230,164,.4); }
.k2r_box p:last-child, .k2r_box ul:last-child { margin-bottom: 0; }
.k2r_cols { display: grid; grid-template-columns: 1fr; gap: 14px; }

/* teaser cards */
.k2r_teas { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--rad); padding: 17px 16px; transition: border-color var(--ease), transform var(--ease); }
.k2r_teas:hover { border-color: var(--highlight); transform: translateY(-3px); }
.k2r_teas h3 { font-size: 1.04rem; margin-bottom: .3rem; }
.k2r_teas h3 a { color: var(--text); }
.k2r_teas h3 a:hover { color: var(--accent); text-decoration: none; }
.k2r_teas p { font-size: .92rem; color: var(--muted); margin-bottom: .5rem; }
.k2r_teas em { font-style: normal; font-size: .85rem; font-weight: 700; color: var(--accent); }

/* ---------- TABLES ---------- */
.k2r_scroll { overflow-x: auto; margin-bottom: 16px; border: 1px solid var(--border); border-radius: var(--rad-s); }
.k2r_t { min-width: 540px; font-size: .92rem; background: var(--bg-card); }
.k2r_t caption { caption-side: top; text-align: left; padding: 11px 13px 0; font-size: .84rem; color: var(--muted); }
.k2r_t th, .k2r_t td { padding: 10px 13px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.k2r_t thead th { background: #2f2857; color: var(--accent); font-family: var(--disp); font-size: .9rem; white-space: nowrap; }
.k2r_t tbody tr:last-child td { border-bottom: 0; }
.k2r_t tbody tr:nth-child(even) td { background: rgba(255,255,255,.02); }

/* ---------- SCREENSHOTS ---------- */
.k2r_shot { margin: 0 0 18px; }
.k2r_shot img { width: 100%; height: auto; border-radius: var(--rad-s); border: 1px solid var(--border); }
.k2r_shot figcaption { font-size: .84rem; color: var(--muted); padding-top: 8px; }

/* ---------- POKIE TILES ---------- */
.k2r_reels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.k2r_reel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--rad-s); overflow: hidden; }
.k2r_reel img { width: 100%; height: 112px; object-fit: cover; }
.k2r_reel b { display: block; font-size: .86rem; padding: 9px 10px 2px; font-weight: 600; }
.k2r_reel span { display: block; font-size: .75rem; color: var(--muted); padding: 0 10px 10px; }
/* title-only tiles for games we have no licensed cover for */
.k2r_reel--txt { padding: 14px 12px; background: linear-gradient(145deg, #2b2450, #201b3d); }
.k2r_reel--txt b { padding: 0; font-family: var(--disp); font-size: .95rem; }
.k2r_reel--txt span { padding: 4px 0 0; }

/* ---------- CHIPS ---------- */
.k2r_chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.k2r_chip { display: inline-flex; align-items: center; gap: 7px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--pill); padding: 8px 15px; font-size: .87rem; font-weight: 600; }
.k2r_chip svg { width: 14px; height: 14px; flex: none; }
.k2r_chip--pay svg { color: var(--accent); }
.k2r_chip--stu svg { color: var(--highlight); }
.k2r_chip--no { opacity: .5; text-decoration: line-through; }

/* ---------- STEPS ---------- */
.k2r_steps { counter-reset: k2r; list-style: none; margin-left: 0; }
.k2r_steps li { counter-increment: k2r; position: relative; padding: 0 0 16px 46px; margin-bottom: 0; }
.k2r_steps li::before {
  content: counter(k2r); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: var(--pill);
  background: var(--highlight); color: #fff; display: grid; place-items: center;
  font-family: var(--disp); font-weight: 700; font-size: .92rem;
}
.k2r_steps li b { display: block; }

/* ---------- FAQ ---------- */
.k2r_q { border: 1px solid var(--border); border-radius: var(--rad-s); margin-bottom: 9px; background: var(--bg-card); overflow: hidden; }
.k2r_q-btn { width: 100%; text-align: left; padding: 15px 46px 15px 16px; font-family: var(--disp); font-size: .99rem; font-weight: 600; position: relative; min-height: 48px; }
.k2r_q-btn::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.45rem; font-family: var(--body); line-height: 1; }
.k2r_q.open .k2r_q-btn::after { content: "\2013"; }
.k2r_q-a { display: none; padding: 0 16px 15px; font-size: .94rem; color: #d9d4f0; }
.k2r_q.open .k2r_q-a { display: block; }
.k2r_q-a p:last-child { margin-bottom: 0; }

/* ---------- CTA BAND ---------- */
.k2r_band { background: linear-gradient(120deg, #3a1466, #7a1f8f 60%, #123f5e); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 36px 0; text-align: center; }
.k2r_band p { color: #e8dcf6; max-width: 52ch; margin-left: auto; margin-right: auto; }

/* ---------- FOOTER ---------- */
.k2r_foot { background: #120f24; border-top: 1px solid var(--border); padding: 32px 0 96px; font-size: .92rem; }
.k2r_foot-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 22px; }
.k2r_foot h4 { color: var(--highlight); font-size: .78rem; letter-spacing: 1.6px; text-transform: uppercase; font-family: var(--body); font-weight: 700; }
.k2r_foot ul { list-style: none; margin: 0; }
.k2r_foot li { margin-bottom: .36rem; }
.k2r_foot a { color: var(--muted); }
.k2r_foot a:hover { color: var(--accent); }
.k2r_marks { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.k2r_mk { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: var(--pill); padding: 7px 14px; font-size: .79rem; font-weight: 600; color: var(--muted); min-height: 44px; }
.k2r_mk:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.k2r_mk--age { border-color: var(--highlight); color: var(--highlight); }
.k2r_small { border-top: 1px solid var(--border); padding-top: 16px; color: var(--muted); font-size: .84rem; }
.k2r_small p { margin-bottom: .55rem; }
.k2r_when { color: var(--accent); font-weight: 600; }

/* ---------- STICKY MOBILE CTA ---------- */
.k2r_dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(18,15,36,.97); border-top: 1px solid var(--border); padding: 9px 14px calc(9px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; }
.k2r_dock-t { flex: 1; font-size: .81rem; line-height: 1.26; color: var(--muted); }
.k2r_dock-t b { display: block; color: var(--text); font-size: .91rem; }

/* ---------- ANIMATION ---------- */
@keyframes k2rIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.k2r_hero .k2r_mag > * { animation: k2rIn .45s both; }
.k2r_hero .k2r_rail { animation-delay: .1s; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto; } }

/* ---------- RESPONSIVE ---------- */
@media (min-width: 480px) {
  .k2r_acts { flex-direction: row; flex-wrap: wrap; }
  .k2r_reels { grid-template-columns: repeat(3, 1fr); }
  .k2r_offer b { font-size: 2rem; }
}
@media (min-width: 768px) {
  body { font-size: 18px; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.82rem; }
  .k2r_shell { padding: 0 26px; }
  .k2r_hamb, .k2r_drawer { display: none !important; }
  .k2r_menu { display: flex; align-items: center; gap: 1px; flex-wrap: wrap; }
  .k2r_dock { display: none; }
  .k2r_foot { padding-bottom: 32px; }
  .k2r_cols { grid-template-columns: 1fr 1fr; }
  .k2r_stats-in { grid-template-columns: repeat(4, 1fr); }
  .k2r_sec { padding: 54px 0; }
  .k2r_offer-in { padding: 30px 28px; }
  .k2r_box { padding: 22px 20px; }
  .k2r_foot-grid { grid-template-columns: repeat(3, 1fr); }
  .k2r_reels { grid-template-columns: repeat(4, 1fr); }
  .k2r_reel img { height: 126px; }
  .k2r_rail { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .k2r_hero { padding: 52px 0 44px; }
  .k2r_mag { grid-template-columns: 1.55fr 1fr; gap: 34px; }
  .k2r_rail { grid-template-columns: 1fr; }
  .k2r_barcta { display: inline-flex; }
  .k2r_cols--3 { grid-template-columns: repeat(3, 1fr); }
  .k2r_foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .k2r_reels { grid-template-columns: repeat(5, 1fr); }
}
