﻿:root {
  color-scheme: dark;
  --brand-blue: #7ea5f0;
  --brand-yellow: #f2d466;
  --brand-gray: #14162b;
  --dark-gray: #101225;
  --black: #000000;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  background: var(--brand-gray);
  color: var(--brand-yellow);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
}

.site-bg-video-layer {
  display: none;
}

@media (min-width: 1024px) {
  .site-bg-video-layer {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }

  .site-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.08;
    filter: saturate(0.85) brightness(0.95);
  }

  .site-bg-video-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 22, 43, 0.72);
  }

  .site-header,
  main.container,
  .home-asset-belt,
  .site-footer {
    position: relative;
    z-index: 1;
  }
}

.container {
  width: min(1120px, 94vw);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0;
  background: #101225;
  border-bottom: 1px solid rgba(126, 165, 240, 0.35);
}

.header-shell {
  position: relative;
  width: 100%;
  min-height: 96px;
  display: flex;
  align-items: center;
  padding: 0.5rem 1.1rem 0.5rem 0.35rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  min-width: 0;
}

.brand-icon {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(126, 165, 240, 0.28));
}

.brand-wordmark {
  width: clamp(180px, 22vw, 300px);
  height: auto;
  object-fit: contain;
}

.site-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.4rem;
  max-width: min(58vw, 820px);
  white-space: nowrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-yellow);
  text-decoration: none;
  padding: 0.45rem 0.82rem;
  border: 1px solid rgba(242, 212, 102, 0.45);
  border-radius: 999px;
  background: rgba(20, 22, 43, 0.9);
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover {
  color: var(--black);
  background: var(--brand-yellow);
}

.header-discord-button {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(126, 165, 240, 0.95);
  background: linear-gradient(180deg, #90b2f6 0%, #7ea5f0 55%, #6d92da 100%);
  color: #111318;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.header-discord-button:hover {
  transform: translateY(calc(-50% - 1px));
  filter: brightness(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.32);
}

main.container {
  padding-top: 7.5rem;
  flex: 1;
}

.hero {
  margin-top: 2.2rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-hero {
  min-height: calc(100vh - 10rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  margin-top: 0;
  padding-top: 3.2rem;
  gap: 0.45rem;
}

.hero h1 {
  color: var(--brand-blue);
  margin: 0;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.hero p {
  color: var(--brand-yellow);
  margin-top: 1rem;
  max-width: 760px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.5;
}

.hero .home-hero-title {
  margin: 0 auto;
  max-width: min(94vw, 980px);
  font-size: clamp(2.2rem, 4.9vw, 4rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.018em;
  color: var(--brand-blue);
  text-align: center;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
  animation: hero-enter 0.75s ease-out both;
}

.hero .home-hero-title .title-line {
  display: block;
  color: inherit;
  margin: 0;
  white-space: nowrap;
}

.hero .home-hero-title .title-line + .title-line {
  margin-top: 0.1em;
}

.home-hero .home-hero-subtitle {
  max-width: min(88vw, 820px);
  margin-top: 0.75rem;
  font-size: clamp(1.05rem, 1.55vw, 1.24rem);
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.002em;
  color: #f7e6a8;
  animation: hero-enter 0.8s ease-out both;
  animation-delay: 0.14s;
}

.home-hero-actions {
  margin-top: 1.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  animation: hero-enter 0.85s ease-out both;
  animation-delay: 0.2s;
}

.home-video-section {
  position: relative;
  width: min(1020px, 96vw);
  margin-top: 1.5rem;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  box-shadow: none;
  animation: hero-enter 0.9s ease-out both;
  animation-delay: 0.24s;
}

.home-splash-video {
  width: 100%;
  display: block;
  object-fit: cover;
  background: #0e1122;
}

.home-video-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--brand-gray) 0%, transparent 22%, transparent 78%, var(--brand-gray) 100%),
    linear-gradient(to bottom, var(--brand-gray) 0%, transparent 24%, transparent 76%, var(--brand-gray) 100%);
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0;
  padding: 1rem 1.55rem;
  min-width: 228px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--black);
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid rgba(242, 212, 102, 0.9);
  background: linear-gradient(180deg, #8db0f5 0%, #7ea5f0 55%, #6f95df 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(126, 165, 240, 0.35) inset;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.button:hover {
  transform: translateY(-2px) scale(1.02);
  filter: saturate(1.05);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.42), 0 0 18px rgba(126, 165, 240, 0.5);
}

.button:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}

