:root {
  --bg: #140909;
  --bg-deep: #090404;
  --card: rgba(36, 15, 15, 0.86);
  --card-strong: rgba(25, 8, 8, 0.94);
  --text: #f3eadc;
  --muted: #b9a391;
  --soft: #846f63;
  --primary: #b73728;
  --primary-bright: #ee6848;
  --accent: #ff9b4a;
  --gold: #e7b85c;
  --border: rgba(204, 70, 42, 0.34);
  --shadow: rgba(196, 48, 31, 0.18);
  --max: 1180px;
  --display: 'Cinzel', Georgia, serif;
  --body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--body);
  background:
    radial-gradient(circle at 15% 10%, rgba(109, 35, 171, 0.16), transparent 34rem),
    radial-gradient(circle at 82% 28%, rgba(224, 89, 32, 0.15), transparent 30rem),
    radial-gradient(circle at 50% 110%, rgba(107, 25, 20, 0.52), transparent 46rem),
    linear-gradient(180deg, #170909 0%, #0b0404 72%, #050202 100%);
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.014) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

#ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.82;
}

.loading-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 151, 76, .24), transparent 19rem),
    radial-gradient(circle at 20% 18%, rgba(149, 67, 255, .20), transparent 22rem),
    radial-gradient(circle at 80% 76%, rgba(201, 56, 38, .22), transparent 24rem),
    linear-gradient(180deg, #160707 0%, #070202 100%);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .72s ease, visibility .72s ease;
  animation: splashFailsafe .72s ease 5.8s forwards;
}
.loading-splash::before,
.loading-splash::after {
  content: '';
  position: absolute;
  inset: -12%;
  pointer-events: none;
}
.loading-splash::before {
  background:
    radial-gradient(circle, rgba(255,181,91,.34) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(181,102,255,.22) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255,94,58,.26) 0 1px, transparent 2px);
  background-size: 74px 74px, 118px 118px, 156px 156px;
  background-position: 0 0, 42px 28px, 81px 96px;
  opacity: .82;
  animation: splashParticleField 9s linear infinite;
}
.loading-splash::after {
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    radial-gradient(ellipse at center, transparent 22%, rgba(0,0,0,.48) 100%);
  background-size: 78px 78px, 78px 78px, 100% 100%;
  opacity: .75;
}
.loading-splash.splash-hidden,
body.splash-complete .loading-splash {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body.splash-lock { overflow: hidden; }
.splash-card {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  padding: clamp(28px, 7vw, 46px);
  text-align: center;
  border-radius: 28px;
  border: 1px solid rgba(255,155,74,.30);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,155,74,.16), transparent 55%),
    linear-gradient(180deg, rgba(42,16,16,.86), rgba(9,3,3,.84));
  box-shadow: inset 0 0 38px rgba(238,94,57,.12), 0 24px 80px rgba(0,0,0,.45), 0 0 70px rgba(206,62,39,.16);
  backdrop-filter: blur(14px);
}
.splash-mark {
  position: relative;
  width: 164px;
  height: 164px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
}
.splash-mark img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255,122,66,.82)) drop-shadow(0 0 46px rgba(154,38,31,.58));
  animation: splashLogoPulse 2.35s ease-in-out infinite;
}
.splash-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,155,74,.32);
  box-shadow: 0 0 24px rgba(255,155,74,.18), inset 0 0 28px rgba(238,89,52,.10);
}
.ring-one { animation: splashSpin 7s linear infinite; }
.ring-two {
  inset: 18px;
  border-style: dashed;
  border-color: rgba(184,94,255,.30);
  animation: splashSpin 5.6s linear infinite reverse;
}
.splash-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .36em;
  font-size: .74rem;
  font-weight: 800;
}
.splash-card h2 {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.65rem);
  text-shadow: 0 0 14px rgba(255,155,74,.72), 0 0 34px rgba(238,79,52,.42);
}
.splash-loader {
  position: relative;
  height: 8px;
  margin: 26px auto 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
}
.splash-loader span {
  position: absolute;
  inset: -1px auto -1px 0;
  width: 44%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255,155,74,.95), rgba(184,89,255,.72), transparent);
  box-shadow: 0 0 18px rgba(255,155,74,.52);
  animation: splashLoadSweep 1.25s ease-in-out infinite;
}
.splash-note {
  margin: 0;
  color: rgba(243,234,220,.72);
  font-size: .9rem;
  letter-spacing: .08em;
}
.splash-particles span {
  position: absolute;
  bottom: -10vh;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,155,74,.78);
  box-shadow: 0 0 18px rgba(255,155,74,.62);
  animation: splashFloat 5.2s ease-in-out infinite;
}
.splash-particles span:nth-child(1) { left: 12%; animation-delay: -.2s; animation-duration: 5.8s; }
.splash-particles span:nth-child(2) { left: 26%; width: 4px; height: 4px; animation-delay: -1.4s; animation-duration: 6.6s; background: rgba(182,112,255,.7); }
.splash-particles span:nth-child(3) { left: 42%; width: 6px; height: 6px; animation-delay: -2.2s; animation-duration: 4.9s; }
.splash-particles span:nth-child(4) { left: 62%; width: 5px; height: 5px; animation-delay: -3.1s; animation-duration: 7s; background: rgba(255,88,58,.72); }
.splash-particles span:nth-child(5) { left: 78%; width: 9px; height: 9px; animation-delay: -1.1s; animation-duration: 5.4s; }
.splash-particles span:nth-child(6) { left: 90%; width: 4px; height: 4px; animation-delay: -2.6s; animation-duration: 6.2s; background: rgba(182,112,255,.72); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(208, 78, 46, 0.24);
  background: rgba(12, 5, 5, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 44px rgba(0,0,0,.22);
}
.site-header::after, .ember-divider {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192, 61, 41, .78), rgba(255, 162, 74, .9), rgba(192, 61, 41, .78), transparent);
  box-shadow: 0 0 18px rgba(239, 93, 54, .48);
}
.nav-wrap {
  width: min(var(--max), calc(100% - 32px));
  height: 56px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 13px rgba(229, 82, 45, .5));
  transition: transform .22s ease, filter .22s ease;
}
.brand:hover img { transform: scale(1.06); filter: drop-shadow(0 0 18px rgba(255, 135, 67, .72)); }
.brand span {
  font-family: var(--display);
  letter-spacing: .15em;
  font-weight: 700;
  font-size: 0.93rem;
  white-space: nowrap;
}
.brand b { color: var(--primary-bright); text-shadow: 0 0 18px rgba(238, 104, 72, .65); }
.nav-links { display: flex; align-items: center; gap: 3px; }
.nav-links a {
  padding: 10px 11px;
  border-radius: 9px;
  color: rgba(243,234,220,.72);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary-bright);
  background: rgba(229, 73, 44, .08);
  transform: translateY(-1px);
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  background: rgba(29,12,12,.82);
  font-size: 1.45rem;
  line-height: 1;
}
.mobile-menu { display: none; }

