/* ===================================================================
   L2BLADE THEME - DARK CHARCOAL, GRAPHITE & COLD STEEL METALLIC
   =================================================================== */

:root {
  --bg-main: #0c0e12;
  --bg-card: rgba(20, 25, 33, 0.85);
  --bg-card-hover: rgba(28, 35, 46, 0.96);
  --bg-card-solid: #151921;
  --bg-input: #101319;
  --bg-darker: #080a0d;
  
  --color-primary: #374151;
  --color-primary-light: #4b5563;
  --color-primary-lighter: #9ca3af;
  --color-primary-dark: #1f2937;
  --color-primary-glow: rgba(148, 163, 184, 0.3);
  --color-primary-glow-subtle: rgba(148, 163, 184, 0.12);

  --color-accent-gold: #fbbf24;
  --color-text-main: #f1f5f9;
  --color-text-muted: #94a3b8;
  --color-text-dim: #64748b;
  
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-active: rgba(156, 163, 175, 0.45);
  --border-radius: 12px;
  
  --font-heading: 'Cinzel', serif;
  --font-sans: 'Sora', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-main);
  color: var(--color-text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    linear-gradient(180deg, rgba(12, 14, 18, 0.92) 0%, rgba(12, 14, 18, 0.98) 100%),
    url('/images/gracia-portada.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
  color: #ffffff;
}

a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #ffffff;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, #12151b 0%, #1e2430 50%, #12151b 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.45rem 0;
  font-size: 0.85rem;
  color: #e2e8f0;
}

.marquee-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}

.announcement-badge {
  background: #374151;
  border: 1px solid #4b5563;
  color: #f8fafc;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Navbar */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(14, 17, 23, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.logo-img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  border: 1px solid var(--border-active);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.server-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
}

.server-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.12em;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Action Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #2f3642 0%, #1c2128 100%);
  color: #ffffff;
  border: 1px solid #4b5563;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3d4554 0%, #262c37 100%);
  color: #ffffff;
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(148, 163, 184, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  border-color: var(--border-subtle);
  color: #cbd5e1;
}

.btn-outline:hover {
  border-color: #94a3b8;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.btn-discord {
  background: #5865F2;
  color: #ffffff;
  border-color: #7983f5;
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.35);
}

.btn-discord:hover {
  background: #4752c4;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(88, 101, 242, 0.55);
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  border-color: #34e073;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  border-radius: 10px;
}

.btn-sm {
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
}

.btn-block {
  width: 100%;
}

.glow-pulse {
  animation: glowPulseAnimation 3s infinite;
}

