.hero-game-cards{position:absolute;z-index:4;left:1.5%;bottom:7%;display:grid;grid-template-columns:190px 112px;grid-template-rows:1fr 1fr;gap:9px;width:311px;filter:drop-shadow(0 22px 30px rgba(0,0,0,.42))}
.hero-game-card{position:relative;display:grid;grid-template-columns:46px 1fr;grid-template-rows:auto 1fr;gap:1px 8px;align-items:center;min-width:0;padding:7px;border:1px solid rgba(232,64,81,.48);border-radius:15px;background:linear-gradient(145deg,rgba(11,24,50,.94),rgba(35,12,54,.92));color:#fff;font:inherit;text-align:left;cursor:pointer;backdrop-filter:blur(10px);overflow:hidden}
.hero-game-card:focus-visible{outline:2px solid #fff;outline-offset:3px}
.hero-game-card:nth-child(3) img{content:url("/assets/providers/amigo/harvest-moon-grave-profits.webp?v=1")}
.hero-game-card::after{content:"";position:absolute;inset:-1px;border-radius:inherit;background:linear-gradient(135deg,rgba(255,255,255,.22),transparent 38%,rgba(115,184,255,.18));pointer-events:none}
.hero-game-card-main{grid-row:1/3;display:flex;flex-direction:column;padding:9px;border-radius:22px;transform:rotate(-2deg)}
.hero-game-card span{position:relative;z-index:2;grid-column:2;color:#bcd3f5;font-size:6px;font-weight:900;letter-spacing:.09em;white-space:nowrap}
.hero-game-card b{position:relative;z-index:2;grid-column:2;color:#fff;font-size:9px;line-height:1.12;overflow-wrap:anywhere}
.hero-game-card img{position:relative;z-index:1;grid-row:1/3;width:46px;height:46px;border-radius:10px;object-fit:cover}
.hero-game-card-main span{margin-bottom:4px;font-size:7px}.hero-game-card-main img{width:100%;height:auto;max-height:156px;border-radius:16px;object-fit:contain}.hero-game-card-main b{margin-top:4px;font-size:11px;text-align:center}
@media(prefers-reduced-motion:no-preference){.hero-paraguay.active .hero-game-cards{animation:hero-game-float 5.8s -2s ease-in-out infinite}@keyframes hero-game-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}}
@media(min-width:701px) and (max-width:1100px){.hero-game-cards{left:0;bottom:8%;grid-template-columns:145px 98px;width:252px}.hero-game-card-main img{max-height:116px}}
@media(max-width:700px){.hero-game-cards{z-index:4;left:10px;bottom:12px;grid-template-columns:102px 90px;gap:5px;width:197px;filter:drop-shadow(0 12px 22px rgba(0,0,0,.48))}.hero-game-card{grid-template-columns:34px 1fr;gap:1px 5px;padding:4px;border-radius:10px}.hero-game-card img{width:34px;height:34px;border-radius:7px}.hero-game-card span{font-size:4px}.hero-game-card b{font-size:7px}.hero-game-card-main{padding:5px;border-radius:14px}.hero-game-card-main img{max-height:82px;border-radius:10px}.hero-game-card-main span{font-size:5px}.hero-game-card-main b{font-size:7px}.hero-paraguay.active .hero-game-cards{animation:none}}
@media(max-width:360px){.hero-game-cards{left:7px;grid-template-columns:90px 82px;width:177px}.hero-game-card-main img{max-height:72px}}

/* Composición compacta del primer banner en teléfonos. */
@media(max-width:700px){
  .hero-carousel{min-height:520px!important}
  .hero-paraguay{min-height:520px!important;padding:0!important}
  .hero-paraguay .hero-copy{width:100%;padding:70px 20px 0!important}
  .hero-paraguay h1{max-width:330px!important;font-size:clamp(32px,9.2vw,39px)!important;line-height:.98!important}
  .hero-paraguay .hero-actions{margin-top:18px!important}
  .hero-paraguay .hero-actions .button-primary{width:184px!important;min-height:48px!important;font-size:13px!important}
  .hero-paraguay .hero-tiger-art{inset:0!important;height:100%!important}
  .hero-paraguay .paraguay-tiger{right:-28px!important;bottom:32px!important;width:275px!important;max-width:none!important}
  .hero-paraguay::after{background:linear-gradient(180deg,rgba(5,9,19,.98) 0%,rgba(5,9,19,.82) 25%,rgba(5,9,19,.16) 49%,transparent 68%)!important}
  .hero-game-cards{left:12px!important;bottom:92px!important;width:190px;grid-template-columns:98px 87px;gap:5px}
  .hero-game-card-main img{max-height:76px}
  .hero-dots{bottom:72px!important}
}

@media(max-width:380px){
  .hero-paraguay .hero-copy{padding:62px 17px 0!important}
  .hero-paraguay h1{max-width:305px!important;font-size:33px!important}
  .hero-paraguay .paraguay-tiger{right:-36px!important;bottom:36px!important;width:255px!important}
  .hero-game-cards{left:9px!important;bottom:94px!important;width:176px;grid-template-columns:91px 80px}
  .hero-paraguay .hero-actions .button-primary{width:174px!important}
}

/* Carrusel orbital: cada juego ocupa por turno la tarjeta destacada. */
@media(min-width:701px) and (prefers-reduced-motion:no-preference){
  .hero-game-cards{display:block;height:240px;animation:none!important;filter:drop-shadow(0 22px 30px rgba(0,0,0,.42))}
  .hero-game-card,.hero-game-card-main{position:absolute;display:flex;flex-direction:column;justify-content:flex-start;gap:3px;margin:0;padding:8px;transform:none;animation:hero-card-orbit 12s ease-in-out infinite;will-change:left,top,width,height,transform}
  .hero-game-card:nth-child(1){animation-delay:0s}
  .hero-game-card:nth-child(2){animation-delay:-4s}
  .hero-game-card:nth-child(3){animation-delay:-8s}
  .hero-game-card span,.hero-game-card-main span{grid-column:auto;width:100%;margin:0 0 3px;text-align:center;animation:hero-card-label 12s ease-in-out infinite}
  .hero-game-card b,.hero-game-card-main b{grid-column:auto;width:100%;margin:2px 0 0;text-align:center;animation:hero-card-title 12s ease-in-out infinite}
  .hero-game-card img,.hero-game-card-main img{grid-row:auto;width:100%;max-height:none;border-radius:14px;object-fit:contain;animation:hero-card-image 12s ease-in-out infinite}
  .hero-game-card:nth-child(1) span,.hero-game-card:nth-child(1) b,.hero-game-card:nth-child(1) img{animation-delay:0s}
  .hero-game-card:nth-child(2) span,.hero-game-card:nth-child(2) b,.hero-game-card:nth-child(2) img{animation-delay:-4s}
  .hero-game-card:nth-child(3) span,.hero-game-card:nth-child(3) b,.hero-game-card:nth-child(3) img{animation-delay:-8s}
  @keyframes hero-card-orbit{
    0%,27%{left:0;top:0;z-index:3;width:190px;height:240px;border-radius:22px;transform:rotate(-2deg)}
    33%,60%{left:199px;top:0;z-index:2;width:112px;height:115px;border-radius:15px;transform:rotate(0)}
    66%,93%{left:199px;top:124px;z-index:1;width:112px;height:115px;border-radius:15px;transform:rotate(0)}
    100%{left:0;top:0;z-index:3;width:190px;height:240px;border-radius:22px;transform:rotate(-2deg)}
  }
  @keyframes hero-card-image{
    0%,27%,100%{height:166px}
    33%,93%{height:61px}
  }
  @keyframes hero-card-label{
    0%,27%,100%{font-size:7px;letter-spacing:.1em}
    33%,93%{font-size:5px;letter-spacing:.06em}
  }
  @keyframes hero-card-title{
    0%,27%,100%{font-size:11px;line-height:1.12}
    33%,93%{font-size:7px;line-height:1.05}
  }
}

@media(min-width:701px) and (max-width:1100px) and (prefers-reduced-motion:no-preference){
  .hero-game-cards{width:252px;height:190px}
  @keyframes hero-card-orbit{
    0%,27%{left:0;top:0;z-index:3;width:145px;height:190px;border-radius:19px;transform:rotate(-2deg)}
    33%,60%{left:154px;top:0;z-index:2;width:98px;height:91px;border-radius:13px;transform:rotate(0)}
    66%,93%{left:154px;top:99px;z-index:1;width:98px;height:91px;border-radius:13px;transform:rotate(0)}
    100%{left:0;top:0;z-index:3;width:145px;height:190px;border-radius:19px;transform:rotate(-2deg)}
  }
  @keyframes hero-card-image{0%,27%,100%{height:122px}33%,93%{height:43px}}
}

/* En móvil, la vitrina de juegos reemplaza al personaje para dar prioridad a las portadas. */
@media(max-width:700px){
  .hero-carousel,.hero-paraguay{min-height:690px!important}
  .hero-paraguay .hero-copy{padding:72px 20px 330px!important}
  .hero-paraguay h1{max-width:340px!important}
  .hero-paraguay .paraguay-tiger{display:none!important}
  .hero-paraguay .hero-aurora{opacity:.48}
  .hero-paraguay .orbit{opacity:.34}
  .hero-paraguay::after{background:linear-gradient(180deg,rgba(5,9,19,.99) 0%,rgba(5,9,19,.9) 31%,rgba(5,9,19,.42) 53%,rgba(5,9,19,.08) 78%),radial-gradient(circle at 50% 80%,rgba(40,102,199,.22),transparent 48%)!important}
  .hero-game-cards{left:50%!important;bottom:72px!important;width:calc(100% - 30px)!important;max-width:380px;height:254px;grid-template-columns:minmax(0,1.22fr) minmax(0,.9fr)!important;grid-template-rows:1fr 1fr;gap:9px!important;filter:drop-shadow(0 18px 28px rgba(0,0,0,.62));transform:translateX(-50%)!important;pointer-events:auto}
  .hero-game-cards::before{top:-23px!important;font-size:8px!important;letter-spacing:.12em!important}
  .hero-game-card{grid-template-columns:58px minmax(0,1fr);gap:3px 8px;padding:8px;border-radius:15px}
  .hero-game-card img{width:58px;height:58px;border-radius:10px}
  .hero-game-card span{font-size:6px}
  .hero-game-card b{font-size:9px;line-height:1.15}
  .hero-game-card-main{grid-row:1/3;padding:10px;border-radius:21px;transform:rotate(-1deg)}
  .hero-game-card-main img{width:100%;height:174px;max-height:174px;border-radius:15px;object-fit:contain}
  .hero-game-card-main span{font-size:7px}
  .hero-game-card-main b{margin-top:6px;font-size:11px;line-height:1.15}
  .hero-dots{bottom:36px!important}
}

@media(max-width:380px){
  .hero-carousel,.hero-paraguay{min-height:670px!important}
  .hero-paraguay .hero-copy{padding:66px 17px 320px!important}
  .hero-game-cards{bottom:70px!important;width:calc(100% - 20px)!important;height:240px;grid-template-columns:minmax(0,1.18fr) minmax(0,.92fr)!important;gap:7px!important}
  .hero-game-card{grid-template-columns:50px minmax(0,1fr);gap:2px 6px;padding:6px}
  .hero-game-card img{width:50px;height:50px}
  .hero-game-card-main img{width:100%;height:160px;max-height:160px}
}

/* Vitrina compacta: las tres portadas quedan completas y por encima de la navegación móvil. */
@media(max-width:700px){
  .hero-carousel,.hero-paraguay{min-height:560px!important}
  .hero-paraguay .hero-copy{padding:55px 18px 250px!important}
  .hero-paraguay h1{max-width:350px!important;font-size:clamp(31px,8.8vw,38px)!important}
  .hero-paraguay .hero-actions{margin-top:20px!important}
  .hero-paraguay .hero-aurora,.hero-paraguay .orbit{display:none}
  .hero-game-cards{top:auto!important;left:50%!important;bottom:48px!important;width:calc(100% - 24px)!important;max-width:390px;height:166px;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:1fr!important;gap:7px!important;transform:translateX(-50%)!important}
  .hero-game-cards::before{top:-20px!important;font-size:7px!important}
  .hero-game-card,.hero-game-card-main{position:relative!important;display:flex!important;flex-direction:column;justify-content:flex-start;gap:4px;width:auto!important;height:166px!important;margin:0!important;padding:7px!important;border-radius:15px!important;transform:none!important}
  .hero-game-card span,.hero-game-card-main span{width:100%;height:10px;margin:0;text-align:center;font-size:5px!important;line-height:10px;overflow:hidden;text-overflow:ellipsis}
  .hero-game-card img,.hero-game-card-main img{width:100%!important;height:104px!important;max-height:104px!important;border-radius:10px!important;object-fit:contain!important}
  .hero-game-card b,.hero-game-card-main b{display:-webkit-box;width:100%;margin:1px 0 0!important;overflow:hidden;text-align:center;font-size:8px!important;line-height:1.15!important;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  .hero-dots{bottom:17px!important}
}

@media(max-width:360px){
  .hero-carousel,.hero-paraguay{min-height:545px!important}
  .hero-paraguay .hero-copy{padding:48px 15px 242px!important}
  .hero-game-cards{bottom:46px!important;width:calc(100% - 16px)!important;height:158px;gap:5px!important}
  .hero-game-card,.hero-game-card-main{height:158px!important;padding:6px!important}
  .hero-game-card img,.hero-game-card-main img{height:98px!important;max-height:98px!important}
}

/* Ajuste final: continuidad visual entre el CTA y la fila de juegos. */
@media(max-width:700px){
  .hero-carousel,.hero-paraguay{min-height:465px!important}
  .hero-paraguay .hero-copy{padding:63px 18px 216px!important}
  .hero-paraguay h1{font-size:clamp(30px,8.5vw,36px)!important;line-height:1!important}
  .hero-paraguay .hero-actions{margin-top:18px!important}
  .hero-paraguay .hero-actions .button-primary{width:178px!important;min-height:46px!important}
  .hero-game-cards{top:230px!important;bottom:auto!important;height:154px}
  .hero-game-cards::before{top:-19px!important;color:#f2c96d!important;font-size:7px!important}
  .hero-game-card,.hero-game-card-main{height:154px!important;padding:6px!important}
  .hero-game-card img,.hero-game-card-main img{height:94px!important;max-height:94px!important}
  .hero-game-card b,.hero-game-card-main b{font-size:8px!important}
  .hero-dots{bottom:12px!important}
}

@media(max-width:360px){
  .hero-carousel,.hero-paraguay{min-height:455px!important}
  .hero-paraguay .hero-copy{padding:58px 15px 207px!important}
  .hero-game-cards{top:226px!important;height:148px}
  .hero-game-card,.hero-game-card-main{height:148px!important}
  .hero-game-card img,.hero-game-card-main img{height:89px!important;max-height:89px!important}
}

/* Banner dedicado a Amigo Gaming. */
.hero-amigo-feature{background:radial-gradient(circle at 79% 46%,rgba(147,69,255,.34),transparent 28%),radial-gradient(circle at 58% 18%,rgba(232,64,81,.22),transparent 25%),linear-gradient(118deg,#070b18 7%,#17102f 56%,#2a1038);overflow:hidden}
.hero-amigo-feature::before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,rgba(5,9,19,.96) 0%,rgba(5,9,19,.64) 45%,rgba(5,9,19,.1) 75%),repeating-linear-gradient(125deg,transparent 0 70px,rgba(255,255,255,.018) 71px 72px);pointer-events:none}
.hero-amigo-feature .hero-copy{position:relative;z-index:4}
.hero-amigo-feature .kicker{padding-left:92px}
.hero-amigo-feature h1 em{background:linear-gradient(90deg,#ff5d70,#f4b5ff 50%,#74b9ff);background-clip:text;-webkit-background-clip:text;color:transparent}
.amigo-banner-art{position:relative;z-index:3;min-height:390px;align-self:center;filter:drop-shadow(0 28px 38px rgba(0,0,0,.5))}
.amigo-banner-art::before{content:"";position:absolute;left:50%;top:50%;width:430px;height:430px;border:1px solid rgba(242,201,109,.2);border-radius:50%;box-shadow:0 0 0 52px rgba(115,184,255,.045),0 0 80px rgba(147,69,255,.24);transform:translate(-50%,-50%)}
.amigo-banner-art>strong{position:absolute;right:1%;top:8%;color:rgba(255,255,255,.1);font-size:46px;font-style:italic;line-height:.82;letter-spacing:-.06em;text-align:right}
.amigo-banner-game{position:absolute;display:flex;flex-direction:column;gap:7px;padding:10px;border:1px solid rgba(255,255,255,.22);border-radius:22px;background:linear-gradient(155deg,rgba(32,42,81,.96),rgba(41,14,58,.94));box-shadow:0 22px 48px rgba(0,0,0,.48);color:#fff;cursor:pointer;transition:transform .25s ease,border-color .25s ease}
.amigo-banner-game:hover{z-index:6;border-color:#f2c96d;transform:translateY(-8px) rotate(0) scale(1.035)}
.amigo-banner-game img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:15px;background:rgba(3,8,20,.34)}
.amigo-banner-game span{overflow:hidden;font-size:11px;font-weight:900;text-align:center;text-overflow:ellipsis;white-space:nowrap}
.amigo-banner-game-one{z-index:4;left:3%;top:15%;width:215px;transform:rotate(-5deg)}
.amigo-banner-game-two{z-index:3;left:42%;top:3%;width:170px;transform:rotate(5deg)}
.amigo-banner-game-three{z-index:5;left:48%;top:49%;width:180px;transform:rotate(2deg)}
@media(prefers-reduced-motion:no-preference){.hero-amigo-feature.active .amigo-banner-game-one{animation:amigo-card-float 5.2s ease-in-out infinite}.hero-amigo-feature.active .amigo-banner-game-two{animation:amigo-card-float 5.8s -1.7s ease-in-out infinite}.hero-amigo-feature.active .amigo-banner-game-three{animation:amigo-card-float 5.5s -3.1s ease-in-out infinite}@keyframes amigo-card-float{0%,100%{margin-top:0}50%{margin-top:-10px}}}
@media(max-width:1000px) and (min-width:701px){.amigo-banner-game-one{width:180px}.amigo-banner-game-two{left:43%;width:142px}.amigo-banner-game-three{left:47%;width:150px}.amigo-banner-art::before{width:340px;height:340px}}
@media(max-width:700px){.hero-amigo-feature{display:block;min-height:500px!important;padding:0!important}.hero-amigo-feature .hero-copy{width:100%;padding:54px 18px 236px!important}.hero-amigo-feature h1{font-size:clamp(31px,8.7vw,38px)!important;line-height:1!important}.hero-amigo-feature .social-hero-intro{display:none}.hero-amigo-feature .hero-actions{margin-top:18px!important}.hero-amigo-feature .hero-actions .button-primary{min-height:46px;padding:0 16px;font-size:12px}.hero-amigo-feature .adult-note{display:none}.amigo-banner-art{position:absolute;left:0;right:0;bottom:46px;min-height:190px;filter:drop-shadow(0 15px 24px rgba(0,0,0,.52))}.amigo-banner-art::before{width:260px;height:180px}.amigo-banner-art>strong{display:none}.amigo-banner-game{top:18px!important;width:31%!important;padding:6px;border-radius:14px;transform:none!important}.amigo-banner-game-one{left:2%}.amigo-banner-game-two{left:34.5%}.amigo-banner-game-three{left:67%}.amigo-banner-game img{border-radius:9px}.amigo-banner-game span{font-size:7px}.hero-amigo-feature.active .amigo-banner-game{animation:none!important}}
@media(max-width:700px){.hero-amigo-feature .kicker{padding-left:0}}

/* Selección fija solicitada para la sección Amigo Gaming. */
.amigo-added-games{width:100%;max-width:1280px;margin:0 auto;padding:30px 24px 72px}
body[data-section="casino"] main>.amigo-added-games{display:block}
.amigo-added-games header{display:flex;align-items:end;justify-content:space-between;margin-bottom:22px}
.amigo-added-games h2{margin:5px 0 7px;color:#fff;font-size:32px;letter-spacing:-.035em}
.amigo-added-games header p:last-child{margin:0;color:#9eacc2;font-size:13px}
.amigo-added-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}
.amigo-added-grid>button{min-width:0;padding:0;overflow:hidden;border:1px solid rgba(255,255,255,.11);border-radius:17px;background:linear-gradient(155deg,#192544,#260f36);box-shadow:0 13px 30px rgba(0,0,0,.28);color:#fff;text-align:left;cursor:pointer;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.amigo-added-grid>button:hover{border-color:#f2c96d;box-shadow:0 18px 38px rgba(0,0,0,.4),0 0 24px rgba(242,201,109,.12);transform:translateY(-5px)}
.amigo-added-grid img{display:block;width:100%;aspect-ratio:1.18;object-fit:cover;background:#10091c}
.amigo-added-grid span{display:grid;gap:5px;padding:13px 14px 15px}
.amigo-added-grid b{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.amigo-added-grid small{color:#73b8ff;font-size:8px;font-weight:900;letter-spacing:.12em}
@media(max-width:900px){.amigo-added-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.amigo-added-games{padding:25px 12px 38px}.amigo-added-games h2{font-size:24px}.amigo-added-games header p:last-child{font-size:11px}.amigo-added-grid{display:flex;gap:10px;overflow-x:auto;padding:0 1px 10px;scroll-snap-type:x mandatory}.amigo-added-grid>button{flex:0 0 43%;border-radius:14px;scroll-snap-align:start}.amigo-added-grid span{padding:10px}.amigo-added-grid b{font-size:11px}}
