﻿:root {
  --bg-main: #050814;
  --bg-deep: #0b1326;
  --panel: rgba(10, 18, 34, 0.82);
  --border: rgba(100, 150, 255, 0.2);
  --text-main: rgba(255, 255, 255, 0.92);
  --text-muted: rgba(255, 255, 255, 0.68);
  --accent: #3aa0ff;
  --accent-strong: #1b6dff;
  --highlight: #3aa0ff;
  --highlight-strong: #1b6dff;
  --success: #3aff9d;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  --nav-height: 84px;
  --nav-pill-bg: rgba(10, 18, 34, 0.88);
  --nav-pill-border: rgba(255, 255, 255, 0.12);
  --nav-pill-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 15% 20%, rgba(58, 160, 255, 0.18), transparent 50%),
    radial-gradient(circle at 80% 10%, rgba(58, 160, 255, 0.12), transparent 52%),
    linear-gradient(180deg, rgba(5, 8, 20, 0.96), rgba(5, 8, 20, 1)),
    var(--bg-main);
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

main {
  padding-top: var(--nav-height);
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 120;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0.9rem;
  background: var(--nav-pill-bg);
  border: 1px solid var(--nav-pill-border);
  border-radius: 999px;
  box-shadow: var(--nav-pill-shadow);
  backdrop-filter: blur(16px);
  pointer-events: auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 0.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-main);
  text-decoration: none;
}

.nav-brand img {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: #050814;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: #f4f6ff;
  color: #0b1326;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  margin-top: calc(-1 * var(--nav-height));
  padding: calc(var(--nav-height) + 2.5rem) 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/fondo1.jpg") center/cover no-repeat;
  opacity: 0.3;
  filter: blur(2px);
  transform: scale(1.04);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0.55), transparent 90%);
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1200px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4.5rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(58, 160, 255, 0.14);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-copy h1,
.hero-title {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 3.6vw + 1.2rem, 4.2rem);
  margin-top: 1.2rem;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.hero-copy h1 span,
.hero-title span {
  color: var(--accent);
  display: inline-block;
}

.hero-copy p {
  margin-top: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #050814;
  box-shadow: 0 12px 30px rgba(58, 160, 255, 0.25);
}

.btn.ghost {
  border: 1px solid var(--border);
  color: var(--text-main);
  background: rgba(8, 14, 28, 0.5);
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-status {
  margin-top: 2rem;
  display: grid;
  gap: 0.6rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgba(58, 160, 255, 0.15);
}

.status.online {
  color: #050814;
  background: rgba(58, 255, 157, 0.9);
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-media img {
  width: min(460px, 100%);
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.55));
}

/* ============ PAGE HERO ============ */
.page-hero {
  position: relative;
  padding: 6rem 2rem 3.5rem;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(58, 160, 255, 0.2), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(58, 160, 255, 0.12), transparent 50%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.page-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(58, 160, 255, 0.14);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-hero h1 {
  margin-top: 1rem;
  font-size: clamp(2.2rem, 2.6vw + 1.2rem, 3rem);
}

.page-hero p {
  margin-top: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============ RULES DOC ============ */
.rules-doc {
  padding: 1.5rem 2rem 5rem;
}

.rules-doc-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem;
}

.rules-doc-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem;
}

.rules-doc-head h2 {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
}

.rules-doc-head p {
  color: var(--text-muted);
}

.rules-doc-frame {
  position: relative;
  width: 100%;
  padding-top: 58%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 8, 20, 0.65);
}

.rules-doc-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: calc(100% + 72px);
  border: 0;
  transform: translateY(-60px);
}

.rules-doc-footer {
  display: flex;
  justify-content: center;
  margin-top: 1.4rem;
}

.rules-doc-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
}

.rules-doc-link:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

/* ============ STORE EMBED ============ */
.store-embed {
  padding: 0 2rem 5rem;
}

.store-embed-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem;
}

.store-embed-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem;
}

.store-embed-head h2 {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
}

.store-embed-head p {
  color: var(--text-muted);
}

.store-embed-frame {
  position: relative;
  width: 100%;
  height: clamp(720px, 80vh, 1100px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 8, 20, 0.65);
}

.store-embed-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.store-embed-footer {
  display: flex;
  justify-content: center;
  margin-top: 1.4rem;
}

.store-embed-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
}

.store-embed-link:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

/* ============ FEATURES ============ */
.features {
  padding: 5.5rem 2rem 4rem;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.6rem;
}

.features-head h2 {
  font-size: 2.6rem;
}

