:root {
  --gold-1: #d4af37;
  --gold-2: #f4e4c1;
  --gold-3: #e8d5a8;
  --gold-4: #c9b037;
  --gold-5: #b8941f;
  --ink: #0a0e17;
  --choco: #151726;
  --bg-1: #0a0e17;
  --bg-2: #1a1d2e;
  --bg-3: #2c2f3e;
  --glass: rgba(26, 29, 46, 0.6);
  --glass-strong: rgba(18, 20, 32, 0.75);
  --glass-border: rgba(244, 228, 193, 0.35);
  --shadow-gold: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(212, 175, 55, 0.25);
  --shadow-soft: 0 20px 45px rgba(0, 0, 0, 0.35);
  --text-light: #fefaf2;
  --muted: rgba(244, 228, 193, 0.72);
  --white: #ffffff;
  --glow: rgba(212, 175, 55, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

*::selection {
  background: rgba(212, 175, 55, 0.35);
  color: var(--white);
}

a {
  color: inherit;
}

button {
  font-family: "Poppins", sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(10, 14, 23, 0.7);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(244, 228, 193, 0.5), rgba(212, 175, 55, 0.8));
  border-radius: 999px;
  border: 2px solid rgba(10, 14, 23, 0.6);
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-light);
  background:
    radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.12), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(232, 213, 168, 0.1), transparent 50%),
    linear-gradient(145deg, var(--bg-1), var(--bg-2) 45%, var(--bg-3) 75%, #0a0e17 100%);
  background-size: 220% 220%;
  animation: backgroundShift 18s ease infinite, fadeIn 0.9s ease;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(212, 175, 55, 0.2), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(232, 213, 168, 0.14), transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(201, 176, 55, 0.1), transparent 55%);
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 2px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 3px);
  opacity: 0.14;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 0;
}

body.rules-body::after,
body.team-body::after,
body.presentation-body::after,
body.discord-body::after,
body.store-body::after {
  opacity: 0;
}

.particles {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particles span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 228, 193, 0.8), rgba(212, 175, 55, 0.1));
  opacity: 0.35;
  animation: float 22s linear infinite;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
}

.particles span:nth-child(odd) {
  width: 4px;
  height: 4px;
  opacity: 0.4;
}

@keyframes float {
  0% {
    transform: translateY(110vh) translateX(0);
  }
  50% {
    transform: translateY(50vh) translateX(25px);
  }
  100% {
    transform: translateY(-10vh) translateX(-20px);
  }
}

@keyframes backgroundShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes ripple {
  0% {
    opacity: 0.4;
    transform: scale(0.2);
  }
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes buttonPulse {
  0%,
  100% {
    box-shadow: 0 16px 30px rgba(212, 175, 55, 0.25), 0 0 18px rgba(212, 175, 55, 0.18);
  }
  50% {
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.35), 0 0 30px rgba(212, 175, 55, 0.28);
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  backdrop-filter: blur(22px);
  background: linear-gradient(120deg, rgba(10, 14, 23, 0.92), rgba(26, 29, 46, 0.78));
  border-bottom: 1px solid rgba(244, 228, 193, 0.22);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
}

header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(244, 228, 193, 0.18), transparent 55%);
  pointer-events: none;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: "Cinzel", serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-2);
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.35), 0 6px 20px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
}

.logo img {
  height: 28px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.35));
  transform: scale(1.12);
  transform-origin: left center;
}

.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(244, 228, 193, 0.2), var(--gold-1), rgba(244, 228, 193, 0.2));
  transition: width 0.4s ease;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

.nav-links a:hover {
  color: var(--gold-2);
  transform: translateY(-1px);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--gold-2);
  text-shadow: 0 0 16px rgba(212, 175, 55, 0.4);
}

.nav-links a.active::after {
  width: 100%;
}

body.is-mobile header nav a[href*="discord"] {
  display: none !important;
}

main {
  position: relative;
  z-index: 1;
}

