:root {
  --accent: #01c1ff;
  --accent-dim: #0199cc;
  --bg: #111111;
  --bg-soft: #151515;
  --bg-card: #1a1a1a;
  --bg-elevated: #222222;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f5f5;
  --text-muted: #888888;
  --text-dim: #666666;
  --radius: 12px;
  --radius-lg: 16px;
  --maxw: 1100px;
  --font: "Outfit", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-intro {
  margin-bottom: 2.5rem;
}

.section-intro--center {
  text-align: center;
}

.section-intro--center .section-lead {
  margin: 0.75rem auto 0;
  max-width: 28rem;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Header */
.header {
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem);
}

.header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  max-width: none;
}

.header--solid {
  position: sticky;
  top: 0;
  max-width: none;
  background: rgba(17, 17, 17, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.logo img {
  width: 44px;
  height: 44px;
}

.logo__text {
  font-weight: 800;
  font-size: 1.05rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
}

.nav a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav a:not(.btn):hover,
.nav a.is-active {
  color: var(--text);
}

.nav a.btn {
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 4px;
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: inherit;
  font-weight: 700;
  border: 1.5px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn--sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
}

.btn--lg {
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 24px rgba(1, 193, 255, 0.25);
}

.btn--primary:hover {
  background: var(--accent-dim);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--text);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--bg-elevated);
}

.btn--block {
  width: 100%;
}

/* Hero — full bleed */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(17, 17, 17, 0.92) 0%,
      rgba(17, 17, 17, 0.55) 45%,
      rgba(17, 17, 17, 0.25) 100%
    ),
    linear-gradient(to bottom, rgba(17, 17, 17, 0.2), rgba(17, 17, 17, 0.94));
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 8rem clamp(1.25rem, 4vw, 2.5rem) 4rem;
}

.hero__eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero__desc {
  max-width: 34rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* Hero button pair — exact same box size */
.hero__actions {
  --hero-btn-w: 11.5rem;
  --hero-btn-h: 2.7em;
}

@media (min-width: 640px) {
  .hero__actions {
    --hero-btn-w: 13.5rem;
  }
}

.hero__actions [data-play-roblox] {
  flex-shrink: 0;
  display: inline-block;
  width: var(--hero-btn-w);
  height: var(--hero-btn-h);
  line-height: 0;
  vertical-align: middle;
}

.hero__actions [data-play-roblox] > a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

.btn--hero-match {
  box-sizing: border-box;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--hero-btn-w);
  min-width: var(--hero-btn-w);
  max-width: var(--hero-btn-w);
  height: var(--hero-btn-h);
  min-height: var(--hero-btn-h);
  max-height: var(--hero-btn-h);
  padding: 0 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1;
  border-radius: 0.5rem;
  border-width: 2px;
}

/* Experience */
.experience {
  padding: 5rem 0 6rem;
}

.experience__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.exp-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.4rem;
  overflow: hidden;
}

.exp-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0.85;
}

.exp-card__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.65rem;
}

.exp-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.45rem;
}

.exp-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Department showcase */
.departments {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.dept-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.dept-showcase__card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  min-height: 380px;
  transition: border-color 0.35s ease, transform 0.35s ease;
}

.dept-showcase__card img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 85%;
  max-height: 92%;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
  z-index: 2;
  transition: transform 0.4s ease;
}

