body {
  margin: 20px 0 0 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: url("https://i.imgur.com/CeSZ9BW.jpeg") no-repeat center center fixed;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.content-wrapper {
  transform: scale(0.75);
  padding-left: 0px;
  padding-right: 150px;
  transform-origin: top center;
  width: 100%;
  max-width: 1400px;
}

body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.8);
  box-shadow: inset 0 0 10px #00ffff;
  border-radius: 20px;
}

body::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #00ffff, #ff00ff);
  border-radius: 20px;
}

/* ====== HEADER ====== */
header {
  background: url("https://i.pinimg.com/originals/fb/12/f3/fb12f36620ba8b19fb86af375e6afd2e.gif") repeat, 
      linear-gradient(
        90deg,
        rgba(143, 0, 255, 0.8), 
        rgba(53, 154, 255, 0.7), 
        rgba(255, 14, 255, 0.7) 
      );
  background-blend-mode: overlay;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 30px;
  box-shadow: inset 0 5px 15px rgba(255, 255, 255, 0.5),
      inset 0 -5px 10px rgba(0, 0, 0, 0.3),
      0 0 20px rgba(0, 255, 255, 0.7),
      0 0 40px rgba(0, 255, 255, 0.4);
  overflow: hidden;
  left: 0px;
  width: 120%;
  max-width: 1440px;
  margin: 0 auto;
  filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.7));
  animation: neon-border 3s linear infinite, floating 4s ease-in-out infinite;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://i.pinimg.com/originals/fb/12/f3/fb12f36620ba8b19fb86af375e6afd2e.gif") repeat;
  opacity: 0.1;
  filter: hue-rotate(180deg) brightness(1.2) contrast(1.5);
  background-size: 350px 350px;
  z-index: -2;
}

header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.2) 2px,
      rgba(255, 255, 255, 0.1) 3px
    );
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.8;
  border-radius: 30px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
}

@keyframes neon-border {
0% {
  box-shadow: inset 0 5px 15px rgba(255, 255, 255, 0.6),
        inset 0 -5px 10px rgba(0, 0, 0, 0.3),
        0 0 30px #00ffff,
        0 0 50px #00ffff;
}
50% {
  box-shadow: inset 0 5px 15px rgba(255, 255, 255, 0.7),
        inset 0 -5px 10px rgba(0, 0, 0, 0.4),
        0 0 35px #ff00ff,
        0 0 60px #ff00ff;
}
100% {
  box-shadow: inset 0 5px 15px rgba(255, 255, 255, 0.6),
        inset 0 -5px 10px rgba(0, 0, 0, 0.3),
        0 0 30px #00ffff,
        0 0 50px #00ffff;
}
}

@keyframes floating {
0%, 100% {
  transform: perspective(1000px) translateY(0);
}
50% {
  transform: perspective(1000px) translateY(-10px);
}
}

.logo img {
  max-width: 550px;
  height: auto;
  filter: drop-shadow(0 0 55px rgba(0, 255, 255, 1));
  border: none;
  border-radius: 30px;
  padding: 20px;
  justify-content: center;
}

/* ====== MARQUEE ====== */
.marquee {
  font-size: 25px;
  font-family: "Audiowide", cursive;
  text-shadow: 0 0 10px #03faab;
  text-align: center;
  padding: 10px;
  margin: 50px auto;
  background: rgba(0, 0, 0, 0.5);
  color: #00ffff;
  border: 4px solid #00ffff;
  border-radius: 10px;
  width: 120%;
  max-width: 1472px;
}

/* ====== MAIN LAYOUT (sidebar + contenido) ====== */
.main-layout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 40px;
}

/* ====== SIDEBAR IZQUIERDA ====== */
.sidebar {
  background-color: rgba(16, 0, 232, 0.6);
  border: 4px solid #00ffff;
  box-shadow: 0 0 25px #00ffff;
  border-radius: 20px;
  width: 250px;
  height: 2200px;
  padding: 20px;
  color: #fff;
  font-family: "Audiowide", cursive;
  text-align: center;
  flex-shrink: 0;
}

.juradas h3 {
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
  color: #ffcd3c;
  letter-spacing: 2px;
  line-height: 15px;
  padding: 20px 0px;
  border: 3px solid #00ffff;
  border-radius: 10px;
  font-family: "Press Start 2P", sans-serif;
  font-size: 28px;
  margin: 0px auto;
  margin-top: 35px;
  top: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  justify-content: center;
  text-align: center;
  width: 250px;
  height: 10px;
}

.cardjuradas {
  position: relative;
  display: inline-block;
  margin: 20px 0px 15px;
}

.cardjuradas img {
  width: 250px;
  height: auto;
  display: block;
  border-radius: 9px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.9), 0 0 8px rgba(255, 0, 255, 0.7);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cardjuradas img:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.6), 0 0 16px rgba(255, 0, 255, 0.5);
}

