/* ============================================ */
/* MODO ANDROID APP */
/* ============================================ */
html.android-app .header,
body.android-app .header { display: none !important; }
html.android-app body, body.android-app { padding-top: 0 !important; }

/* ============================================ */
/* SKELETON LOADER */
/* ============================================ */
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-news {
  background: rgba(12,10,28,0.9);
  border: 1px solid rgba(41,50,68,0.6);
  border-radius: 14px;
  overflow: hidden;
  pointer-events: none;
}
.skeleton-news .news-image {
  height: 96px;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.04) 25%,
    rgba(255,255,255,0.09) 50%,
    rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 0;
}
.skeleton-news .news-label {
  height: 12px; width: 70%;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.05) 25%,
    rgba(255,255,255,0.10) 50%,
    rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 4px;
  margin: 9px 10px 4px;
}
.skeleton-news .news-label-2 {
  height: 10px; width: 45%;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.04) 25%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 4px;
  margin: 5px 10px 10px;
}

/* ============================================ */
/* VARIABLES CSS */
/* ============================================ */
:root {
  --primary: #8d17fb;
  --secondary: #70189b;
  --bg-primary: #020515;
  --bg-secondary: #06011c;
  --surface: #1c1f2f;
  --surface-2: #1f1f2e;
  --text: #ffffff;
  --muted: #9ca3af;
  --border-soft: rgba(255,255,255,0.05);
  --shadow-hover: 0 10px 30px rgba(0,0,0,0.5);
  --font: 'Inter', sans-serif;
}

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

html, body { width: 100%; min-height: 100vh; min-height: 100svh; }

body {
  background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  padding-top: calc(62px + env(safe-area-inset-top));
  padding-bottom: calc(40px + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (max-width: 768px)  { body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); } }
@media (min-width: 769px)  {
  body {
    padding-top: calc(72px + env(safe-area-inset-top)); /* header desktop = 72px */
    padding-bottom: 60px;
    background: linear-gradient(160deg, #020515 0%, #06011c 40%, #090120 100%);
  }
}

/* ============================================ */
/* SECCIONES */
/* ============================================ */
.section { padding: 20px; }
@media (max-width: 768px) { .section { padding: 16px; } }
@media (min-width: 769px) { .section { padding: 40px 60px; max-width: 1600px; margin: 0 auto; } }

.section-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 15px;
}

.section-title {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 800;
  color: white;
}
@media (min-width: 769px) { .section-title { font-size: 26px; } }

