:root{
  --yellow:#f6c21a;
  --cream:#fff8d9;
  --ink:#122033;
  --shadow:0 22px 52px rgba(0,0,0,.24);
  --page-side:28px;
}

*{box-sizing:border-box}

html,body{
  margin:0;
  min-height:100%;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:#fff;
  overflow:hidden;
}

body{
  min-height:100dvh;
  position:relative;
    background:url('../../css/img/fondonew5.png') center center / cover no-repeat;

}

body::before{
  content:"";
  position:fixed;
  inset:0;
  background:rgba(15,10,35,.18);
  pointer-events:none;
}

/* Decor */
.kids-bg{
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
}


.orbit{
  position:absolute;
  width:min(880px,70vw);
  height:220px;
  right:-12vw;
  top:8vh;
  border:3px dashed rgba(255,255,255,.34);
  border-left-color:transparent;
  border-bottom-color:rgba(255,255,255,.18);
  border-radius:50%;
  transform:rotate(-18deg);
}

.rocket{
  position:absolute;
  right:9vw;
  top:18vh;
  width:150px;
  height:150px;
  transform:rotate(18deg);
  animation:rocketFloat 5.8s ease-in-out infinite;
  filter:drop-shadow(0 18px 26px rgba(82,38,123,.24));
}

.rocket::before{
  content:"🚀";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-size:112px;
}
.planet-img{
  position:absolute;
  user-select:none;
  pointer-events:none;
  filter:drop-shadow(0 18px 40px rgba(0,0,0,.28));
}

.planet-one{
  width:220px;
  left:7%;
  top:18%;
  animation:planetFloatOne 11s ease-in-out infinite;
}

.planet-two{
  width:170px;
  right:8%;
  bottom:15%;
  animation:planetFloatTwo 9s ease-in-out infinite;
}

@keyframes planetFloatOne{
  0%,100%{
    transform:translateY(0) rotate(0deg);
  }
  50%{
    transform:translateY(-20px) rotate(5deg);
  }
}

@keyframes planetFloatTwo{
  0%,100%{
    transform:translateY(0) rotate(0deg);
  }
  50%{
    transform:translateY(16px) rotate(-6deg);
  }
}
.star-shape{
  position:absolute;
  color:rgba(255,255,255,.78);
  font-size:28px;
  text-shadow:0 8px 18px rgba(63,33,120,.18);
  animation:twinkle 2.8s ease-in-out infinite;
}

.s1{left:13vw;top:20vh}
.s2{right:28vw;top:22vh;animation-delay:-.9s}
.s3{right:18vw;bottom:18vh;animation-delay:-1.6s}
.s4{left:36vw;bottom:12vh;animation-delay:-2.2s}

.blob{
  position:absolute;
  border-radius:38% 62% 55% 45%;
  opacity:.30;
  filter:blur(.2px);
  animation:floaty 7s ease-in-out infinite;
}