.dept-showcase__glow {
  position: absolute;
  bottom: -20%;
  right: -20%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  opacity: 0;
  filter: blur(48px);
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.dept-showcase__card--fd .dept-showcase__glow {
  background: #e8c44a;
}

.dept-showcase__card--pd .dept-showcase__glow {
  background: #3d5a8a;
}

.dept-showcase__card--hp .dept-showcase__glow {
  background: #c4a574;
}

.dept-showcase__card:hover {
  transform: translateY(-4px);
}

.dept-showcase__card--fd:hover {
  border-color: rgba(232, 196, 74, 0.45);
}

.dept-showcase__card--pd:hover {
  border-color: rgba(61, 90, 138, 0.55);
}

.dept-showcase__card--hp:hover {
  border-color: rgba(196, 165, 116, 0.5);
}

.dept-showcase__card:hover .dept-showcase__glow {
  opacity: 0.85;
}

.dept-showcase__card:hover img {
  transform: scale(1.03) translate(-2%, -2%);
}

.dept-showcase__info {
  position: relative;
  z-index: 3;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dept-showcase__info h3 {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  max-width: 70%;
}

.dept-showcase__info span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.25s;
}

.dept-showcase__card:hover .dept-showcase__info span {
  color: var(--text);
}

.dept-showcase__card--tba {
  cursor: default;
  pointer-events: none;
}

.dept-showcase__card--tba:hover {
  transform: none;
}

.dept-showcase__card--tba:hover img {
  transform: none;
}

.dept-showcase__card--tba .dept-showcase__info span {
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.dept-credit {
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.dept-credit a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dept-credit a:hover {
  color: var(--accent);
}

.dept-credit strong {
  font-weight: 800;
}

/* Steps */
.steps {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}

.steps__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-card__num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.step-card__link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
}

.step-card__link:hover {
  text-decoration: underline;
}

/* CTA band */
.cta-band {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  padding: 4rem 0 5rem;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band__text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.cta-band__text p {
  color: var(--text-muted);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer */
.footer {
  width: 100%;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
}

.footer__brand img {
  width: 36px;
  height: 36px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer__links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--text);
}

/* Responsive */
@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(280px, 85vw);
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 5rem 2rem 2rem;
    background: var(--bg-soft);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 60;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav a.btn {
    width: 100%;
  }

  .experience__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dept-showcase,
  .steps__grid {
    grid-template-columns: 1fr;
  }

  .dept-showcase__card {
    min-height: 320px;
  }

  .live-metrics {
    grid-template-columns: 1fr;
  }

  .live-join {
    flex-direction: column;
  }

  .live-join .btn {
    max-width: none;
    width: 100%;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .experience__grid,
  .rules-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-band__actions {
    width: 100%;
    flex-direction: column;
  }

  .cta-band__actions .btn {
    width: 100%;
  }
}

/* Inner pages */
.page {
  min-height: calc(100vh - 80px);
  padding-top: 1rem;
  padding-bottom: 4rem;
}

.page-hero.wrap,
.page-hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
}

.page-hero__eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.page-hero__desc {
  max-width: 40rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.page-hero__desc a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.page-note {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) 4rem;
}

.page-note p {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Live game page */
.live-page__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.live-page__head h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.live-page__head p {
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.live-page__head-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.live-page__updated {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
}

.live-dot--on {
  background: #5cd67a;
  box-shadow: 0 0 10px rgba(92, 214, 122, 0.6);
}

.live-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.live-join {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.live-join [data-play-roblox] {
  line-height: 0;
}

.live-join .btn--primary,
.live-join .btn--ghost {
  min-width: 200px;
}

.metric {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.metric__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.metric__value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.metric__value small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.metric__bar {
  height: 3px;
  background: var(--bg-elevated);
  border-radius: 2px;
  overflow: hidden;
}

.metric__bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.4s ease;
}

.metric__foot {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: auto;
}

.metric__foot--ok { color: #6bcf8a; }
.metric__foot--warn { color: #e8b84a; }
.metric__foot--error { color: #e07070; }

.live-details {
  margin-bottom: 2rem;
}

.live-details__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.live-details__list div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.live-details__list dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.live-details__list dd {
  font-size: 0.95rem;
  font-weight: 600;
  word-break: break-word;
}

.live-staff {
  margin-bottom: 2rem;
}

.live-staff__title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}

.staff-grid__empty {
  grid-column: 1 / -1;
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.staff-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.staff-card__avatar-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.staff-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--bg-elevated);
}

.staff-card__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.staff-card__fallback[hidden],
.staff-card__avatar[hidden] {
  display: none;
}

.staff-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.staff-card__name {
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.staff-card__role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

.staff-card__meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Placeholder / rules / apps */
.placeholder-grid,
.applications-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.placeholder-card,
.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
}

.placeholder-card__icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--bg-elevated);
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.placeholder-card__icon svg {
  width: 26px;
  height: 26px;
}

.placeholder-card h2,
.app-card h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.placeholder-card p,
.app-card p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Rules page */
.rules-page__band {
  width: 100%;
  max-width: none;
  padding-left: clamp(1.25rem, 5vw, 4rem);
  padding-right: clamp(1.25rem, 5vw, 4rem);
}

.rules-page__head {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.rules-page__title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.rules-page__lead {
  color: var(--text-muted);
  max-width: 36rem;
  font-size: 1.05rem;
}

.rules-section {
  padding-bottom: 3.5rem;
}

.rules-section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
}

.rule-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.35rem 1.25rem 1.4rem;
}

.rule-tile.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.97);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.rule-tile.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.rules-grid .rule-tile.reveal:nth-child(4n + 2) {
  transition-delay: 0.07s;
}

.rules-grid .rule-tile.reveal:nth-child(4n + 3) {
  transition-delay: 0.14s;
}

.rules-grid .rule-tile.reveal:nth-child(4n) {
  transition-delay: 0.21s;
}

@media (prefers-reduced-motion: reduce) {
  .rule-tile.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.rule-tile__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.rule-tile__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.rule-tile__desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .live-details__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