.home-hero-actions .button-primary {
  min-width: 252px;
  padding: 1.03rem 1.8rem;
  border-radius: 16px;
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: 0.005em;
  border: 1px solid rgba(126, 165, 240, 0.78);
  color: #0f1529;
  background:
    radial-gradient(120% 140% at 18% 12%, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0.06) 38%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, #85acf4 0%, #78a1ee 56%, #5f89d6 100%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.38), 0 1px 0 rgba(255, 255, 255, 0.24) inset, 0 -1px 0 rgba(0, 0, 0, 0.18) inset;
}

.home-hero-actions .button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 34px rgba(0, 0, 0, 0.42), 0 0 22px rgba(126, 165, 240, 0.43);
}

.home-hero-actions .button-secondary {
  min-width: 252px;
  padding: 1.03rem 1.8rem;
  border-radius: 16px;
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: 0.005em;
  border: 1px solid rgba(242, 212, 102, 0.82);
  color: #1b1a16;
  background:
    radial-gradient(120% 140% at 18% 12%, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.08) 40%, rgba(255, 255, 255, 0) 64%),
    linear-gradient(180deg, #f2dc86 0%, #eccf5f 56%, #d9b43d 100%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.38), 0 1px 0 rgba(255, 255, 255, 0.24) inset, 0 -1px 0 rgba(0, 0, 0, 0.18) inset;
}

.home-hero-actions .button-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 34px rgba(0, 0, 0, 0.42), 0 0 22px rgba(242, 212, 102, 0.45);
}

.home-hero-actions .button::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.site-footer {
  margin-top: 2.2rem;
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid rgba(126, 165, 240, 0.34);
  background: #101225;
}

.footer-inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 0.45rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem;
}

.footer-logo {
  width: clamp(96px, 12vw, 144px);
  height: auto;
  opacity: 0.94;
}

.footer-center-text {
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(242, 212, 102, 0.88);
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  pointer-events: none;
}

.footer-copy {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(242, 212, 102, 0.85);
}

.footer-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
  margin-left: auto;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.48rem 1.02rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 212, 102, 0.68);
  background: rgba(20, 22, 43, 0.92);
  color: var(--brand-yellow);
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.footer-link:hover {
  color: var(--black);
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  transform: translateY(-1px) scale(1.01);
}

