/* Estilos Rockstar Games Portal - Exacto como referencia */

/* Importar fuentes de Google */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;600;700&display=swap');

/* Variables CSS - Idénticas a referencia */
:root {
  /* Colores principales de Rockstar */
  --primary-bg: #0a0a0a;
  --secondary-bg: #1a1a1a;
  --accent-bg: #2a2a2a;
  --card-bg: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
  --primary-text: #ffffff;
  --secondary-text: #cccccc;
  --accent-text: #999999;
  --highlight-color: #f0b90b;
  --primary-color: #f5c842;
  --error-color: #ff4444;
  --success-color: #00ff88;
  --warning-color: #ff8800;
  
  /* Colores dominicanos (sutiles) */
  --dominican-red: #ce1126;
  --dominican-blue: #002d62;
  --dominican-red-soft: rgba(206, 17, 38, 0.2);
  --dominican-blue-soft: rgba(0, 45, 98, 0.2);
  
  /* Gradientes */
  --gradient-primary: linear-gradient(135deg, #0a0a0a 0%, #2a2a2a 100%);
  --gradient-accent: linear-gradient(135deg, #f0b90b 0%, #ff8800 100%);
  --gradient-card: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
  
  /* Fuentes */
  --font-primary: 'Orbitron', monospace;
  --font-secondary: 'Rajdhani', sans-serif;
  
  /* Sombras */
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.7);
  
  /* Transiciones */
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  --transition: 0.3s ease-in-out;
  
  /* Otros valores */
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --dark-bg: #0a0a0a;
}

/* Reset global - Idéntico a React */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-secondary);
  background: var(--primary-bg);
  color: var(--primary-text);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--secondary-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--highlight-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ffc107;
}

/* Enlaces globales */
a {
  color: var(--highlight-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: #ffc107;
}

/* Botones globales - Idénticos a React */
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  font-family: var(--font-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--primary-bg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: var(--primary-bg);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-text);
  border: 2px solid var(--highlight-color);
}

.btn-secondary:hover {
  background: var(--highlight-color);
  color: var(--primary-bg);
}

.btn-ghost {
  background: transparent;
  color: var(--secondary-text);
  border: 1px solid var(--accent-bg);
}

.btn-ghost:hover {
  background: var(--accent-bg);
  color: var(--primary-text);
}

/* Efectos de entrada */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

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

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 0.6s ease-out forwards;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 0.6s ease-out forwards;
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Efectos de hover para cards */
.card-hover {
  transition: var(--transition-normal);
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
}

/* Loading spinner */
.loading-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 3px solid var(--accent-bg);
  border-radius: 50%;
  border-top-color: var(--highlight-color);
  animation: spin 1s ease-in-out infinite;
}

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

/* Utilidades de texto */
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-glow {
  text-shadow: 0 0 10px var(--highlight-color);
}

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

/* Layout y contenedores */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Grid system básico */
.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Flex utilities */
.flex {
  display: flex;
}

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

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

/* Overlay para modales */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Focus states para accesibilidad */
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--highlight-color);
  outline-offset: 2px;
}

/* Header Principal - Estilo Rockstar */
.header {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.98);
  border-bottom: 1px solid rgba(245, 200, 66, 0.3);
  padding: 0.5rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition-fast);
  min-height: 55px; /* Asegura altura mínima consistente */
}

.logo-image {
  height: 70px !important;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(245, 200, 66, 0.5));
  transition: var(--transition-normal);
  max-width: 250px; /* Evita que se vea demasiado ancha */
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.2);
  padding: 2px;
}

.logo:hover .logo-image {
  filter: drop-shadow(0 0 15px rgba(245, 200, 66, 0.8));
  transform: scale(1.05);
}

/* Fallback de texto cuando la imagen no carga */
.logo-fallback {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(245, 200, 66, 0.5);
  letter-spacing: 2px;
}

/* Efectos adicionales consolidados en la regla principal .logo-image */

/* Animaciones para el logo */
@keyframes logoGlow {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(245, 200, 66, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 15px rgba(245, 200, 66, 0.7));
  }
}

@keyframes logoPulse {
  0%, 90%, 100% {
    transform: scale(1);
  }
  5% {
    transform: scale(1.02);
  }
}

.logo-image:hover {
  animation: logoGlow 2s ease-in-out infinite;
}

