/* ===== v3 hero: full-width painted landscape like the reference, carousel of three cards ===== */
.hero__art { display: none; }
.hero { overflow: visible; }
.hero__bg { position: absolute; top: 0; left: 50%; width: 100vw; height: max(calc(100vw * 1176 / 2752), 100vh); transform: translateX(-50%); z-index: -1; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
.hero__scene { position: absolute; inset: 0; background: center 40% / cover no-repeat; opacity: 0; transition: opacity 1.4s ease; }
.hero__scene.is-on { opacity: 1; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 10, 16, .84) 0%, rgba(3, 10, 16, .55) 44%, rgba(3, 10, 16, .16) 100%), linear-gradient(180deg, rgba(3, 10, 16, .35) 0%, transparent 18%); }

/* carousel of three cards; the ring under them is the clock */
.hero__fan { height: 600px; perspective: 1600px; }
.hero__fan .hero__card.card { position: absolute; left: 50%; top: 50%; width: 270px; transition: transform 1.1s cubic-bezier(.65, 0, .35, 1), filter 1.1s, z-index 0s .55s; animation: none !important; }
.hero__fan .hero__card[data-pos="c"] { transform: translate(-50%, -54%) scale(1.06); z-index: 3; filter: none; }
.hero__fan .hero__card[data-pos="l"] { transform: translate(-120%, -47%) rotate(-11deg) scale(.9); z-index: 2; filter: brightness(.82); }
.hero__fan .hero__card[data-pos="r"] { transform: translate(20%, -47%) rotate(11deg) scale(.9); z-index: 1; filter: brightness(.82); }
.hero__fan:hover .hero__card.hero__card[data-pos="l"] { transform: translate(-128%, -48%) rotate(-13deg) scale(.9); }
.hero__fan:hover .hero__card.hero__card[data-pos="r"] { transform: translate(28%, -48%) rotate(13deg) scale(.9); }
.hero__card { cursor: pointer; }
.hero__ring { position: absolute; left: 50%; bottom: 34px; width: 360px; height: 54px; transform: translateX(-50%); border-radius: 50%; border: 1px solid rgba(160, 255, 230, .18); animation: heroTick 8s linear infinite; }
.hero__ring::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; padding: 2px; background: conic-gradient(var(--teal) calc(var(--p, 0) * 1%), transparent 0); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; filter: drop-shadow(0 0 6px var(--teal)); }
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
@keyframes heroTick { from { --p: 0; } to { --p: 100; } }

/* notes ride the carousel */
.note { transition: opacity .45s, transform .45s; animation: none; }
.note.is-out { opacity: 0; transform: scale(.85); }
.note span b { color: #fff; } .note span i { font-style: normal; color: var(--lime); font-family: var(--mono); margin-left: 4px; }
.note--a { top: 6%; left: 22%; } .note--b { bottom: 12%; left: 30%; } .note--c { bottom: 22%; right: -2%; }

@media (max-width: 900px) {
  .hero__bg { height: 100%; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(3, 10, 16, .45) 0%, rgba(3, 10, 16, .7) 45%, rgba(3, 10, 16, .78) 100%); }
  .hero__fan .hero__card { width: 190px; }
  .hero__ring { width: 260px; bottom: 10px; }
}
.hero__fan:hover .hero__card.hero__card[data-pos="c"] { transform: translate(-50%, -54%) scale(1.06); }
.hero__scene--sky { background-image: url(img/world-sky.webp); }
.hero__bg.is-ready .hero__scene--fire { background-image: url(img/world-fire.webp); }
.hero__bg.is-ready .hero__scene--forest { background-image: url(img/world-forest.webp); }
@media (max-width: 900px) { .hero__scene--sky { background-image: url(img/world-sky-m.webp); } .hero__bg.is-ready .hero__scene--fire { background-image: url(img/world-fire-m.webp); } .hero__bg.is-ready .hero__scene--forest { background-image: url(img/world-forest-m.webp); } }

