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

:root {
  --rust: #C8440C;
  --rust-light: #E86030;
  --rust-dim: #8A2E08;
  --gold: #D4A017;
  --dark: #0C0B09;
  --dark2: #141210;
  --dark3: #1C1A16;
  --dark4: #242118;
  --surface: #2A261E;
  --text: #E8E0D0;
  --text-muted: #8A8070;
  --text-dim: #5A5448;
  --border: rgba(200, 68, 12, 0.2);
  --border-dim: rgba(200, 68, 12, 0.08);
  --cyan: #00E5FF;
  --cyan-dim: rgba(0, 229, 255, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ───── CONTAINER ───── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* ───── NAV ───── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 60px;
  background: rgba(12, 11, 9, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dim);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  letter-spacing: 0.1em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--rust);
  color: #fff;
  padding: 8px 20px;
  text-decoration: none;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  background: var(--rust-light);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.15);
}

.btn-steam {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #1b2838;
  color: #c7d5e0;
  border: 1px solid rgba(199, 213, 224, 0.15);
  padding: 8px 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.btn-steam:hover {
  background: #2a475e;
  border-color: rgba(199, 213, 224, 0.35);
  color: #fff;
}

.btn-steam svg {
  flex-shrink: 0;
}

/* ───── STEAM USER (logged in) ───── */
.nav-steam-user {
  display: none;
  align-items: center;
  gap: 10px;
}

.nav-steam-user.active {
  display: flex;
}

.steam-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(199, 213, 224, 0.25);
  object-fit: cover;
  background: #1b2838;
}

.steam-id-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-logout {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: none;
  border: 1px solid var(--border-dim);
  padding: 5px 12px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.btn-logout:hover {
  color: var(--rust-light);
  border-color: var(--border);
}

/* ───── HERO ───── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0 2.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #0C0B09;
  overflow: hidden;
}

.hero-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* ratio 16:9 vertical (100 / 16 * 9) */
  min-height: 100vh;
  min-width: 177.77vh; /* ratio 16:9 horizontal (100 / 9 * 16) */
  transform: translate(-50%, -50%) scale(1.15); /* Mas zoom para esconder bordes negros si los hay */
  pointer-events: none;
  border: none;
  opacity: 0.5;
  filter: saturate(1.2) contrast(1.1); /* Toque extra de color para el gaming vibe */
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(12, 11, 9, 0.4) 0%, rgba(12, 11, 9, 0.7) 60%, rgba(12, 11, 9, 1) 100%),
    linear-gradient(to top, transparent 60%, rgba(12, 11, 9, 0.3) 100%);
  z-index: 1;
}

.hero-grid {
  display: none;
}

.hero-noise {
  display: none;
}

.hero-content {
  position: relative;
  max-width: 760px;
  width: 100%;
  padding-top: 70px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 7px 18px;
  margin-bottom: 2rem;
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  text-align: center;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.8);
}

h1 .accent {
  color: var(--rust-light);
}

h1 .dim {
  color: var(--text-muted);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  text-align: center;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--rust);
  color: #fff;
  padding: 14px 32px;
  text-decoration: none;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover {
  background: var(--rust-light);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 14px 32px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.1s;
}

.btn-secondary:hover {
  border-color: rgba(200, 68, 12, 0.5);
  color: var(--text);
  transform: translateY(-1px);
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  padding: 14px 32px;
  text-decoration: none;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.2);
}

.btn-instagram:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 8px 25px rgba(220, 39, 67, 0.4);
}

.btn-instagram svg {
  flex-shrink: 0;
}

.hero-stat-bar {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--border-dim);
  justify-content: center;
  width: 100%;
}

.hero-stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.05em;
  color: var(--text);
  line-height: 1;
  text-align: center;
}

.hero-stat-value em {
  color: var(--rust-light);
  font-style: normal;
}

.hero-stat-label {
  font-size: 0.75rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 4px;
  text-align: center;
}

/* ───── SECTION COMMON ───── */
section {
  padding: 5.5rem 2.5rem;
}

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
  text-align: center;
}

h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 1.25rem;
  color: var(--text);
  text-align: center;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 3rem;
  text-align: center;
}

/* ───── SERVERS ───── */
#servers {
  background: var(--dark2);
}

.servers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  text-align: left;
}

/* Store card used for server cards sometimes in your HTML? Let's check consistency */
.store-item {
  background: var(--dark2);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.store-item:hover {
  border-color: var(--cyan-dim);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 229, 255, 0.1);
}

.server-card {
  background: var(--dark3);
  border: 1px solid var(--border-dim);
  padding: 2.25rem 2rem 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.server-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.server-card:hover {
  border-color: var(--border);
  background: var(--dark4);
}

.server-card:hover::before {
  opacity: 1;
}

.server-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.server-badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid;
}

.badge-vanilla {
  color: #7FA86C;
  border-color: rgba(127, 168, 108, 0.3);
  background: rgba(127, 168, 108, 0.07);
}

.badge-modded {
  color: #C8A03C;
  border-color: rgba(200, 160, 60, 0.3);
  background: rgba(200, 160, 60, 0.07);
}