.footer-link:focus-visible {
  outline: 2px solid rgba(126, 165, 240, 0.9);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .site-nav {
    top: auto;
    position: static;
    transform: none;
    max-width: 100%;
    margin-left: 0.8rem;
    flex-wrap: wrap;
  }

  .header-shell {
    justify-content: space-between;
    align-items: flex-start;
  }

  .header-discord-button {
    position: static;
    transform: none;
    margin-left: auto;
    min-height: 42px;
    padding: 0.62rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 760px) {
  .hero .home-hero-title {
    font-size: clamp(1.7rem, 7.6vw, 2.7rem);
    line-height: 1.12;
  }

  .hero .home-hero-title .title-line {
    white-space: nowrap;
  }

  .header-shell {
    flex-wrap: wrap;
    padding-right: 0.7rem;
    gap: 0.9rem;
  }

  .site-nav {
    width: 100%;
    margin-left: 0;
    justify-content: center;
    row-gap: 0.45rem;
  }

  .header-discord-button {
    min-height: 38px;
    padding: 0.52rem 0.88rem;
    font-size: 0.84rem;
  }

  .brand-icon {
    width: 62px;
    height: 62px;
  }

  .brand-wordmark {
    width: clamp(148px, 56vw, 220px);
  }

  main.container {
    padding-top: 11.6rem;
  }

  .home-hero {
    min-height: calc(100vh - 10rem);
    padding-top: 2.6rem;
  }

  .home-video-section {
    margin-top: 1.1rem;
    width: min(980px, 98vw);
  }

  .home-hero-actions .button-primary,
  .home-hero-actions .button-secondary {
    min-width: 220px;
    font-size: 1.02rem;
    padding: 0.88rem 1.35rem;
  }

  .header-discord-button {
    margin: 0 auto 0.15rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.25rem 0;
  }

  .footer-meta {
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
    margin-left: 0;
  }

  .footer-logo {
    width: clamp(86px, 24vw, 122px);
  }

  .footer-center-text {
    position: static;
    transform: none;
    text-align: center;
    font-size: 0.84rem;
    white-space: normal;
    pointer-events: auto;
  }
}

@media (max-width: 520px) {
  .brand-wordmark {
    width: clamp(132px, 50vw, 190px);
  }

  .site-nav a {
    padding: 0.38rem 0.65rem;
    font-size: 0.84rem;
  }

  .header-discord-button {
    width: 100%;
    max-width: 240px;
    min-height: 36px;
    font-size: 0.82rem;
    padding: 0.5rem 0.78rem;
  }

  main.container {
    padding-top: 12.4rem;
  }

  .hero .home-hero-title {
    font-size: 1.32rem;
    line-height: 1.15;
  }

  .home-hero .home-hero-subtitle {
    font-size: 0.95rem;
  }

  .home-hero-actions .button-primary,
  .home-hero-actions .button-secondary {
    min-width: 100%;
  }

  .footer-center-text {
    font-size: 0.78rem;
    line-height: 1.4;
  }
}



/* About Page */
.about-page {
  margin-top: 1.15rem;
  display: grid;
  gap: 1.45rem;
}

.about-page > header,
.about-page > section {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(126, 165, 240, 0.22);
}

.about-page h1,
.about-page h2 {
  margin: 0;
  color: var(--brand-blue);
  letter-spacing: -0.015em;
}

.about-page h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.about-page h2 {
  font-size: clamp(1.22rem, 2.1vw, 1.62rem);
  margin-bottom: 0.5rem;
}

.about-page p {
  margin: 0.55rem 0 0;
  color: #f7e6a8;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.62;
}

.about-points {
  margin: 0.7rem 0 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.48rem;
}

.about-points li {
  color: #f7e6a8;
  line-height: 1.5;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 1.7rem;
}

.about-card h2 {
  position: relative;
  padding-left: 0.7rem;
}

.about-card h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  bottom: 0.18em;
  width: 3px;
  border-radius: 99px;
  background: var(--brand-yellow);
}

.about-page code {
  background: rgba(126, 165, 240, 0.14);
  border: 1px solid rgba(126, 165, 240, 0.4);
  border-radius: 7px;
  padding: 0.08rem 0.34rem;
  color: #dbe8ff;
}

.about-cta {
  text-align: center;
}

.about-cta .button {
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.asset-list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.52rem 1rem;
}

.asset-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #f7e6a8;
  line-height: 1.42;
  font-size: 0.98rem;
}

.asset-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 18px;
}

@media (max-width: 900px) {
  .asset-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .asset-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 0.72rem;
  }
}

@media (max-width: 380px) {
  .asset-list {
    grid-template-columns: 1fr;
  }
}

/* Home Asset Belt */
.home-asset-belt {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-top: 3.8rem;
  padding: 0.75rem 0;
  overflow: hidden;
  background: transparent;
}

.site-asset-belt {
  margin-top: 1.35rem;
  margin-bottom: 0.15rem;
  padding: 0.52rem 0;
}

.home-asset-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.45rem 0.6rem;
  animation: belt-right 44s linear infinite;
}

