/* ===== VARIABLES DE COLORES FORTNITE ===== */
:root {
  --fortnite-blue: #00D4FF;
  --fortnite-purple: #8B5CF6;
  --fortnite-orange: #FF6B35;
  --fortnite-yellow: #FFD60A;
  --fortnite-dark: #0F1419;
  --fortnite-darker: #0A0E13;
  --fortnite-gray: #1E2328;
  --fortnite-light-gray: #2A2D31;
  --fortnite-white: #FFFFFF;
  --fortnite-green: #00FF87;
  
  /* Rarities */
  --common: #B0BEC5;
  --uncommon: #4CAF50;
  --rare: #2196F3;
  --epic: #9C27B0;
  --legendary: #FF9800;
  --mythic: #FFD700;
}

/* ===== RESET Y BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Burbank Big Condensed', 'Roboto', Arial, sans-serif;
  background: var(--fortnite-dark);
  color: var(--fortnite-white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== BACKGROUND ANIMADO ===== */
.fortnite-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, 
    var(--fortnite-dark) 0%, 
    var(--fortnite-darker) 50%, 
    var(--fortnite-gray) 100%);
  overflow: hidden;
}

.bg-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, var(--fortnite-blue) 0%, transparent 20%),
    radial-gradient(circle at 80% 20%, var(--fortnite-purple) 0%, transparent 20%),
    radial-gradient(circle at 40% 80%, var(--fortnite-orange) 0%, transparent 20%);
  opacity: 0.1;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(120deg); }
  66% { transform: translateY(10px) rotate(240deg); }
}