.page {
  min-height: 100vh;
  padding: 150px min(9vw, 140px) 100px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  position: relative;
  animation: pageRise 0.9s ease;
}

@keyframes pageRise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page::after {
  content: "";
  position: absolute;
  inset: 8% 6% auto;
  height: 70%;
  background:
    radial-gradient(circle at 20% 20%, rgba(244, 228, 193, 0.18), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(212, 175, 55, 0.14), transparent 60%);
  filter: blur(50px);
  z-index: -1;
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 0%, rgba(244, 228, 193, 0.12), transparent 40%);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

.home-body {
  background:
    linear-gradient(140deg, rgba(10, 14, 23, 0.8), rgba(10, 14, 23, 0.5)),
    url("https://media.discordapp.net/attachments/1463124410738147383/1463161555196575755/cartoon-tropical-island-landscape.jpg?ex=6976c1a2&is=69757022&hm=f0c673cfe4a489fb1959e2b507a295bba7f5f97eadb03f902fdeda67e13e6606&=&format=webp&width=1610&height=902")
      center/cover no-repeat;
  background-attachment: fixed;
  animation: none;
}

.rules-body {
  background:
    linear-gradient(140deg, rgba(10, 14, 23, 0.8), rgba(10, 14, 23, 0.5)),
    url("https://media.discordapp.net/attachments/1463124410738147383/1463161555196575755/cartoon-tropical-island-landscape.jpg?ex=6976c1a2&is=69757022&hm=f0c673cfe4a489fb1959e2b507a295bba7f5f97eadb03f902fdeda67e13e6606&=&format=webp&width=1610&height=902")
      center/cover no-repeat;
  background-attachment: fixed;
  animation: none;
}

.presentation-body {
  background:
    linear-gradient(140deg, rgba(10, 14, 23, 0.85), rgba(10, 14, 23, 0.55)),
    url("https://media.discordapp.net/attachments/1463124410738147383/1463161555196575755/cartoon-tropical-island-landscape.jpg?ex=6976c1a2&is=69757022&hm=f0c673cfe4a489fb1959e2b507a295bba7f5f97eadb03f902fdeda67e13e6606&=&format=webp&width=1610&height=902")
      center/cover no-repeat;
  background-attachment: fixed;
  animation: none;
}

.team-body {
  background:
    linear-gradient(140deg, rgba(10, 14, 23, 0.8), rgba(10, 14, 23, 0.5)),
    url("https://media.discordapp.net/attachments/1463124410738147383/1463161555196575755/cartoon-tropical-island-landscape.jpg?ex=6976c1a2&is=69757022&hm=f0c673cfe4a489fb1959e2b507a295bba7f5f97eadb03f902fdeda67e13e6606&=&format=webp&width=1610&height=902")
      center/cover no-repeat;
  background-attachment: fixed;
  animation: none;
}

.discord-body {
  background:
    linear-gradient(140deg, rgba(10, 14, 23, 0.8), rgba(10, 14, 23, 0.5)),
    url("https://media.discordapp.net/attachments/1463124410738147383/1463161555196575755/cartoon-tropical-island-landscape.jpg?ex=6976c1a2&is=69757022&hm=f0c673cfe4a489fb1959e2b507a295bba7f5f97eadb03f902fdeda67e13e6606&=&format=webp&width=1610&height=902")
      center/cover no-repeat;
  background-attachment: fixed;
  animation: none;
}

.store-body {
  background:
    linear-gradient(140deg, rgba(10, 14, 23, 0.8), rgba(10, 14, 23, 0.5)),
    url("https://media.discordapp.net/attachments/1463124410738147383/1463161555196575755/cartoon-tropical-island-landscape.jpg?ex=6976c1a2&is=69757022&hm=f0c673cfe4a489fb1959e2b507a295bba7f5f97eadb03f902fdeda67e13e6606&=&format=webp&width=1610&height=902")
      center/cover no-repeat;
  background-attachment: fixed;
  animation: none;
}