main { position: relative; z-index: 1; }
.section {
  position: relative;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0;
  scroll-margin-top: 72px;
}
.section-wide {
  position: relative;
  padding: 76px 0;
  scroll-margin-top: 72px;
  background: linear-gradient(90deg, transparent, rgba(48, 17, 17, .45), transparent);
  border-block: 1px solid rgba(255,255,255,.04);
}
.section-wide > .section { padding: 0; }
.section-glow::before {
  content: '';
  position: absolute;
  inset: 8% -10% auto;
  height: 280px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(222, 68, 39, .13), transparent 65%);
  filter: blur(10px);
}
.kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .4em;
  font-size: .76rem;
  font-weight: 800;
}
.section-heading { text-align: center; margin-bottom: 34px; }
h1, h2, h3, h4 {
  font-family: var(--display);
  letter-spacing: .04em;
  line-height: 1.12;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.28rem; }
p { line-height: 1.75; }
.text-glow { text-shadow: 0 0 14px rgba(237,87,49,.55), 0 0 34px rgba(176,45,33,.36); }
.text-glow-strong { text-shadow: 0 0 10px rgba(255,155,74,.82), 0 0 30px rgba(238,79,52,.6), 0 0 58px rgba(161,37,31,.5); }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.03rem, 1.4vw, 1.2rem); color: rgba(243,234,220,.84); }
.max-text { max-width: 780px; margin-inline: auto; }