/* ===== collection like the reference: panel left, words + gems right, then a ribbon of big cards ===== */
.world2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; margin-top: 40px; text-align: left; }
.world2__l { padding: 34px 30px 30px; text-align: center; }
.world2__l h3 { font-size: clamp(26px, 2.4vw, 36px); text-shadow: 0 0 24px rgba(29, 233, 196, .5); }
.world2__l .micro { color: #dff; font-weight: 700; margin: 8px 0 14px; }
.world2__r p { font-size: clamp(16px, 1.2vw, 19px); line-height: 1.75; color: #cfe6e3; margin-bottom: 22px; }
.world2__r .gems { gap: 14px; flex-wrap: wrap; } .world2__r .gem { width: 50px; height: 42px; }
.world2__r .gemtip { flex-basis: 100%; margin: 8px 0 0; font-size: 13px; }
.deal { position: relative; height: 380px; cursor: pointer; }
.deal .card { position: absolute; left: 50%; top: 50%; width: 190px; transform: translate(-50%, -50%) translateX(calc(var(--i) * 62px)) translateY(calc(var(--i) * var(--i) * 6px)) rotate(calc(var(--i) * 7deg)); transition: transform .45s cubic-bezier(.22, .8, .24, 1), opacity .3s; }
.deal:hover .card { transform: translate(-50%, -54%) translateX(calc(var(--i) * 74px)) translateY(calc(var(--i) * var(--i) * 6px)) rotate(calc(var(--i) * 8deg)); }
.deal.is-dealing .card { transform: translate(-50%, -50%) rotate(0deg); opacity: .4; }
.ribbon { gap: 26px; padding: 80px calc(50vw - 150px) 100px; margin-bottom: -70px; scroll-snap-type: x proximity; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ribbon figure { flex: 0 0 clamp(230px, 15.5vw, 300px); scroll-snap-align: center; transition: transform .5s cubic-bezier(.22, .8, .24, 1); }
.ribbon figcaption { font-size: 13px; color: var(--mute); margin-bottom: 12px; white-space: nowrap; }
.ribbon figcaption b { color: var(--teal); }
.ribbon figure.is-mid .card { box-shadow: 0 0 0 2px #fff inset, 0 0 0 3px var(--teal), 0 0 60px -6px var(--teal), 0 30px 60px -20px #000; }
.ribbon figure.is-mid { transform: translateY(-6px); }
@media (max-width: 900px) { .world2 { grid-template-columns: 1fr; gap: 30px; } .deal { height: 320px; } .deal .card { width: 150px; } }

/* phones: calm, no scaling while you drag; the middle one is simply bigger */
.phone { transition: none; transform: none; opacity: .8; }
.phone.is-mid { transform: none; opacity: 1; }
.phones .phone:nth-child(3) { transform: scale(1.06); opacity: 1; }
.phones { scroll-behavior: auto; }
/* small cards inside phones: fixed type so numbers never blow up */
.phone .card { container-type: normal; padding: 3px; border-radius: 9px; }
.phone .card__in { border-radius: 7px; }
.phone .card__name { font-size: 8px; top: 5px; left: 5px; right: 5px; }
.phone .card__rar, .phone .card__type { font-size: 5px; padding: 2px 3px; }
.phone .card__mana { width: 13px; height: 13px; font-size: 7px; left: 4px; bottom: 4px; }
.phone .card__stats { gap: 2px; padding: 3px; }
.phone .card__stats span { font-size: 6px; padding: 2px 3px; border-radius: 3px; }
.phone .card__stats b { font-size: 9px; }
.phone .card__foot { font-size: 4.5px; padding: 2px 4px; }
.phone .ph-big .card__name { font-size: 12px; } .phone .ph-big .card__stats b { font-size: 12px; } .phone .ph-big .card__stats span { font-size: 8px; }

/* ===== trailer and gameplay clips ===== */
.trailer { position: relative; z-index: 2; padding: 40px 0 0; }
.tv { position: relative; max-width: 1180px; margin: 0 auto; border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; border: 1px solid rgba(29, 233, 196, .45); box-shadow: 0 0 0 1px rgba(29, 233, 196, .12) inset, 0 0 90px -20px rgba(29, 233, 196, .5), 0 50px 100px -40px #000; }
.tv video { width: 100%; height: 100%; display: block; object-fit: cover; }
.tv__play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; background: radial-gradient(circle, rgba(3, 8, 13, .25), rgba(3, 8, 13, .6)); transition: opacity .4s; }
.tv__play i { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(180deg, #6ff7dc, var(--teal)); box-shadow: 0 0 50px -6px var(--teal); position: relative; transition: transform .3s var(--ease); }
.tv__play i::after { content: ""; position: absolute; left: 38px; top: 30px; border-style: solid; border-width: 18px 0 18px 28px; border-color: transparent transparent transparent #04201b; }
.tv__play span { font: 400 20px/1 var(--title); text-transform: uppercase; text-shadow: 0 2px 10px #000; }
.tv__play:hover i { transform: scale(1.08); }
.tv.is-on .tv__play { opacity: 0; pointer-events: none; }
.clipframe { position: relative; max-width: 1000px; margin: 10px auto 34px; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; border: 1px solid rgba(160, 255, 230, .18); box-shadow: 0 40px 90px -40px #000, 0 0 60px -26px var(--teal); }
.clipframe--w { max-width: 1100px; }
.clipframe video { width: 100%; height: 100%; display: block; object-fit: cover; }
.clipframe__tag { position: absolute; left: 16px; bottom: 14px; padding: 8px 12px; border-radius: 10px; font-size: 13px; font-weight: 700; background: rgba(6, 22, 30, .8); border: 1px solid rgba(160, 255, 230, .18); backdrop-filter: blur(8px); }
.steps4 { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 1000px; margin: 6px auto 26px; text-align: left; }
.steps4 li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.steps4 b { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font: 400 16px/1 var(--title); color: #04201b; background: var(--teal); box-shadow: 0 0 18px -4px var(--teal); }
.sub2--try { margin: 0 auto 22px; font-weight: 700; color: #fff; }
@media (max-width: 760px) { .steps4 { grid-template-columns: 1fr 1fr; } }
.phones, .phones * { -webkit-user-select: none; user-select: none; }
.phone .card__type { display: none; }