.section-link {
  font-family: var(--font);
  color: #6366f1; text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
@media (min-width: 769px) {
  .section-link { font-size: 16px; transition: color 0.3s ease; }
  .section-link:hover { color: #818cf8; }
}

.section-subtitle {
  font-family: var(--font);
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 12px;
}
@media (min-width: 769px) { .section-subtitle { font-size: 16px; margin-bottom: 16px; } }

.live-badge {
  background-color: #ef4444; color: white;
  font-family: var(--font);
  padding: 4px 12px; border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
}
@media (min-width: 769px) { .live-badge { padding: 6px 16px; font-size: 12px; border-radius: 8px; } }

/* ============================================ */
/* NEWS GRID */
/* ============================================ */
.news-grid {
  display: flex; gap: 10px; overflow-x: auto;
  padding: 4px 2px 12px;
  -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
  scrollbar-width: none;
}
.news-grid::-webkit-scrollbar { display: none; }
@media (min-width: 769px) {
  .news-grid {
    gap: 14px; display: grid;
    grid-template-columns: repeat(4,1fr); overflow-x: visible;
    padding: 4px 0 12px;
  }
}

.news-card {
  flex-shrink: 0; width: 152px;
  background: rgba(12,10,28,0.9);
  border: 1px solid rgba(41,50,68,0.7);
  border-radius: 14px; overflow: hidden;
  text-decoration: none !important; color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 769px) { .news-card { width: 100%; } }
.news-card:visited, .news-card:hover, .news-card:active {
  text-decoration: none !important; color: inherit;
}

.news-image {
  width: 100%; height: 96px; background-color: #1c1f2f;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
@media (min-width: 769px) { .news-image { height: 120px; } }

.news-label {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  text-align: left; color: #e2e8f0; line-height: 1.35;
  padding: 9px 10px 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none !important;
}
@media (min-width: 769px) { .news-label { font-size: 13px; padding: 10px 12px 12px; } }

/* ============================================ */
/* CAROUSEL SORTEOS */
/* ============================================ */
.carousel-container { position: relative; overflow: hidden; border-radius: 16px; }
@media (min-width: 769px) { .carousel-container { border-radius: 20px; } }

.carousel-wrapper {
  display: flex; transition: transform 0.5s ease-in-out;
  touch-action: pan-y; cursor: grab;
}

.carousel-slide {
  min-width: 100%; height: 180px; background-color: #4b5563;
  border-radius: 16px; overflow: hidden;
}
@media (min-width: 769px) { .carousel-slide { height: 420px; border-radius: 20px; } }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
@media (min-width: 769px) { .carousel-dots { gap: 10px; margin-top: 16px; } }

.carousel-dot {
  width: 8px; height: 8px; background-color: #374151; border-radius: 50%;
  cursor: pointer; transition: all 0.3s ease;
}
@media (min-width: 769px) { .carousel-dot { width: 10px; height: 10px; } }
.carousel-dot.active { background-color: #6366f1; width: 24px; border-radius: 4px; }
@media (min-width: 769px) { .carousel-dot.active { width: 32px; border-radius: 5px; } }
.carousel-dot:hover { background-color: #4b5563; }

/* ============================================ */
/* SKINS + EMOTES GRID */
/* ============================================ */
.skins-grid, .emotes-grid {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px;
  -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
  scrollbar-width: none;
}
.skins-grid::-webkit-scrollbar, .emotes-grid::-webkit-scrollbar { display: none; }
@media (min-width: 769px) {
  .skins-grid, .emotes-grid {
    gap: 16px; display: grid;
    grid-template-columns: repeat(4,1fr); overflow-x: visible;
  }
}

/* ============================================ */
/* SKIN CARD */
/* ============================================ */
.skin-card {
  flex-shrink: 0; width: 145px; border-radius: 16px; padding: 0;
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #1a1a2e, #16213e);
  border: 1px solid rgba(255,255,255,0.07);
  cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
@media (min-width: 769px) {
  .skin-card { width: 100%; border-radius: 20px; }
  .skin-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
}
@media (max-width: 768px) { .skin-card:active { transform: scale(0.96); } }

.skin-badge {
  position: absolute; top: 8px; left: 8px; z-index: 3;
  background: rgba(0,0,0,0.75);
  color: white; padding: 3px 8px; border-radius: 20px;
  font-family: var(--font);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
@media (min-width: 769px) { .skin-badge { top: 10px; left: 10px; font-size: 10px; padding: 4px 10px; } }

.skin-image {
  width: 100%; height: 160px; margin: 0; border-radius: 0;
  background: linear-gradient(135deg, #0f3460, #16213e 50%, #0f3460);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.skin-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 0.3s ease;
}
.skin-card:hover .skin-image img { transform: scale(1.05); }
@media (min-width: 769px) { .skin-image { height: 220px; } }

.skin-name {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  color: white; line-height: 1.3;
  padding: 8px 10px 10px; margin: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.8), rgba(0,0,0,0));
}
@media (min-width: 769px) { .skin-name { font-size: 13px; padding: 10px 14px 12px; } }

/* ============================================ */
/* EMOTE CARD */
/* ============================================ */
.emote-card {
  flex-shrink: 0; width: 145px; border-radius: 16px; padding: 0;
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #1a1025, #0d1b2a);
  border: 1px solid rgba(255,255,255,0.07);
  cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
@media (min-width: 769px) {
  .emote-card { width: 100%; border-radius: 20px; }
  .emote-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
}
@media (max-width: 768px) { .emote-card:active { transform: scale(0.96); } }

.emote-badge {
  position: absolute; top: 8px; left: 8px; z-index: 3;
  background: rgba(0,0,0,0.75);
  color: white; padding: 3px 8px; border-radius: 20px;
  font-family: var(--font);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
@media (min-width: 769px) { .emote-badge { top: 10px; left: 10px; font-size: 10px; padding: 4px 10px; } }

.emote-image {
  width: 100%; height: 160px; margin: 0; border-radius: 0;
  background: linear-gradient(135deg, #1a0533, #0d1b2a 50%, #1a0533);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.emote-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 0.3s ease;
}
.emote-card:hover .emote-image img { transform: scale(1.05); }
@media (min-width: 769px) { .emote-image { height: 220px; } }

.emote-name {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  color: white; line-height: 1.3; padding: 8px 10px 4px; margin: 0;
}
@media (min-width: 769px) { .emote-name { font-size: 13px; padding: 10px 14px 6px; } }

.rating {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.7); padding: 0 10px 10px; margin: 0;
}
@media (min-width: 769px) { .rating { font-size: 12px; padding: 0 14px 12px; } }

/* ============================================ */
/* POPULAR */
/* ============================================ */
.popular-banner { width: 100%; height: 200px; background-color: #4b5563; border-radius: 16px; }
@media (min-width: 769px) { .popular-banner { height: 450px; border-radius: 24px; } }

/* ============================================ */
/* GAMES GRID */
/* ============================================ */
.games-grid {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 10px;
  -webkit-overflow-scrolling: touch; scroll-behavior: smooth; scrollbar-width: none;
}
.games-grid::-webkit-scrollbar { display: none; }
@media (min-width: 769px) {
  .games-grid {
    gap: 16px; display: grid;
    grid-template-columns: repeat(3, 1fr); overflow-x: visible;
  }
}

.game-card {
  flex-shrink: 0; width: 160px;
  background: linear-gradient(160deg, rgba(20,8,50,0.95) 0%, rgba(6,1,28,0.98) 100%);
  border: 1px solid rgba(141,23,251,0.2);
  border-radius: 16px; padding: 0; position: relative; overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  -webkit-tap-highlight-color: transparent; cursor: pointer;
}
@media (min-width: 769px) {
  .game-card { width: 100%; border-radius: 20px; }
  .game-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 50px rgba(141,23,251,0.25), 0 0 0 1px rgba(141,23,251,0.45);
    border-color: rgba(141,23,251,0.5);
  }
  .game-card:hover .game-image img { transform: scale(1.07); }
}
@media (max-width: 768px) { .game-card:active { transform: scale(0.96); } }

.playing-badge, .skin-badge, .emote-badge {
  background-color: rgba(0,0,0,0.6); color: white;
  padding: 3px 7px; border-radius: 10px;
  font-family: var(--font);
  font-size: 9px;
  font-weight: 700;
  display: inline-block; margin-bottom: 6px; letter-spacing: 0.3px;
}
@media (min-width: 769px) {
  .playing-badge, .skin-badge, .emote-badge {
    padding: 5px 10px; font-size: 11px;
    border-radius: 12px; margin-bottom: 10px;
  }
}

.game-image {
  width: 100%; height: 130px;
  background: linear-gradient(160deg, #1a0535, #0d0520);
  border-radius: 0; margin-bottom: 0; overflow: hidden; position: relative;
}
.offer-game-image { display: flex; align-items: center; justify-content: center; }
.offer-game-image img { object-fit: contain; padding: 24px; width: 60%; height: 60%; }
.offer-bg-purple { background: linear-gradient(160deg, #0d0520, #1a0840, #0a0318); }
.offer-bg-blue   { background: linear-gradient(135deg, #00234b, #003d80); }
.offer-bg-green  { background: linear-gradient(135deg, #1a2a00, #2d4a00); }
.offer-emoji-icon { font-size: 52px; }

/* ── Provider brand cards ─────────────────────────────────────────────────── */
.offer-brand-bg      { display: flex; align-items: center; justify-content: center; }
.offer-brand-cpx     { background: linear-gradient(155deg, #07111f 0%, #0d2040 60%, #102a50 100%); }
.offer-brand-bitlabs { background: linear-gradient(155deg, #0047c8 0%, #006eff 60%, #1a7fff 100%); }
.offer-brand-wrap    { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; }
.offer-brand-icon    { width: 52px; height: 52px; }
.offer-brand-label   { font-size: 11px; font-weight: 900; color: white; letter-spacing: 1.8px; text-transform: uppercase; text-align: center; opacity: 0.92; }

.mrec-slot {
  display: none; width: 300px; height: 250px;
  margin: 16px auto; border-radius: 10px; overflow: hidden;
  background: rgba(141,23,251,0.04); border: 1px solid rgba(141,23,251,0.08);
}
.offer-card { border-color: rgba(0,212,255,0.18); }
.offer-card .game-image { height: 150px; }
.offer-card .game-info  { padding: 10px 12px 14px; }
.offer-card .game-name  { font-size: 14px; font-weight: 800; margin-bottom: 5px; }
.offer-card-desc { font-size: 11px; color: rgba(255,255,255,0.42); line-height: 1.4; margin-bottom: 9px; }
.offer-reward-chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255,200,55,0.1); border: 1px solid rgba(255,200,55,0.25);
  border-radius: 8px; padding: 3px 9px;
  font-size: 11px; font-weight: 800; color: #ffc837;
}
.game-image::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent 40%, rgba(6,1,28,0.75) 100%);
}
.game-image img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 0;
  transition: transform 0.4s ease;
}
.game-image--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, rgba(141,23,251,0.07), rgba(6,1,28,0.9));
}
.game-placeholder-emoji { font-size: 2.8rem; }

/* Badge flotante sobre la imagen */
.game-card .playing-badge {
  position: absolute; top: 8px; left: 8px; z-index: 3;
  background: rgba(0,0,0,0.6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(34,197,94,0.45);
  color: #4ade80; padding: 3px 8px 3px 5px; border-radius: 20px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.5px;
  display: flex; align-items: center; gap: 4px; margin: 0;
}
.game-card .playing-badge--soon {
  border-color: rgba(107,114,128,0.4); color: #9ca3af;
}
.dot-live {
  width: 6px; height: 6px; border-radius: 50%; background: #22c55e; flex-shrink: 0;
  box-shadow: 0 0 6px rgba(34,197,94,0.8);
  animation: livePulse 1.5s ease-in-out infinite;
}
.dot-soon { width: 6px; height: 6px; border-radius: 50%; background: #6b7280; flex-shrink: 0; }
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Info inferior */
.game-info { padding: 9px 12px 5px; }
.game-info .game-name { font-size: 13px; margin: 0 0 5px; }
.game-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 4px;
}
.game-card .rating { font-size: 10px; color: #fbbf24; padding: 0; margin: 0; letter-spacing: 1px; }
.game-coins { font-size: 10px; font-weight: 700; color: #fcd34d; }

/* Botón jugar */
.game-play-btn {
  display: block; margin: 7px 10px 10px;
  padding: 7px 0;
  background: linear-gradient(135deg, rgba(141,23,251,0.3), rgba(91,33,182,0.25));
  border: 1px solid rgba(141,23,251,0.3);
  border-radius: 10px;
  font-family: var(--font); font-size: 11px; font-weight: 800;
  color: rgba(255,255,255,0.88); text-align: center; letter-spacing: 0.3px;
  transition: background 0.2s, border-color 0.2s;
}
.game-card--soon { opacity: .5; cursor: not-allowed; pointer-events: none; }
.game-card:hover .game-play-btn {
  background: linear-gradient(135deg, rgba(141,23,251,0.5), rgba(91,33,182,0.4));
  border-color: rgba(141,23,251,0.55);
}

@media (min-width: 769px) {
  .game-image { height: 190px; }
  .game-info { padding: 11px 14px 6px; }
  .game-info .game-name { font-size: 15px; margin-bottom: 6px; }
  .game-card .rating { font-size: 11px; }
  .game-coins { font-size: 11px; }
  .game-play-btn { margin: 8px 14px 14px; padding: 10px 0; font-size: 12px; border-radius: 12px; }
}

.skin-name, .emote-name, .game-name {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 800;
}
@media (min-width: 769px) { .skin-name, .emote-name, .game-name { font-size: 16px; } }

/* ============================================ */
/* CARD SYSTEM */
/* ============================================ */
.card-image {
  width: 100%; height: 160px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.card-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 0.3s ease;
}
.skin-card:hover .card-image img,
.emote-card:hover .card-image img { transform: scale(1.05); }
@media (min-width: 769px) { .card-image { height: 220px; } }

.card-info {
  padding: 8px 10px 10px;
  background: linear-gradient(0deg, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
}
@media (min-width: 769px) { .card-info { padding: 10px 14px 12px; } }

.vbucks-price {
  display: flex; align-items: center; gap: 5px; margin-top: 4px;
}
.vbuck-icon { width: 14px; height: 14px; object-fit: contain; }
.vbucks-price span {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  color: #7ec8e3;
}
@media (min-width: 769px) {
  .vbuck-icon { width: 16px; height: 16px; }
  .vbucks-price span { font-size: 14px; }
}

/* ============================================ */
/* HOVER / TAP EFFECTS */
/* ============================================ */
@media (max-width: 768px) {
  .news-card:active { transform: scale(0.96); }
  .game-card {
    cursor: pointer; transition: transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .game-card:active { transform: scale(0.95); }
}
@media (min-width: 769px) {
  .news-card {
    cursor: pointer;
  }
  .news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
    border-color: rgba(141,23,251,0.3);
  }
  .news-card:hover .news-image img { transform: scale(1.05); }
  .game-card {
    cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .game-card:hover {
    transform: translateY(-5px); box-shadow: var(--shadow-hover);
  }
}
/* ============================================ */
/* FORTNITE SHOP SECTION */
/* ============================================ */
.fn-shop-section {
    padding: 16px 16px 0;
}

.fn-shop-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 10px;
}

.fn-shop-title {
    font-size: 22px;
    font-weight: 900;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

.fn-live-badge {
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.3px;
    animation: livePulse 2s infinite;
}
.fn-live-badge::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: white;
    animation: pulse 1.5s infinite;
}
@keyframes livePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.4); }
    50%       { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

.fn-countdown-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
}
.fn-countdown-label {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 600;
}
.fn-countdown-timer {
    font-size: 18px;
    font-weight: 800;
    color: #00d4ff;
    font-variant-numeric: tabular-nums;
    letter-spacing: 2px;
}

.fn-cosmetics-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 30px;
    padding: 9px 16px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s;
    cursor: pointer;
}
.fn-cosmetics-btn:hover { background: rgba(255,255,255,0.12); }
.fn-cosmetics-btn svg { width: 16px; height: 16px; fill: white; flex-shrink: 0; }

/* STRIP WRAPPER (para posicionar flechas) */
.fn-strip-wrapper {
    position: relative;
}

/* FLECHAS — ocultas en móvil */
.fn-strip-arrow {
    display: none;
}

/* STRIP BASE — móvil */
.fn-shop-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 16px 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}
.fn-shop-strip::-webkit-scrollbar { display: none; }

/* CARDS BASE — móvil */
.fn-view-shop-card {
    flex-shrink: 0;
    width: 120px;
    height: 180px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 2px solid rgba(0,212,255,0.5);
    background: #0a0a1a;
    text-decoration: none;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}
.fn-view-shop-card:active { transform: scale(0.95); }

.fn-view-shop-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: linear-gradient(160deg, #0a1535 0%, #050d20 100%);
}
.fn-view-shop-icon { font-size: 28px; }
.fn-view-shop-text {
    font-size: 15px;
    font-weight: 900;
    color: white;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.3px;
}
.fn-view-shop-sub {
    font-size: 10px;
    color: #00d4ff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
}
.fn-view-shop-sub::after { content: '\2192'; font-size: 12px; }

.fn-strip-item {
    flex-shrink: 0;
    width: 120px;
    height: 180px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.07);
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
}
.fn-strip-item:active { transform: scale(0.95); }
.fn-strip-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
}
.fn-strip-item-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 6px 8px 7px;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 100%);
}
.fn-strip-item-name {
    font-size: 14px;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fn-strip-item-price {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 2px;
}
.fn-strip-item-price img { width: 20px; height: 20px; object-fit: contain; }
.fn-strip-item-price span { font-size: 13px; font-weight: 700; color: #7ec8e3; }

.fn-strip-skeleton {
    flex-shrink: 0;
    width: 120px;
    height: 180px;
    border-radius: 14px;
    background: linear-gradient(90deg,
        rgba(255,255,255,0.04) 25%,
        rgba(255,255,255,0.08) 50%,
        rgba(255,255,255,0.04) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* ============================================ */
/* FORTNITE SHOP — DESKTOP */
/* ============================================ */
@media (min-width: 769px) {

    .fn-shop-section {
        padding: 40px 60px 0;
        max-width: 1600px;
        margin: 0 auto;
    }

    .fn-shop-title { font-size: 28px; }
    .fn-countdown-label { font-size: 15px; }
    .fn-countdown-timer { font-size: 22px; }
    .fn-cosmetics-btn { font-size: 15px; padding: 11px 22px; }
    .fn-cosmetics-btn svg { width: 18px; height: 18px; }

    /* Wrapper con espacio para flechas */
    .fn-strip-wrapper {
        max-width: 1600px;
        margin: 0 auto;
        padding: 0 60px;
    }

    /* Strip desktop — scroll horizontal limpio */
    .fn-shop-strip {
        padding: 10px 0 20px;
        gap: 12px;
        scroll-snap-type: x mandatory;
    }

    /* Cards desktop 160×240 */
    .fn-view-shop-card,
    .fn-strip-item,
    .fn-strip-skeleton {
        width: 160px;
        height: 240px;
        border-radius: 16px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .fn-view-shop-card:hover,
    .fn-strip-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 32px rgba(0,0,0,0.5);
    }

    .fn-view-shop-icon { font-size: 34px; }
    .fn-view-shop-text { font-size: 17px; }
    .fn-view-shop-sub { font-size: 12px; }
    .fn-strip-item-name { font-size: 13px; }

    /* FLECHAS — visibles en desktop */
    .fn-strip-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(255,255,255,0.12);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255,255,255,0.18);
        cursor: pointer;
        z-index: 10;
        transition: background 0.2s, transform 0.2s;
        color: white;
        padding: 0;
    }
    .fn-strip-arrow svg {
        width: 22px;
        height: 22px;
        fill: white;
    }
    .fn-strip-arrow:hover {
        background: rgba(255,255,255,0.22);
        transform: translateY(-50%) scale(1.08);
    }
    .fn-strip-arrow--left  { left: 14px; }
    .fn-strip-arrow--right { right: 14px; }

    /* Flecha deshabilitada */
    .fn-strip-arrow:disabled {
        opacity: 0.3;
        cursor: default;
        pointer-events: none;
    }
}
.logo:active {
  transform: scale(0.95);
  transition: transform 0.15s ease;
}

/* ============================================================ */
/* DESKTOP ENHANCEMENTS (769px+)                               */
/* ============================================================ */
@media (min-width: 769px) {

  /* Secciones con más respiración y separador visual */
  .section {
    padding: 48px 80px;
    max-width: 1440px;
    position: relative;
  }
  .section + .section::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(141,23,251,0.15) 30%, rgba(141,23,251,0.15) 70%, transparent);
    margin: 0 80px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Section title más grande y con accent */
  .section-title {
    font-size: 28px;
    letter-spacing: -0.3px;
  }
  .section-header { margin-bottom: 20px; }

  /* NEWS GRID — 4 columnas, cards más altas y con hover premium */
  /* Limitamos a 4 items para evitar filas incompletas */
  .news-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .news-card:nth-child(n+5) { display: none; }
  .news-card {
    border-radius: 16px;
    border-color: rgba(41,50,68,0.5);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  }
  .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(141,23,251,0.25);
    border-color: rgba(141,23,251,0.35);
  }
  .news-image { height: 160px; }
  .news-image img { transition: transform 0.35s ease; }
  .news-card:hover .news-image img { transform: scale(1.06); }
  .news-label { font-size: 14px; padding: 12px 14px 14px; line-height: 1.45; }

  /* CAROUSEL — más alto y con sombra */
  .carousel-slide { height: 480px; border-radius: 22px; }
  .carousel-container { border-radius: 22px; box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
  .carousel-dots { margin-top: 18px; gap: 10px; }
  .carousel-dot { width: 10px; height: 10px; }
  .carousel-dot.active { width: 36px; }

  /* FORTNITE SHOP — header con más padding y máximo ancho consistente */
  .fn-shop-section {
    padding: 48px 80px 0;
    max-width: 1440px;
  }
  .fn-shop-title { font-size: 30px; font-weight: 900; }
  .fn-countdown-timer { font-size: 24px; letter-spacing: 3px; }
  .fn-strip-wrapper { max-width: 1440px; padding: 0 80px; }
  .fn-shop-strip { gap: 14px; padding: 12px 0 24px; }
  .fn-view-shop-card,
  .fn-strip-item,
  .fn-strip-skeleton { width: 170px; height: 255px; border-radius: 16px; }
  .fn-view-shop-card:hover,
  .fn-strip-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.55);
  }
  .fn-strip-item-name { font-size: 13px; }
  .fn-view-shop-text { font-size: 18px; }

  /* GAMES GRID — cards más grandes y visuales */
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .game-card {
    border-radius: 20px;
    border-color: rgba(141,23,251,0.18);
  }
  .game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 56px rgba(141,23,251,0.2), 0 0 0 1px rgba(141,23,251,0.4);
    border-color: rgba(141,23,251,0.5);
  }
  .game-image { height: 220px; }
  .game-info { padding: 14px 16px 8px; }
  .game-info .game-name { font-size: 17px; margin-bottom: 8px; }
  .game-play-btn {
    margin: 10px 16px 16px;
    padding: 11px 0;
    font-size: 13px;
    border-radius: 12px;
    letter-spacing: 0.4px;
  }
  .game-card:hover .game-play-btn {
    background: linear-gradient(135deg, rgba(141,23,251,0.55), rgba(91,33,182,0.45));
    border-color: rgba(141,23,251,0.6);
  }
  .game-card .rating { font-size: 12px; }
  .game-coins { font-size: 12px; }

  /* SKINS GRID — para la sección Ofertas */
  .skins-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .skin-card { border-radius: 18px; }
  .skin-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(0,0,0,0.5);
  }
  .skin-image { height: 240px; }
  .skin-badge { font-size: 10px; padding: 4px 10px; top: 10px; left: 10px; }
  .skin-name { font-size: 14px; padding: 12px 14px 14px; }

  /* Ofertas CPX — tarjetas de encuestas */
  .offer-game-image { display: flex; align-items: center; justify-content: center; }
  .offer-game-image img { object-fit: contain; padding: 24px; width: 60%; height: 60%; }
  .offer-bg-purple { background: linear-gradient(135deg, #1a0040, #4b0082); }
  .offer-bg-blue   { background: linear-gradient(135deg, #00234b, #003d80); }
  .offer-bg-green  { background: linear-gradient(135deg, #1a2a00, #2d4a00); }}