.home-body::before,
.home-body::after {
  display: none;
}

.rules-body::before,
.rules-body::after {
  display: none;
}

.presentation-body::before,
.presentation-body::after {
  display: none;
}

.team-body::before,
.team-body::after {
  display: none;
}

.discord-body::before,
.discord-body::after {
  display: none;
}

.store-body::before,
.store-body::after {
  display: none;
}

#home::before,
#home::after {
  display: none;
}

#rules::before,
#rules::after {
  display: none;
}

#general::before,
#general::after {
  display: none;
}

#lspd::before,
#lspd::after {
  display: none;
}

#lsmd::before,
#lsmd::after {
  display: none;
}

#ilegales::before,
#ilegales::after {
  display: none;
}

#talleres::before,
#talleres::after {
  display: none;
}

#comercios::before,
#comercios::after {
  display: none;
}

#discord-normativa::before,
#discord-normativa::after {
  display: none;
}

#whitelist::before,
#whitelist::after {
  display: none;
}

#whitelist-form::before,
#whitelist-form::after {
  display: none;
}

#privacy::before,
#privacy::after {
  display: none;
}

#terms::before,
#terms::after {
  display: none;
}

#team::before,
#team::after {
  display: none;
}

#discord::before,
#discord::after {
  display: none;
}

#store::before,
#store::after {
  display: none;
}

.section-title {
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  text-transform: uppercase;
  background: linear-gradient(100deg, var(--gold-2), var(--gold-1), var(--gold-3), var(--gold-2));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: 3px;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background-size: 220% 220%;
  animation: shimmer 8s ease infinite;
}

.section-subtitle {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  text-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 28px;
  align-items: center;
}

.hero-content {
  max-width: 680px;
  text-align: center;
  display: grid;
  gap: 18px;
}

.hero-content .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.hero-title {
  font-family: "Cinzel", serif;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  background: linear-gradient(115deg, var(--gold-2), var(--gold-1), var(--gold-3));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.05;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  animation: shimmer 8s ease infinite;
}

.hero-card {
  padding: 26px 30px;
  background: linear-gradient(145deg, rgba(18, 20, 32, 0.85), rgba(26, 29, 46, 0.65));
  border: 1px solid transparent;
  background-clip: padding-box;
  border-radius: 20px;
  box-shadow: var(--shadow-gold);
  backdrop-filter: blur(24px);
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  justify-self: end;
  width: 100%;
  max-width: 640px;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(244, 228, 193, 0.5), rgba(212, 175, 55, 0.15), transparent);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.7;
  pointer-events: none;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -80%;
  width: 60%;
  height: 220%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  opacity: 0;
  transition: opacity 0.4s ease, left 0.6s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-primary {
  background: linear-gradient(130deg, var(--gold-2), var(--gold-1), var(--gold-3));
  color: #1a140b;
  box-shadow: 0 16px 35px rgba(212, 175, 55, 0.35), 0 0 20px rgba(212, 175, 55, 0.25);
  animation: buttonPulse 6s ease infinite;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 22px 45px rgba(212, 175, 55, 0.55), 0 0 35px rgba(212, 175, 55, 0.35);
  filter: brightness(1.1);
}

.btn:hover::after {
  opacity: 1;
  left: 120%;
}

.btn:hover::before {
  opacity: 0.2;
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn:active::before {
  animation: ripple 0.6s ease;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--gold-2);
}

.btn-ghost:hover {
  border-color: var(--gold-1);
  color: #fff;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.45);
}

.btn:focus-visible {
  outline: 2px solid rgba(244, 228, 193, 0.9);
  outline-offset: 4px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

#privacy .grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1100px;
  margin: 0 auto;
}

#terms .grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1100px;
  margin: 0 auto;
}

#rules .grid {
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
}

.grid.hero-features {
  margin-top: 22px;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 24px;
}

.grid.hero-features .card {
  padding: 22px;
}