.hero {
  min-height: min(680px, calc(100vh - 56px));
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  padding: 38px 18px 50px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(183,55,40,.24), transparent 54%),
    radial-gradient(ellipse at 50% 68%, rgba(255,155,74,.13), transparent 44%);
}
.hero-logo {
  width: min(390px, 82vw);
  margin: 0 auto;
  filter: drop-shadow(0 0 24px rgba(220,62,38,.52)) drop-shadow(0 0 70px rgba(134,28,24,.42));
  animation: emberPulse 4.8s ease-in-out infinite;
}
.hero-sub { margin-top: 10px; font-family: var(--display); letter-spacing: .32em; text-transform: uppercase; color: rgba(255,155,74,.9); font-size: .84rem; }
.hero-quote { margin: 12px auto 0; max-width: 720px; color: rgba(243,234,220,.86); font-size: clamp(1.08rem, 2vw, 1.35rem); font-style: italic; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 13px 23px;
  border-radius: 10px;
  font-family: var(--display);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, color .22s ease, background .22s ease;
}
.btn-primary { background: linear-gradient(180deg, #cf4a34, #8f2119); color: #fff7ed; border: 1px solid rgba(255,157,104,.35); box-shadow: inset 0 0 18px rgba(255,179,105,.12), 0 0 25px rgba(186,55,37,.2); }
.btn-ghost { background: rgba(19,8,8,.28); color: rgba(243,234,220,.9); border: 1px solid rgba(255,255,255,.13); }
.btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 32px rgba(0,0,0,.22), 0 0 28px rgba(219,67,44,.22); }
.btn-ghost:hover { color: var(--primary-bright); border-color: rgba(239,104,72,.55); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(42,16,16,.86), rgba(18,7,7,.94));
  box-shadow: inset 0 0 24px rgba(169,50,35,.10), 0 0 20px rgba(173,44,33,.10);
  transition: transform .26s ease, border-color .26s ease, box-shadow .26s ease, background .26s ease;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,156,84,.56), transparent);
  opacity: .75;
}
.card:hover { transform: translateY(-5px); border-color: rgba(246,111,72,.56); box-shadow: inset 0 0 28px rgba(221,73,42,.12), 0 16px 40px rgba(0,0,0,.22), 0 0 38px rgba(221,73,42,.12); }
.icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  margin-bottom: 15px;
  color: var(--accent);
  background: rgba(226,78,45,.10);
  border: 1px solid rgba(226,78,45,.24);
  box-shadow: 0 0 22px rgba(226,78,45,.12);
  font-size: 1.24rem;
}
.card h3 { color: var(--text); }
.card p, .card li { color: var(--muted); font-size: .95rem; }
.card ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.card li { display: flex; gap: 10px; line-height: 1.65; }
.card li::before { content: '✦'; color: var(--primary-bright); flex: 0 0 auto; margin-top: 1px; }
.tag {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--primary-bright);
  font-family: var(--display);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: .83rem;
  text-shadow: 0 0 18px rgba(239,104,72,.46);
}
.role-title span, .rank-title span { color: var(--accent); }
.steward { margin-top: 6px; color: var(--soft); text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; font-weight: 800; }
.focus { margin-top: 12px; color: var(--gold) !important; font-weight: 700; }

.join-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: clamp(34px, 6vw, 60px);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse at center, rgba(207,74,52,.22), transparent 62%),
    linear-gradient(180deg, rgba(42,16,16,.92), rgba(15,5,5,.97));
  box-shadow: inset 0 0 45px rgba(221,73,42,.12), 0 30px 70px rgba(0,0,0,.28);
}
.join-card > * { position: relative; z-index: 2; }