.belt-item {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  padding: 0.64rem 1.12rem;
  border-radius: 999px;
  background: rgba(20, 22, 43, 0.22);
  border: 0;
  color: #f7e6a8;
  font-size: 1.12rem;
  line-height: 1;
}

.belt-item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

@keyframes belt-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0%);
  }
}

@media (max-width: 760px) {
  .home-asset-belt {
    margin-top: 2.1rem;
  }

  .site-asset-belt {
    margin-top: 1rem;
    margin-bottom: 0.1rem;
  }

  .home-asset-track {
    gap: 0.55rem;
    animation-duration: 36s;
  }

  .belt-item {
    font-size: 0.98rem;
    padding: 0.42rem 0.76rem;
  }

  .belt-item img {
    width: 22px;
    height: 22px;
  }
}

/* Listing Page */
.listing-page {
  margin-top: 1.15rem;
  display: grid;
  gap: 1.4rem;
}

.listing-page > section,
.listing-page > header {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(126, 165, 240, 0.22);
}

.listing-hero h1 {
  margin: 0;
  color: var(--brand-blue);
  letter-spacing: -0.015em;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.1;
}

.listing-page h2 {
  margin: 0 0 0.48rem;
  color: var(--brand-blue);
  font-size: clamp(1.2rem, 2.05vw, 1.58rem);
  line-height: 1.2;
}

.listing-page p {
  margin: 0.5rem 0 0;
  color: #f7e6a8;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.62;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.7rem;
}

.listing-card h2,
.listing-section h2 {
  position: relative;
  padding-left: 0.72rem;
}

.listing-card h2::before,
.listing-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  bottom: 0.17em;
  width: 3px;
  border-radius: 99px;
  background: var(--brand-yellow);
}

.listing-points {
  margin: 0.66rem 0 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.44rem;
}

.listing-points li {
  color: #f7e6a8;
  line-height: 1.5;
}

.listing-promo-card {
  margin-top: 0.2rem;
  padding: 1rem 1rem 0.4rem;
  border: 1px solid rgba(126, 165, 240, 0.3);
  border-radius: 14px;
  background: rgba(16, 18, 37, 0.45);
}

.listing-promo-card h3 {
  margin: 0.25rem 0 0;
  color: #f7e6a8;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 700;
}

.listing-promo-card > p:last-child {
  margin-top: 0.9rem;
}

.listing-link {
  color: var(--brand-yellow);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 212, 102, 0.5);
}

.listing-link:hover {
  color: #ffe38f;
  border-bottom-color: #ffe38f;
}

.listing-note {
  grid-column: 1 / -1;
  margin: 0.1rem 0 0;
  padding: 0;
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.58;
  color: #f7e6a8;
}

@media (max-width: 900px) {
  .listing-grid {
    grid-template-columns: 1fr;
  }
}

/* How It Works Page */
.guide-page {
  margin-top: 1.15rem;
  display: grid;
  gap: 1.4rem;
}

.guide-page > section,
.guide-page > header {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(126, 165, 240, 0.22);
}

.guide-hero h1 {
  margin: 0;
  color: var(--brand-blue);
  letter-spacing: -0.015em;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.1;
}

.guide-page h2 {
  margin: 0 0 0.52rem;
  color: var(--brand-blue);
  font-size: clamp(1.2rem, 2.05vw, 1.58rem);
  line-height: 1.2;
}

.guide-page p {
  margin: 0.55rem 0 0;
  color: #f7e6a8;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.62;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.7rem;
}

.guide-card h2,
.guide-section h2 {
  position: relative;
  padding-left: 0.72rem;
}

.guide-card h2::before,
.guide-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  bottom: 0.17em;
  width: 3px;
  border-radius: 99px;
  background: var(--brand-yellow);
}

.guide-points,
.guide-steps {
  margin: 0.66rem 0 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.44rem;
}

.guide-points li,
.guide-steps li {
  color: #f7e6a8;
  line-height: 1.5;
}