/* ===== HEADER FORTNITE ===== */
.fortnite-header {
  background: linear-gradient(90deg, 
    rgba(15, 20, 25, 0.95) 0%, 
    rgba(30, 35, 40, 0.95) 50%, 
    rgba(15, 20, 25, 0.95) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--fortnite-blue);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.fortnite-navbar {
  padding: 1rem 0;
}

.fortnite-logo {
  font-family: 'Burbank Big Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--fortnite-blue) !important;
  text-decoration: none !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.fortnite-logo:hover {
  color: var(--fortnite-white) !important;
  text-shadow: 0 0 20px var(--fortnite-blue);
  transform: scale(1.05);
}

.fortnite-logo i {
  margin-right: 10px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* ===== NAVEGACIÓN ===== */
.fortnite-nav-link {
  color: var(--fortnite-white) !important;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 20px !important;
  margin: 0 5px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fortnite-nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.fortnite-nav-link:hover::before {
  left: 100%;
}

.fortnite-nav-link:hover {
  background: linear-gradient(45deg, var(--fortnite-blue), var(--fortnite-purple));
  color: var(--fortnite-white) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

.fortnite-nav-link.active {
  background: linear-gradient(45deg, var(--fortnite-orange), var(--fortnite-yellow));
  color: var(--fortnite-dark) !important;
  font-weight: 700;
}

.fortnite-nav-link i {
  margin-right: 8px;
  font-size: 1.2rem;
}

/* ===== BÚSQUEDA FORTNITE ===== */
.fortnite-search {
  position: relative;
}

.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 15px;
  color: var(--fortnite-blue);
  z-index: 10;
  font-size: 1.2rem;
}

.fortnite-search-input {
  background: rgba(30, 35, 40, 0.8) !important;
  border: 2px solid var(--fortnite-blue) !important;
  border-radius: 25px !important;
  color: var(--fortnite-white) !important;
  padding: 12px 20px 12px 45px !important;
  font-size: 1rem;
  width: 300px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.fortnite-search-input:focus {
  background: rgba(30, 35, 40, 0.95) !important;
  border-color: var(--fortnite-yellow) !important;
  box-shadow: 0 0 20px rgba(255, 214, 10, 0.5) !important;
  outline: none !important;
}

.fortnite-search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.fortnite-suggestions {
  background: rgba(30, 35, 40, 0.95);
  border: 2px solid var(--fortnite-blue);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  margin-top: 5px;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.suggestion-item {
  background: transparent !important;
  color: var(--fortnite-white) !important;
  border: none !important;
  padding: 12px 20px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.suggestion-item:hover {
  background: linear-gradient(90deg, var(--fortnite-blue), var(--fortnite-purple)) !important;
  color: var(--fortnite-white) !important;
}

/* ===== BOTÓN MOBILE TOGGLE ===== */
.fortnite-toggler {
  border: 2px solid var(--fortnite-blue);
  border-radius: 10px;
  padding: 8px;
  background: transparent;
}

.fortnite-toggler-icon {
  display: flex;
  flex-direction: column;
  width: 25px;
  height: 20px;
  position: relative;
}

.fortnite-toggler-icon span {
  background: var(--fortnite-blue);
  height: 3px;
  width: 100%;
  border-radius: 2px;
  margin: 2px 0;
  transition: all 0.3s ease;
}

.fortnite-toggler:hover .fortnite-toggler-icon span {
  background: var(--fortnite-yellow);
  box-shadow: 0 0 10px var(--fortnite-yellow);
}

/* ===== SHOP ITEMS FORTNITE ===== */
.content {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  max-width: 1600px;
  margin: 0 auto;
}

.type-header {
  grid-column: 1 / -1;
  font-family: 'Burbank Big Condensed', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fortnite-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin: 2rem 0 1rem;
  position: relative;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.type-header::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--fortnite-blue), var(--fortnite-purple));
  border-radius: 2px;
}

.shop-item {
  background: linear-gradient(145deg, 
    rgba(30, 35, 40, 0.9) 0%, 
    rgba(42, 45, 49, 0.9) 100%);
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 20px;
  padding: 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.shop-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--fortnite-blue), var(--fortnite-purple), var(--fortnite-orange));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.shop-item:hover::before {
  opacity: 0; /* Eliminado el efecto hover */
}

.shop-item:hover {
  /* Eliminados los efectos hover */
  border-color: rgba(0, 212, 255, 0.3); /* Mantener el mismo borde que en estado normal */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Mantener la misma sombra que en estado normal */
}

@keyframes glow {
  0%, 100% { 
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
  }
  50% { 
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.8);
  }
}

.shop-link {
  color: inherit !important;
  text-decoration: none !important;
  display: block;
  height: 100%;
}

.shop-image {
  position: relative;
  padding: 20px;
  text-align: center;
  background: linear-gradient(135deg, 
    rgba(0, 212, 255, 0.1) 0%, 
    rgba(139, 92, 246, 0.1) 100%);
}

.shop-image img {
  width: 100%;
  max-width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

/* Eliminado el selector hover para evitar efectos al pasar el mouse */
.shop-item .shop-image img {
  transform: none;
}

.shop-info {
  padding: 15px;
  text-align: center;
}

.item-name {
  font-family: 'Burbank Big Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fortnite-white);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.item-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(45deg, var(--fortnite-yellow), var(--fortnite-orange));
  color: var(--fortnite-dark);
  padding: 8px 12px;
  border-radius: 18px;
  font-weight: 700;
  font-size: 1rem;
  margin: 10px 0;
  box-shadow: 0 4px 15px rgba(255, 214, 10, 0.3);
  transition: all 0.3s ease;
}

/* Eliminado el efecto hover en el precio */
.shop-item:hover .item-price {
  transform: none;
  box-shadow: 0 4px 15px rgba(255, 214, 10, 0.3);
}

.vbucks-icon {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.loot-content {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  line-height: 1.4;
  margin-top: 8px;
}

/* ===== COUNTDOWN FORTNITE ===== */
#shop-info {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, 
    rgba(0, 212, 255, 0.1) 0%, 
    rgba(139, 92, 246, 0.1) 100%);
  margin: 2rem 0;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

#shop-date {
  font-family: 'Burbank Big Condensed', sans-serif;
  font-size: 1.8rem;
  color: var(--fortnite-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

#countdown {
  font-family: 'Burbank Big Condensed', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fortnite-yellow);
  text-shadow: 0 0 20px rgba(255, 214, 10, 0.5);
  animation: countdownPulse 2s ease-in-out infinite;
}

@keyframes countdownPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ===== COUNTDOWN MEJORADO ===== */
.countdown-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 1rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(145deg, 
    rgba(0, 212, 255, 0.2) 0%, 
    rgba(139, 92, 246, 0.2) 100%);
  border: 2px solid var(--fortnite-blue);
  border-radius: 15px;
  padding: 15px 20px;
  min-width: 80px;
}

.countdown-number {
  font-family: 'Burbank Big Condensed', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fortnite-yellow);
  text-shadow: 0 0 15px rgba(255, 214, 10, 0.5);
  line-height: 1;
}

.countdown-label {
  font-family: 'Burbank Big Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fortnite-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

.countdown-separator {
  font-family: 'Burbank Big Condensed', sans-serif;
  font-size: 2rem;
  color: var(--fortnite-white);
  font-weight: 700;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.3; }
}

.countdown-text {
  font-family: 'Burbank Big Condensed', sans-serif;
  font-size: 1.2rem;
  color: var(--fortnite-white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  text-align: center;
}

/* ===== LOADING SPINNER ===== */
.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  color: var(--fortnite-blue);
  text-align: center;
}

.loading-spinner i {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: spin 1s linear infinite;
}

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

.loading-spinner p {
  font-family: 'Burbank Big Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

/* ===== ERROR MESSAGES ===== */
.error-message, .stw-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: linear-gradient(135deg, 
    rgba(255, 107, 53, 0.2) 0%, 
    rgba(255, 214, 10, 0.2) 100%);
  border: 2px solid var(--fortnite-orange);
  border-radius: 20px;
  margin: 2rem 0;
}

.error-message i, .stw-error i {
  font-size: 3rem;
  color: var(--fortnite-orange);
  margin-bottom: 1rem;
}

.error-message p, .stw-error h3, .stw-error p {
  color: var(--fortnite-white);
  font-family: 'Burbank Big Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.error-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* ===== RARITY INDICATORS ===== */
.rarity-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
}

.rarity-indicator.rarity-common { background: var(--common); }
.rarity-indicator.rarity-uncommon { background: var(--uncommon); }
.rarity-indicator.rarity-rare { background: var(--rare); }
.rarity-indicator.rarity-epic { background: var(--epic); }
.rarity-indicator.rarity-legendary { background: var(--legendary); }
.rarity-indicator.rarity-mythic { background: var(--mythic); }

/* ===== MISSION CONTAINER ===== */
.mission-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(135deg, 
    rgba(0, 212, 255, 0.1) 0%, 
    rgba(139, 92, 246, 0.1) 100%);
  border-radius: 20px;
  margin: 2rem 0;
}

