.home-theme-body { background: #080e17; }
.home-main { flex: 1; width: 100%; max-width: none; margin: 0; padding: 0 0 56px !important; }
.landing-page { width: 100%; overflow: hidden; }
.landing-hero {
  position: relative;
  min-height: 500px;
  padding: 42px 0 112px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid #c18d2e;
  background: #08111d;
}
.landing-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 13, 22, .83) 0%, rgba(6, 13, 22, .7) 29%, rgba(6, 13, 22, .23) 56%, rgba(6, 13, 22, .04) 100%),
              linear-gradient(0deg, rgba(7, 14, 23, .82) 0%, transparent 43%, rgba(7, 14, 23, .14) 100%);
  content: "";
}
.landing-hero-art { position: absolute; z-index: -2; inset: 0; background: url('/home-hero-arena.png') center 52% / cover no-repeat; }
.landing-hero-inner { position: relative; width: min(1410px, calc(100% - 48px)); min-height: 346px; margin: 0 auto; }
.landing-copy { width: min(510px, 48%); }
.landing-kicker { margin: 0 0 17px; color: #ccd3dc; font-size: .68rem; font-weight: 600; letter-spacing: 2.5px; }
.landing-kicker i { padding: 0 4px; color: #e4b348; font-style: normal; }
.landing-wordmark { display: flex; align-items: center; gap: 14px; width: fit-content; margin: 0 0 20px; }
.landing-wordmark-emblem { display: block; width: clamp(76px, 8vw, 106px); height: clamp(76px, 8vw, 106px); object-fit: contain; filter: drop-shadow(0 4px 14px rgba(25, 111, 255, .25)); }
.landing-wordmark-copy { display: flex; flex-direction: column; align-items: flex-start; }
.landing-wordmark-main { color: #f3d88e; font: 700 clamp(4.3rem, 6vw, 6.2rem)/.78 'Rajdhani', sans-serif; letter-spacing: 3px; text-shadow: 0 5px 20px rgba(0, 0, 0, .48), 0 0 22px rgba(212, 163, 61, .2); }
.landing-wordmark-sub { align-self: center; margin-top: 12px; color: #f3f4f6; font: italic 700 clamp(1.1rem, 1.7vw, 1.55rem)/1 'Rajdhani', sans-serif; letter-spacing: 2.2px; text-shadow: 0 3px 12px rgba(0, 0, 0, .5); }
.landing-copy h1 { max-width: 515px; margin: 0 0 8px; color: #f3f5f8; font: 700 1.48rem/1.25 'Inter', sans-serif; letter-spacing: -.3px; }
.landing-lead { max-width: 480px; margin: 0; color: #c5ced9; font-size: .9rem; line-height: 1.55; text-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.landing-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 24px; }
.landing-actions .btn { min-height: 48px; padding: 0 23px; border-radius: 9px; font: 700 .79rem 'Inter', sans-serif; letter-spacing: .2px; text-transform: uppercase; }
.landing-primary { gap: 10px; border: 1px solid #edc25c; background: linear-gradient(135deg, #f5cc6a, #b98730); color: #19150c; }
.landing-primary:hover { border-color: #ffe08a; background: linear-gradient(135deg, #ffde82, #d2a141); color: #17140d; }
.landing-primary > span:first-child { font-size: 1.05rem; }
.landing-arrow { margin-left: 6px; font-size: 1rem; }
.landing-secondary { gap: 10px; border: 1px solid #bc8e3c; background: rgba(7, 14, 23, .72); color: #f0f2f5; }
.landing-secondary:hover { background: rgba(227, 182, 79, .12); color: #ffe3a0; }

.landing-feature-band {
  position: absolute;
  right: 0;
  bottom: -112px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 99px;
  padding: 15px 12px 14px;
  border: 1px solid rgba(176, 143, 78, .22);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(105deg, rgba(7, 14, 23, .94), rgba(8, 17, 29, .89));
  backdrop-filter: blur(8px);
}
.landing-feature { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 0 21px; color: #e9edf3; text-decoration: none; }
.landing-feature + .landing-feature { border-left: 1px solid rgba(137, 154, 176, .28); }
.landing-feature:hover { color: #ffe29a; }
.landing-feature-icon { display: grid; place-items: center; flex: 0 0 39px; color: #e8b746; font-size: 2rem; text-shadow: 0 0 16px rgba(224, 174, 61, .2); }
.landing-feature > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.landing-feature strong { color: #f1f2f4; font-size: .82rem; }
.landing-feature small { max-width: 210px; margin-top: 4px; color: #aeb9c8; font-size: .68rem; line-height: 1.4; }

.home-tournaments, .home-steps { width: min(1410px, calc(100% - 48px)); margin: 0 auto; }
.home-tournaments { padding-top: 26px; }
.home-section-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 19px; }
.home-section-head h2 { display: flex; align-items: center; gap: 12px; margin: 0; color: #eff2f6; font: 700 1.42rem 'Inter', sans-serif; letter-spacing: -.3px; }
.home-section-head h2 > span { color: #e6b648; font-size: 1.55rem; }
.home-section-head > a { color: #efc355; font-size: .76rem; font-weight: 600; white-space: nowrap; }
.home-section-head > a:hover { color: #ffe29a; }
.home-section-head > a span { margin-left: 5px; }
.home-tournament-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-tournament-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  min-height: 165px;
  padding: 18px 20px 17px;
  overflow: hidden;
  border: 1px solid rgba(192, 151, 65, .58);
  border-radius: 12px;
  background: linear-gradient(100deg, rgba(7, 15, 25, .97), rgba(9, 20, 34, .86) 57%, rgba(9, 20, 34, .45));
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
  color: #f0f3f7;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.home-tournament-card::before { position: absolute; inset: 0; background: radial-gradient(ellipse at 82% 18%, rgba(56, 131, 217, .48), transparent 40%), linear-gradient(90deg, transparent 30%, rgba(12, 28, 48, .04)); content: ""; }
.home-tournament-card::after { position: absolute; top: -18px; right: 22px; color: rgba(186, 207, 235, .2); content: "♜"; font: 6.8rem/1 'Rajdhani', sans-serif; transform: rotate(9deg); }
.home-tournament-card.tournament-art-2::before { background: radial-gradient(ellipse at 83% 25%, rgba(143, 62, 220, .56), transparent 42%), linear-gradient(90deg, transparent 30%, rgba(29, 16, 51, .04)); }
.home-tournament-card.tournament-art-2::after { color: rgba(186, 133, 252, .25); content: "✦"; font-size: 6.2rem; }
.home-tournament-card.tournament-art-3::before { background: radial-gradient(ellipse at 83% 23%, rgba(78, 147, 219, .56), transparent 42%), linear-gradient(90deg, transparent 30%, rgba(11, 28, 47, .05)); }
.home-tournament-card.tournament-art-3::after { color: rgba(153, 194, 238, .23); content: "♛"; }
.home-tournament-card:hover { transform: translateY(-2px); border-color: #e5b84c; box-shadow: 0 16px 36px rgba(0, 0, 0, .28); color: #fff; }
.home-tournament-status, .home-tournament-card h3, .home-tournament-meta { position: relative; z-index: 1; }
.home-tournament-status { align-self: flex-start; margin-bottom: 23px; padding: 5px 10px; border: 1px solid #11c7a0; border-radius: 18px; background: rgba(3, 29, 30, .65); color: #2de0ba; font-size: .58rem; font-weight: 700; text-transform: uppercase; }
.home-tournament-status.status-checkin { border-color: #d6a33a; background: rgba(40, 31, 10, .72); color: #efc24f; }
.home-tournament-status.status-ongoing { border-color: #24b8df; background: rgba(7, 29, 40, .74); color: #43d0ee; }
.home-tournament-card h3 { max-width: 78%; margin: 0 0 10px; color: #f1f3f6; font: 700 1.22rem 'Inter', sans-serif; letter-spacing: -.3px; }
.home-tournament-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #cad2dc; font-size: .72rem; }
.home-tournament-meta span { display: inline-flex; align-items: center; gap: 7px; }
.home-tournament-meta i { color: #edbb4d; font-size: .95rem; font-style: normal; }
.home-tournament-empty { display: grid; justify-items: center; padding: 30px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); text-align: center; }
.home-tournament-empty > span { color: var(--gold); font-size: 1.7rem; }
.home-tournament-empty strong { margin-top: 6px; }
.home-tournament-empty p { margin: 4px 0 9px; color: var(--muted); font-size: .78rem; }

.home-steps { margin-top: 42px; padding: 25px 0 0; border-top: 1px solid rgba(200, 170, 110, .22); }
.home-steps-head { align-items: flex-end; }
.home-steps-head > div { display: flex; flex-direction: column; gap: 5px; }
.home-eyebrow { color: #d3a33f; font-size: .62rem; font-weight: 700; letter-spacing: 1.7px; }
.home-steps-head h2 { font-size: 1.3rem; }
.home-steps-head > p { margin: 0; color: #9eabbc; font-size: .72rem; }
.home-steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-step { display: flex; gap: 15px; min-height: 96px; padding: 17px; border: 1px solid #26384d; border-radius: 10px; background: linear-gradient(145deg, #111b28, #0d1621); }
.home-step > span { color: #d8ac48; font: 700 1.55rem 'Rajdhani', sans-serif; }
.home-step h3 { margin: 0 0 4px; color: #eef1f5; font: 700 .86rem 'Inter', sans-serif; }
.home-step p { margin: 0; color: #a5b1c0; font-size: .68rem; line-height: 1.45; }
.home-steps-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 13px; padding: 14px 16px; border: 1px solid rgba(200, 170, 110, .18); border-radius: 9px; background: rgba(15, 25, 38, .66); color: #aab6c5; font-size: .73rem; }
.home-steps-cta strong { color: #e9edf3; }
.home-steps-cta .btn { min-height: 36px; padding: 0 13px; border-radius: 6px; font: 700 .67rem 'Inter', sans-serif; text-transform: uppercase; }

@media (max-width: 1000px) {
  .landing-hero { min-height: 540px; padding-top: 34px; }
  .landing-hero-inner { min-height: 384px; }
  .landing-feature { gap: 10px; padding: 0 12px; }
  .landing-feature-icon { flex-basis: 30px; font-size: 1.65rem; }
  .landing-feature small { font-size: .62rem; }
  .home-tournament-grid { gap: 12px; }
  .home-tournament-card { padding-inline: 14px; }
  .home-tournament-card h3 { font-size: 1rem; }
  .home-tournament-meta { gap: 8px; font-size: .63rem; }
}
@media (max-width: 700px) {
  .landing-hero { min-height: 660px; padding: 28px 0 0; background-position: 61% center; }
  .landing-hero::before { background: linear-gradient(90deg, rgba(6, 13, 22, .88), rgba(6, 13, 22, .56) 65%, rgba(6, 13, 22, .3)), linear-gradient(0deg, rgba(7, 14, 23, .93) 0%, transparent 74%); }
  .landing-hero-art { background-position: 60% center; }
  .landing-hero-inner { display: flex; flex-direction: column; justify-content: space-between; width: calc(100% - 28px); min-height: 632px; }
  .landing-copy { width: min(100%, 470px); }
  .landing-kicker { font-size: .55rem; letter-spacing: 1.4px; }
  .landing-wordmark-main { font-size: 4.5rem; }
  .landing-wordmark-sub { font-size: 1.14rem; }
  .landing-copy h1 { max-width: 390px; font-size: 1.23rem; }
  .landing-lead { max-width: 360px; font-size: .8rem; }
  .landing-actions { gap: 8px; margin-top: 17px; }
  .landing-actions .btn { min-height: 42px; padding: 0 12px; font-size: .63rem; }
  .landing-feature-band { position: relative; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; min-height: 190px; margin-top: 26px; padding: 8px 3px; border-radius: 11px 11px 0 0; }
  .landing-feature { min-height: 80px; gap: 8px; padding: 8px; }
  .landing-feature:nth-child(3) { border-left: 0; }
  .landing-feature-icon { flex-basis: 28px; font-size: 1.5rem; }
  .landing-feature strong { font-size: .66rem; }
  .landing-feature small { font-size: .57rem; }
  .home-tournaments, .home-steps { width: calc(100% - 28px); }
  .home-tournaments { padding-top: 22px; }
  .home-section-head { align-items: flex-start; margin-bottom: 13px; }
  .home-section-head h2 { gap: 8px; font-size: 1.02rem; }
  .home-section-head > a { font-size: .62rem; }
  .home-tournament-grid, .home-steps-grid { grid-template-columns: 1fr; gap: 9px; }
  .home-tournament-card { min-height: 144px; padding: 14px; }
  .home-tournament-status { margin-bottom: 15px; }
  .home-tournament-card h3 { font-size: .98rem; }
  .home-tournament-meta { font-size: .61rem; }
  .home-steps { margin-top: 28px; padding-top: 19px; }
  .home-steps-head { flex-direction: column; gap: 7px; }
  .home-steps-head h2 { font-size: 1.08rem; }
  .home-steps-head > p { font-size: .65rem; }
  .home-step { min-height: 76px; padding: 12px; }
  .home-steps-cta { align-items: flex-start; flex-direction: column; padding: 12px; }
}