.guide-code-grid {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 0.8rem;
}

.guide-code-grid.compact {
  margin-top: 0.45rem;
}

.guide-page code {
  background: rgba(126, 165, 240, 0.14);
  border: 1px solid rgba(126, 165, 240, 0.4);
  border-radius: 7px;
  padding: 0.14rem 0.4rem;
  color: #dbe8ff;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.guide-code-grid code {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 900px) {
  .guide-grid,
  .guide-code-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ Page */
.faq-page {
  margin-top: 1.15rem;
  display: grid;
  gap: 1.35rem;
}

.faq-page > header,
.faq-page > section {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(126, 165, 240, 0.22);
}

.faq-hero h1 {
  margin: 0;
  color: var(--brand-blue);
  letter-spacing: -0.015em;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.1;
}

.faq-hero p {
  margin: 0.55rem 0 0;
  color: #f7e6a8;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.62;
}

.faq-list {
  display: grid;
  gap: 0.72rem;
}

.faq-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(126, 165, 240, 0.2);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  color: var(--brand-blue);
  font-size: clamp(1.08rem, 1.7vw, 1.34rem);
  font-weight: 700;
  line-height: 1.3;
  position: relative;
  padding-right: 1.6rem;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--brand-yellow);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0.55rem 0 0.35rem;
  color: #f7e6a8;
  font-size: clamp(0.98rem, 1.2vw, 1.06rem);
  line-height: 1.6;
}

.faq-item a {
  color: var(--brand-yellow);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(242, 212, 102, 0.45);
}

.faq-item a:hover {
  color: #ffe38f;
  border-bottom-color: #ffe38f;
}

.faq-item code {
  background: rgba(126, 165, 240, 0.14);
  border: 1px solid rgba(126, 165, 240, 0.4);
  border-radius: 7px;
  padding: 0.08rem 0.34rem;
  color: #dbe8ff;
}

/* Disclaimer Page */
.disclaimer-page {
  margin-top: 1.15rem;
  display: grid;
  gap: 1.2rem;
}

.disclaimer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.7rem;
}

.disclaimer-card {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(126, 165, 240, 0.22);
}

.disclaimer-card h2 {
  margin: 0 0 0.5rem;
  color: var(--brand-blue);
  font-size: clamp(1.2rem, 2.05vw, 1.58rem);
  line-height: 1.2;
  position: relative;
  padding-left: 0.72rem;
}

.disclaimer-card h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  bottom: 0.17em;
  width: 3px;
  border-radius: 99px;
  background: var(--brand-yellow);
}

.disclaimer-card p {
  margin: 0.55rem 0 0;
  color: #f7e6a8;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.6;
}

.disclaimer-points {
  margin: 0.62rem 0 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.44rem;
}

.disclaimer-points li {
  color: #f7e6a8;
  line-height: 1.5;
}

.disclaimer-page-footer {
  margin-top: 0.25rem;
  padding: 1rem 0 0.2rem;
  border-top: 1px solid rgba(126, 165, 240, 0.28);
}

.disclaimer-page-footer h1 {
  margin: 0;
  color: var(--brand-blue);
  letter-spacing: -0.015em;
  font-size: clamp(1.95rem, 3.6vw, 2.75rem);
  line-height: 1.1;
}

.disclaimer-page-footer p {
  margin: 0.72rem 0 0;
  color: #f7e6a8;
  font-size: clamp(1rem, 1.28vw, 1.08rem);
  line-height: 1.64;
}

