:root{
  --bg:#2b2b2b;
  --bg2:#3a3a3a;
  --panel:#353535;
  --line:rgba(255,255,255,.15);
  --text:#f2f4f7;
  --muted:#b9beca;
  --green:#6cc349;
  --green2:#5aae30;
  --shadow: 0 18px 45px rgba(0,0,0,.55);
  --shadow-glow: 0 0 30px rgba(108,195,73,.4);
  --max: 1180px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: 'Minecraft', 'Press Start 2P', 'Courier New', monospace, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #3a3a3a 0%, #2b2b2b 100%);
  color: var(--text);
}

a{color:inherit;text-decoration:none}
.mc-topbar{
  position: sticky; top:0; z-index: 40;
  background: rgba(43,43,43,.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.mc-topbar__inner{
  max-width: var(--max);
  margin: 0 auto;
  height: 68px;
  padding: 0 18px;
  display:flex; align-items:center; justify-content:space-between;
  gap: 14px;
}

.mc-logo{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:900;
  letter-spacing:.4px;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.65rem;
  transition: all .2s ease;
}
.mc-logo:hover{
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.6));
}
.mc-logo img{
  width:auto;
  height:40px;
  border-radius:2px;
  filter: drop-shadow(0 0 4px rgba(255,255,255,.2));
  transition: all .2s ease;
}
.mc-logo:hover img{
  filter: drop-shadow(0 0 8px rgba(255,255,255,.4));
}

.mc-nav{display:flex; gap:15px; align-items:center}
.mc-nav a{
  font-family: 'Press Start 2P', monospace;
  font-weight:900;
  letter-spacing:.8px;
  font-size:.65rem;
  color: rgba(255,255,255,.78);
  transition: color .2s ease, text-shadow .2s ease;
}
.mc-nav a:hover{
  color:#fff;
}

.mc-actions{display:flex; gap:10px; align-items:center}

.mc-btn{
  display:inline-flex; align-items:center; justify-content:center;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight:900;
  letter-spacing:.6px;
  border-radius: 2px;
  padding: 11px 14px;
  border:1px solid transparent;
  cursor:pointer;
  transition: transform .2s cubic-bezier(0.34, 1.56, 0.64, 1), filter .2s ease, background .2s ease, box-shadow .2s ease;
}
.mc-btn:active{transform: translateY(1px)}
.mc-btn:hover{transform: translateY(-2px)}
.mc-btn--green{
  background: linear-gradient(180deg, var(--green) 0%, var(--green2) 100%);
  color: #061109;
  box-shadow: 0 12px 30px rgba(58,166,85,.22);
}
.mc-btn--green:hover{
  box-shadow: 0 18px 50px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.5);
}
.mc-btn--ghost{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
  transition: all .2s ease;
}
.mc-btn--ghost:hover{
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.35);
  box-shadow: 0 8px 20px rgba(255,255,255,.1);
}

.mc-burger{display:none; border:0; background:transparent; padding:10px; cursor:pointer}
.mc-burger span{display:block; width:22px; height:2px; background:#fff; margin:5px 0; opacity:.85}

.mc-mobile{
  display:none;
  background: rgba(43,43,43,.96);
  border-top: 1px solid var(--line);
}
.mc-mobile a{display:block; padding:14px 18px; font-weight:900; letter-spacing:.7px; color: rgba(255,255,255,.82)}
.mc-mobile a:hover{color:#fff}
.mc-mobile .mc-btn{margin: 10px 18px 18px 18px; display:inline-flex}

.mc-hero{
  position:relative;
  min-height: 72vh;
  overflow:hidden;
}
.mc-hero__bg{
  position:absolute; inset:0;
  background-image: var(--hero);
  background-size: cover;
  background-position: center;
  filter: saturate(1.15) contrast(1.08);
  transform: scale(1.02);
  animation: heroZoom 20s ease-in-out infinite alternate;
  box-shadow: inset 0 0 60px rgba(0,0,0,.5);
}
@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}
.mc-hero__shade{
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.70) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.85) 100%);
}
.mc-hero__content{
  position:relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 90px 18px 0px 18px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
}
.mc-hero__card{
  width:min(560px, 95vw);
  background: rgba(0,0,0,.85);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow), inset 0 0 60px rgba(255,255,255,.05);
  padding: 22px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: cardSlideIn .6s ease-out;
  margin-bottom: -2px;
}
@keyframes cardSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mc-wordmark{
  display: none;
  max-width: 420px;
  width: 100%;
  margin: 0 0 14px;
  filter: drop-shadow(0 0 5px rgba(255,255,255,.2));
}