.features-head p {
  margin-top: 0.6rem;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 1.8rem;
}

.feature-card h3 {
  margin: 1rem 0 0.5rem;
  color: var(--accent);
  font-size: 1.1rem;
}

.feature-text {
  color: var(--text-muted);
  line-height: 1.5;
}

.feature-image {
  width: 100%;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.25);
}

.feature-image img,
.feature-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9) contrast(1.05);
}

/* ============ STEPS ============ */
.steps-section {
  position: relative;
  padding: 5rem 2rem 3.5rem;
}

.steps-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(58, 160, 255, 0.2), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(58, 160, 255, 0.12), transparent 50%);
  pointer-events: none;
}

.steps-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.steps-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.steps-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(58, 160, 255, 0.14);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.steps-head h2 {
  margin-top: 1rem;
  font-size: 2.4rem;
}

.steps-head p {
  margin-top: 0.8rem;
  color: var(--text-muted);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 1.6rem;
}

.step-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.step-card:not(:last-child)::after {
  content: "->";
  position: absolute;
  right: -1.4rem;
  top: 50%;
  transform: translate(50%, -50%);
  color: var(--accent);
  opacity: 0.6;
  font-weight: 700;
}

.step-number {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(58, 160, 255, 0.9);
  color: #050814;
  font-weight: 800;
}

.step-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.2rem;
}

.step-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.step-card p {
  color: var(--text-muted);
}

.step-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  background: var(--accent);
  color: #050814;
  font-weight: 800;
  font-size: 0.85rem;
}

/* ============ ABOUT ============ */
.about-section {
  position: relative;
  padding: 5rem 2rem 3.5rem;
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(58, 160, 255, 0.12), transparent 60%),
    radial-gradient(circle at 85% 60%, rgba(58, 160, 255, 0.1), transparent 55%);
  pointer-events: none;
}

.about-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.about-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.about-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(58, 160, 255, 0.14);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-head h2 {
  margin-top: 1rem;
  font-size: 2.4rem;
}

.about-head p {
  margin-top: 0.8rem;
  color: var(--text-muted);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 1.6rem;
}

.about-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.about-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.2rem;
}

.about-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.about-card p {
  color: var(--text-muted);
}

/* ============ TEAM ============ */
.team-section {
  position: relative;
  padding: 4.5rem 2rem 4rem;
}

.team-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(58, 160, 255, 0.18), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(87, 242, 166, 0.12), transparent 60%);
  pointer-events: none;
}

.team-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.team-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.team-head h2 {
  margin-top: 1rem;
  font-size: 2.4rem;
}

.team-head p {
  margin-top: 0.8rem;
  color: var(--text-muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1.6rem;
}

.team-card {
  position: relative;
  overflow: hidden;
  animation-delay: var(--delay, 0s);
}

.team-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(58, 160, 255, 0.18), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

.team-card > * {
  position: relative;
  z-index: 1;
}

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #050814;
  background: radial-gradient(circle at 30% 20%, #ffffff, var(--team-accent, #3aa0ff));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-meta h3 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.team-role {
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.team-bio {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.team-tag {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.team-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-top: 2.4rem;
}

.team-stat {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  animation-delay: var(--delay, 0s);
}

.team-stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.team-stat-label {
  color: var(--text-muted);
}

/* ============ COMMUNITY HIGHLIGHTS ============ */
.media-section {
  position: relative;
  padding: 5rem 2rem 4.5rem;
}

.media-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(58, 160, 255, 0.2), transparent 60%),
    radial-gradient(circle at 80% 10%, rgba(58, 160, 255, 0.12), transparent 55%);
  pointer-events: none;
}

.media-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.media-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.7rem;
}

.media-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(58, 160, 255, 0.4);
  background: rgba(58, 160, 255, 0.12);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.media-head h2 {
  margin-top: 1rem;
  font-size: 2.4rem;
}

.media-head h2 span {
  color: var(--accent);
}

.media-head p {
  margin-top: 0.8rem;
  color: var(--text-muted);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 1.6rem;
}

.media-card {
  display: flex;
  flex-direction: column;
  background: rgba(9, 14, 28, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-main);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.media-card:hover {
  transform: translateY(-6px);
  border-color: rgba(58, 160, 255, 0.45);
}

.media-thumb {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85) contrast(1.05);
}

.media-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  color: #050814;
  background: radial-gradient(circle at 35% 35%, #e6f2ff, var(--accent));
  box-shadow: 0 12px 30px rgba(58, 160, 255, 0.35);
  border: 2px solid rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease;
}