/* Pulse sutil cada 10 segundos */
.logo-image {
  animation: logoPulse 10s ease-in-out infinite;
}

/* Cuando la imagen no está disponible, mostrar fallback */
.logo:has(.logo-fallback) {
  justify-content: center;
}

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

.nav-link {
  color: var(--secondary-text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-fast);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--primary-text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Auth buttons en el header */
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.auth-buttons .btn {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  min-width: auto;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-greeting {
  color: var(--secondary-text);
  font-size: 0.9rem;
  white-space: nowrap;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  transition: var(--transition-fast);
}

.user-avatar:hover {
  border-color: #ffc107;
  transform: scale(1.05);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(245, 200, 66, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(240, 185, 11, 0.1) 0%, transparent 50%),
    linear-gradient(45deg, var(--dominican-red-soft) 0%, transparent 30%, transparent 70%, var(--dominican-blue-soft) 100%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-title {
  font-family: var(--font-primary);
  font-size: 4rem;
  font-weight: 900;
  color: var(--primary-color);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.hero-subtitle-main {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 900;
  color: #f5c842; /* Amarillo dorado dominicano */
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  margin: 0 0 2rem 0;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-align: center;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--secondary-text);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--secondary-text);
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-large {
  padding: 15px 35px;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(245, 200, 66, 0.2);
}

.stat-item {
  text-align: center;
  color: var(--text-color);
}

.stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--secondary-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Secciones principales */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--secondary-text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Sección Sobre el Servidor */
.about-server {
  background: linear-gradient(135deg, rgba(245, 200, 66, 0.1) 0%, rgba(26, 26, 26, 0.8) 100%);
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text {
  padding: 2rem;
}

.about-heading {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-description {
  font-size: 1.1rem;
  color: var(--secondary-text);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.about-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.about-features li {
  font-size: 1rem;
  color: var(--text-color);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(245, 200, 66, 0.2);
  transition: var(--transition-normal);
}

.about-features li:hover {
  padding-left: 1rem;
  color: var(--primary-color);
}

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

.about-visual {
  padding: 2rem;
}

.server-info-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(245, 200, 66, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.server-info-card h4 {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.server-details {
  margin-bottom: 2rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-label {
  font-weight: 600;
  color: var(--secondary-text);
}

.detail-value {
  color: var(--text-color);
  font-weight: 500;
}

.detail-value.online {
  color: #00ff88;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
}

.connect-section {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 200, 66, 0.3);
}

.connect-text {
  color: var(--secondary-text);
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* Sección de Características */
.features-section {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(245, 200, 66, 0.05) 100%);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(245, 200, 66, 0.2);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(245, 200, 66, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(245, 200, 66, 0.5);
  box-shadow: 0 15px 40px rgba(245, 200, 66, 0.2);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
  filter: drop-shadow(0 0 10px rgba(245, 200, 66, 0.5));
}

.feature-title {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-description {
  color: var(--secondary-text);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Sección EGSDRP Coins */
.coins-section {
  background: linear-gradient(135deg, rgba(245, 200, 66, 0.1) 0%, rgba(10, 10, 10, 0.9) 100%);
  position: relative;
}

.coins-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.coins-info {
  padding: 2rem;
}

.coins-heading {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.coins-description {
  font-size: 1.1rem;
  color: var(--secondary-text);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.coins-benefits h4 {
  font-family: var(--font-primary);
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.benefits-list li {
  font-size: 1rem;
  color: var(--text-color);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(245, 200, 66, 0.2);
  transition: var(--transition-normal);
}

.benefits-list li:hover {
  padding-left: 1rem;
  color: var(--primary-color);
}

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

.coins-visual {
  padding: 2rem;
}

.coin-showcase {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid rgba(245, 200, 66, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.coin-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 15px rgba(245, 200, 66, 0.6));
}

.coin-showcase h4 {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.coin-motto {
  color: var(--secondary-text);
  font-style: italic;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.coin-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.coin-stat {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border: 1px solid rgba(245, 200, 66, 0.2);
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.stat-text {
  display: block;
  font-size: 0.9rem;
  color: var(--secondary-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.purchase-note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 200, 66, 0.3);
}

.purchase-note em {
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* Sección de Discord */
.discord-section {
  background: linear-gradient(135deg, rgba(114, 137, 218, 0.1) 0%, rgba(26, 26, 26, 0.9) 100%);
  position: relative;
}

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

.discord-info {
  padding: 2rem;
}

.discord-heading {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.discord-description {
  font-size: 1.1rem;
  color: var(--secondary-text);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.discord-features {
  margin-bottom: 2rem;
}

.discord-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(245, 200, 66, 0.2);
  transition: var(--transition-normal);
}

.discord-feature:hover {
  padding-left: 1rem;
  border-color: rgba(245, 200, 66, 0.5);
}

.feature-emoji {
  font-size: 1.5rem;
  min-width: 2rem;
}

.feature-content h4 {
  font-family: var(--font-primary);
  color: var(--primary-color);
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-content p {
  color: var(--secondary-text);
  font-size: 0.9rem;
  line-height: 1.4;
}

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

.discord-visual {
  padding: 2rem;
}

.discord-widget {
  background: rgba(114, 137, 218, 0.1);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(114, 137, 218, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.discord-logo {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 10px rgba(114, 137, 218, 0.5));
}

.discord-widget h4 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.discord-invite {
  font-size: 0.9rem;
  color: #7289da;
  font-family: monospace;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  border: 1px solid rgba(114, 137, 218, 0.3);
}

.widget-stats {
  margin: 1.5rem 0;
}

.stat-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  margin-bottom: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: 1px solid rgba(114, 137, 218, 0.2);
}

.stat-icon {
  font-size: 1.2rem;
}

.stat-info {
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.9rem;
}

.widget-footer {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(114, 137, 218, 0.3);
}

.community-motto {
  color: var(--secondary-text);
  font-style: italic;
  line-height: 1.5;
  font-size: 0.9rem;
  text-align: center;
}

/* Elementos con toque dominicano */
.dominican-accent {
  position: relative;
}

.dominican-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--dominican-red) 0%, var(--dominican-blue) 100%);
  border-radius: 2px;
}

.dominican-flag-colors {
  background: linear-gradient(90deg, var(--dominican-red) 33%, #ffffff 33%, #ffffff 66%, var(--dominican-blue) 66%);
  height: 3px;
  width: 100%;
  margin: 0.5rem 0;
}

.rd-pride {
  border-left: 2px solid var(--dominican-red);
  border-right: 2px solid var(--dominican-blue);
  padding: 0 1rem;
}

/* Sección de Productos Destacados */
.products-section {
  background: linear-gradient(135deg, rgba(240, 185, 11, 0.05) 0%, rgba(26, 26, 26, 0.9) 100%);
  position: relative;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(245, 200, 66, 0.2);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(245, 200, 66, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.product-card:hover {
  transform: translateY(-10px);
  border-color: rgba(245, 200, 66, 0.5);
  box-shadow: 0 20px 50px rgba(245, 200, 66, 0.2);
}

.product-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
  filter: drop-shadow(0 0 10px rgba(245, 200, 66, 0.5));
}

.product-title {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-description {
  color: var(--secondary-text);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.product-features li {
  color: var(--text-color);
  font-size: 0.9rem;
  padding: 0.3rem 0;
  opacity: 0.8;
}

.product-price {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  background: rgba(245, 200, 66, 0.1);
  padding: 0.8rem 1rem;
  border-radius: 25px;
  border: 1px solid rgba(245, 200, 66, 0.3);
  margin-top: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.products-footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(245, 200, 66, 0.2);
}

.products-motto {
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 2rem;
  font-style: italic;
}

/* Sección Por Qué Elegir EGSDRP */
.why-choose-section {
  background: linear-gradient(135deg, var(--dominican-red-soft) 0%, rgba(26, 26, 26, 0.9) 50%, var(--dominican-blue-soft) 100%);
  position: relative;
}

.why-choose-content {
  position: relative;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.reason-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(245, 200, 66, 0.2);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.reason-card.primary-reason {
  background: rgba(245, 200, 66, 0.1);
  border-color: rgba(245, 200, 66, 0.5);
  transform: scale(1.02);
}

.reason-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(245, 200, 66, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.reason-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 200, 66, 0.6);
  box-shadow: 0 15px 40px rgba(245, 200, 66, 0.2);
}

.reason-number {
  position: absolute;
  top: -15px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff8800 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 900;
  color: #000;
  box-shadow: 0 5px 15px rgba(245, 200, 66, 0.4);
}

.reason-title {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0 1.5rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.reason-description {
  color: var(--secondary-text);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.reason-highlight {
  display: inline-block;
  background: linear-gradient(135deg, var(--dominican-red) 0%, var(--dominican-blue) 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.why-choose-footer {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  border: 1px solid rgba(245, 200, 66, 0.3);
}

.server-motto h3 {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.server-motto p {
  color: var(--secondary-text);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.choose-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sección de Horarios y Mantenimiento */
.schedule-section {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, rgba(26, 26, 26, 0.9) 100%);
  position: relative;
}

.schedule-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.schedule-main {
  display: grid;
  gap: 2rem;
}

.status-card, .maintenance-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(245, 200, 66, 0.2);
  transition: all var(--transition-normal);
}

.online-card {
  border-color: rgba(0, 255, 136, 0.5);
  background: rgba(0, 255, 136, 0.1);
}

.status-icon, .maintenance-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  text-align: center;
}

.status-title, .maintenance-title {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status-description, .maintenance-description {
  color: var(--secondary-text);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.schedule-details, .maintenance-info {
  margin-top: 1.5rem;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-label {
  color: var(--secondary-text);
  font-weight: 500;
}

.schedule-value {
  color: var(--text-color);
  font-weight: 600;
}

.maintenance-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.8rem 0;
}

.maintenance-point {
  font-size: 1.2rem;
  min-width: 1.5rem;
}

.maintenance-text {
  color: var(--secondary-text);
  line-height: 1.5;
}

.schedule-sidebar {
  position: sticky;
  top: 2rem;
}

.current-status-widget {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(0, 255, 136, 0.3);
  text-align: center;
}

.current-status-widget h4 {
  font-family: var(--font-primary);
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.live-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.pulse-dot {
  width: 12px;
  height: 12px;
  background: #00ff88;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
  }
  
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
  }
  
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
  }
}

.status-live {
  color: #00ff88;
  font-weight: 700;
  text-shadow: 0 0 5px rgba(0, 255, 136, 0.5);
}

.server-info {
  margin: 1.5rem 0;
}

.server-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-color);
}

.stat-emoji {
  font-size: 1.2rem;
}

.connect-now-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff8800 100%);
  color: #000;
  padding: 1rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 1rem;
  transition: all var(--transition-normal);
  box-shadow: 0 5px 15px rgba(245, 200, 66, 0.4);
}

.connect-now-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 200, 66, 0.6);
}

/* Sección de Experiencias de Roleplay */
.experiences-section {
  background: linear-gradient(135deg, rgba(206, 17, 38, 0.1) 0%, rgba(26, 26, 26, 0.9) 50%, rgba(0, 45, 98, 0.1) 100%);
  position: relative;
}

.experiences-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.experience-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(245, 200, 66, 0.2);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.experience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(245, 200, 66, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.experience-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 200, 66, 0.5);
  box-shadow: 0 20px 50px rgba(245, 200, 66, 0.2);
}

.experience-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.experience-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 0 8px rgba(245, 200, 66, 0.5));
}

.experience-title {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.experience-description {
  color: var(--secondary-text);
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.experience-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.experience-features li {
  color: var(--text-color);
  font-size: 0.9rem;
  padding: 0.4rem 0;
  opacity: 0.9;
  transition: var(--transition-normal);
}

.experience-features li:hover {
  color: var(--primary-color);
  padding-left: 0.5rem;
}

.experiences-footer {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 25px;
  border: 1px solid rgba(245, 200, 66, 0.3);
  position: relative;
  overflow: hidden;
}

.experiences-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, var(--dominican-red-soft) 0%, transparent 30%, transparent 70%, var(--dominican-blue-soft) 100%);
  opacity: 0.5;
}

.final-cta {
  position: relative;
  z-index: 1;
}

.final-cta h3 {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.final-cta p {
  color: var(--secondary-text);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  font-style: italic;
}

.final-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Cards y Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.card {
  background: var(--gradient-card);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-normal);
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
  border-color: rgba(245, 200, 66, 0.3);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-image {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-description {
  color: var(--secondary-text);
  line-height: 1.5;
  margin-bottom: 1rem;
}

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

/* Estilos de autenticación */
.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.auth-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 2rem;
}

.auth-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--highlight-color);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(240, 185, 11, 0.1) 0%, transparent 70%);
}

.auth-form-container {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-heavy);
    position: relative;
    z-index: 1;
}

/* Logo en auth */
.logo {
    text-align: center;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}

.logo-main {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--highlight-color);
    text-shadow: 0 0 10px rgba(240, 185, 11, 0.5);
    letter-spacing: 2px;
}

.logo-sub {
    display: block;
    font-size: 0.8rem;
    color: var(--secondary-text);
    letter-spacing: 3px;
    margin-top: -2px;
}

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

.auth-title {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 1rem 0 0.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

/* Formularios */
.auth-form {
    margin-bottom: 1.5rem;
}

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

.form-group {
    position: relative;
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-text);
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-left: 3rem;
    background: var(--accent-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--primary-text);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--highlight-color);
    box-shadow: 0 0 0 2px rgba(240, 185, 11, 0.2);
}

.form-icon {
    position: absolute;
    left: 1rem;
    top: 2.25rem;
    color: var(--accent-text);
    font-size: 1rem;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 2.25rem;
    background: none;
    border: none;
    color: var(--accent-text);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.password-toggle:hover {
    color: var(--highlight-color);
}

/* Opciones del formulario */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--secondary-text);
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    background: var(--accent-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: var(--highlight-color);
    border-color: var(--highlight-color);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: var(--primary-bg);
    font-weight: bold;
    font-size: 12px;
}

.forgot-link, .terms-link, .auth-link {
    color: var(--highlight-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.forgot-link:hover, .terms-link:hover, .auth-link:hover {
    color: #ffc107;
    text-decoration: underline;
}

/* Botones */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--primary-bg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-text);
    border: 2px solid var(--highlight-color);
}

.btn-secondary:hover {
    background: var(--highlight-color);
    color: var(--primary-bg);
}

.btn-ghost {
    background: transparent;
    color: var(--secondary-text);
    border: 1px solid var(--accent-bg);
}

.btn-ghost:hover {
    background: var(--accent-bg);
    color: var(--primary-text);
}

.btn-discord {
    background: #5865f2;
    color: white;
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
}

/* OAuth Section */
.oauth-section {
    margin: 1.5rem 0;
}

.oauth-divider {
    position: relative;
    text-align: center;
    margin: 1rem 0;
}

.oauth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.oauth-divider span {
    background: rgba(26, 26, 26, 0.95);
    padding: 0 1rem;
    color: var(--accent-text);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

/* Footer de auth */
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-footer p {
    margin: 0.5rem 0;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

/* Alertas */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    animation: slideDown 0.3s ease-out;
}

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

.alert-error {
    background: rgba(255, 68, 68, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(255, 68, 68, 0.2);
}

.alert-success {
    background: rgba(0, 255, 136, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.alert-warning {
    background: rgba(255, 136, 0, 0.1);
    color: var(--warning-color);
    border: 1px solid rgba(255, 136, 0, 0.2);
}

/* Dashboard Styles */
.dashboard-body {
    background: var(--primary-bg);
    min-height: 100vh;
}

.dashboard-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

/* Sidebar */
.dashboard-sidebar {
    background: var(--secondary-bg);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 0 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.sidebar-nav {
    flex: 1;
    padding: 0 1rem;
}

.nav-list {
    list-style: none;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--secondary-text);
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    background: var(--accent-bg);
    color: var(--highlight-color);
}

.nav-icon {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.sidebar-footer {
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Main Dashboard */
.dashboard-main {
    background: var(--primary-bg);
    overflow-y: auto;
}

.dashboard-header {
    background: var(--secondary-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
}

.header-title {
    font-family: var(--font-primary);
    font-size: 2rem;
    color: var(--primary-text);
    margin-bottom: 0.5rem;
}

.header-subtitle {
    color: var(--secondary-text);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-bg);
    border: 2px solid var(--highlight-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--highlight-color);
}

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

.user-name {
    font-weight: 600;
    color: var(--primary-text);
}

.user-email {
    font-size: 0.85rem;
    color: var(--accent-text);
}

/* Content */
.dashboard-content {
    padding: 2rem;
    max-width: 1200px;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--primary-text);
    margin-bottom: 1.5rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--secondary-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    font-size: 2rem;
}

.stat-info h3 {
    color: var(--primary-text);
    margin-bottom: 0.25rem;
}

.stat-info p {
    color: var(--accent-text);
    font-size: 0.9rem;
}

/* Quick Actions */
.quick-actions {
    margin: 2rem 0;
}

.quick-actions h3 {
    margin-bottom: 1rem;
    color: var(--primary-text);
}

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

/* Forms Dashboard */
.dashboard-form {
    background: var(--secondary-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 600px;
}

.dashboard-form .form-input {
    padding-left: 1rem;
}

.dashboard-form .form-icon {
    display: none;
}

.form-help {
    display: block;
    margin-top: 0.25rem;
    color: var(--accent-text);
    font-size: 0.8rem;
}

/* Lists */
.subscriptions-list,
.history-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.subscription-card {
    background: var(--secondary-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.subscription-card.active {
    border-color: var(--success-color);
}

.subscription-info h3 {
    color: var(--primary-text);
    margin-bottom: 0.5rem;
}

.subscription-info p {
    color: var(--accent-text);
    font-size: 0.9rem;
    margin: 0.25rem 0;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.active {
    background: rgba(0, 255, 136, 0.2);
    color: var(--success-color);
}

.status-badge.inactive {
    background: rgba(255, 68, 68, 0.2);
    color: var(--error-color);
}

.history-item {
    background: var(--secondary-bg);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.history-icon {
    font-size: 1.5rem;
}

.history-content h4 {
    color: var(--primary-text);
    margin-bottom: 0.25rem;
}

.history-content p {
    color: var(--accent-text);
    font-size: 0.85rem;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--accent-text);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    color: var(--secondary-text);
    margin-bottom: 0.5rem;
}

.empty-state p {
    margin-bottom: 1.5rem;
}

/* Footer - Estilo React mejorado */
.footer {
  background: var(--secondary-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.footer-section h3 {
  color: var(--primary-color);
  font-family: var(--font-primary);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.footer-section p {
  color: var(--secondary-text);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: var(--secondary-text);
  transition: var(--transition-fast);
  font-size: 0.95rem;
  position: relative;
}

.footer-section a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-section a::before {
  content: '▶';
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: var(--transition-fast);
  color: var(--primary-color);
  font-size: 0.8rem;
}

.footer-section a:hover::before {
  opacity: 1;
}

/* Footer Social */
.footer-social {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: var(--transition-normal);
  font-size: 0.9rem;
}

.social-link:hover {
  background: rgba(245, 200, 66, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.social-link span {
  font-size: 1.2rem;
}

/* Server Status en Footer */
.server-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
  padding: 0.5rem;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 8px;
}

.status-indicator.online {
  font-size: 0.8rem;
  filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.8));
}

.status-indicator.offline {
  font-size: 0.8rem;
  filter: drop-shadow(0 0 5px rgba(239, 68, 68, 0.8));
}

.server-status.offline {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.server-status.offline .status-text {
  color: #ef4444;
}

.status-text {
  font-size: 0.9rem;
  color: #00ff88;
  transition: all 0.3s ease;
  font-weight: 600;
  text-shadow: 0 0 5px rgba(0, 255, 136, 0.3);
}

/* Créditos de diseño */
.design-credits {
  font-size: 0.85rem;
  color: var(--secondary-text);
  margin-top: 0.5rem;
}

.credit-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-normal);
}

.credit-link:hover {
  color: #ffffff;
  text-shadow: 0 0 5px rgba(245, 200, 66, 0.5);
}

/* Footer Bottom */
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-info {
  flex: 1;
}

.footer-info p {
  color: var(--accent-text);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent-text);
  font-size: 0.85rem;
}

.version {
  background: rgba(245, 200, 66, 0.2);
  color: var(--primary-color);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: var(--font-primary);
  font-weight: 600;
}

.separator {
  opacity: 0.5;
}

.made-with {
  font-weight: 500;
}

/* Breakpoint específico para pantallas pequeñas de tablets */
@media (max-width: 767px) and (min-width: 481px) {
  .nav-container {
    padding: 0 1rem;
  }
  
  .logo-image {
    height: 55px !important;
  }
  
  .logo {
    min-height: 55px;
  }
  
  .auth-buttons .btn {
    padding: 7px 14px;
    font-size: 0.8rem;
  }
  
  .user-greeting {
    display: none;
  }
  
  .user-avatar {
    width: 38px;
    height: 38px;
  }
}

/* Breakpoints responsive - Idénticos a React */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .nav-container {
    padding: 0 1rem;
  }
  
  .nav-menu {
    gap: 1.5rem;
  }
  
  .logo-image {
    height: 65px !important;
  }
  
  .logo {
    min-height: 65px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .nav-container {
    padding: 0 1rem;
  }
  
  .nav-menu {
    gap: 1.5rem;
  }
  
  .auth-buttons {
    gap: 0.5rem;
  }
  
  .auth-buttons .btn {
    padding: 6px 14px;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
  }
  
  .user-greeting {
    font-size: 0.8rem;
  }
  
  .user-avatar {
    width: 36px;
    height: 36px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  .nav-menu,
  .nav-menu.active,
  .nav-menu.show,
  .nav-menu[style*="block"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .auth-buttons .btn {
    display: none;
  }
  
  .auth-buttons .user-menu {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-container {
    padding: 0 1rem;
  }
  
  .nav-container {
    padding: 0 1rem;
  }
  
  .dashboard-container {
    grid-template-columns: 1fr;
  }
  
  .dashboard-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, rgba(20, 20, 30, 0.98) 0%, rgba(15, 15, 25, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(245, 200, 66, 0.3);
    z-index: 999;
    overflow-y: auto;
    transition: left 0.3s ease;
    border-radius: 0;
    padding: 1.5rem;
    border: 1px solid rgba(245, 200, 66, 0.3);
  }

  .dashboard-sidebar.mobile-active {
    left: 0;
  }

  .mobile-sidebar-toggle {
    display: flex !important;
  }

  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }

  .sidebar-overlay.active {
    display: block;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .header-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .action-buttons {
    justify-content: center;
  }

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

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

  .footer-social {
    justify-content: center;
  }

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

/* EMERGENCIA: Ocultar SOLO nav-menu (NO mobile-menu) */
@media (max-width: 768px) {
  ul.nav-menu,
  .nav-menu:not(.mobile-menu),
  .header ul.nav-menu,
  nav ul.nav-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
  }
  

}

@media (max-width: 576px) {
  .container {
    max-width: 100%;
    padding: 0 15px;
  }
  
  .nav-container {
    padding: 0 0.75rem;
  }
  
  .logo-image {
    height: 48px !important;
  }
  
  .logo {
    min-height: 48px;
  }
  
  .logo-fallback {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }
  
  /* Logo optimizado para móviles pequeños */
  
  .header {
    padding: 0.75rem 0;
  }
  
  .mobile-menu {
    top: 70px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .auth-container {
    margin: 1rem;
  }
  
  .auth-form-container {
    padding: 1.5rem;
  }
  
  .dashboard-content {
    padding: 1rem;
  }
  
  .dashboard-header {
    padding: 1rem;
  }

  .footer-container {
    padding: 0 1rem;
  }

  .footer-content {
    gap: 1.5rem;
  }

  .footer-section h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

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

  .social-link {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
  }

  .footer-bottom {
    padding: 1rem 0;
  }

  .footer-info {
    font-size: 0.9rem;
  }

  .footer-meta {
    font-size: 0.8rem;
  }
}

/* Efectos de parallax y scroll */
.parallax-element {
  transition: transform 0.1s ease-out;
}

/* Utilidades adicionales */
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.py-4 { padding: 2rem 0; }
.px-4 { padding: 0 2rem; }

/* Estados de hover específicos */
.game-card:hover .game-card-overlay {
  transform: translateY(0);
}

.game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.game-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--primary-color);
  font-weight: 600;
}

.news-category {
  background: var(--primary-color);
  color: var(--dark-bg);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Animaciones adicionales */
.stats-grid {
  animation: fadeInUp 1s ease-out;
}

.stat-card {
  transition: var(--transition);
  background: var(--gradient-card);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(245, 200, 66, 0.1);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 200, 66, 0.3);
}

/* Nuevos estilos para mantener consistencia */
.time-ago {
  color: var(--accent-text);
}

.game-genre {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
}