.cardjuradas::after {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  width: calc(100% + 0px);
  height: calc(100% + 0px);
  border-radius: 16px;
  padding: 8px;
  background: linear-gradient(
    90deg,
    transparent 40%,
    rgba(0, 255, 255, 0.9) 50%,
    rgba(255, 0, 255, 0.9) 60%,
    transparent 70%
  ) no-repeat;
  background-size: 400% 400%;
  animation: neonTravel 6s linear infinite;
  filter: blur(4px);
  z-index: 0;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

nav {
  display: flex;
  flex-direction: column;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: #fff;
  margin: 50px 0;
  padding: 2px 16px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  transition: background-color 0.3s ease;
  z-index: 2;
}

nav a:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

nav {
  margin-top: 35px;
  width: 100%;
}

nav a {
  display: block;
  color: black;
  text-decoration: none;
  margin: 10px auto;
  font-weight: bold;
  font-family: "Audiowide", sans-serif;
  font-size: 18px;
  padding: 10px 10px;
  background: linear-gradient(0deg, rgba(153, 107, 0, 0.9) 0%, rgba(196, 137, 0, 0.9) 17%, rgba(250, 184, 30, 0.9) 30%, rgba(255, 205, 54, 0.9) 39%, rgba(255, 220, 82, 1) 51%, rgba(255, 222, 105, 1) 56%, rgba(255, 244, 158, 1) 77%, rgba(255, 255, 255, 1) 89%, rgba(255, 201, 25, 1) 100%);
  border: 3px solid #ffdf9e;
  border-radius: 18px;
  box-shadow: 0 0 5px #ffdf9e;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  text-align: center;
  transition: all 0.3s ease;
  width: calc(100% - 20px);
  box-sizing: border-box;
  letter-spacing: 3px;
  z-index: 2;
}

nav a:hover {
  background: linear-gradient(145deg, #e0aaff, #c9a5ff);
  color: #ffff00;
  transform: scale(1.05);
}

/* ====== SECCIÓN DERECHA ====== */
.right-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ====== CONTAINER PRINCIPAL ====== */
.container {
  background-color: rgba(62, 0, 36, 0.4);
  padding: 20px;
  border-radius: 20px;
  border: 4px solid #ff00ff;
  box-shadow: 0 0 20px #ff00ff;
  text-align: center;
  overflow-y: hidden;
  overflow-x: hidden;
  width: 1130px;
  height: 1260px;
}

.container2 {
  background-color: rgba(16, 0, 232, 0.6);
  padding: 20px;
  position: relative;
  border-radius: 20px;
  border: 4px solid #00ffff;
  box-shadow: 0 0 20px #00ffff;
  margin-top: -15px;
  text-align: center;
  overflow: hidden;
  width: 1130px;
  height: 867px;
}

/* ====== EFECTO CRT ====== */
.container2::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05) 0px,
    rgba(255, 255, 255, 0.05) 2px,
    rgba(0, 0, 0, 0.05) 3px,
    rgba(0, 0, 0, 0.05) 4px
  );
  mix-blend-mode: overlay; /* para integrar mejor con el fondo */
  animation: flicker 0.1s infinite alternate;
}

/* Animación de parpadeo sutil */
@keyframes flicker {
  from { opacity: 0.9; }
  to { opacity: 1; }
}

/* ====== GANADORAS ====== */
.ganadoras h2 {
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
  color: #ffcd3c;
  letter-spacing: 5px;
  line-height: 28px;
  padding: 20px 0px;
  border: 3px solid #00ffff;
  border-radius: 10px;
  font-family: "Press Start 2P", sans-serif;
  font-size: 35px;
  margin: 80px auto;
  margin-top: 20px;
  top: 18px;
  margin-bottom: 130px;
  text-transform: uppercase;
  justify-content: center;
  text-align: center;
  width: 800px;
  height: 20px;
}