.card {
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(26, 29, 46, 0.62), rgba(16, 18, 30, 0.78));
  border: 1px solid transparent;
  background-clip: padding-box;
  backdrop-filter: blur(26px);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.rule-card {
  text-decoration: none;
  display: grid;
  gap: 12px;
  align-items: start;
  min-height: 180px;
}

.rule-card h3 {
  margin: 0;
}

.rule-link-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rule-link-text::after {
  content: "→";
  font-size: 0.9rem;
}

.rule-card:hover .rule-link-text {
  color: var(--white);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

.discord-widget-embed {
  padding: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 360px;
  justify-self: start;
  margin: 0;
}

.discord-widget-embed iframe {
  width: 100%;
  height: 500px;
  border: 0;
  border-radius: 16px;
  display: block;
}

.discord-info-card .section-subtitle {
  max-width: none;
}

.discord-info-text {
  display: grid;
  gap: 14px;
}

.discord-info-text p {
  margin: 0;
}

.discord-actions {
  justify-content: center;
}

@media (max-width: 900px) {
  .discord-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    justify-items: stretch;
  }

  .discord-widget-embed iframe {
    height: 460px;
  }

  .discord-widget-embed {
    max-width: 100%;
    width: 100%;
    justify-self: stretch;
  }

  .discord-info-card {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .discord-info-card,
  .discord-widget-embed {
    padding: 18px;
  }

  .discord-info-card h3 {
    font-size: 1.1rem;
  }

  .discord-info-text {
    font-size: 0.95rem;
  }

  .discord-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .discord-widget-embed iframe {
    height: 420px;
  }

  .discord-body .arrows {
    display: none;
  }
}

.presentation-page {
  gap: 32px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.presentation-page * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.presentation-frame {
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(244, 228, 193, 0.3);
  box-shadow: var(--shadow-gold);
  background: rgba(12, 14, 24, 0.6);
}

.presentation-frame iframe {
  width: 100%;
  height: min(72vh, 760px);
  border: 0;
}

.whitelist-form-page {
  gap: 32px;
  align-items: center;
}

.whitelist-form-wrapper {
  width: min(1100px, 92vw);
}

.whitelist-form {
  display: grid;
  gap: 28px;
  padding: 32px;
}

.whitelist-form .form-block {
  display: grid;
  gap: 18px;
}

.whitelist-form .form-grid {
  display: grid;
  gap: 18px;
}

.whitelist-form .form-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.whitelist-form .form-field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.whitelist-form .form-field label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-2);
}

.whitelist-form .form-field input,
.whitelist-form .form-field textarea {
  display: block;
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(244, 228, 193, 0.25);
  background: rgba(8, 10, 18, 0.6);
  color: var(--text-light);
  padding: 12px 16px;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.35);
}

.whitelist-form .form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.whitelist-form .form-field input::placeholder,
.whitelist-form .form-field textarea::placeholder {
  color: rgba(244, 228, 193, 0.6);
}

.whitelist-form .form-field input:focus,
.whitelist-form .form-field textarea:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.whitelist-form.card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: var(--shadow-soft);
}

.whitelist-form.card:hover::after {
  opacity: 0;
}

.form-note {
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(12, 9, 6, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--muted);
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.form-status {
  font-size: 0.9rem;
  color: var(--muted);
}

.form-status[data-tone="success"] {
  color: #8bf0b3;
}

.form-status[data-tone="error"] {
  color: #ff9aa2;
}

.form-status[data-tone="loading"] {
  color: var(--gold-2);
}

.back-rules-btn {
  position: fixed !important;
  top: 110px !important;
  right: 28px !important;
  z-index: 20;
  background: rgba(18, 20, 32, 0.75);
  border-color: rgba(244, 228, 193, 0.5);
  color: var(--gold-2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.back-rules-btn:hover {
  color: var(--white);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.35);
}

@media (max-width: 820px) {
  .back-rules-btn {
    top: 140px;
    right: 18px;
  }
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(244, 228, 193, 0.35), rgba(212, 175, 55, 0.12), transparent 70%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.8;
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.05), rgba(212, 175, 55, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-10px) scale(1.01);
  border-color: rgba(244, 228, 193, 0.6);
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.45), 0 0 35px rgba(212, 175, 55, 0.35);
}

