/* jil29 mobile-first layout */
:root {
  font-size: 62.5%;
  --s540-primary: #ffbf00;
  --s540-accent: #ff4500;
  --s540-warm: #ffa500;
  --s540-olive: #bdb76b;
  --s540-bg: #10100f;
  --s540-panel: #1b1a16;
  --s540-panel-soft: #262626;
  --s540-text: #f6f2d8;
  --s540-muted: #c0c0c0;
  --s540-line: rgba(255, 191, 0, .22);
  --s540-glow: 0 1.2rem 3.4rem rgba(255, 69, 0, .22);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--s540-text);
  background:
    radial-gradient(circle at top left, rgba(255, 191, 0, .2), transparent 30rem),
    radial-gradient(circle at 90% 8%, rgba(255, 69, 0, .18), transparent 24rem),
    linear-gradient(180deg, #0d0d0c 0%, #19160f 42%, #0f0f0e 100%);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5rem;
  overflow-x: hidden;
}
a { color: inherit; }
button, a { touch-action: manipulation; }
main { width: 100%; }
img { max-width: 100%; display: block; }
.s540-lock { overflow: hidden; }
.s540-wrapper {
  width: min(100%, 43rem);
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(38,38,38,.68), rgba(15,15,14,.98));
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 0 .1rem rgba(255,255,255,.05), 0 0 4rem rgba(0,0,0,.5);
}
.s540-container { width: calc(100% - 2.4rem); margin: 0 auto; }
.s540-grid { display: grid; gap: 1.2rem; }
.s540-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(16,16,15,.94);
  backdrop-filter: blur(1.4rem);
  border-bottom: .1rem solid var(--s540-line);
}
.s540-header-row {
  min-height: 6.2rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .8rem 1rem;
}
.s540-brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  min-width: 0;
  flex: 1;
}
.s540-logo {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1rem;
  border: .1rem solid rgba(255,191,0,.4);
  background: #000;
}
.s540-brand-name {
  font-weight: 900;
  letter-spacing: .04em;
  font-size: 1.8rem;
  color: var(--s540-primary);
  text-transform: uppercase;
}
.s540-brand-sub { display: block; color: var(--s540-muted); font-size: 1.05rem; line-height: 1.2; }
.s540-header-actions { display: flex; gap: .6rem; align-items: center; }
.s540-btn {
  border: 0;
  border-radius: 999rem;
  min-height: 4.4rem;
  min-width: 4.4rem;
  padding: 0 1.4rem;
  font-weight: 900;
  color: #171004;
  background: linear-gradient(135deg, var(--s540-primary), var(--s540-warm));
  box-shadow: 0 .7rem 1.8rem rgba(255, 165, 0, .24);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.s540-btn:hover, .s540-btn:focus-visible { transform: translateY(-.1rem) scale(1.02); filter: brightness(1.06); }
.s540-btn:active { transform: scale(.96); }
.s540-btn-ghost {
  background: rgba(255,255,255,.06);
  color: var(--s540-text);
  border: .1rem solid rgba(255,191,0,.24);
  box-shadow: none;
}
.s540-btn-hot { background: linear-gradient(135deg, var(--s540-accent), var(--s540-primary)); }
.s540-menu-toggle {
  width: 4.4rem;
  padding: 0;
  background: rgba(189,183,107,.12);
  color: var(--s540-primary);
  border: .1rem solid rgba(189,183,107,.28);
}
.s540-desktop-nav { display: none; }
.s540-mobile-menu {
  position: fixed;
  top: 0;
  right: -31rem;
  width: min(31rem, 86vw);
  height: 100vh;
  z-index: 9999;
  background: linear-gradient(180deg, #201c10, #0f0f0e);
  border-left: .1rem solid var(--s540-line);
  box-shadow: -2rem 0 4rem rgba(0,0,0,.45);
  transition: right .25s ease;
  padding: 2rem 1.4rem;
  overflow-y: auto;
}
.s540-menu-open { right: 0; }
.s540-menu-title { color: var(--s540-primary); font-weight: 900; font-size: 2rem; margin: 0 0 1.4rem; }
.s540-menu-links { display: grid; gap: .8rem; }
.s540-menu-links a {
  min-height: 4.8rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1.2rem;
  border-radius: 1.4rem;
  background: rgba(255,255,255,.055);
  border: .1rem solid rgba(255,255,255,.06);
  text-decoration: none;
  color: var(--s540-text);
  font-weight: 800;
}
.s540-menu-close { width: 100%; margin-top: 1.4rem; }
.s540-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0,0,0,.56);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.s540-overlay-open { opacity: 1; pointer-events: auto; }
.s540-hero { padding: 1.4rem 0 1rem; }
.s540-kicker {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--s540-primary);
  background: rgba(255,191,0,.12);
  border: .1rem solid rgba(255,191,0,.28);
  border-radius: 999rem;
  padding: .7rem 1rem;
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
}
.s540-title { font-size: clamp(2.7rem, 9vw, 4.4rem); line-height: 1.02; margin: 1.2rem 0 .8rem; letter-spacing: -.05em; }
.s540-title strong { color: var(--s540-primary); text-shadow: 0 0 2rem rgba(255,191,0,.25); }
.s540-lead { color: var(--s540-muted); line-height: 1.7; margin: 0 0 1.4rem; }
.s540-hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.4rem 0; }
.s540-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1.2rem 0; }
.s540-metric { background: rgba(255,255,255,.055); border: .1rem solid rgba(255,255,255,.07); border-radius: 1.4rem; padding: 1rem; }
.s540-metric b { color: var(--s540-primary); display: block; font-size: 1.8rem; }
.s540-metric span { color: var(--s540-muted); font-size: 1.1rem; }
.s540-slider { position: relative; height: 18rem; border-radius: 2rem; overflow: hidden; border: .1rem solid var(--s540-line); box-shadow: var(--s540-glow); }
.s540-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .5s ease, transform .5s ease; }
.s540-slide-active { opacity: 1; transform: scale(1); }
.s540-slide img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) contrast(1.08); }
.s540-slide-label { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: 1rem; border-radius: 1.4rem; background: rgba(0,0,0,.58); font-weight: 900; }
.s540-dots { position: absolute; top: 1rem; right: 1rem; display: flex; gap: .5rem; }
.s540-dot { width: .9rem; height: .9rem; border-radius: 50%; background: rgba(255,255,255,.35); border: 0; padding: 0; }
.s540-dot-active { background: var(--s540-primary); }
.s540-section { padding: 1.8rem 0; }
.s540-section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.2rem; }
.s540-section-title { margin: 0; font-size: 2.25rem; line-height: 1.15; color: var(--s540-text); }
.s540-section-title span { color: var(--s540-primary); }
.s540-section-note { color: var(--s540-muted); font-size: 1.2rem; margin: .4rem 0 0; }
.s540-card {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border: .1rem solid rgba(255,255,255,.08);
  border-radius: 1.8rem;
  padding: 1.4rem;
  box-shadow: 0 1rem 2rem rgba(0,0,0,.15);
}
.s540-card-highlight { border-color: rgba(255,191,0,.3); background: linear-gradient(145deg, rgba(255,191,0,.14), rgba(255,69,0,.08)); }
.s540-card h3, .s540-card h2 { margin-top: 0; line-height: 1.18; }
.s540-card p, .s540-card li { color: var(--s540-muted); line-height: 1.65; }
.s540-link { color: var(--s540-primary); font-weight: 900; text-decoration-thickness: .2rem; text-underline-offset: .3rem; }
.s540-promo-text { color: var(--s540-primary); font-weight: 900; cursor: pointer; }
.s540-games { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.s540-game {
  min-height: 10.8rem;
  text-decoration: none;
  background: rgba(0,0,0,.22);
  border: .1rem solid rgba(255,255,255,.07);
  border-radius: 1.3rem;
  padding: .65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: .55rem;
  transition: transform .18s ease, border-color .18s ease;
}
.s540-game:hover { transform: translateY(-.2rem); border-color: rgba(255,191,0,.42); }
.s540-game img { width: 5.4rem; height: 5.4rem; border-radius: 1.2rem; object-fit: cover; background: #111; }
.s540-game span { color: var(--s540-text); font-size: 1.05rem; line-height: 1.18; text-align: center; font-weight: 800; }
.s540-category { margin-bottom: 1.8rem; }
.s540-category h3 { display: flex; align-items: center; gap: .8rem; color: var(--s540-primary); margin: 0 0 1rem; font-size: 1.75rem; }
.s540-split { display: grid; gap: 1rem; }
.s540-steps { counter-reset: s540-step; display: grid; gap: 1rem; }
.s540-step { position: relative; padding-left: 5.2rem; min-height: 4.4rem; }
.s540-step::before { counter-increment: s540-step; content: counter(s540-step); position: absolute; left: 0; top: 0; width: 3.8rem; height: 3.8rem; border-radius: 1.2rem; display: grid; place-items: center; color: #1a1205; background: var(--s540-primary); font-weight: 900; }
.s540-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 1.4rem; font-size: 1.25rem; }
.s540-table th, .s540-table td { padding: .9rem; border-bottom: .1rem solid rgba(255,255,255,.08); text-align: left; }
.s540-table th { color: var(--s540-primary); background: rgba(255,191,0,.08); }
.s540-badges { display: flex; gap: .7rem; flex-wrap: wrap; }
.s540-badge { border: .1rem solid rgba(255,191,0,.28); color: var(--s540-primary); background: rgba(255,191,0,.08); border-radius: 999rem; padding: .6rem .9rem; font-weight: 800; font-size: 1.15rem; }
.s540-footer { padding: 2rem 0 8.4rem; background: rgba(0,0,0,.2); border-top: .1rem solid var(--s540-line); }
.s540-footer-logo { display: flex; align-items: center; gap: .8rem; font-weight: 900; color: var(--s540-primary); }
.s540-footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin: 1.2rem 0; }
.s540-footer-links a { text-decoration: none; color: var(--s540-muted); background: rgba(255,255,255,.045); border: .1rem solid rgba(255,255,255,.06); padding: .85rem; border-radius: 1rem; font-weight: 700; }
.s540-footer-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin: 1.2rem 0; }
.s540-copy { color: var(--s540-muted); font-size: 1.15rem; line-height: 1.6; }
.s540-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 43rem);
  height: 6.2rem;
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #17120a;
  border-top: .1rem solid rgba(255,191,0,.28);
  box-shadow: 0 -1rem 2.8rem rgba(0,0,0,.42);
}
.s540-bottom-item {
  min-width: 6rem;
  min-height: 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .25rem;
  color: var(--s540-muted);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 900;
  transition: transform .18s ease, color .18s ease;
}
.s540-bottom-item i, .s540-bottom-item ion-icon, .s540-bottom-item .material-icons { font-size: 2.3rem; line-height: 1; }
.s540-bottom-item:active { transform: scale(.9); }
.s540-bottom-active, .s540-bottom-item:hover { color: var(--s540-primary); }
.s540-bottom-active { background: radial-gradient(circle, rgba(255,191,0,.18), transparent 70%); }
.s540-pill-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.s540-testimonial { display: grid; gap: 1rem; }
.s540-quote { border-left: .3rem solid var(--s540-primary); padding-left: 1rem; color: var(--s540-muted); }
.s540-winner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem; border-radius: 1.2rem; background: rgba(255,255,255,.05); }
.s540-winner b { color: var(--s540-primary); }
@media (max-width: 768px) { main { padding-bottom: 8rem; } }
@media (min-width: 769px) {
  body { background: #0b0b0a; }
  .s540-wrapper { width: min(100%, 112rem); max-width: 112rem; }
  .s540-container { width: calc(100% - 4.8rem); }
  .s540-bottom-nav { display: none; }
  main { padding-bottom: 0; }
  .s540-menu-toggle { display: none; }
  .s540-desktop-nav { display: flex; gap: 1.2rem; align-items: center; }
  .s540-desktop-nav a { color: var(--s540-muted); text-decoration: none; font-weight: 800; }
  .s540-desktop-nav a:hover { color: var(--s540-primary); }
  .s540-slider { height: 34rem; }
  .s540-games { grid-template-columns: repeat(8, 1fr); }
  .s540-split { grid-template-columns: repeat(2, 1fr); }
  .s540-footer { padding-bottom: 3rem; }
  .s540-footer-links { grid-template-columns: repeat(5, 1fr); }
  .s540-footer-actions { grid-template-columns: repeat(4, 1fr); }
}