.media-card:hover .media-play {
  transform: translate(-50%, -50%) scale(1.05);
}

.media-info {
  padding: 1.2rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.media-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.media-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.media-cta {
  margin-top: 2.8rem;
  text-align: center;
}

.media-cta p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.media-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #050814;
  box-shadow: 0 14px 32px rgba(58, 160, 255, 0.35);
}

/* ============ DISCORD BANNER ============ */
.discord-section {
  padding: 9rem 2rem 9rem;
}

.discord-banner {
  position: relative;
  width: min(1200px, 100%);
  margin: 0 auto;
  height: 140px;
  border-radius: 18px;
  overflow: visible;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  background: rgba(10, 18, 34, 0.6);
  border: 1px solid rgba(100, 150, 255, 0.2);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
}

.discord-bg {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 50%, rgba(58, 160, 255, 0.35), transparent 55%),
    radial-gradient(circle at 85% 50%, rgba(58, 160, 255, 0.22), transparent 60%),
    linear-gradient(90deg, rgba(40, 110, 255, 0.35), rgba(40, 110, 255, 0.18));
  opacity: 0.9;
}

.discord-left,
.discord-mid,
.discord-right {
  position: relative;
  z-index: 2;
}

.discord-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-left: 22px;
  max-width: 440px;
}

.discord-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
}

.discord-title {
  font-weight: 800;
}

.discord-sub {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.discord-mid {
  position: absolute;
  right: 210px;
  bottom: 0;
  width: 340px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 3;
  pointer-events: none;
}

.discord-character {
  height: 300px;
  width: auto;
  transform: translateY(0);
  filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.55));
}

.discord-right {
  padding-right: 22px;
  display: flex;
  justify-content: flex-end;
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.25rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(58, 160, 255, 0.22);
}

/* ============ FOOTER ============ */
.site-footer {
  padding: 2.6rem 3rem 2.2rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(5, 8, 20, 0.35), rgba(5, 8, 20, 0.9));
  color: var(--text-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) 1fr minmax(180px, 0.8fr) auto;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.footer-brand img {
  width: 56px;
  height: 56px;
}

.footer-cta {
  display: flex;
  align-items: center;
}

.footer-play {
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-contact-block {
  display: grid;
  gap: 0.4rem;
  color: var(--text-muted);
  font-weight: 600;
}

.footer-contact-block a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.05);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-divider {
  margin: 2rem 0 1.5rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--text-main);
}

/* ============ ANIMATION ============ */
.hero-copy,
.hero-media,
.feature-card,
.step-card,
.about-card,
.media-card,
.team-card,
.team-stat {
  animation: rise 0.7s ease both;
}

.feature-card:nth-child(1) {
  animation-delay: 0.05s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.15s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(5) {
  animation-delay: 0.25s;
}

.feature-card:nth-child(6) {
  animation-delay: 0.3s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-media {
    order: -1;
  }

  .features-grid,
  .steps-grid,
  .about-grid,
  .media-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }

  .team-stats {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }

  .footer-top {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
  }

  .footer-contact-block {
    justify-self: center;
    text-align: center;
  }

  .step-card:not(:last-child)::after {
    display: none;
  }

  .discord-banner {
    grid-template-columns: 1fr;
    height: auto;
    padding: 1.1rem 0;
    row-gap: 1rem;
  }

  .discord-mid {
    right: 28px;
    bottom: 0;
    width: 230px;
    height: 240px;
  }

  .discord-character {
    height: 240px;
    transform: translateY(0);
  }

  .discord-right {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-left: 22px;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-height: 76px;
  }

  .nav-pill {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.6rem 0.9rem;
    gap: 0.5rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .features-grid,
  .steps-grid,
  .about-grid,
  .media-grid,
  .team-grid,
  .team-stats {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 4rem 1.5rem 2.5rem;
  }

  .rules-doc {
    padding: 0 1.5rem 4rem;
  }

  .rules-doc-inner {
    padding: 1.6rem;
  }

  .rules-doc-frame {
    padding-top: 70%;
  }

  .store-embed {
    padding: 0 1.5rem 4rem;
  }

  .store-embed-inner {
    padding: 1.6rem;
  }
}

@media (max-width: 520px) {
  .nav-brand span {
    display: none;
  }

  .nav-cta {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .discord-banner {
    grid-template-columns: 1fr;
  }

  .discord-mid {
    display: none;
  }
}