.tier {
  margin-bottom: 42px;
  border-radius: 24px;
  padding: clamp(22px, 4vw, 34px);
  background: linear-gradient(180deg, rgba(26,10,10,.78), rgba(10,4,4,.48));
  border: 1px solid rgba(255,255,255,.07);
}
.tier-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.tier-badge {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 10px 16px;
  color: #fff0df;
  background: rgba(184,55,40,.18);
  border: 1px solid rgba(255,155,74,.24);
  font-family: var(--display);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 800;
}
.rank-card strong { color: var(--accent); }
.promo-box {
  width: min(940px, calc(100% - 36px));
  margin: 0 auto 72px;
  text-align: center;
}

.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(20,8,8,.58);
  text-align: center;
}
.footer-inner { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; padding: 34px 0; }
.footer-logo { font-family: var(--display); color: var(--primary-bright); text-shadow: 0 0 18px rgba(238,104,72,.62); letter-spacing: .22em; font-weight: 800; }
.footer p { color: var(--muted); font-style: italic; font-size: .92rem; }
.footer small { color: var(--soft); }

/* Dynamic front-end polish: keeps this Hostinger package interactive without Node.js. */
body::after {
  content: '';
  position: fixed;
  width: 460px;
  height: 460px;
  left: var(--mouse-x, 50%);
  top: var(--mouse-y, 18%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  opacity: .18;
  background: radial-gradient(circle, rgba(255,155,74,.28), rgba(184,55,40,.12) 34%, transparent 68%);
  filter: blur(10px);
  transition: opacity .25s ease;
}
.motion-ready .revealable {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.motion-ready .revealable.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.nav-links a.is-current {
  color: var(--accent);
  background: rgba(255,155,74,.09);
}
.hero > div {
  width: min(920px, 100%);
}

@keyframes splashFailsafe {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
@keyframes splashParticleField {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-70px, -118px, 0); }
}
@keyframes splashLogoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 18px rgba(255,122,66,.72)) drop-shadow(0 0 44px rgba(154,38,31,.54)); }
  50% { transform: scale(1.045); filter: drop-shadow(0 0 28px rgba(255,173,92,.92)) drop-shadow(0 0 70px rgba(184,89,255,.28)); }
}
@keyframes splashSpin {
  to { transform: rotate(360deg); }
}
@keyframes splashLoadSweep {
  0% { transform: translateX(-95%); }
  55%, 100% { transform: translateX(235%); }
}
@keyframes splashFloat {
  0% { transform: translate3d(0, 0, 0) scale(.75); opacity: 0; }
  18% { opacity: .9; }
  100% { transform: translate3d(28px, -115vh, 0) scale(1.15); opacity: 0; }
}

@keyframes emberPulse {
  0%, 100% { filter: drop-shadow(0 0 22px rgba(220,62,38,.48)) drop-shadow(0 0 58px rgba(134,28,24,.36)); }
  50% { filter: drop-shadow(0 0 36px rgba(255,144,75,.72)) drop-shadow(0 0 90px rgba(203,54,37,.48)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  #ambient-canvas { display: none; }
  .loading-splash { animation: splashFailsafe .01ms linear 1.2s forwards; }
}
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nav-links { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .mobile-menu.open { display: block; }
  .mobile-menu nav { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; padding: 10px 0 16px; display: grid; gap: 2px; }
  .mobile-menu a { padding: 12px 6px; color: rgba(243,234,220,.82); text-transform: uppercase; letter-spacing: .1em; font-size: .86rem; border-bottom: 1px solid rgba(255,255,255,.04); }
  .brand span { display: none; }
}
@media (max-width: 680px) {
  .splash-card { padding: 26px 20px; border-radius: 22px; }
  .splash-mark { width: 126px; height: 126px; }
  .splash-mark img { width: 92px; height: 92px; }
  .splash-kicker { letter-spacing: .24em; }
  .section, .section-wide { padding-top: 58px; padding-bottom: 58px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 36px; padding-bottom: 42px; }
  .hero-logo { width: min(320px, 88vw); }
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .tier-head { display: block; }
  .tier-badge { margin-top: 14px; display: inline-block; }
  .nav-wrap { width: min(var(--max), calc(100% - 24px)); }
}