.server-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5AAB6A;
  box-shadow: 0 0 6px rgba(90, 171, 106, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

.server-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.server-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.55;
}

.server-meta {
  display: flex;
  gap: 1.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.server-meta strong {
  color: var(--text-muted);
  display: block;
  font-size: 1rem;
}

.server-connect {
  margin-top: 1.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.server-card:hover .server-connect {
  gap: 10px;
}

.connect-ip {
  background: var(--surface);
  border: 1px solid var(--border-dim);
  padding: 0.75rem 1rem;
  margin-top: 0.75rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  overflow: hidden;
}

.connect-ip code {
  font-family: 'Courier New', monospace;
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}

.copy-btn {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust-light);
  background: none;
  border: 1px solid var(--border);
  padding: 4px 12px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.copy-btn:hover {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.25);
}

/* ───── COMING SOON ───── */
.server-card.coming-soon {
  opacity: 0.5;
  pointer-events: none;
  position: relative;
}

.server-card.coming-soon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg,
      transparent,
      transparent 6px,
      rgba(0, 0, 0, 0.15) 6px,
      rgba(0, 0, 0, 0.15) 12px);
  pointer-events: none;
}

.soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
  background: rgba(0, 229, 255, 0.06);
  padding: 4px 12px;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.soon-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.7;
}

/* ───── STORE ───── */
#store {
  background: var(--dark);
}

.store-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  text-align: left;
}

.store-item {
  background: var(--dark3);
  border: 1px solid var(--border-dim);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}

.store-item:hover {
  background: var(--dark4);
  border-color: var(--border);
}

.store-item-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--dark4);
  border: 1px solid var(--border-dim);
}

.store-item-tier {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.tier-vip {
  color: var(--gold);
}

.tier-kit {
  color: var(--cyan);
}

.tier-perm {
  color: #A87CA0;
}

.tier-bundle {
  color: var(--rust-light);
}

.store-item-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.store-item-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.store-item-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
}

.store-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--text);
  line-height: 1;
}

.store-price sup {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  vertical-align: super;
  color: var(--text-muted);
  margin-right: 1px;
}

.price-usd {
  font-size: 0.7rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-top: 3px;
}

.buy-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--rust);
  color: #fff;
  border: none;
  padding: 8px 18px;
  cursor: pointer;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  transition: background 0.2s;
  flex-shrink: 0;
}

.buy-btn:hover {
  background: var(--rust-light);
}

.store-featured {
  position: absolute;
  top: 12px;
  right: -4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1C1500;
  padding: 3px 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  z-index: 10;
  animation: pulse-featured 3s infinite;
}

.store-featured::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 0;
  border-top: 4px solid #805300;
  border-right: 4px solid transparent;
}

@keyframes pulse-featured {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }

  100% {
    transform: scale(1);
  }
}

/* ───── DONATION BLOCK ───── */
.donation-block {
  margin-top: 1.5rem;
  border: 1px solid rgba(0, 229, 255, 0.15);
  background: var(--dark3);
  position: relative;
  overflow: hidden;
}

.donation-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rust-dim), var(--cyan), var(--rust-dim));
  opacity: 0.6;
}

.donation-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  flex-wrap: wrap;
  text-align: left;
}

.donation-left {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  flex: 1;
  min-width: 240px;
}

.donation-icon {
  font-size: 2rem;
  line-height: 1;
  margin-top: 4px;
  flex-shrink: 0;
}

.donation-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.donation-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 420px;
}

.donation-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ───── DISCORD ───── */
#discord {
  background: var(--dark2);
  position: relative;
  overflow: hidden;
}

.discord-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.discord-card {
  background: #2C2F33;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 1.75rem;
  position: relative;
}

.discord-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #5865F2;
  border-radius: 8px 8px 0 0;
}

.discord-server-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.discord-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rust);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  color: #fff;
  letter-spacing: 0.05em;
}

.discord-server-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #DCDDDE;
}

.discord-member-count {
  font-size: 0.75rem;
  color: #72767D;
  margin-top: 2px;
}

.discord-channels {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.discord-ch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 0.87rem;
  color: #8E9297;
  transition: background 0.15s, color 0.15s;
}

.discord-ch:hover,
.discord-ch.active {
  background: rgba(255, 255, 255, 0.06);
  color: #DCDDDE;
}

.discord-ch-icon {
  font-size: 0.95rem;
  opacity: 0.6;
}

.discord-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--cyan);
  margin-top: 1.5rem;
}

.discord-online::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px rgba(0, 229, 255, 0.5);
}

.discord-content h2 {
  text-align: left;
  margin-bottom: 0.75rem;
}

.discord-content .section-label {
  text-align: left;
}

.discord-content .section-sub {
  text-align: left;
  margin-left: 0;
}

.discord-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.discord-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.feat-check {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  font-size: 0.65rem;
  color: var(--cyan);
}

