/* rnd2.ca — black, white and lime, like the app */
:root {
  --bg: #080808; --surface: #111111; --field: #1A1A1A;
  --line: rgba(255,255,255,0.10); --text: #FFFFFF; --mute: rgba(255,255,255,0.72);
  --lime: #A8E03D; --lime-hi: #C4F06A;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--lime); }
a:hover { color: var(--lime-hi); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.muted { color: rgba(255,255,255,0.6); }
.mt-16 { margin-top: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; font-size: 14px;
       border-radius: 99px; padding: 12px 20px; border: 0; cursor: pointer; font-family: var(--body); min-height: 44px; }
.btn-lime { background: var(--lime); color: var(--bg) !important; }
.btn-lime:hover { background: var(--lime-hi); }
.btn-ghost { color: var(--text) !important; border: 1px solid rgba(255,255,255,0.35); font-weight: 600; }
.btn-ghost:hover { border-color: var(--text); }
.btn-lg { font-size: 15px; padding: 16px 28px; }
.btn-block { width: 100%; padding: 18px; font-size: 16px; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* Nav */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
       gap: 16px; padding: 22px var(--gutter); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text) !important; }
.brand img { width: 34px; height: 34px; }
.brand span:first-of-type { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: 1px; }
.brand.small img { width: 26px; height: 26px; }
.brand.small span:first-of-type { font-size: 20px; }
.menu { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); font-size: 14px; font-weight: 500; }
.menu a:not(.btn) { color: var(--text); text-decoration: none; }
.menu a:not(.btn):hover { color: var(--lime); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3);
            background: rgba(8,8,8,0.4); color: var(--text); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: flex; }
  .menu { display: none; position: absolute; top: 76px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 4px;
          background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 12px; }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: 12px; font-size: 16px; }
  .menu .btn { margin-top: 6px; }
}

/* Hero slider */
.hero { position: relative; min-height: max(640px, min(100vh, 860px)); overflow: hidden; background: var(--bg); display: flex; }
.hero-photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 900ms ease; }
.hero-photo.is-on { opacity: 1; }
.hero-shade { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.7) 42%, rgba(8,8,8,0.15) 100%),
              linear-gradient(0deg, var(--bg) 0%, rgba(8,8,8,0) 26%); }
.hero-inner { position: relative; width: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 120px; padding-bottom: 48px; }
.hero-copy { max-width: 720px; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; visibility: hidden; }
.slide.is-on { visibility: visible; }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(168,224,61,0.4); border-radius: 99px;
        padding: 6px 12px; font-size: 12px; font-weight: 600; color: var(--lime); margin-bottom: 28px; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: var(--lime); }
.hero-title { overflow-wrap: break-word; margin: 12px 0 0; font-family: var(--display); font-weight: 900; font-size: clamp(60px, 8vw, 116px);
              line-height: 0.88; text-transform: uppercase; letter-spacing: -1px; }
.divider { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 12px; font-weight: 600; letter-spacing: 1.6px;
           text-transform: uppercase; color: rgba(255,255,255,0.75); }
.divider span { width: 36px; height: 2px; background: var(--lime); flex: none; }
.hero-body { margin: 16px 0 0; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,0.85); max-width: 540px; }
.slide.is-on { animation: rise 600ms ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-controls { display: flex; align-items: center; gap: 20px; margin-top: 48px; }
.counter { font-family: var(--display); font-weight: 800; font-size: 22px; min-width: 70px; }
.counter .dim { color: rgba(255,255,255,0.45); }
.bars { flex: 1; max-width: 520px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.bar { height: 28px; background: transparent; border: 0; padding: 0; cursor: pointer; display: flex; align-items: center; }
.bar span { display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.25); overflow: hidden; position: relative; }
.bar.done span { background: rgba(255,255,255,0.7); }
.bar.is-on span { background: rgba(255,255,255,0.25); }
.bar.is-on span::after { content: ''; position: absolute; inset: 0; background: var(--lime); transform-origin: left; animation: fill var(--slide-ms, 6000ms) linear both; }
.hero.paused .bar.is-on span::after { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); background: rgba(8,8,8,0.4);
             color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; }
.round-btn:hover { border-color: var(--text); }
@media (max-width: 700px) {
  .hero { height: max(720px, 100svh); }
  .hero-shade { background: linear-gradient(180deg, rgba(8,8,8,0.6) 0%, rgba(8,8,8,0.15) 18%, rgba(8,8,8,0.78) 34%, rgba(8,8,8,0.92) 60%, var(--bg) 100%); }
  .hero-inner { justify-content: flex-end; padding-top: 140px; padding-bottom: 28px; }
  .pill { display: none; }
  .hero-title { font-size: clamp(52px, 17vw, 72px); }
  .h2 { font-size: clamp(40px, 11vw, 52px); }
  .divider { letter-spacing: 1.2px; font-size: 11px; }
  .hero-body { font-size: 15px; }
  .hero-ctas .btn-ghost { display: none; }
  .hero-ctas .btn-lime { width: 100%; }
  .hero-controls { margin-top: 24px; gap: 14px; }
  .counter { display: none; }
}