.card:hover::after {
  opacity: 1;
}

.card h3 {
  font-size: 1.1rem;
  margin: 12px 0 12px;
  color: var(--gold-2);
}

.card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.card ul li::before {
  content: "✦";
  color: var(--gold-1);
  margin-right: 8px;
}

.icon {
  font-size: 22px;
  color: var(--gold-1);
  transition: transform 0.3s ease, color 0.3s ease;
}

.card:hover .icon {
  transform: scale(1.08) rotate(-3deg);
  color: var(--gold-2);
}

.team-card {
  text-align: center;
}

.team-page {
  gap: 48px;
}

.team-header {
  margin-bottom: 12px;
}

.team-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.team-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.stat-card {
  padding: 18px 20px;
  text-align: left;
}

.stat-number {
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-2);
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
}

.team-section {
  display: grid;
  gap: 20px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-heading i {
  font-size: 26px;
  color: var(--gold-2);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.45);
}

.section-label {
  font-family: "Cinzel", serif;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  text-transform: uppercase;
  background: linear-gradient(120deg, var(--gold-2), var(--gold-1), var(--gold-3));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: 3px;
}

.section-line {
  height: 1px;
  background: linear-gradient(90deg, rgba(244, 228, 193, 0.2), rgba(212, 175, 55, 0.6), rgba(244, 228, 193, 0.2));
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.3);
}

.team-grid {
  display: grid;
  gap: 22px;
}

.team-grid.columns-3 {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.team-grid.columns-4 {
  grid-template-columns: repeat(4, minmax(200px, 1fr));
}

.team-grid.columns-5 {
  grid-template-columns: repeat(5, minmax(180px, 1fr));
}

.team-card {
  text-align: left;
  padding: 26px;
  display: grid;
  gap: 16px;
}

.team-card .team-info {
  display: grid;
  gap: 8px;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}

.team-username {
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
}

.team-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(244, 228, 193, 0.7);
}

.team-bio {
  font-size: 0.9rem;
  color: rgba(244, 228, 193, 0.75);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.35s ease, max-height 0.35s ease;
}

.team-card:hover .team-bio {
  opacity: 1;
  max-height: 120px;
}

.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid rgba(212, 175, 55, 0.6);
  background: radial-gradient(circle, rgba(244, 228, 193, 0.35), rgba(212, 175, 55, 0.1));
  color: var(--gold-2);
  font-size: 28px;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-avatar.has-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: transparent;
}

.team-card:hover .team-avatar {
  transform: scale(1.05);
  box-shadow: 0 0 32px rgba(212, 175, 55, 0.4);
}

.team-grid:hover .team-card:not(:hover) {
  transform: none;
  border-color: transparent;
  box-shadow: var(--shadow-soft);
}

.team-grid:hover .team-card:not(:hover)::after {
  opacity: 0;
}

.owner-card {
  padding: 32px;
  background: linear-gradient(135deg, rgba(244, 228, 193, 0.2), rgba(212, 175, 55, 0.18), rgba(18, 20, 32, 0.85));
  border: 2px solid rgba(244, 228, 193, 0.7);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.5), 0 0 45px rgba(212, 175, 55, 0.4);
  grid-template-columns: minmax(180px, 220px) 1fr;
  align-items: center;
  width: 100%;
  min-height: 220px;
  max-width: 820px;
  margin: 0 auto;
}

.owner-avatar {
  width: 120px;
  height: 120px;
  border: 3px solid rgba(244, 228, 193, 0.9);
  font-size: 34px;
  position: relative;
  justify-self: center;
}

.owner-avatar::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(244, 228, 193, 0.45);
  filter: blur(6px);
}

.team-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
}