.felicitaciones img {
  width: 1250px;
  max-width: 100%;
  margin: -50px auto 100px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gifs-container {
  width: 1250px;
  max-width: 100%;
  margin: -65px auto 100px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.gif-item img {
  max-width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  filter: drop-shadow(0 0 2px #00ffff) drop-shadow(0 0 4px #ff00ff);
  transition: transform 0.3s, filter 0.3s;
}

.gif-item img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 18px #00ffff) drop-shadow(0 0 28px #ff00ff);
}

.ranking-line {
  position: relative;
  width: 1250px;
  height: 40px;
  margin: -60px auto 90px auto;
  font-family: "Press Start 2P", cursive;
  font-size: 20px;
  color: yellow;
}

.ranking-line .pos {
  position: absolute;
  top: -40;
}

.pos-2 { left: 60px; }
.pos-1 { left: 440px; }
.pos-3 { left: 860px; }

/* ====== NUEVOS CONTAINERS CUADRADOS ====== */
.sub-containers {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: -15px;
  margin-bottom: 15px;
  margin-left: -320px;
}

.square-container {
  background: rgba(0, 0, 0, 0.5);
  color: #00ffff;
  border: 4px solid #00ffff;
  flex: 1;
  border-radius: 20px;
  text-align: center;
  padding: 20px;
  min-height: 500px;
}

/* ====== COSITAS ====== */
.imagen-central {
  width: 1550px;
  max-width: 100%;
  margin: 20px 0px auto;
  text-align: center;
}

.imagen-central img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.vikachulogo img {
  width: 600px;
  max-width: 100%;
  margin: 0px 0px 90px;
  text-align: center;
}

/* ====== INSIGNIAS ====== */
.avatars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: 20px;
  column-gap: 255px;
  max-width: 420px;
  margin: -100px 40px auto;
}

.avatars img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  cursor: pointer;
  border: 5px solid var(--turq-border);
  border-radius: 40px;
  background: #1b1b1f;
  padding: 5px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}

.avatars img:hover,
.avatars img:focus {
  transform: translateY(-2px) scale(1.03);
  border-color: var(--turq);
  box-shadow: var(--shadow-neon);
  outline: none;
}

/* ====== MODAL OVERLAY ====== */
.modal {
  display: none;
  position: relative;
  z-index: 1000;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
  justify-content: center;
  align-items: flex-start;
  margin: -920px 250px auto;
  border-radius: 25px;
  width: 980px;
  height: auto;
}

.modal.is-open {
  display: flex !important;
}

/* ====== VENTANA DEL MODAL ====== */
.modal-window {
  width: min(150vw, 1500px);
  border-radius: 25px;
  overflow: hidden;
  border: 5px solid var(--turq-border);
  background: var(--turq-soft);
  box-shadow: var(--shadow-neon);
  animation: popIn .25s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(6px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ====== BARRA SUPERIOR (tipo app) ====== */
.modal-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0px 12px;
  background: linear-gradient(180deg, var(--bar-grad-start), var(--bar-grad-end));
  border-bottom: 1px solid var(--turq-border);
}

.modal-title {
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 14px;
  margin: 20px 20px 20px;
  font-family: "Press Start 2P", cursive;
  color: yellow;
  text-align: center;
}

/* ====== VARIABLES ====== */
:root {
  --bg: #0d0d0f;
  --txt: #ffffff;
  --turq: #00ffff;
  --turq-soft: rgba(0, 255, 255, 0.12);
  --turq-border: rgba(0, 255, 255, 0.45);
  --bar-grad-start: rgba(0, 255, 255, 0.18);
  --bar-grad-end: rgba(0, 80, 80, 0.35);
  --shadow-neon: 0 0 18px rgba(0,255,255,0.25), 0 0 40px rgba(0,255,255,0.12);
}

/* ====== BOTÓN CERRAR ====== */
.close-btn {
  appearance: none;
  border: 1px solid var(--turq-border);
  background: rgba(0,0,0,0.25);
  color: #fffd8a;
  font-size: 16px;
  line-height: 1;
  border-radius: 10px;
  padding: 10px 10px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.close-btn:hover {
  background: rgba(0,0,0,0.35);
  box-shadow: 0 0 12px rgba(255,255,120,0.3);
  transform: translateY(-1px);
}

.close-btn:active {
  transform: translateY(0);
}

/* ====== CONTENIDO DEL MODAL ====== */
.modal-body {
  padding: 0px;
  display: grid;
  place-items: center;
  position: relative;
}

.modal-body img {
  width: 150%;
  max-width: 1000px;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--turq-border);
  box-shadow: 0 0 10px rgba(0,255,255,0.15) inset;
  position: relative;
  z-index: 500;
}

.modal-body::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0.10),   /* línea negra opaca */
    rgba(0,0,0,0.18) 2px, /* un poco más clara */
    transparent 2px,
    transparent 3px
  );
  z-index: 9999;
}

/* ====== YOUTUBE ====== */
.video-container {
  padding: 0px;
  position: relative;
  margin: 0px -510px auto;
}

.container-video {
  padding: 20px;
  text-align: center;
  margin: auto;
  margin-left: 0px;
  overflow: hidden;
  max-height: 100px;
  grid-column: 2;
  grid-row: 2;
}