/* ───── FOOTER ───── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border-dim);
  padding: 2.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-text {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--rust-light);
}

/* ───── DIVIDER ───── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rust-dim), var(--cyan), var(--rust-dim), transparent);
  opacity: 0.2;
}

/* ───── ANIMATIONS ───── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tag {
  animation: fadeUp 0.6s ease both 0.1s;
}

h1 {
  animation: fadeUp 0.6s ease both 0.2s;
}

.hero-sub {
  animation: fadeUp 0.6s ease both 0.35s;
}

.hero-actions {
  animation: fadeUp 0.6s ease both 0.45s;
}

.hero-stat-bar {
  animation: fadeUp 0.6s ease both 0.55s;
}

/* ───── RESPONSIVE ───── */
@media (max-width: 900px) {
  .hero-bg iframe {
    transform: translate(-50%, -50%) scale(3.2); /* Zoom agresivo en mobile para cubrir pantallas verticales largas */
  }

  .servers-grid {
    grid-template-columns: 1fr;
  }

  .store-grid {
    grid-template-columns: 1fr;
  }

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

  .discord-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0 1.5rem;
  }

  nav .container {
    display: flex !important;
    justify-content: space-between !important;
  }

  .nav-links {
    display: none;
  }

  section {
    padding: 3.5rem 1.5rem;
  }

  .hero {
    padding: 0 1.5rem;
  }

  footer {
    padding: 2rem 1.5rem;
  }

  .donation-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Modal Mobile Optimization */
  .modal-card {
    padding: 2rem 1.5rem;
    max-width: calc(100% - 2rem);
    margin: auto 0;
    /* Centrado vertical en mobile también */
  }

  .modal-card h3 {
    font-size: 1.6rem;
  }

  .modal-card p {
    font-size: 0.9rem;
  }

  .modal-btn {
    padding: 1rem;
    font-size: 0.85rem;
  }

  .success-icon-container {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }

  .success-icon-container svg {
    width: 30px;
    height: 30px;
  }
}

/* Store Features List */
.store-features {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0;
  text-align: left;
}

.store-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.store-features li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: bold;
  font-size: 0.9rem;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: flex-start;
  /* Permite scroll desde arriba */
  padding: 2rem 1rem;
  overflow-y: auto;
  z-index: 2000;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  padding: 2.5rem;
  width: 100%;
  max-width: 450px;
  margin: auto;
  /* Centrado vertical flexible */
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  position: relative;
}

.modal-card h3 {
  font-family: 'Bebas Neue', cursiva;
  font-size: 2rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--text);
}

.modal-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.modal-actions {
  display: flex;
  gap: 1rem;
}

.modal-btn {
  flex: 1;
  padding: 0.8rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-confirm {
  background: var(--rust);
  color: white;
}

.btn-confirm:hover {
  background: var(--rust-light);
  transform: translateY(-2px);
}

.btn-cancel {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.btn-cancel:hover {
  color: white;
  border-color: var(--text-muted);
}

/* Kit Details Modal Styles */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 10px;
  margin-top: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 4px;
  max-height: 400px;
  overflow-y: auto;
}

.inventory-slot {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 5px;
}

.inventory-slot img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.inventory-amount {
  position: absolute;
  bottom: 2px;
  right: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 1px 1px 2px #000;
}

.kit-header-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-align: left;
  margin-bottom: 1.5rem;
}

.kit-modal-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid var(--rust);
}

.modal-card.wide {
  max-width: 600px;
}

/* PayPal Button Container */
#paypal-button-container {
  margin-top: 1.5rem;
  min-height: 150px;
}

.trust-icon {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.trust-icon:hover {
  transform: scale(1.1) translateY(-2px);
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.4)) brightness(1.2);
}

.disabled-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--text-dim) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  cursor: default !important;
  opacity: 0.8;
  transform: none !important;
}

#result-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  text-align: center;
  display: none;
}

.success {
  display: block;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.2);
  color: #81C784;
}

.error {
  display: block;
  background: rgba(232, 96, 48, 0.1);
  border: 1px solid rgba(232, 96, 48, 0.2);
  color: #FF8A65;
}

/* Status Icons (Success/Error) */
.success-icon-container,
.error-icon-container {
  display: none;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: scale(0);
}

.success-icon-container.active,
.error-icon-container.active {
  display: flex;
  transform: scale(1);
}

.status-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.success-circle {
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  border: 4px solid rgba(255, 255, 255, 0.1);
}

.error-circle {
  background: linear-gradient(135deg, #F44336, #B71C1C);
  border: 4px solid rgba(255, 255, 255, 0.1);
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}

.success-icon-container.active .checkmark__check {
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.3s forwards;
}

.error__cross-1,
.error__cross-2 {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}

.error-icon-container.active .error__cross-1 {
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.3s forwards;
}

.error-icon-container.active .error__cross-2 {
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.45s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

#paypal-button-container.hidden {
  display: none;
}

/* Kit Loader */
.kit-loader {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  gap: 1.5rem;
}

.kit-loader.active {
  display: flex;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 229, 255, 0.1);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #f2d74e;
  top: 0;
  opacity: 0;
  z-index: 2001;
  pointer-events: none;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-100%) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}