.mc-hero__card h1{
  margin: 0 0 16px;
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing:.2px;
  line-height: 1.3;
  text-transform: uppercase;
}
.mc-hero__card p{
  margin: 0 0 20px;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgba(255,255,255,.85);
  line-height:1.5;
  font-size: 0.85rem;
}
.mc-hero__cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 2px;
}
.mc-mini{
  display: none;
  gap:8px;
  flex-wrap:wrap;
  margin-top: 14px;
}
.mc-chip{
  font-weight:900; letter-spacing:.3px;
  font-size:.7rem;
  padding: 6px 10px;
  border-radius: 2px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.85);
  transition: all .2s ease;
}
.mc-chip:hover{
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 10px rgba(255,255,255,.15);
}

.mc-thumbs{
  display:flex;
  gap:10px;
  padding-bottom: 0px;
  margin-bottom: -4px;
  animation: thumbsSlideIn .6s ease-out .2s both;
}
@keyframes thumbsSlideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.mc-thumb{
  width: 94px; height: 54px;
  background: rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.14);
  transition: all .2s ease;
  cursor: pointer;
}
.mc-thumb:hover{
  border-color: rgba(255,255,255,.35);
  box-shadow: 0 0 15px rgba(255,255,255,.1);
}
.mc-thumb--active{
  outline: 2px solid rgba(255,255,255,.5);
  box-shadow: 0 0 15px rgba(255,255,255,.2);
}

.mc-section{
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 18px 54px 18px;
  margin-top: -2px;
}
.mc-section--deep{
  background: linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.015) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 100%;
}

.mc-titlebar h2{
  margin:0 0 10px;
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  letter-spacing: 2px;
  font-weight: 900;
  line-height: 1.2;
}
.mc-titlebar p{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--muted);
  max-width: 80ch;
  font-size: 0.9rem;
}

.mc-grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px}
.mc-grid2{display:grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 20px}

.mc-card{
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: all .3s ease;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.mc-card--glow-green,
.mc-card--glow-red,
.mc-card--glow-blue,
.mc-card--glow-purple,
.mc-card--glow-yellow,
.mc-card--glow-orange{
  padding: 0;
  min-height: 250px;
  width: 100%;
}
.mc-card__image{
  position: relative;
  right: auto;
  top: auto;
  width: 100%;
  height: 100%;
  opacity: 1;
  pointer-events: none;
}
.mc-card__image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mc-card__image--fixed{
  /* sin animación */
}

/* =========================
   ROTACIONES FLUIDAS (PICOS Y ALDEANOS)
   ========================= */
.mc-card__image--rotating{
  position: relative;
  overflow: hidden;
}
.mc-card__image--rotating .pico-img,
.mc-card__image--rotating .aldeano-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  will-change: opacity, transform;
  transform: translateZ(0);
}

/* 4 PICOS: 8s total => 2s por pico */
@keyframes rot4 {
  0%   { opacity: 0; transform: scale(1.02); }
  3%   { opacity: 1; transform: scale(1); }
  20%  { opacity: 1; }
  25%  { opacity: 0; }
  100% { opacity: 0; }
}
.mc-card__image--rotating .pico-img{
  animation: rot4 8s linear infinite;
}
.mc-card__image--rotating .pico-img:nth-child(1){ animation-delay: -0.24s; }
.mc-card__image--rotating .pico-img:nth-child(2){ animation-delay:  1.76s; }
.mc-card__image--rotating .pico-img:nth-child(3){ animation-delay:  3.76s; }
.mc-card__image--rotating .pico-img:nth-child(4){ animation-delay:  5.76s; }

/* 7 ALDEANOS: 14s total => 2s por aldeano */
@keyframes rot7 {
  0%        { opacity: 0; transform: scale(1.02); }
  2%        { opacity: 1; transform: scale(1); }
  12%       { opacity: 1; }
  14.2857%  { opacity: 0; }
  100%      { opacity: 0; }
}
.mc-card__image--rotating .aldeano-img{
  animation: rot7 14s linear infinite;
}
.mc-card__image--rotating .aldeano-img:nth-child(1){ animation-delay: -0.28s; }
.mc-card__image--rotating .aldeano-img:nth-child(2){ animation-delay:  1.72s; }
.mc-card__image--rotating .aldeano-img:nth-child(3){ animation-delay:  3.72s; }
.mc-card__image--rotating .aldeano-img:nth-child(4){ animation-delay:  5.72s; }
.mc-card__image--rotating .aldeano-img:nth-child(5){ animation-delay:  7.72s; }
.mc-card__image--rotating .aldeano-img:nth-child(6){ animation-delay:  9.72s; }
.mc-card__image--rotating .aldeano-img:nth-child(7){ animation-delay: 11.72s; }

