body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  position: relative;
}

.hero {
  position: relative;
  min-height: 100vh;
  background-image: url("background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 30px 40px;
  box-sizing: border-box;
  overflow: hidden;
}

.rules-hero {
  background-image: url("../background.png");
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 0, 0, 0.42) 0%, rgba(255, 0, 0, 0.18) 22%, rgba(255, 0, 0, 0) 50%),
    rgba(120, 0, 0, 0.16);
  mix-blend-mode: screen;
  opacity: 0.78;
  z-index: 2;
}

.content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1400px;
  top: -20px;
  animation: pageFadeIn 1.25s ease-out both;
}

.rules-content {
  max-width: 1100px;
}

/* Stronger ambient smoke */
.content::before,
.content::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1500px;
  height: 700px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.52;
  filter: blur(26px);
  mix-blend-mode: screen;
}

.content::before {
  top: 150px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.11) 18%, rgba(255, 255, 255, 0) 42%),
    radial-gradient(ellipse at 45% 35%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.12) 16%, rgba(255, 255, 255, 0) 40%),
    radial-gradient(ellipse at 72% 58%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 15%, rgba(255, 255, 255, 0) 38%);
  animation: smokeDriftOne 22s ease-in-out infinite alternate;
}

.content::after {
  top: 285px;
  background:
    radial-gradient(ellipse at 28% 60%, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.08) 16%, rgba(255, 255, 255, 0) 39%),
    radial-gradient(ellipse at 58% 40%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.10) 17%, rgba(255, 255, 255, 0) 41%),
    radial-gradient(ellipse at 82% 55%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 14%, rgba(255, 255, 255, 0) 36%);
  animation: smokeDriftTwo 28s ease-in-out infinite alternate;
}

/* Keep text above smoke */
.content > * {
  position: relative;
  z-index: 2;
}

.logo {
  display: block;
  width: min(1180px, 94vw);
  max-width: 94vw;
  margin: 0 auto 50px;
}

.rules-logo {
  width: min(860px, 90vw);
  margin-bottom: 36px;
}

/* Red headline */
h1 {
  color: #ff1f1f;
  font-size: clamp(2rem, 5.2vw, 4.6rem);
  letter-spacing: 4px;
  line-height: 1.04;
  margin: 0 0 60px;
  font-weight: 900;
  text-transform: uppercase;
  -webkit-text-stroke: 0.7px #000;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 0 10px rgba(255, 0, 0, 0.90),
     0 0 18px rgba(255, 0, 0, 0.40);
}

.description {
  max-width: 960px;
  margin: 0 auto;
  color: #ffffff;
  font-size: clamp(1rem, 2vw, 1.6rem);
  line-height: 1.48;
  font-weight: 700;
  text-shadow:
    0 2px 5px rgba(0, 0, 0, 0.95),
    0 0 10px rgba(0, 0, 0, 0.85);
}

.description p {
  margin: 0 auto 18px;
}

.description p:last-child {
  margin-bottom: 0;
}

.development-label {
  color: #39ff14;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.rules-description {
  max-width: 800px;
}

.rules-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 46px auto 0;
}

.coming-soon {
  position: relative;
  display: block;
  width: 100%;
  margin: 70px auto 26px;
  color: #39ff14;
  font-family: "Courier New", monospace;
  font-size: clamp(2.2rem, 6vw, 4.3rem);
  font-weight: 900;
  letter-spacing: 12px;
  text-transform: uppercase;
  text-align: center;
  text-shadow:
    0 0 6px #39ff14,
    0 0 14px #39ff14,
    0 0 30px #00ff66,
    0 0 46px rgba(0, 255, 100, 0.72);
}

.coming-soon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.18) 0px,
    rgba(0, 0, 0, 0.18) 2px,
    transparent 2px,
    transparent 5px
  );
  pointer-events: none;
}

.social-prompt {
  max-width: 760px;
  margin: -2px auto 22px;
  color: #ffffff;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.35;
  font-weight: 800;
  text-shadow:
    0 2px 5px rgba(0, 0, 0, 0.95),
    0 0 10px rgba(0, 0, 0, 0.85);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
  padding: 16px 40px;
  background: #ff2d2d;
  color: white;
  text-decoration: none;
  border-radius: 7px;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow:
    0 0 16px rgba(255, 30, 30, 0.65),
    0 6px 18px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
  background: #ff1010;
  box-shadow:
    0 0 18px rgba(255, 30, 30, 0.8),
    0 6px 18px rgba(0, 0, 0, 0.55);
  transform: scale(1.04);
}

.secondary-button {
  background: rgba(255, 45, 45, 0.86);
}

.contact-button {
  display: flex;
  margin-top: 0;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 0 auto 24px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: #fff;
  background: rgba(0, 0, 0, 0.48);
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  text-decoration: none;
  box-shadow:
    0 0 14px rgba(255, 30, 30, 0.50),
    0 6px 18px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.social-icon:hover,
.social-icon:focus-visible {
  background: rgba(255, 45, 45, 0.90);
  border-color: #fff;
  transform: scale(1.08);
}

.social-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
}

.social-icon .filled-icon {
  fill: currentColor;
  stroke: none;
}

.rulebook-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 48px auto 36px;
}

.rulebook-card {
  padding: 30px 26px;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  box-shadow:
    0 0 20px rgba(255, 0, 0, 0.32),
    0 10px 28px rgba(0, 0, 0, 0.55);
}

.rulebook-card h2 {
  margin: 0 0 14px;
  color: #ff2d2d;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  line-height: 1.15;
  text-transform: uppercase;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.95),
    0 0 12px rgba(255, 0, 0, 0.40);
}