.badge-owner {
  background: linear-gradient(120deg, rgba(244, 228, 193, 0.9), rgba(212, 175, 55, 0.9));
  color: #1a140b;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.45);
}

.badge-management {
  background: linear-gradient(120deg, rgba(212, 175, 55, 0.7), rgba(201, 176, 55, 0.5));
  color: #1a140b;
}

.badge-high {
  background: rgba(244, 228, 193, 0.2);
  border: 1px solid rgba(244, 228, 193, 0.5);
  color: var(--gold-2);
}

.badge-staff {
  background: rgba(130, 170, 255, 0.15);
  border: 1px solid rgba(130, 170, 255, 0.4);
  color: #d7e6ff;
}

.badge-support {
  background: rgba(196, 163, 128, 0.2);
  border: 1px solid rgba(196, 163, 128, 0.4);
  color: #f3e9dc;
}

.management-avatar {
  border-color: rgba(212, 175, 55, 0.6);
}

.high-avatar {
  border-color: rgba(244, 228, 193, 0.5);
}

.staff-avatar {
  border-color: rgba(130, 170, 255, 0.55);
  color: #d7e6ff;
}

.support-avatar {
  border-color: rgba(196, 163, 128, 0.5);
  color: #f3e9dc;
}

.management-card,
.high-card,
.staff-card,
.support-card {
  min-height: 100%;
}

.avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  margin: 0 auto 12px;
  border: 2px solid var(--gold-1);
  background: radial-gradient(circle, rgba(244, 228, 193, 0.35), rgba(212, 175, 55, 0.1));
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--gold-2);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: var(--gold-2);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 8px 0;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.2);
}

.discord-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 16px;
  align-items: stretch;
}

.discord-widget {
  background: linear-gradient(160deg, rgba(18, 20, 32, 0.9), rgba(32, 35, 52, 0.7));
  border: 1px solid rgba(244, 228, 193, 0.35);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-gold);
}

.discord-widget header {
  position: static;
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 16px;
  backdrop-filter: none;
}

.discord-widget .member {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.discord-widget .member:last-child {
  border-bottom: none;
}

.member .status {
  width: 10px;
  height: 10px;
  background: #3fe07a;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(63, 224, 122, 0.6);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.store-page {
  justify-content: flex-start;
  animation: none;
  transform: none;
  padding-top: 210px;
}

.store-header {
  display: grid;
  gap: 10px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
}

.breadcrumbs button {
  background: none;
  border: none;
  color: var(--gold-2);
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  padding: 0;
}

.breadcrumbs span {
  color: rgba(244, 228, 193, 0.5);
}

.store-layout {
  display: grid;
  gap: 28px;
  justify-items: center;
}

.store-section + .store-section {
  margin-top: 48px;
}

.store-category-bar {
  padding: 8px 28px 18px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}

.category-bar-title {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-2);
  white-space: nowrap;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.category-scroll {
  flex-wrap: wrap;
  overflow: visible;
  padding-bottom: 0;
}

.category-btn {
  background: rgba(12, 9, 6, 0.35);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 14px;
  text-align: left;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex: 0 0 auto;
}

.category-btn:hover {
  color: var(--gold-2);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.category-btn.active {
  color: #1a140b;
  background: linear-gradient(120deg, rgba(244, 228, 193, 0.85), rgba(212, 175, 55, 0.9));
  border-color: rgba(212, 175, 55, 0.8);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.35);
}

.store-content {
  position: relative;
  min-height: 540px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.store-view {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.store-view.is-hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  position: absolute;
  inset: 0;
  visibility: hidden;
}

.store-view.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  position: relative;
}

.category-header {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  text-align: center;
  justify-items: center;
}

.category-title {
  font-family: "Cinzel", serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--gold-2);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  gap: 24px;
}

.product-card {
  display: grid;
  gap: 12px;
  cursor: pointer;
}