/* Accesibilidad */
@media (prefers-reduced-motion: reduce){
  .mc-card__image--rotating .pico-img,
  .mc-card__image--rotating .aldeano-img{
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.mc-card:hover{
  background: rgba(0,0,0,.5);
  border-color: rgba(255,255,255,.25);
  box-shadow: 0 15px 40px rgba(0,0,0,.5), inset 0 0 30px rgba(255,255,255,.05);
  transform: translateY(-4px);
}

/* Glow colors para tarjetas de reglas */
.mc-card--glow-green{
  box-shadow: 0 0 30px rgba(108, 195, 73, 0.5), 0 0 60px rgba(108, 195, 73, 0.3);
}
.mc-card--glow-green:hover{
  box-shadow: 0 0 50px rgba(108, 195, 73, 0.8), 0 0 80px rgba(108, 195, 73, 0.5);
}
.mc-card--glow-red{
  box-shadow: 0 0 30px rgba(220, 50, 50, 0.5), 0 0 60px rgba(220, 50, 50, 0.3);
}
.mc-card--glow-red:hover{
  box-shadow: 0 0 50px rgba(220, 50, 50, 0.8), 0 0 80px rgba(220, 50, 50, 0.5);
}
.mc-card--glow-blue{
  box-shadow: 0 0 30px rgba(100, 150, 255, 0.5), 0 0 60px rgba(100, 150, 255, 0.3);
}
.mc-card--glow-blue:hover{
  box-shadow: 0 0 50px rgba(100, 150, 255, 0.8), 0 0 80px rgba(100, 150, 255, 0.5);
}
.mc-card--glow-purple{
  box-shadow: 0 0 30px rgba(180, 100, 255, 0.5), 0 0 60px rgba(180, 100, 255, 0.3);
}
.mc-card--glow-purple:hover{
  box-shadow: 0 0 50px rgba(180, 100, 255, 0.8), 0 0 80px rgba(180, 100, 255, 0.5);
}
.mc-card--glow-yellow{
  box-shadow: 0 0 30px rgba(255, 200, 50, 0.5), 0 0 60px rgba(255, 200, 50, 0.3);
}
.mc-card--glow-yellow:hover{
  box-shadow: 0 0 50px rgba(255, 200, 50, 0.8), 0 0 80px rgba(255, 200, 50, 0.5);
}
.mc-card--glow-orange{
  box-shadow: 0 0 30px rgba(255, 140, 50, 0.5), 0 0 60px rgba(255, 140, 50, 0.3);
}
.mc-card--glow-orange:hover{
  box-shadow: 0 0 50px rgba(255, 140, 50, 0.8), 0 0 80px rgba(255, 140, 50, 0.5);
}

.mc-card h3{
  margin:0 0 8px;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.7rem;
  transition: color .2s ease;
  line-height: 1.2;
}
.mc-card:hover h3{
  color: #fff;
}
.mc-card p{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--muted);
  line-height:1.6;
  font-size: 0.9rem;
}

.mc-card--stage .mc-badge{
  display:inline-block;
  margin-bottom: 10px;
  font-weight: 900;
  letter-spacing: .8px;
  font-size: .8rem;
  padding: 6px 10px;
  background: rgba(58,166,85,.14);
  border: 1px solid rgba(58,166,85,.35);
  color: rgba(255,255,255,.9);
}

/* =========================
   REGLAS: uniformes + sin “cuadrado” de fondo
   ========================= */
#reglas .mc-grid3{
  align-items: stretch;
}
#reglas .mc-card{
  height: 320px;     /* ajusta a tu gusto: 280–360 */
  min-height: 0;
  justify-content: center;
}
#reglas .mc-card__image{
  background: transparent;
}
#reglas .mc-card__image img{
  object-fit: contain; /* NO recorta y evita tamaños raros */
  background: transparent;
}
/* quita el fondo que mete el hover SOLO en reglas */
#reglas .mc-card:hover{
  background: transparent;
}

.mc-wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 54px 18px;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
}

.mc-panel{
  background: rgba(0,0,0,.60);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow), inset 0 0 40px rgba(255,255,255,.05);
  padding: 22px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.mc-panel h2{
  margin:0 0 10px;
  font-family: 'Press Start 2P', monospace;
  font-size: 1rem;
  letter-spacing:1px;
  line-height: 1.2;
}
.mc-lead{font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: var(--muted); margin:0 0 16px; line-height:1.6; font-size: 0.9rem;}