.blob.b1{width:130px;height:130px;left:8%;top:34%;background:#ffec6e;}
.blob.b2{width:92px;height:92px;right:6%;top:44%;background:#ffb347;animation-delay:-2s;}
.blob.b3{width:120px;height:120px;left:24%;bottom:18%;background:#ffe66d;animation-delay:-4s;}
.blob.b4{width:86px;height:86px;right:28%;bottom:16%;background:#ff7043;animation-delay:-1s;}

@keyframes floaty{
  0%,100%{transform:translateY(0) rotate(0deg);}
  50%{transform:translateY(-18px) rotate(8deg);}
}

@keyframes rocketFloat{
  0%,100%{transform:translateY(0) rotate(18deg);}
  50%{transform:translateY(-18px) rotate(24deg);}
}

@keyframes twinkle{
  0%,100%{opacity:.42;transform:scale(.9) rotate(0deg);}
  50%{opacity:1;transform:scale(1.12) rotate(12deg);}
}

/* Header */
.header{
  position:fixed;
  z-index:30;
  top:22px;
left:var(--page-side);
right:var(--page-side);
  height:66px;
  padding:0 18px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:rgba(255,255,255,.23);
  border:1px solid rgba(255,255,255,.62);
  box-shadow:0 18px 45px rgba(95,68,0,.18);
  backdrop-filter:blur(14px);
}

.brand{
  height:100%;
  display:flex;
  align-items:center;
  gap:12px;
  color:#fff;
  text-decoration:none;
}

.avatar{
  width:48px;
  height:48px;
  border-radius:50%;
  padding:3px;
  background:linear-gradient(135deg,#fff,#f6c21a);
  box-shadow:0 8px 18px rgba(91,65,0,.24);
}

.avatar img{
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;
  display:block;
}

.brand-title{
  font-size:21px;
  font-weight:900;
  line-height:1;
  text-shadow:0 6px 16px rgba(70,45,0,.26);
}

.header-actions{
  height:100%;
  display:flex;
  align-items:center;
  gap:12px;
}

.icon-btn,
.back{
  width:46px;
  height:46px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(246,194,26,.58);
  border:1px solid rgba(255,255,255,.48);
  box-shadow:0 10px 22px rgba(78,54,0,.24);
  text-decoration:none;
}

.back{
  color:#744b00;
  background:rgba(255,255,255,.78);
  font-size:34px;
  font-weight:900;
}

.icon-btn img{
  width:28px;
  height:28px;
  object-fit:contain;
  display:block;
}

/* Layout */
.page{
  position:relative;
  z-index:2;
  height:100vh;
padding:116px var(--page-side) 112px;
  display:grid;
  grid-template-columns:minmax(320px, 420px) minmax(0, 1fr);
  gap:34px;
  align-items:center;
}

.copy{
  position:relative;
  z-index:8;
  max-width:400px;
  padding-left:0;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
  height:36px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(246,194,26,.86);
  color:#432b00;
  font-size:13px;
  font-weight:900;
  box-shadow:0 12px 28px rgba(0,0,0,.20);
}

.copy h1{
  margin:18px 0 14px;
  font-size:clamp(48px,5.8vw,86px);
  line-height:.88;
  letter-spacing:-.065em;
  font-weight:900;
  text-shadow:0 18px 36px rgba(80,40,120,.22);
}

.copy p{
  margin:0;
  max-width:360px;
  color:rgba(255,255,255,.90);
  font-size:clamp(15px,1.2vw,19px);
  line-height:1.32;
  font-weight:900;
  text-shadow:0 8px 20px rgba(80,40,120,.18);
}

.copy-cta{
  margin-top:26px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  height:58px;
  padding:0 26px;
  border-radius:999px;
  color:#322000;
  background:linear-gradient(135deg,#fff5b1,#f6c21a);
  font-weight:900;
  font-size:18px;
  text-decoration:none;
  box-shadow:0 18px 36px rgba(80,40,120,.24);
}

/* Carrusel igual lógica Planet Kids */
.carousel-wrap{
  position:relative;
  width:100%;
  min-width:0;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
}

.carousel{
  --center-w: min(430px, 32vw);
  --side-w: min(223px, 20vw);
  --gap-x: clamp(18px, 1.6vw, 28px);

  width:calc(var(--center-w) + (var(--side-w) * 2) + (var(--gap-x) * 2));
  max-width:100%;
  height:min(520px,56vh);
  min-height:420px;
  position:relative;
  display:grid;
  place-items:center;
  overflow:visible;
margin-right:0;
}

.live-card{
  position:absolute;
  top:50%;
  left:50%;
  border-radius:30px;
  overflow:hidden;
  border:4px solid rgba(255,255,255,.92);
  box-shadow:0 26px 54px rgba(77,54,0,.24);
  background:#ddd;
  text-decoration:none;
  color:#fff;
  transition:
    transform .55s cubic-bezier(.2,.9,.2,1),
    width .55s cubic-bezier(.2,.9,.2,1),
    height .55s cubic-bezier(.2,.9,.2,1),
    opacity .35s ease,
    filter .35s ease;
  will-change:transform,width,height;
}

.live-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.live-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 18% 16%, rgba(255,255,255,.16), transparent 20%),
    linear-gradient(180deg, rgba(0,0,0,0) 28%, rgba(0,0,0,.72) 100%),
    linear-gradient(90deg, rgba(246,194,26,.12), rgba(255,255,255,.04));
}

.live-content{
  position:absolute;
  z-index:2;
  left:26px;
  right:26px;
  bottom:22px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:12px;
  text-shadow:0 10px 24px rgba(0,0,0,.45);
}

.live-badge{
  display:inline-flex;
  align-items:center;
  height:34px;
  padding:0 12px;
  border-radius:999px;
  color:#ffffff;
  background:#ffd345;
  font-size:13px;
  font-weight:900;
  box-shadow:0 12px 24px rgba(0,0,0,.20);
  text-shadow:none;
}

.live-title{
  font-size:clamp(30px,3vw,48px);
  line-height:.9;
  font-weight:900;
  letter-spacing:-.045em;
  max-width:100%;
}

.live-sub{
  margin-top:-4px;
  color:rgba(255,255,255,.88);
  font-size:15px;
  line-height:1.05;
  font-weight:900;
}

.countdown{
  width:min(390px,100%);
  min-height:70px;
  padding:12px 16px;
  border-radius:24px;
  display:grid;
  place-items:center;
  background:#fffefb;
  color:#2f260d;
  box-shadow:0 16px 28px rgba(0,0,0,.18);
  text-shadow:none;
}

.clock{
  font-size:clamp(21px,2.2vw,32px);
  line-height:1;
  font-weight:900;
  letter-spacing:-.03em;
  color: #d0b867;
}

.count-label{
  margin-top:4px;
  font-size:12px;
  font-weight:900;
  color:#d0b867;
}

.live-desc{
  display:none;
}

.live-card.center{
  width:var(--center-w);
  height:100%;
  transform:translate(-50%,-50%) scale(1);
  z-index:5;
  opacity:1;
  filter:saturate(1.05) contrast(1.02);
}

.live-card.left{
  width:var(--side-w);
  height:88%;
  transform:
    translate(
      calc(-50% - (var(--center-w) / 2) - (var(--side-w) / 2) - var(--gap-x)),
      -50%
    )
    scale(.96);
  z-index:3;
  opacity:.78;
  filter:saturate(.78) brightness(.92);
}

.live-card.right{
  width:var(--side-w);
  height:88%;
  transform:
    translate(
      calc(-50% + (var(--center-w) / 2) + (var(--side-w) / 2) + var(--gap-x)),
      -50%
    )
    scale(.96);
  z-index:3;
  opacity:.78;
  filter:saturate(.78) brightness(.92);
}

.live-card.hidden{
  width:300px;
  height:78%;
  opacity:0;
  pointer-events:none;
  transform:translate(-50%,-50%) scale(.82);
  z-index:1;
}

.live-card.left .live-title,
.live-card.right .live-title{
  font-size:clamp(24px,2.3vw,34px);
}

.live-card.left .countdown,
.live-card.right .countdown{
  min-height:58px;
  padding:10px;
}

.live-card.left .clock,
.live-card.right .clock{
  font-size:18px;
}

.live-card.left .live-sub,
.live-card.right .live-sub{
  display:none;
}

.arrow{
  position:absolute;
  z-index:30;
  top:50%;
  transform:translateY(-50%);
  width:58px;
  height:58px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.82);
  background:rgba(255,255,255,.86);
  color:#a07000;
  font-size:38px;
  line-height:1;
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow:0 16px 34px rgba(88,58,0,.18);
  transition:background .18s ease;
}

.arrow:hover{
  background:#fff;
}

.arrow.prev{
  left:calc(
    50%
    - (var(--center-w) / 2)
    - (var(--side-w) / 2)
    - var(--gap-x)
  );
  transform:translate(-50%,-50%);
}

.arrow.next{
  left:calc(
    50%
    + (var(--center-w) / 2)
    + (var(--side-w) / 2)
    + var(--gap-x)
  );
  right:auto;
  transform:translate(-50%,-50%);
}

.dots{
  position:absolute;
  left:50%;
  bottom:92px;
  transform:translateX(-50%);
  z-index:12;
  display:flex;
  justify-content:center;
  gap:8px;
}

.dot{
  width:9px;
  height:9px;
  border-radius:50%;
  border:0;
  padding:0;
  background:rgba(255,255,255,.56);
  cursor:pointer;
}

.dot.active{
  width:26px;
  border-radius:999px;
  background:#fff;
}

/* Footer */
.footer{
  position:fixed;
  z-index:30;
  left:28px;
  right:28px;
  bottom:18px;
  height:78px;
  padding:0 34px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  /* background:rgba(255,253,240,.78); */
  border:1px solid rgba(255,255,255,.72);
  box-shadow:0 -10px 34px rgba(90,61,0,.16);
  backdrop-filter:blur(14px);
}
.tab{
  width:70px;
  height:62px;
  border-radius:22px;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;

  text-decoration:none;
  color:#fff;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.28);
  backdrop-filter:blur(8px);
}

.tab-icon{
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:20px;
  background:rgba(255,255,255,.82);
  color:#5f4a20;
}

.tab-label{
  font-size:10px;
  font-weight:900;
  line-height:1;
  color:#fff;
  text-shadow:0 2px 6px rgba(0,0,0,.6);
}

.tab.active{
  background:rgba(246,194,26,.95);
}

.tab.active{
  background:#f6c21a;
  box-shadow:0 12px 24px rgba(142,99,0,.18);
}

.tab{
  width:70px;
  height:62px;
  border-radius:22px;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;

  text-decoration:none;
  color:#fff;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.28);
  backdrop-filter:blur(8px);
}

.tab-icon{
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:20px;
  background:rgba(255,255,255,.82);
  color:#5f4a20;
}

.tab-label{
  font-size:10px;
  font-weight:900;
  line-height:1;
  color:#fff;
  text-shadow:0 2px 6px rgba(0,0,0,.6);
}

.tab.active{
  background:rgba(246,194,26,.95);
}

.tab.active{
  background:#f6c21a;
  box-shadow:0 12px 24px rgba(142,99,0,.18);
}

/* .tab{
  width:58px;
  height:58px;
  border-radius:50%;
  display:grid;
  place-items:center;
  text-decoration:none;
  font-size:22px;
  color:#5f4a20;
  background:rgba(255,255,255,.68);
}

.tab.active{
  background:#f6c21a;
  box-shadow:0 12px 24px rgba(142,99,0,.18);
} */

@media (max-width:1100px){
  .page{
    grid-template-columns:1fr;
    padding-top:102px;
    gap:16px;
  }

  .copy{
    max-width:none;
    padding-left:0;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:18px;
  }

  .copy h1{
    font-size:38px;
    margin:8px 0;
  }

  .copy p{
    display:none;
  }

  .copy-cta{
    margin-top:0;
    height:50px;
    padding:0 20px;
  }

  .carousel{
    --center-w:62vw;
    --side-w:24vw;
    --gap-x:26px;
  }
}

@media (max-width:760px){
  html,body{overflow:auto}

  .header{
    left:14px;
    right:14px;
    top:12px;
    height:58px;
  }

  .brand-title{font-size:18px}
  .avatar{width:42px;height:42px}
  .icon-btn,.back{width:40px;height:40px}

  .page{
    height:auto;
    min-height:100vh;
    padding:92px 14px 110px;
  }

  .copy{
    display:block;
  }

  .kicker{
    height:32px;
    font-size:12px;
  }

  .copy h1{
    font-size:40px;
  }

  .copy p{
    display:block;
    font-size:14px;
  }

  .carousel{
    --center-w:84vw;
    --side-w:0px;
    --gap-x:0px;
    height:560px;
    min-height:560px;
  }

  .live-card.center{
    width:var(--center-w);
    height:500px;
  }

  .live-card.left,
  .live-card.right{
    display:none;
  }

  .live-content{
    left:20px;
    right:20px;
  }

  .live-title{
    font-size:34px;
  }

  .countdown{
    min-height:64px;
  }

  .clock{
    font-size:25px;
  }

  .arrow{
    width:52px;
    height:52px;
    font-size:34px;
  }

  .arrow.prev{
    left:24px;
    transform:translate(0,-50%);
  }

  .arrow.next{
    left:auto;
    right:24px;
    transform:translate(0,-50%);
  }

  .dots{
    bottom:92px;
  }

  .footer{
    left:12px;
    right:12px;
    bottom:10px;
    height:72px;
    padding:0 14px;
  }

  .tab{
    width:50px;
    height:50px;
  }
}