@media (max-width: 900px) {
  .disclaimer-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Page */
.contact-page {
  margin-top: 1.15rem;
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

.contact-hero {
  width: 100%;
  text-align: center;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(126, 165, 240, 0.22);
}

.contact-hero h1 {
  margin: 0;
  color: var(--brand-blue);
  letter-spacing: -0.015em;
  font-size: clamp(2rem, 3.7vw, 2.9rem);
  line-height: 1.1;
}

.contact-hero p {
  margin: 0.55rem 0 0;
  color: #f7e6a8;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.6;
}

.contact-reasons {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}

.contact-reasons article {
  padding: 0.95rem 0.95rem 0.9rem;
  border: 1px solid rgba(126, 165, 240, 0.26);
  border-radius: 12px;
  background: rgba(16, 18, 37, 0.42);
}

.contact-reasons h2 {
  margin: 0;
  color: var(--brand-blue);
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
  line-height: 1.25;
}

.contact-reasons p {
  margin: 0.5rem 0 0;
  color: #f7e6a8;
  font-size: 0.98rem;
  line-height: 1.55;
}

.contact-card {
  width: min(620px, 100%);
  background: linear-gradient(160deg, rgba(34, 40, 58, 0.88), rgba(25, 30, 49, 0.94));
  border: 1px solid rgba(126, 165, 240, 0.28);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.contact-form {
  display: grid;
  gap: 0.82rem;
}

.contact-form label {
  color: #f5e6b2;
  font-weight: 700;
  font-size: 1.02rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(126, 165, 240, 0.34);
  border-radius: 10px;
  background: rgba(17, 20, 39, 0.95);
  color: #dbe8ff;
  padding: 0.8rem 0.95rem;
  font: inherit;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(219, 232, 255, 0.62);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(126, 165, 240, 0.8);
  box-shadow: 0 0 0 2px rgba(126, 165, 240, 0.2);
}

.contact-submit {
  margin-top: 0.25rem;
  border: 0;
  border-radius: 11px;
  padding: 0.82rem 1rem;
  font: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  color: #111318;
  background: linear-gradient(90deg, #f2d466, #7ea5f0);
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.contact-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.contact-links {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 0.35rem 0 0.1rem;
}

.social-card {
  min-height: 124px;
  border: 1px solid rgba(126, 165, 240, 0.3);
  border-radius: 14px;
  background: rgba(16, 18, 37, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.58rem;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.social-card img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.social-card span {
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.2;
}

.social-card:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 212, 102, 0.62);
  background: rgba(16, 18, 37, 0.72);
}

.social-card:hover span {
  color: var(--brand-yellow);
}

.contact-email {
  width: min(700px, 100%);
}

.contact-email h2 {
  margin: 0;
  color: var(--brand-blue);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.contact-email > p {
  margin: 0.55rem 0 0;
  color: #f7e6a8;
}

.contact-email-address {
  margin: 0.35rem 0 0.9rem;
}

.contact-email-address a {
  color: var(--brand-yellow);
  text-decoration: none;
  font-weight: 800;
  border-bottom: 1px solid rgba(242, 212, 102, 0.55);
}

.contact-email-address a:hover {
  color: #ffe38f;
  border-bottom-color: #ffe38f;
}

@media (max-width: 980px) {
  .contact-reasons {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .contact-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .contact-links {
    grid-template-columns: 1fr;
  }
}

/* Terms Page */
.terms-page {
  margin-top: 1.15rem;
  display: grid;
  gap: 1.2rem;
}

.terms-page > section,
.terms-page > header {
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(126, 165, 240, 0.22);
}

.terms-hero h1 {
  margin: 0;
  color: var(--brand-blue);
  letter-spacing: -0.015em;
  font-size: clamp(2rem, 3.7vw, 2.9rem);
  line-height: 1.1;
}

.terms-hero p {
  margin: 0.55rem 0 0;
  color: #f7e6a8;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.6;
}

.terms-section h2 {
  margin: 0 0 0.55rem;
  color: var(--brand-blue);
  font-size: clamp(1.2rem, 2.05vw, 1.58rem);
  line-height: 1.2;
  position: relative;
  padding-left: 0.72rem;
}

.terms-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  bottom: 0.17em;
  width: 3px;
  border-radius: 99px;
  background: var(--brand-yellow);
}

.terms-section h3 {
  margin: 0.85rem 0 0.32rem;
  color: #e8d788;
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.3;
}

.terms-section p {
  margin: 0.45rem 0 0;
  color: #f7e6a8;
  font-size: clamp(0.98rem, 1.22vw, 1.06rem);
  line-height: 1.62;
}

.terms-points {
  margin: 0.6rem 0 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.42rem;
}

.terms-points li {
  color: #f7e6a8;
  line-height: 1.5;
}

.terms-link {
  color: var(--brand-yellow);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(242, 212, 102, 0.5);
}

.terms-link:hover {
  color: #ffe38f;
  border-bottom-color: #ffe38f;
}

/* Privacy Page */
.privacy-page {
  margin-top: 1.15rem;
  display: grid;
  gap: 1.2rem;
}

.privacy-page > section,
.privacy-page > header {
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(126, 165, 240, 0.22);
}

.privacy-hero h1 {
  margin: 0;
  color: var(--brand-blue);
  letter-spacing: -0.015em;
  font-size: clamp(2rem, 3.7vw, 2.9rem);
  line-height: 1.1;
}

.privacy-hero p {
  margin: 0.55rem 0 0;
  color: #f7e6a8;
  font-size: clamp(0.98rem, 1.24vw, 1.08rem);
  line-height: 1.62;
}

.privacy-section h2 {
  margin: 0 0 0.55rem;
  color: var(--brand-blue);
  font-size: clamp(1.2rem, 2.05vw, 1.58rem);
  line-height: 1.2;
  position: relative;
  padding-left: 0.72rem;
}

.privacy-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  bottom: 0.17em;
  width: 3px;
  border-radius: 99px;
  background: var(--brand-yellow);
}

.privacy-section p {
  margin: 0.45rem 0 0;
  color: #f7e6a8;
  font-size: clamp(0.98rem, 1.22vw, 1.06rem);
  line-height: 1.62;
}

.privacy-points {
  margin: 0.6rem 0 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.42rem;
}

.privacy-points li {
  color: #f7e6a8;
  line-height: 1.5;
}

.privacy-link {
  color: var(--brand-yellow);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(242, 212, 102, 0.5);
}

.privacy-link:hover {
  color: #ffe38f;
  border-bottom-color: #ffe38f;
}

.listing-link,
.terms-link,
.privacy-link,
.contact-email-address a {
  overflow-wrap: anywhere;
}

/* Shared Brand Badge */
.page-brand-badge {
  margin-top: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.46rem 0.74rem 0.46rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(126, 165, 240, 0.3);
  background: rgba(16, 18, 37, 0.48);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.24);
}

.page-brand-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 999px;
  border: 1px solid rgba(126, 165, 240, 0.34);
  background: rgba(20, 22, 43, 0.62);
}

.page-brand-wordmark {
  height: 24px;
  width: auto;
  object-fit: contain;
}

@keyframes badge-float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.page-brand-badge {
  animation: badge-float-soft 4s ease-in-out infinite;
}

@media (max-width: 760px) {
  .page-brand-badge {
    margin-top: 0.72rem;
    padding: 0.36rem 0.58rem 0.36rem 0.32rem;
  }

  .page-brand-icon {
    width: 30px;
    height: 30px;
  }

  .page-brand-wordmark {
    height: 20px;
  }
}

/* Global Interaction Polish */
.site-nav a,
.button,
.footer-link,
.header-discord-button,
.contact-submit,
.faq-item summary,
.terms-link,
.privacy-link,
.listing-link {
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.about-grid .about-card,
.listing-grid .listing-card,
.guide-grid .guide-card,
.contact-reasons article,
.disclaimer-grid .disclaimer-card,
.contact-card,
.listing-promo-card,
.social-card {
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

@media (hover: hover) {
  .about-grid .about-card:hover,
  .listing-grid .listing-card:hover,
  .guide-grid .guide-card:hover,
  .contact-reasons article:hover,
  .disclaimer-grid .disclaimer-card:hover,
  .contact-card:hover,
  .listing-promo-card:hover {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