.mc-join{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.45);
  transition: border-color .2s ease;
}
.mc-join:hover{
  border-color: rgba(255,255,255,.2);
}
.mc-join__row{
  display:flex; align-items:center; justify-content:space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  transition: background .2s ease;
}
.mc-join__row:hover{
  background: rgba(255,255,255,.03);
}
.mc-join__row:last-child{border-bottom:none}
.mc-join__row--soft{background: rgba(255,255,255,.03); color: rgba(255,255,255,.85); font-weight:800}

.mc-label{font-weight:900; font-size:.82rem; letter-spacing:.6px; color: rgba(255,255,255,.7)}
.mc-mono{
  margin-top: 3px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-weight: 900;
  font-size: 1.05rem;
}

.mc-aside{
  background: rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.12);
  padding: 18px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: all .3s ease;
  text-align: center;
}
.mc-aside:hover{
  border-color: rgba(255,255,255,.2);
  box-shadow: inset 0 0 30px rgba(255,255,255,.05);
}
.mc-aside h3{margin:0 0 10px; font-family: 'Press Start 2P', monospace; font-size: 0.8rem; letter-spacing:.5px; font-weight: 900;}
.mc-aside p, .mc-aside ol{color: var(--muted); line-height:1.6; margin: 0}
.mc-aside ol{padding-left: 24px; display: inline-block; text-align: left; list-style-position: inside;}
.mc-aside li{margin: 8px 0}
.mc-divider{height:1px;background: rgba(255,255,255,.12); margin: 16px 0}

.mc-row{display:flex; gap:10px; flex-wrap:wrap; margin-top: 16px}

.mc-footer{
  background: rgba(0,0,0,.60);
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 30px 18px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.mc-footer__grid{
  max-width: var(--max);
  margin: 0 auto;
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 16px;
}
.mc-footer__grid h4{
  margin:0 0 10px;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.65rem;
  letter-spacing:.8px;
  line-height: 1.2;
}
.mc-footer__grid a{
  display:block;
  color: rgba(255,255,255,.78);
  margin: 8px 0;
  font-weight: 800;
}
.mc-footer__grid a:hover{color:#fff}
.mc-footer__brand{display:flex; gap:10px; align-items:flex-start}
.mc-footer__brand img{width:36px;height:36px;border-radius:10px}
.mc-footer__muted{font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: rgba(255,255,255,.62); font-weight:700; line-height:1.5; font-size: 0.85rem;}
.mc-footer__bottom{
  max-width: var(--max);
  margin: 18px auto 0 auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.10);
  display:flex; justify-content:space-between; gap: 12px; flex-wrap:wrap;
  color: rgba(255,255,255,.78);
  font-weight: 800;
}

.mc-toast{
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  background: rgba(43,43,43,.92);
  border: 1px solid rgba(255,255,255,.14);
  padding: 10px 14px;
  border-radius: 2px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.mc-toast.show{
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

@media (max-width: 980px){
  .mc-nav{display:none}
  .mc-actions{display:none}
  .mc-burger{display:block}
  .mc-grid3{grid-template-columns: 1fr}
  .mc-grid2{grid-template-columns: 1fr}
  .mc-wrap{grid-template-columns: 1fr}
  .mc-footer__grid{grid-template-columns: 1fr 1fr}
  .mc-thumbs{display:none}
  
  /* Mejorar carrusel en tablet */
  #reglas .rules-carousel{
    grid-template-columns: 48px 1fr 48px;
    gap: 10px;
  }
  
  #reglas .rules-nav{
    height: 48px;
    width: 48px;
  }
  
  #reglas .rules-viewport{
    height: clamp(260px, 35vw, 340px);
  }
}
/* =========================
   REGLAS: carrusel 1 centro + 2 laterales
   ========================= */

#reglas .rules-carousel{
  margin-top: 22px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
}

#reglas .rules-nav{
  height: 44px;
  width: 44px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.9);
  font-family: 'Press Start 2P', monospace;
  font-weight: 900;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  pointer-events: auto !important;
  z-index: 10;
  touch-action: manipulation;
}
#reglas .rules-nav:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.32);
}
#reglas .rules-nav:active{ transform: translateY(0); }

#reglas .rules-viewport{
  position: relative;
  height: clamp(240px, 32vw, 360px);
  overflow: visible; /* para que se vean los laterales */
}

#reglas .rules-track{
  position: relative;
  height: 100%;
}