.product-image {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.6);
  box-shadow: inset 0 0 15px rgba(244, 228, 193, 0.35);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.product-description {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.product-price {
  color: var(--gold-2);
  font-weight: 600;
  letter-spacing: 1px;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.info-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(130deg, #3b8dff, #1e4ed8);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 0 12px rgba(59, 141, 255, 0.35);
  cursor: pointer;
}

.btn-compact {
  padding: 8px 14px;
  font-size: 0.75rem;
}

.btn-large {
  padding: 16px 36px;
  font-size: 0.95rem;
}

.product-detail-modal {
  position: fixed;
  inset: 0;
  background: rgba(9, 11, 18, 0.78);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 140px 6vw 80px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 30;
  overflow-y: auto;
}

.product-detail-modal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.product-detail-card {
  width: min(1100px, 92vw);
  background: rgba(12, 9, 6, 0.88);
  border-radius: 26px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  padding: 32px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(12, 9, 6, 0.7);
  color: var(--gold-2);
  font-size: 1.6rem;
  cursor: pointer;
}

.product-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.product-hero {
  width: 100%;
  height: 320px;
  border-radius: 24px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  box-shadow: var(--shadow-gold);
  background-size: cover;
  background-position: center;
}

.product-gallery {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.product-gallery-item {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background-size: cover;
  background-position: center;
}

.product-title {
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.product-price-large {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold-1);
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 16px 0;
  color: var(--muted);
}

.feature-list li::before {
  content: "✦";
  color: var(--gold-1);
  margin-right: 8px;
}

.product-lower {
  margin-top: 32px;
  display: grid;
  gap: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.info-panel {
  padding: 20px;
  border-radius: 16px;
  background: rgba(16, 12, 8, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--muted);
}

@media (max-width: 1200px) {
  .store-grid {
    grid-template-columns: repeat(3, minmax(190px, 1fr));
  }

  .team-grid.columns-5 {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
}

@media (max-width: 1024px) {
  .category-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .category-scroll::-webkit-scrollbar {
    height: 0;
  }

  .store-grid {
    grid-template-columns: repeat(2, minmax(190px, 1fr));
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .team-grid.columns-4,
  .team-grid.columns-3 {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }

  .team-grid.columns-5 {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

.footer {
  padding: 40px 8vw;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid rgba(244, 228, 193, 0.2);
  background: linear-gradient(120deg, rgba(10, 14, 23, 0.9), rgba(26, 29, 46, 0.85));
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.45);
}

.footer a {
  color: var(--gold-2);
  margin: 0 12px;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer a:hover {
  color: var(--white);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.arrows {
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 10;
  pointer-events: none;
  display: none;
}

.arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(244, 228, 193, 0.45);
  background: rgba(14, 18, 30, 0.65);
  color: var(--gold-2);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  backdrop-filter: blur(12px);
  pointer-events: auto;
}

.arrow-btn:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.55);
  background: rgba(18, 20, 32, 0.85);
}

.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 820px) {
  .nav {
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  header nav a[href="discord.html"] {
    display: none !important;
  }

  #rules .grid {
    grid-template-columns: 1fr;
  }

  .page {
    padding-top: 160px;
  }

  .store-page {
    padding-top: 240px;
  }

  .team-hero {
    grid-template-columns: 1fr;
  }

  .owner-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .team-extra {
    justify-content: center;
  }

  .team-avatar {
    justify-self: center;
  }

  .store-layout {
    grid-template-columns: 1fr;
  }

  .category-scroll {
    width: 100%;
  }

  .arrows {
    padding: 0 10px;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .team-grid.columns-3,
  .team-grid.columns-4,
  .team-grid.columns-5 {
    grid-template-columns: 1fr;
  }

  .team-card {
    padding: 22px;
  }

  .store-grid {
    grid-template-columns: 1fr;
  }

  #rules .grid {
    grid-template-columns: 1fr;
  }

  .product-hero {
    height: 240px;
  }

  .product-gallery {
    flex-wrap: wrap;
  }

  .arrow-btn {
    width: 38px;
    height: 38px;
  }
}