/* Stats */
.stats { border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
.stats-grid { padding-top: 36px; padding-bottom: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.stat { font-family: var(--display); font-weight: 900; font-size: clamp(40px, 4.4vw, 56px); white-space: nowrap; line-height: 1; color: var(--lime); }
.stat-label { font-size: 14px; color: var(--mute); margin-top: 6px; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat { font-size: 44px; } }

/* Sections */
.section { padding-top: 110px; padding-bottom: 20px; }
.section-last { padding-bottom: 120px; }
.h2 { overflow-wrap: break-word; hyphens: manual; margin: 10px 0 40px; font-family: var(--display); font-weight: 900; font-size: clamp(48px, 6vw, 80px); line-height: 0.92; text-transform: uppercase; }
.h2 em { font-style: normal; color: var(--lime); }
.h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 800; font-size: 26px; text-transform: uppercase; line-height: 1.05; }
.lead { margin: -20px 0 40px; font-size: 17px; line-height: 1.6; color: var(--mute); max-width: 680px; }
p { line-height: 1.6; }
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: 24px; padding: 28px; background: rgba(255,255,255,0.03); }
.card p { margin: 0; font-size: 15px; color: var(--mute); }
.step-n { font-family: var(--display); font-weight: 900; font-size: 44px; color: var(--lime); line-height: 1; margin-bottom: 18px; }
@media (max-width: 700px) { .section { padding-top: 72px; } .card { padding: 22px; } }

/* Ways to play */
.format { border-radius: 28px; padding: 32px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.03); }
.format-lime { background: var(--lime); color: var(--bg); border-color: var(--lime); }
.format-tag { font-size: 12px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--lime); }
.format-lime .format-tag { color: var(--bg); }
.format-title { margin: 12px 0 0; font-family: var(--display); font-weight: 900; font-size: 44px; line-height: 0.95; text-transform: uppercase; }
.format ul { margin: 20px 0 0; padding-left: 18px; font-size: 15px; line-height: 1.8; color: rgba(255,255,255,0.78); }
.format-lime ul { color: var(--bg); }

/* League tiers */
.tiers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; align-items: end; }
.tier { border-radius: 18px; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; }
.tier-n { font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; opacity: 0.75; }
.tier-name { font-family: var(--display); font-weight: 900; font-size: 30px; text-transform: uppercase; line-height: 1; }
.tier-1 { height: 110px; background: rgba(168,224,61,0.06); } .tier-2 { height: 136px; background: rgba(168,224,61,0.11); }
.tier-3 { height: 162px; background: rgba(168,224,61,0.16); } .tier-4 { height: 188px; background: rgba(168,224,61,0.21); }
.tier-5 { height: 214px; background: rgba(168,224,61,0.26); } .tier-6 { height: 240px; background: rgba(168,224,61,0.31); }
.tier-7 { height: 266px; background: var(--lime); color: var(--bg); }
@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; }
  .tier { height: auto !important; flex-direction: row; justify-content: space-between; align-items: center; padding: 14px 18px; }
  .tier-name { font-size: 24px; }
}

/* Player Card */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split-text { flex: 1 1 420px; min-width: 0; }
.facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,0.8); }
.facts strong { color: var(--text); }
.player-card { flex: 0 1 380px; border-radius: 32px; overflow: hidden; background: var(--lime); color: var(--bg); box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.pc-photo { height: 210px; position: relative; background: #222 center / cover; }
.pc-tier { position: absolute; top: 16px; right: 16px; background: rgba(8,8,8,0.75); color: #fff; border-radius: 99px; padding: 6px 12px;
           font-size: 10px; font-weight: 700; letter-spacing: 1.4px; }
.pc-body { padding: 20px 22px 24px; }
.pc-top { display: flex; justify-content: space-between; align-items: flex-end; }
.pc-name { font-family: var(--display); font-weight: 900; font-size: 52px; line-height: 0.9; }
.pc-handle { font-size: 12px; font-weight: 600; margin-top: 6px; }
.pc-hcp { text-align: right; }
.pc-big { font-family: var(--display); font-weight: 900; font-size: 44px; line-height: 0.9; }
.pc-lbl { font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.pc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1.5px solid rgba(8,8,8,0.25); }
.pc-num { font-family: var(--display); font-weight: 800; font-size: 24px; }

/* Fair play */
.check { border-top: 2px solid var(--lime); padding-top: 18px; }
.check p { margin: 0; font-size: 15px; color: var(--mute); }

/* Early access */
.signup { border-radius: 36px; background: var(--surface); border: 1px solid rgba(255,255,255,0.08); padding: clamp(24px, 5vw, 64px);
          display: flex; flex-wrap: wrap; gap: 48px; }
.signup-text { flex: 1 1 360px; min-width: 0; }
.signup-text .lead { margin: 0; }
.signup-form-wrap { flex: 1 1 420px; min-width: 0; }
.signup-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.7); }
.field input, .field select { font: 15px var(--body); color: var(--text); background: var(--field); border: 1px solid rgba(255,255,255,0.14);
                              border-radius: 14px; padding: 14px; width: 100%; }
.field input:focus, .field select:focus { border-color: var(--lime); outline: none; }
.field input[aria-invalid="true"] { border-color: #FF7B7B; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; color: #FF7B7B; font-size: 14px; min-height: 0; }
.form-error:empty { display: none; }
.signup-done { border: 1px solid rgba(168,224,61,0.4); background: rgba(168,224,61,0.08); border-radius: 24px; padding: 28px; }
.signup-done p { margin: 0; color: var(--mute); }
@media (max-width: 520px) { .signup-form { grid-template-columns: 1fr; } }

/* Footer */
.footer { border-top: 1px solid rgba(255,255,255,0.08); }
.footer-row { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer-links a:hover { color: var(--lime); }
@media (prefers-reduced-motion: reduce) {
  .bar.is-on span { background: var(--lime); }
  .bar.is-on span::after, .slide.is-on { animation: none; }
}
.signup .h2 { font-size: clamp(40px, 4.6vw, 68px); }
.grid-5 .h3 { font-size: 22px; }