/* Cada item es una “diapositiva” en posición absoluta.
   JS le inyecta variables: --x, --s, --o, --blur, --z y --pe */
#reglas .rules-item{
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: min(560px, 78vw);
  transform: translateX(-50%) translateX(var(--x, 0px)) scale(var(--s, 1));
  opacity: var(--o, 1);
  filter: blur(var(--blur, 0px));
  z-index: var(--z, 1);
  pointer-events: var(--pe, auto);
  transition: transform 420ms ease, opacity 420ms ease, filter 420ms ease;
}

/* Imágenes en reglas: que NO recorten */
#reglas .rules-item .mc-card__image img{
  object-fit: contain;
  image-rendering: pixelated;
}

/* Quita el “cuadrado” del hover SOLO en reglas */
#reglas .rules-item.mc-card:hover{
  background: transparent;
  transform: translateX(-50%) translateX(var(--x, 0px)) scale(var(--s, 1));
}

/* Responsive: en pantallas chicas, oculta laterales (solo centro) */
@media (max-width: 680px){
  #reglas .rules-carousel{
    grid-template-columns: 50px 1fr 50px;
    gap: 8px;
  }
  
  #reglas .rules-nav{
    height: 50px;
    width: 50px;
    font-size: 1.2rem;
  }
  
  #reglas .rules-viewport{
    height: clamp(240px, 50vw, 320px);
  }
  
  #reglas .rules-item{
    width: min(95vw, 600px);
  }
}

/* Ajustes extras para teléfono muy pequeño */
@media (max-width: 480px){
  #reglas .rules-carousel{
    grid-template-columns: 44px 1fr 44px;
    gap: 6px;
  }
  
  #reglas .rules-nav{
    height: 44px;
    width: 44px;
    font-size: 1rem;
  }
  
  #reglas .rules-viewport{
    height: clamp(200px, 55vw, 280px);
  }
}

/* Si alguien odia animaciones, no lo torturamos */
@media (prefers-reduced-motion: reduce){
  #reglas .rules-item{ transition: none; }
}
/* ===== REGLAS: sin glow + centro más grande ===== */

#reglas .rules-item{
  /* neutraliza cualquier glow viejo */
  box-shadow: 0 18px 45px rgba(0,0,0,.55) !important;
  background: transparent !important;
}

/* si todavía quedaba algún estilo de glow por otras reglas */
#reglas .mc-card--glow-green,
#reglas .mc-card--glow-red,
#reglas .mc-card--glow-blue,
#reglas .mc-card--glow-purple,
#reglas .mc-card--glow-yellow,
#reglas .mc-card--glow-orange{
  box-shadow: 0 18px 45px rgba(0,0,0,.55) !important;
}

/* el carrusel necesita más “aire” porque el centro crecerá */
#reglas .rules-item{
  width: min(680px, 86vw);
}

/* REGLAS: quitar por completo el recuadro/sombra de la tarjeta */
#reglas .rules-item{
  box-shadow: none !important;
  background: transparent !important;
  border: 0 !important;
}

/* Y por si el hover global de .mc-card insiste */
#reglas .rules-item:hover{
  box-shadow: none !important;
  background: transparent !important;
}

/* Extra: asegura que el contenedor no aporte fondos raros */
#reglas .rules-viewport,
#reglas .rules-track{
  background: transparent !important;
}

/* =========================
   COUNTDOWN SERVIDOR
   ========================= */

.is-hidden{ display:none !important; }

#servidor .mc-countdown{
  margin: 12px 0 16px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
}

#servidor .mc-countdown__title{
  font-family: 'Press Start 2P', monospace;
  font-size: .75rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: rgba(255,255,255,.92);
}

#servidor .mc-countdown__grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

#servidor .mc-countdown__cell{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  padding: 10px 8px;
  text-align:center;
}

#servidor .mc-countdown__num{
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(1.0rem, 2.2vw, 1.35rem);
  line-height: 1.1;
}

#servidor .mc-countdown__label{
  margin-top: 6px;
  font-weight: 900;
  letter-spacing: 1px;
  font-size: .72rem;
  color: rgba(255,255,255,.7);
  font-family: Inter, system-ui, sans-serif;
}

#servidor .mc-countdown__hint{
  margin: 12px 0 0;
  color: rgba(255,255,255,.75);
  font-family: Inter, system-ui, sans-serif;
  font-size: .9rem;
  line-height: 1.5;
}

/* Animación al desbloquear */
@keyframes popIn{
  from { transform: translateY(8px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
#servidor .mc-join.is-revealed{
  animation: popIn .35s ease-out;
}