.mission-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--fortnite-blue);
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--fortnite-blue), var(--fortnite-purple));
  color: var(--fortnite-white);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
  display: none;
  opacity: 0;
  transform: translateY(100px);
  animation: slideInUp 0.5s ease-out forwards;
}

.scroll-to-top:hover {
  background: linear-gradient(45deg, var(--fortnite-orange), var(--fortnite-yellow));
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.5);
}

.scroll-to-top:active {
  transform: translateY(-2px) scale(1.05);
}

/* ===== NEWS CAROUSEL ===== */
.news-carousel {
  position: relative;
  max-width: 1000px;
  margin: 2rem auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.slides-container {
  position: relative;
  width: 100%;
  height: 500px;
}

.news-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s ease-in-out;
}

.news-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.news-info {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 3rem 2rem 2rem;
  width: 100%;
  color: var(--fortnite-white);
}

.news-title {
  font-family: 'Burbank Big Condensed', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fortnite-yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.news-body {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--fortnite-white);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 212, 255, 0.8);
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: var(--fortnite-white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.nav-button:hover {
  background: var(--fortnite-blue);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

/* ===== MAP CONTAINER ===== */
.fortnite-map-container {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  background: linear-gradient(135deg, 
    rgba(0, 212, 255, 0.1) 0%, 
    rgba(139, 92, 246, 0.1) 100%);
  border-radius: 20px;
  overflow: hidden;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  border: 2px solid var(--fortnite-blue);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.fortnite-map-container:active {
  cursor: grabbing;
}

.fortnite-map-image {
  max-width: 100%;
  max-height: 100%;
  border-radius: 15px;
  transition: transform 0.25s ease;
  transform-origin: center center;
  position: relative;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

/* ===== PLAYER TRACKER ===== */
.player-tracker-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.tracker-header {
  text-align: center;
  margin-bottom: 3rem;
}

.tracker-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  text-align: center;
}

.tracker-search {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(145deg, 
    rgba(30, 35, 40, 0.9) 0%, 
    rgba(42, 45, 49, 0.9) 100%);
  border-radius: 20px;
  border: 2px solid var(--fortnite-blue);
  backdrop-filter: blur(10px);
}

.fortnite-btn-primary {
  background: linear-gradient(45deg, var(--fortnite-blue), var(--fortnite-purple));
  border: none;
  color: var(--fortnite-white);
  padding: 15px 30px;
  border-radius: 25px;
  font-family: 'Burbank Big Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.3);
}

.fortnite-btn-primary:hover {
  background: linear-gradient(45deg, var(--fortnite-orange), var(--fortnite-yellow));
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.fortnite-btn-primary:active {
  transform: translateY(-1px);
}

.fortnite-btn-primary i {
  margin-right: 10px;
  font-size: 1.1rem;
}

.player-results {
  margin-top: 2rem;
}

.player-stats-frame {
  background: linear-gradient(145deg, 
    rgba(30, 35, 40, 0.9) 0%, 
    rgba(42, 45, 49, 0.9) 100%);
  border-radius: 20px;
  padding: 2rem;
  border: 2px solid var(--fortnite-blue);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.player-stats-frame iframe {
  border-radius: 15px;
  width: 100%;
  min-height: 600px;
}

/* ===== RESPONSIVE UPDATES ===== */
@media (max-width: 768px) {
  .fortnite-search-input {
    width: 100%;
    max-width: 250px;
  }
  
  .fortnite-navbar {
    padding: 0.5rem 0;
  }
  
  .fortnite-logo {
    font-size: 1.5rem;
  }
  
  .fortnite-nav-link {
    font-size: 0.9rem;
    padding: 8px 12px !important;
    margin: 2px;
  }
    .content {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    padding: 1rem;
  }
  
  .type-header {
    font-size: 1.8rem;
    margin: 1.5rem 0 1rem;
  }
  
  #countdown {
    font-size: 1.8rem;
  }
  
  .shop-image {
    padding: 12px;
  }
  
  .shop-image img {
    height: 100px;
    max-width: 100px;
  }
  
  .shop-info {
    padding: 10px;
  }
  
  .item-name {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  
  .item-price {
    padding: 6px 10px;
    font-size: 0.9rem;
    margin: 8px 0;
  }
  
  .vbucks-icon {
    width: 18px;
    height: 18px;
  }
  
  .loot-content {
    font-size: 0.75rem;
    margin-top: 6px;
  }
  
  .scroll-to-top {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    bottom: 20px;
    right: 20px;
  }
  
  .countdown-container {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .countdown-item {
    padding: 8px 12px;
    min-width: 50px;
  }
  
  .countdown-number {
    font-size: 1.5rem;
  }
  
  .countdown-label {
    font-size: 0.6rem;
  }
  
  .countdown-separator {
    font-size: 1.2rem;
    display: none;
  }
  
  .news-slide {
    height: 350px;
  }
  
  .news-info {
    padding: 2rem 1rem 1rem;
  }
  
  .news-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .news-body {
    font-size: 0.9rem;
  }
  
  .nav-button {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .prev-btn {
    left: 5px;
  }
  
  .next-btn {
    right: 5px;
  }
  
  .fortnite-map-container {
    height: 40vh;
    min-height: 300px;
    margin: 1rem 0;
  }
  
  .tracker-search {
    padding: 1rem;
  }
  
  .fortnite-btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .player-tracker-container {
    padding: 1rem;
  }
  
  .tracker-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .fortnite-search-input {
    padding: 10px 15px 10px 40px !important;
    font-size: 0.9rem;
  }
  
  .search-icon {
    font-size: 1rem;
    left: 12px;
  }
}

@media (max-width: 576px) {
  .content {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.8rem;
    padding: 0.8rem;
  }
  
  .shop-image {
    padding: 8px;
  }
  
  .shop-image img {
    height: 90px;
    max-width: 90px;
  }
  
  .shop-info {
    padding: 8px;
  }
  
  .item-name {
    font-size: 0.85rem;
    margin-bottom: 4px;
  }
  
  .item-price {
    padding: 4px 8px;
    font-size: 0.75rem;
    margin: 6px 0;
  }
  
  .vbucks-icon {
    width: 14px;
    height: 14px;
  }
  
  .loot-content {
    font-size: 0.7rem;
    margin-top: 4px;
  }
  
  .type-header {
    font-size: 1.3rem;
    margin: 1rem 0 0.8rem;
  }
  
  .fortnite-search-input {
    width: 100% !important;
    max-width: 200px !important;
    padding: 8px 12px 8px 35px !important;
    font-size: 0.8rem !important;
  }
  
  .search-icon {
    font-size: 0.9rem;
    left: 10px;
  }
  
  .fortnite-nav-link {
    font-size: 0.8rem;
    padding: 6px 10px !important;
  }
  
  .news-slide {
    height: 250px;
  }
  
  .news-title {
    font-size: 1rem;
  }
  
  .news-body {
    font-size: 0.75rem;
  }
  
  .nav-button {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .scroll-to-top {
    width: 45px;
    height: 45px;
    font-size: 1rem;
    bottom: 15px;
    right: 15px;
  }
}

/* ===== ALERTAS FORTNITE ===== */
.alert {
  background: linear-gradient(135deg, 
    rgba(0, 212, 255, 0.2) 0%, 
    rgba(139, 92, 246, 0.2) 100%);
  border: 2px solid var(--fortnite-blue);
  border-radius: 15px;
  color: var(--fortnite-white);
  backdrop-filter: blur(10px);
}

/* ===== ANIMACIONES ADICIONALES ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.shop-item {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.shop-item:nth-child(1) { animation-delay: 0.1s; }
.shop-item:nth-child(2) { animation-delay: 0.15s; }
.shop-item:nth-child(3) { animation-delay: 0.2s; }
.shop-item:nth-child(4) { animation-delay: 0.25s; }
.shop-item:nth-child(5) { animation-delay: 0.3s; }
.shop-item:nth-child(6) { animation-delay: 0.35s; }
.shop-item:nth-child(7) { animation-delay: 0.4s; }
.shop-item:nth-child(8) { animation-delay: 0.45s; }

/* ===== MEJORAS RESPONSIVE ADICIONALES ===== */
@media (max-width: 576px) {
  .content {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.8rem;
    padding: 0.8rem;
  }
  
  .shop-image {
    padding: 8px;
  }
  
  .shop-image img {
    height: 90px;
    max-width: 90px;
  }
  
  .shop-info {
    padding: 8px;
  }
  
  .item-name {
    font-size: 0.85rem;
    margin-bottom: 4px;
  }
  
  .item-price {
    padding: 4px 8px;
    font-size: 0.75rem;
    margin: 6px 0;
  }
  
  .vbucks-icon {
    width: 14px;
    height: 14px;
  }
  
  .loot-content {
    font-size: 0.7rem;
    margin-top: 4px;
  }
  
  .type-header {
    font-size: 1.3rem;
    margin: 1rem 0 0.8rem;
  }
  
  .fortnite-search-input {
    width: 100% !important;
    max-width: 200px !important;
    padding: 8px 12px 8px 35px !important;
    font-size: 0.8rem !important;
  }
  
  .search-icon {
    font-size: 0.9rem;
    left: 10px;
  }
  
  .fortnite-nav-link {
    font-size: 0.8rem;
    padding: 6px 10px !important;
  }
  
  .news-slide {
    height: 250px;
  }
  
  .news-title {
    font-size: 1rem;
  }
  
  .news-body {
    font-size: 0.75rem;
  }
  
  .nav-button {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .scroll-to-top {
    width: 45px;
    height: 45px;
    font-size: 1rem;
    bottom: 15px;
    right: 15px;
  }
}

/* ===== LOADING STATES MEJORADOS ===== */
.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  color: var(--fortnite-blue);
  text-align: center;
}

.loading-spinner i {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: spin 1s linear infinite;
}

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

.loading-spinner p {
  font-family: 'Burbank Big Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}