.rulebook-card p {
  margin: 0 auto 24px;
  font-size: 1.08rem;
  line-height: 1.45;
  font-weight: 700;
  text-shadow:
    0 2px 5px rgba(0, 0, 0, 0.95),
    0 0 10px rgba(0, 0, 0, 0.85);
}

.home-button {
  margin-top: 0;
}

.footer-note {
  margin: 18px auto 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.95),
    0 0 8px rgba(0, 0, 0, 0.75);
}

@keyframes pageFadeIn {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes smokeDriftOne {
  0% {
    transform: translateX(-54%) translateY(0px) scale(1.02);
    opacity: 0.40;
  }
  35% {
    transform: translateX(-48%) translateY(-14px) scale(1.08);
    opacity: 0.56;
  }
  70% {
    transform: translateX(-56%) translateY(10px) scale(1.12);
    opacity: 0.45;
  }
  100% {
    transform: translateX(-49%) translateY(-8px) scale(1.10);
    opacity: 0.52;
  }
}

@keyframes smokeDriftTwo {
  0% {
    transform: translateX(-46%) translateY(0px) scale(1.05);
    opacity: 0.34;
  }
  30% {
    transform: translateX(-51%) translateY(14px) scale(1.10);
    opacity: 0.48;
  }
  68% {
    transform: translateX(-45%) translateY(-10px) scale(1.14);
    opacity: 0.36;
  }
  100% {
    transform: translateX(-50%) translateY(8px) scale(1.11);
    opacity: 0.46;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 18px 20px 34px;
  }

  .content {
    top: -10px;
  }

  .logo {
    width: min(980px, 98vw);
    margin: 0 auto 75px;
  }

  .rules-logo {
    width: min(760px, 92vw);
    margin-bottom: 28px;
  }

  h1 {
    letter-spacing: 2px;
    margin: 0 0 28px;
    -webkit-text-stroke: 0.7px #000;
  }

  .rules-links {
    margin-top: 34px;
  }

  .coming-soon {
    letter-spacing: 6px;
    margin-top: 42px;
  }

  .rulebook-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .content::before,
  .content::after {
    width: 1050px;
    height: 520px;
  }
}

@media (max-width: 600px) {
  .content {
    top: -5px;
  }

  .logo {
    width: 98vw;
    margin: 0 auto 48px;
  }

  .rules-logo {
    margin-bottom: 22px;
  }

  h1 {
    margin: 0 0 22px;
  }

  .description {
    line-height: 1.42;
  }

  .description p {
    margin-bottom: 14px;
  }

  .development-label {
    letter-spacing: 2px;
  }

  .rules-links {
    flex-direction: column;
    align-items: center;
  }

  .coming-soon {
    letter-spacing: 4px;
  }

  .button {
    padding: 15px 34px;
  }

  .social-icon {
    width: 46px;
    height: 46px;
  }

  .rulebook-card {
    padding: 26px 20px;
  }

  .content::before,
  .content::after {
    width: 760px;
    height: 360px;
    filter: blur(18px);
  }

  .footer-note {
    font-size: 0.78rem;
    padding: 0 12px;
  }
}


/* FAQ and long-form support pages */
.page-hero {
  align-items: flex-start;
  padding-top: 36px;
  padding-bottom: 56px;
}

.page-content {
  top: 0;
}

.page-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 34px auto 28px;
}

.faq-logo {
  margin-bottom: 26px;
}

.faq-description {
  margin-bottom: 0;
}

.faq-top-nav {
  margin-top: 36px;
}

.faq-section {
  max-width: 1080px;
  margin: 48px auto 0;
  text-align: left;
}

.faq-section-title {
  margin: 0 0 18px;
  color: #39ff14;
  font-family: "Courier New", monospace;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: 3px;
  text-align: center;
  text-transform: uppercase;
  text-shadow:
    0 0 6px rgba(57, 255, 20, 0.95),
    0 0 14px rgba(57, 255, 20, 0.55),
    0 3px 8px rgba(0, 0, 0, 0.95);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: rgba(0, 0, 0, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  box-shadow:
    0 0 16px rgba(255, 0, 0, 0.20),
    0 8px 22px rgba(0, 0, 0, 0.48);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 22px;
  color: #ffffff;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  font-weight: 900;
  line-height: 1.3;
  list-style: none;
  text-shadow:
    0 2px 5px rgba(0, 0, 0, 0.95),
    0 0 10px rgba(0, 0, 0, 0.85);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 12px;
  color: #39ff14;
  border: 1px solid rgba(57, 255, 20, 0.70);
  border-radius: 50%;
  font-family: "Courier New", monospace;
  font-weight: 900;
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.35);
}

.faq-list details[open] summary {
  color: #ffeded;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.faq-list details[open] summary::before {
  content: "–";
}

.faq-answer {
  padding: 18px 22px 22px 62px;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(0.98rem, 1.45vw, 1.12rem);
  line-height: 1.55;
  font-weight: 700;
  text-shadow:
    0 2px 5px rgba(0, 0, 0, 0.95),
    0 0 10px rgba(0, 0, 0, 0.85);
}

.faq-answer p {
  margin: 0 0 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.inline-link {
  color: #39ff14;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.faq-rulebook-grid {
  grid-template-columns: 1fr;
  max-width: 860px;
  margin-top: 52px;
}

.card-button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

@media (max-width: 900px) {
  .page-hero {
    padding-top: 26px;
  }

  .page-nav {
    margin-top: 28px;
  }

  .faq-section {
    margin-top: 40px;
  }
}

@media (max-width: 600px) {
  .page-nav,
  .card-button-row {
    flex-direction: column;
  }

  .faq-list summary {
    padding: 16px 16px;
  }

  .faq-list summary::before {
    width: 24px;
    height: 24px;
    margin-right: 10px;
  }

  .faq-answer {
    padding: 16px 16px 20px;
  }
}