@keyframes glowPulseAnimation {
  0% { box-shadow: 0 0 12px rgba(148, 163, 184, 0.2); }
  50% { box-shadow: 0 0 24px rgba(203, 213, 225, 0.4); }
  100% { box-shadow: 0 0 12px rgba(148, 163, 184, 0.2); }
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(14, 17, 23, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.25rem 1.5rem;
  gap: 0.5rem;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.mobile-menu.open {
  display: flex !important;
  animation: slideDownMobile 0.25s ease-out;
}

@keyframes slideDownMobile {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-menu a {
  color: #e5e7eb;
  padding: 0.75rem 0.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero-section {
  position: relative;
  min-height: 84vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6.5rem 0 3.5rem 0;
  background-image: 
    linear-gradient(180deg, rgba(12, 14, 18, 0.72) 0%, rgba(12, 14, 18, 0.95) 85%, #0c0e12 100%),
    url('/images/gracia-portada.jpg');
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(75, 85, 99, 0.15) 0%, transparent 65%);
  pointer-events: none;
}

.hero-glow-sphere {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 116, 139, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.hero-content {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.pulse-sparkle {
  color: #cbd5e1;
  animation: pulseRotate 2s infinite ease-in-out;
}

@keyframes pulseRotate {
  0% { transform: scale(1) rotate(0deg); opacity: 0.8; }
  50% { transform: scale(1.3) rotate(90deg); opacity: 1; }
  100% { transform: scale(1) rotate(180deg); opacity: 0.8; }
}

.hero-heading {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 1.15rem;
  background: linear-gradient(180deg, #ffffff 45%, #e2e8f0 75%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
}

.hero-description {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin: 0 auto 1.85rem auto;
  max-width: 720px;
}

/* ===================================================================
   HERO COUNTDOWN WIDGET (DOTTED CIRCULAR DIALS - DARK STEEL THEME)
   =================================================================== */
.hero-countdown-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(10, 12, 16, 0.84) 0%, rgba(20, 25, 33, 0.72) 100%);
  border: 1px solid rgba(156, 163, 175, 0.2);
  border-radius: 16px;
  padding: 1.35rem 2.5rem 1.25rem 2.5rem;
  margin: 0 auto 2.25rem auto;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  max-width: 100%;
}

.countdown-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 1.1rem;
  text-align: center;
}

.countdown-main-title {
  font-family: 'Teko', 'Rajdhani', var(--font-sans), sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.52em;
  padding-left: 0.52em;
  color: #f1f5f9;
  text-transform: uppercase;
  line-height: 1.05;
}

.countdown-sub-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #94a3b8;
  text-transform: uppercase;
}

.countdown-rings-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.countdown-ring-wrap {
  position: relative;
  width: 108px;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.countdown-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.cd-dot {
  fill: rgba(148, 163, 184, 0.15);
  transition: fill 0.25s ease, r 0.25s ease, filter 0.25s ease;
}

.cd-dot.active {
  fill: #cbd5e1;
  filter: drop-shadow(0 0 3px rgba(203, 213, 225, 0.45));
}

.cd-dot.tip {
  fill: #ffffff;
  filter: drop-shadow(0 0 5px rgba(248, 250, 252, 0.95)) drop-shadow(0 0 11px rgba(148, 163, 184, 0.8));
}

.countdown-number {
  position: relative;
  z-index: 2;
  font-family: 'Teko', 'Rajdhani', var(--font-mono), sans-serif;
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(3px);
  color: #f8fafc;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

.countdown-label {
  font-family: 'Teko', 'Rajdhani', var(--font-sans), sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  padding-left: 0.18em;
  color: #cbd5e1;
  text-transform: uppercase;
  line-height: 1;
}

@media (max-width: 640px) {
  .hero-countdown-box {
    width: 100%;
    padding: 1rem 0.85rem;
  }
  .countdown-main-title {
    font-size: 1.15rem;
    letter-spacing: 0.35em;
    padding-left: 0.35em;
  }
  .countdown-sub-badge {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }
  .countdown-rings-grid {
    gap: 0.65rem;
    width: 100%;
    justify-content: space-around;
  }
  .countdown-ring-wrap {
    width: 72px;
    height: 72px;
  }
  .countdown-number {
    font-size: 1.95rem;
  }
  .countdown-label {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    padding-left: 0.12em;
  }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.75rem;
  width: 100%;
}

/* Hero Quick Stats (3 cards: Estado Servidor + Votación Hopzone + SmartGuard) */
.hero-quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  width: 100%;
  text-align: left;
}

.stat-card {
  background: rgba(20, 25, 33, 0.82);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  backdrop-filter: blur(10px);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-active);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.stat-card-link {
  cursor: pointer;
}

.stat-card-link:hover .stat-value {
  color: #ffffff;
}

.stat-icon {
  font-size: 1.4rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.07);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-value {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

/* Rates Ribbon */
.rates-ribbon {
  background: rgba(14, 17, 23, 0.96);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.9rem 0;
  position: relative;
  z-index: 3;
}

.rates-ribbon-content {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
}

.rate-ribbon-item {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #e5e7eb;
}

.rate-ribbon-item strong {
  font-family: var(--font-mono);
  color: #f1f5f9;
  font-size: 1.15rem;
}

.ribbon-sep {
  color: rgba(255, 255, 255, 0.2);
}

/* ===================================================================
   SECTIONS GENERAL
   =================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(51, 65, 85, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  background: linear-gradient(180deg, #ffffff 60%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* ===================================================================
   RATES & INFO TABS
   =================================================================== */
.tabs-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.tabs-header {
  display: flex;
  background: rgba(14, 17, 23, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
}

.tab-btn {
  flex: 1;
  padding: 1.15rem 1.5rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  color: #ffffff;
  border-bottom-color: #94a3b8;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 -2px 10px rgba(0, 0, 0, 0.4);
}

.tabs-body {
  padding: 2.5rem;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

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

/* Rates Grid (10 tarjetas organizadas en 5x2 en desktop) */
.rates-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.rate-box {
  background: rgba(16, 20, 27, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.35rem 1rem;
  text-align: center;
  transition: all var(--transition-fast);
}

.rate-box:hover {
  border-color: #94a3b8;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
}

.rate-header {
  font-size: 0.85rem;
  color: #d1d5db;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.rate-val {
  font-size: 2.15rem;
  font-family: var(--font-mono);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.45rem;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.rate-note {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* Features List Grid (For Tabs) */
.features-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: rgba(16, 20, 27, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.5rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #cbd5e1;
  flex-shrink: 0;
}

.info-title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

.info-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ===================================================================
   FEATURES CARDS
   =================================================================== */
.features-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
}

.feature-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  padding: 2rem;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.feature-item-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-active);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.feature-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1rem;
}

.feature-item-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.feature-item-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===================================================================
   DOWNLOADS SECTION
   =================================================================== */
.steps-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  background: rgba(20, 25, 33, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  padding: 1.75rem 2.5rem;
}

.step-col {
  text-align: center;
  flex: 1;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #374151, #1f2937);
  border: 1px solid #64748b;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem auto;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}

.step-title {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  max-width: 240px;
  margin: 0 auto;
}

.step-arrow {
  color: #94a3b8;
  font-size: 1.4rem;
  opacity: 0.6;
}

.downloads-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.downloads-single-grid {
  display: flex;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto 3.5rem auto;
}

.downloads-single-grid .download-card {
  width: 100%;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  padding: 2.25rem;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.download-icon {
  font-size: 2.5rem;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
}

.download-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.download-header h3 {
  font-size: 1.35rem;
}

.download-size {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-weight: 600;
}

.download-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.download-links-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.download-link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #2b323e 0%, #1c2128 100%);
  border: 1px solid #4b5563;
  color: #fff;
  padding: 0.75rem 1.15rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.download-link-btn:hover {
  background: linear-gradient(135deg, #374151 0%, #232933 100%);
  border-color: #94a3b8;
  color: #fff;
  transform: translateX(4px);
  box-shadow: 0 0 15px rgba(148, 163, 184, 0.2);
}

.download-link-btn .badge-rec {
  background: #10b981;
  color: #fff;
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

/* Requirements Box */
.requirements-box {
  background: rgba(16, 20, 27, 0.88);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  padding: 2rem 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.req-col h4 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.req-col ul {
  list-style: none;
}

.req-col li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.req-col li strong {
  color: #e5e7eb;
}

/* ===================================================================
   DONATIONS SECTION
   =================================================================== */
.donations-section {
  background: linear-gradient(180deg, transparent 0%, rgba(14, 17, 23, 0.75) 100%);
}

.donation-card-box {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  padding: 2.75rem 2.25rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
}

.donation-card-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #64748b, transparent);
}

.donation-lead {
  font-size: 1.05rem;
  color: #e5e7eb;
  line-height: 1.8;
  margin-bottom: 2rem;
  text-align: center;
}

.donation-perks {
  background: rgba(14, 17, 23, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
}

.donation-perks-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.donation-perks-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
  padding: 0;
  margin: 0;
}

.donation-perks-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #d1d5db;
  font-size: 0.95rem;
}

.donation-contact-box {
  text-align: center;
}

.donation-notice {
  font-size: 1.05rem;
  font-weight: 600;
  color: #f3f4f6;
  margin-bottom: 1.25rem;
}

.donation-action {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.donation-thanks {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-accent-gold);
  margin-top: 0.5rem;
}

/* ===================================================================
   FLOATING HOPZONE VOTE BUTTON (Fixed Bottom Right)
   =================================================================== */
.floating-hopzone-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 118px;
  height: 88px;
  background: linear-gradient(145deg, #222834 0%, #12151b 100%);
  border: 1.5px solid #4b5563;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 14px rgba(148, 163, 184, 0.18);
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
}

.floating-hopzone-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.75), 0 0 20px rgba(203, 213, 225, 0.35);
  border-color: #94a3b8;
}

.hopzone-floating-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4px;
}

.hopzone-icon {
  font-size: 1.3rem;
  color: #cbd5e1;
  margin-bottom: 2px;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.3));
}

.hopzone-texts {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.hopzone-vote-text {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #94a3b8;
}

.hopzone-brand {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.hopzone-id {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 700;
}

/* ===================================================================
   COMMUNITY & SOCIAL
   =================================================================== */
.community-cta-section {
  padding-bottom: 6rem;
}

.discord-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  padding: 3.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.discord-card-content {
  max-width: 580px;
}

.discord-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #5865F2;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.85rem;
}

.discord-card-content h3 {
  font-size: 2rem;
  margin-bottom: 0.85rem;
}

.discord-card-content p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.socials-buttons-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.discord-card-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}

.discord-crest-glow {
  width: 200px;
  height: 200px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.6);
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background: #080a0d;
  border-top: 1px solid var(--border-subtle);
  padding-top: 4.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.brand-col .footer-logo {
  margin-bottom: 1rem;
}

.footer-text {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-social-icons {
  display: flex;
  gap: 0.75rem;
}

.footer-social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social-icons a:hover {
  background: #374151;
  border-color: #94a3b8;
  color: #fff;
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-list a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: #ffffff;
}

.admin-access-btn {
  margin-top: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
}

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

/* ===================================================================
   MODALS (REGISTER & LOGIN)
   =================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background: #12161f;
  border: 1px solid var(--border-active);
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.25rem;
  position: relative;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-backdrop.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-crest-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #cbd5e1;
  margin: 0 auto 1rem auto;
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e5e7eb;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.form-group input {
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-group input:focus {
  outline: none;
  border-color: #94a3b8;
  box-shadow: 0 0 12px rgba(148, 163, 184, 0.25);
}

.form-hint {
  font-size: 0.75rem;
  color: var(--color-text-dim);
}

.terms-checkbox label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.modal-switch-text {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

.modal-switch-text a {
  color: #e2e8f0;
  font-weight: 600;
}

/* Alert Box */
.alert-box {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.alert-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

/* Success View */
.register-success-view {
  text-align: center;
  padding: 1rem 0;
}

.success-icon {
  font-size: 3.5rem;
  color: #10b981;
  margin-bottom: 1rem;
}

.register-success-view h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.register-success-view p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.success-steps-box {
  background: rgba(16, 20, 27, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: left;
  margin-bottom: 2rem;
}

.success-steps-box h5 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.success-steps-box ol {
  padding-left: 1.25rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.modal-success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Player Dashboard Modal View */
.player-panel {
  text-align: center;
  padding: 1rem 0;
}

.player-avatar-badge {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid #94a3b8;
  color: #e2e8f0;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.player-dash-title {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.player-dash-role {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.player-info-card {
  background: rgba(16, 20, 27, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.info-row:last-child {
  border-bottom: none;
}

.admin-quick-alert {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  text-align: left;
}

.admin-quick-alert p {
  font-size: 0.85rem;
  color: #fde68a;
  margin-bottom: 0.75rem;
}

/* Utilities */
.d-none {
  display: none !important;
}

.w-full {
  width: 100%;
}

.mt-3 {
  margin-top: 1rem;
}

.badge-success {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.text-emerald-400 { color: #34d399; }
.text-amber-400 { color: #fbbf24; }
.text-blue-400 { color: #60a5fa; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-orange-400 { color: #fb923c; }
.text-yellow-400 { color: #facc15; }
.text-indigo-400 { color: #818cf8; }
.text-xs { font-size: 0.75rem; }

/* ===================================================================
   RESPONSIVE DESIGN (TABLETS, MOBILES, SCREENS)
   =================================================================== */

@media (max-width: 1200px) {
  .container {
    padding: 0 1.25rem;
  }
  .hero-heading {
    font-size: 2.75rem;
  }
  .rates-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-section {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 3.5rem;
  }

  .hero-container {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-heading {
    font-size: clamp(2rem, 5.5vw, 2.75rem);
  }

  .hero-quick-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-list-grid {
    grid-template-columns: 1fr;
  }

  .discord-hero-card {
    flex-direction: column-reverse;
    padding: 2.5rem 2rem;
    text-align: center;
    gap: 2rem;
  }

  .discord-card-content {
    max-width: 100%;
  }

  .discord-crest-glow {
    width: 160px;
    height: 160px;
  }

  .socials-buttons-row {
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .announcement-bar {
    padding: 0.35rem 0.5rem;
    font-size: 0.75rem;
  }

  .navbar-content {
    height: 64px;
  }

  .rates-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-row {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .hero-quick-stats {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .floating-hopzone-btn {
    bottom: 16px;
    right: 16px;
    width: 105px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .rates-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* PvP / PK ranking */
.blade-ranking-card{background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:var(--border-radius);padding:1.5rem}.blade-ranking-buttons{display:flex;gap:.75rem;flex-wrap:wrap}.blade-ranking-status{color:var(--color-text-muted);margin:1rem 0;font-size:.9rem}.blade-table-scroll{overflow-x:auto}.blade-ranking-table{width:100%;border-collapse:collapse;min-width:620px}.blade-ranking-table th,.blade-ranking-table td{padding:1rem .75rem;text-align:left;border-bottom:1px solid var(--border-subtle)}.blade-ranking-table th{color:var(--color-text-muted);font-size:.85rem}.blade-ranking-table td:last-child,.blade-ranking-table th:last-child{text-align:right}.blade-ranking-table tbody tr:nth-child(-n+3) td:first-child{color:#fbbf24;font-weight:700}.blade-rankings [hidden]{display:none!important}@media(max-width:640px){.blade-ranking-card{padding:1rem}.blade-ranking-table td,.blade-ranking-table th{padding:.75rem .5rem}}

body.l2-home { isolation:isolate; background:#0b1018; }
.l2-home::before {
  content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background-color:#0b1018;
  background-image:linear-gradient(90deg,#0b1018 6%,rgba(11,16,24,.95) 27%,rgba(11,16,24,.30) 53%,rgba(11,16,24,.08) 80%),var(--site-art,url('/images/panel-caballero.jpg'));
  background-position:center,right top var(--art-header,72px); background-size:cover,auto max(108vh,66vw); background-repeat:no-repeat;
}
.l2-home #hero {background:transparent;}
.l2-home section.section {background:rgba(10,14,20,.48);}
@media (min-width:1000px) {
  .l2-home .hero-content {max-width:660px;margin-left:0;text-align:left;align-items:flex-start;}
  .l2-home .hero-buttons {justify-content:flex-start;}
}
@media (max-width:999px) {
  .l2-home::before {background-size:cover,auto clamp(100vw,100vh,155vw);background-position:center,center top var(--art-header,72px);background-image:linear-gradient(180deg,rgba(9,13,19,.43),rgba(9,13,19,.72)),var(--site-art,url('/images/panel-caballero.jpg'));}
}

.l2-home #hero-desc {
  position:relative;
  box-sizing:border-box;
  width:fit-content;
  max-width:100%;
  padding:.22em .62em .27em;
  border:1px solid transparent;
  border-radius:3px;
  background:linear-gradient(110deg,#20171b,#111720 60%,#20171b) padding-box,
             linear-gradient(125deg,#e0c6ad,#665c64 32%,#aaaab0 65%,#bc625a) border-box;
  box-shadow:inset 0 0 0 3px #10141c,0 4px 16px #0005;

  font-size:clamp(2rem, 3.3vw, 3.75rem);
  font-weight:800;
  line-height:1.08;
  letter-spacing:.035em;
  color:#fff;
  margin-inline:0;
  text-shadow:0 2px 14px #090c11;
}

.l2-home #hero-desc::before,
.l2-home #hero-desc::after {
  content:"";
  position:absolute;
  top:50%;
  width:.13em;
  height:.13em;
  background:#e98b81;
  transform:translateY(-50%) rotate(45deg);
  box-shadow:0 0 6px #d03939;
}
.l2-home #hero-desc::before {left:.22em;}
.l2-home #hero-desc::after {right:.22em;}

@media (min-width: 1000px) {
  .l2-home .hero-container { max-width: 1440px; }
}
#hero-countdown-wrapper {border-color:#872335;background:
radial-gradient(ellipse 18px 12px at 2.0% 20.0%, #870c1a 72%, transparent 100%),
radial-gradient(ellipse 16.5px 11px at 1.5% 22.6%, #870c1a 72%, transparent 100%),
radial-gradient(ellipse 15px 10px at 2.1% 14.6%, #870c1a 72%, transparent 100%),
radial-gradient(ellipse 13.5px 9px at 2.7% 25.2%, #870c1a 72%, transparent 100%),
radial-gradient(ellipse 12px 8px at 0.6% 18.7%, #870c1a 72%, transparent 100%),
radial-gradient(ellipse 10.5px 7px at 3.3% 15.4%, #870c1a 72%, transparent 100%),
radial-gradient(ellipse 9px 6px at 1.6% 29.0%, #870c1a 72%, transparent 100%),
radial-gradient(ellipse 3px 2px at -0.1% 11.1%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 1.5px 1px at 6.5% 23.7%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 6px 4px at -2.7% 24.4%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 4.5px 3px at 4.3% 9.1%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 3px 2px at 3.7% 32.0%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 1.5px 1px at -3.1% 13.4%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 6px 4px at 8.0% 17.1%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 4.5px 3px at -1.7% 31.6%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 3px 2px at 1.2% 5.4%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 1.5px 1px at 7.2% 29.8%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 6px 4px at -5.0% 20.6%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 4.5px 3px at 7.1% 8.6%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 3px 2px at 1.7% 36.5%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 1.5px 1px at -2.9% 7.0%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 6px 4px at 9.7% 22.3%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 4.5px 3px at -4.5% 30.2%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 3px 2px at 3.8% 2.2%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 1.5px 1px at 6.1% 36.2%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 6px 4px at -6.1% 14.2%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 4.5px 3px at 9.9% 11.9%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 3px 2px at -1.4% 38.2%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 1.5px 1px at -1.0% 1.1%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 6px 4px at 10.1% 29.5%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 4.5px 3px at -7.0% 25.3%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 3px 2px at 7.1% 2.2%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 1.5px 1px at 3.6% 41.2%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 6px 4px at -5.7% 6.6%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 4.5px 3px at 11.9% 18.2%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 3px 2px at -4.8% 36.5%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 1.5px 1px at 2.0% -2.8%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 6px 4px at 8.9% 37.1%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 18px 12px at 98.0% 82.0%, #870c1a 72%, transparent 100%),
radial-gradient(ellipse 16.5px 11px at 97.5% 84.6%, #870c1a 72%, transparent 100%),
radial-gradient(ellipse 15px 10px at 98.1% 76.6%, #870c1a 72%, transparent 100%),
radial-gradient(ellipse 13.5px 9px at 98.7% 87.2%, #870c1a 72%, transparent 100%),
radial-gradient(ellipse 12px 8px at 96.6% 80.7%, #870c1a 72%, transparent 100%),
radial-gradient(ellipse 10.5px 7px at 99.3% 77.4%, #870c1a 72%, transparent 100%),
radial-gradient(ellipse 9px 6px at 97.6% 91.0%, #870c1a 72%, transparent 100%),
radial-gradient(ellipse 3px 2px at 95.9% 73.1%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 1.5px 1px at 102.5% 85.7%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 6px 4px at 93.3% 86.4%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 4.5px 3px at 100.3% 71.1%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 3px 2px at 99.7% 94.0%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 1.5px 1px at 92.9% 75.4%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 6px 4px at 104.0% 79.1%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 4.5px 3px at 94.3% 93.6%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 3px 2px at 97.2% 67.4%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 1.5px 1px at 103.2% 91.8%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 6px 4px at 91.0% 82.6%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 4.5px 3px at 103.1% 70.6%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 3px 2px at 97.7% 98.5%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 1.5px 1px at 93.1% 69.0%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 6px 4px at 105.7% 84.3%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 4.5px 3px at 91.5% 92.2%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 3px 2px at 99.8% 64.2%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 1.5px 1px at 102.1% 98.2%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 6px 4px at 89.9% 76.2%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 4.5px 3px at 105.9% 73.9%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 3px 2px at 94.6% 100.2%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 1.5px 1px at 95.0% 63.1%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 6px 4px at 106.1% 91.5%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 4.5px 3px at 89.0% 87.3%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 3px 2px at 103.1% 64.2%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 1.5px 1px at 99.6% 103.2%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 6px 4px at 90.3% 68.6%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 4.5px 3px at 107.9% 80.2%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 3px 2px at 91.2% 98.5%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 1.5px 1px at 98.0% 59.2%, #b31b2f 72%, transparent 100%),
radial-gradient(ellipse 6px 4px at 104.9% 99.1%, #b31b2f 72%, transparent 100%),linear-gradient(120deg,#28090e,#110d10 30%,#110d10 74%,#290910)}
#hero-countdown-wrapper span {color:#fff;text-shadow:0 1px 4px #000}
#hero-countdown-wrapper .cd-dot.active {fill:#dd324b;filter:none}
#hero-countdown-wrapper .cd-dot.tip {fill:#fff}

#hero-countdown-wrapper {align-self:flex-start;margin-left:0;margin-right:auto}
#hero-countdown-wrapper .countdown-main-title {font-size:clamp(1.35rem,2vw,1.7rem)}
#hero-countdown-wrapper .countdown-sub-badge {font-size:clamp(.72rem,1vw,.84rem)}
#hero-countdown-wrapper .countdown-label {font-size:clamp(1rem,1.4vw,1.28rem)}
#hero-countdown-wrapper .countdown-number {font-size:clamp(2.3rem,4vw,3.35rem);font-variant-numeric:tabular-nums;min-width:1.4em}
@media(max-width:640px){
  #hero-countdown-wrapper .countdown-rings-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.25rem}
  #hero-countdown-wrapper .countdown-ring-wrap {width:min(100%,72px);height:auto;aspect-ratio:1}
  #hero-countdown-wrapper .countdown-label {letter-spacing:.06em}
}
@media(prefers-reduced-motion:no-preference){
  .countdown-number.turning::before, .countdown-number.turning::after {position:absolute;inset:-.04em 0;display:grid;place-items:center;background:#190e13;border-radius:.08em;backface-visibility:hidden;pointer-events:none}
  .countdown-number.turning::before {content:attr(data-value);transform-origin:center bottom;animation:blade-page-in .48s ease-out both}
  .countdown-number.turning::after {content:attr(data-previous);transform-origin:center top;animation:blade-page-out .48s ease-in both}
}
@keyframes blade-page-out {0% {transform:perspective(180px) rotateX(0)} 75%,100% {transform:perspective(180px) rotateX(105deg);opacity:0}}
@keyframes blade-page-in {0% {transform:perspective(180px) translateY(30%) rotateX(-55deg);opacity:0} 100% {transform:none;opacity:1}}
#hero-countdown-wrapper .countdown-ring-wrap {perspective:480px;isolation:isolate;height:auto;aspect-ratio:1.14;margin:8px 0}
#hero-countdown-wrapper .countdown-number,#hero-countdown-wrapper .calendar-leaf {position:absolute;inset:0;display:grid;place-items:center;box-sizing:border-box;padding-top:.14em;border:1px solid #97414c;border-radius:6px;background:linear-gradient(#8d192c 0 16%,#541221 16% 18%,#322429 18%,#21181d 100%);font:600 clamp(2.3rem,4vw,3.35rem)/1 Teko,Rajdhani,sans-serif;color:white;font-variant-numeric:tabular-nums;letter-spacing:.03em;transform:none}
#hero-countdown-wrapper .countdown-number {box-shadow:0 3px #83636a,0 5px #321c22,0 7px 8px #080407}
#hero-countdown-wrapper .calendar-leaf {z-index:3;pointer-events:none;transform-origin:50% 6%;animation:calendar-lift .78s cubic-bezier(.42,0,.32,1) forwards}
#hero-countdown-wrapper .countdown-ring-wrap::before,#hero-countdown-wrapper .countdown-ring-wrap::after {content:'';position:absolute;z-index:4;top:-6px;width:5px;height:13px;border-radius:4px;background:linear-gradient(90deg,#554b50,#f2dfe3,#716066);box-shadow:0 1px 2px #070305}
#hero-countdown-wrapper .countdown-ring-wrap::before {left:20%}
#hero-countdown-wrapper .countdown-ring-wrap::after {right:20%}
@keyframes calendar-lift {0% {transform:rotateX(0)} 55% {transform:rotateX(-77deg);filter:brightness(.72)} 100% {transform:rotateX(-154deg);opacity:0}}