.video-frame {
  position: absolute;
  margin: 70px 520px auto;
  width: 550px;
  height: auto;
  background: url("https://i.imgur.com/FyRmuoS.png") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vid-container {
  position: relative;
  width: 510px;
  height: auto;
  padding-top: 100%;
  overflow: hidden;
}

.vid-container iframe {
  position: absolute;
  top: 11%;
  left: 6.5%;
  width: 90%;
  height: 62.5%;
}

.thumbnails {
  position: absolute;
  top: 650px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  justify-content: center;
  z-index: 10;
}

.thumbnails img {
  width: 180px;
  cursor: pointer;
  border-radius: 10px;
  border: 5px solid #40e0d0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.thumbnails img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px #40e0d0, 0 0 20px rgba(64,224,208,0.8);
}

/* ====== CARD PIKA ====== */
.cardpika {
  position: relative;
  display: inline-block;
  margin: -70px 0px 0px;
}

.cardpika img {
  width: 250px;
  height: auto;
  display: block;
  border-radius: 9px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.9), 0 0 8px rgba(255, 0, 255, 0.7);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cardpika img:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.6), 0 0 16px rgba(255, 0, 255, 0.5);
}

.cardpika::after {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  width: calc(100% + 0px);
  height: calc(100% + 0px);
  border-radius: 16px;
  padding: 8px;
  background: linear-gradient(
    90deg,
    transparent 40%,
    rgba(0, 255, 255, 0.9) 50%,
    rgba(255, 0, 255, 0.9) 60%,
    transparent 70%
  ) no-repeat;
  background-size: 400% 400%;
  animation: neonTravel 6s linear infinite;
  filter: blur(4px);
  z-index: 0;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* ====== CARD CONCURSANTES ====== */
.concursantes h2 {
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
  color: #ffcd3c;
  letter-spacing: 5px;
  line-height: 28px;
  padding: 20px 0px;
  border: 3px solid #00ffff;
  border-radius: 10px;
  font-family: "Press Start 2P", sans-serif;
  font-size: 35px;
  margin: 80px auto;
  margin-top: 15px;
  top: 18px;
  margin-bottom: 50px;
  text-transform: uppercase;
  justify-content: center;
  text-align: center;
  width: 800px;
  height: 20px;
}

.card {
  position: relative;
  display: inline-block;
  margin: 0px 30px 30px;
}

.card img {
  width: 300px;
  height: auto;
  display: block;
  border-radius: 9px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.9), 0 0 8px rgba(255, 0, 255, 0.7);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card img:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.6), 0 0 16px rgba(255, 0, 255, 0.5);
}

.card::after {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  width: calc(100% + 0px);
  height: calc(100% + 0px);
  border-radius: 16px;
  padding: 8px;
  background: linear-gradient(
    90deg,
    transparent 40%,
    rgba(0, 255, 255, 0.9) 50%,
    rgba(255, 0, 255, 0.9) 60%,
    transparent 70%
  ) no-repeat;
  background-size: 400% 400%;
  animation: neonTravel 6s linear infinite;
  filter: blur(4px);
  z-index: 0;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* ====== ANIMACIONES ====== */
@keyframes neonTravel {
  0%   { background-position: 0% 0%; }
  25%  { background-position: 100% 0%; }
  50%  { background-position: 100% 100%; }
  75%  { background-position: 0% 100%; }
  100% { background-position: 0% 0%; }
}

@keyframes neon-border {
  0% {
    box-shadow: inset 0 5px 15px rgba(255, 255, 255, 0.6),
                inset 0 -5px 10px rgba(0, 0, 0, 0.3),
                0 0 30px #00ffff,
                0 0 50px #00ffff;
  }
  50% {
    box-shadow: inset 0 5px 15px rgba(255, 255, 255, 0.7),
                inset 0 -5px 10px rgba(0, 0, 0, 0.4),
                0 0 35px #ff00ff,
                0 0 60px #ff00ff;
  }
  100% {
    box-shadow: inset 0 5px 15px rgba(255, 255, 255, 0.6),
                inset 0 -5px 10px rgba(0, 0, 0, 0.3),
                0 0 30px #00ffff,
                0 0 50px #00ffff;
  }
}

@keyframes floating {
  0%, 100% {
    transform: perspective(1000px) translateY(0);
  }
  50% {
    transform: perspective(1000px) translateY(-10px);
  }
}

.horizontal-bar {
  background-color: rgba(62, 0, 36, 0.4);
  padding: 20px;
  margin-top: 15px;
  border-radius: 20px;
  border: 4px solid #ff00ff;
  text-align: center;
  overflow-y: hidden;
  overflow-x: hidden;
  width: 1450px;
  height: 260px;
}

.agradecimiento-content img {
  justify-content: center;
  align-items: center;
  margin: -15px 0;
}

footer {
  position: static; 
  margin: -990px auto 0px auto;
  max-width: 100vw;
  padding: 20px;
  color: #ccc;
  text-align: center;
  font-family: "Audiowide", sans-serif;
  font-size: 0.83rem;
  border-radius: 2px;
  box-sizing: border-box;
}



* {
  cursor: url(https://cur.cursors-4u.net/games/gam-13/gam1282.cur), auto;
}


