/* Home only. Independent illustrations; no changes to header, routes or shared forms. */
.v2-home .v2-hero {
  height:600px;
  background:radial-gradient(ellipse at 47% 10%,#2646bf99,transparent 62%),linear-gradient(120deg,#0c2795 0%,#0644aa 48%,#06227c 100%);
}
.v2-home .v2-hero::before,.v2-home .v2-hero::after { content:none; }
.hero-depth,.hero-diagonals,.hero-stardust { position:absolute;inset:0;pointer-events:none; }
.hero-depth { z-index:0;overflow:hidden; }
.hero-depth img { width:100%;height:100%;object-fit:cover;opacity:.24;filter:grayscale(1) sepia(1) saturate(3.8) hue-rotate(175deg);mix-blend-mode:screen; }
.depth-wash { position:absolute;inset:0;background:linear-gradient(90deg,#07389722,#0b32a344 48%,#06328822); }
.hero-diagonals { z-index:1; }
.diagonal { position:absolute;inset:0; }
.diagonal-upper {
  clip-path:polygon(9% 0,90% 0,52% 63%);
  background:linear-gradient(159deg,#2549bf77,#153fc399 60%,#071e7677);
  filter:drop-shadow(0 3px 2px #030e5b);
}
.diagonal-cross {
  clip-path:polygon(0 0,48% 72%,83% 100%,100% 100%,100% 88%,39% 20%,17% 0);
  background:linear-gradient(125deg,#132a8d55,#1c57c444 53%,#0d2f8866);
}
.diagonal-lower {
  clip-path:polygon(0 66%,21% 33%,74% 100%,56% 100%,20% 49%,0 81%);
  background:linear-gradient(135deg,#51a8ec33,#0a318333 45%,#6181ff22);
}
.diagonal-edge {
  background:linear-gradient(149deg,transparent 0 51.7%,#90c6ff66 51.8%,#224ac966 52%,transparent 52.15%),linear-gradient(33deg,transparent 0 48.8%,#8e9eff55 48.9%,transparent 49.1%);
  opacity:.6;
}
.v2-home .hero-title { top:77px;z-index:5; }
.v2-home .hero-party {
  width:900px;height:auto;max-width:none;bottom:-24px;left:48%;z-index:4;
  filter:drop-shadow(0 0 12px #43218055);
}
.hero-corner { position:absolute;overflow:hidden;z-index:3;pointer-events:none;isolation:isolate; }
.hero-corner img { position:absolute;max-width:none;object-fit:contain;filter:drop-shadow(0 0 5px #47216455); }
.corner-assassin {
  left:0;top:0;width:21.2%;height:405px;
  clip-path:polygon(0 0,100% 50%,0 100%);
  background:linear-gradient(140deg,#251d65,#98469e 58%,#592276);
}
.corner-assassin img { width:500px;height:430px;left:-170px;top:-5px;object-position:center top; }
.corner-floral {
  right:0;top:0;width:23%;height:355px;
  clip-path:polygon(100% 0,0 35%,100% 100%);
  background:linear-gradient(120deg,#852d84,#f7889a 70%,#9e2a74);
}
.corner-floral img { width:335px;height:370px;right:-22px;top:-1px;object-position:center top; }
.corner-merchant {
  right:0;bottom:0;width:22%;height:306px;
  clip-path:polygon(100% 0,100% 100%,0 100%);
  background:linear-gradient(134deg,#fff18e,#f7cc38 50%,#d69b13);
}
.corner-merchant img { width:320px;height:320px;right:-25px;bottom:-15px;object-position:center bottom; }
.corner-merchant:after { content:"";position:absolute;inset:0;background:linear-gradient(139deg,transparent 48%,#fff5b255 48.3%,transparent 49%);pointer-events:none; }
.v2-home .hero-benefits { top:278px;gap:33px;z-index:6; }
.v2-home .benefits-left { left:14%; }
.v2-home .benefits-right { right:10.7%; }
.hero-stardust {
  z-index:2;opacity:.65;
  background:radial-gradient(ellipse at 6% 88%,#8d4dff44,transparent 20%),radial-gradient(ellipse at 90% 46%,#227de944,transparent 28%),radial-gradient(circle at 29% 49%,#d6c5ff 0 1px,transparent 3px),radial-gradient(circle at 46% 29%,#e4b1ff 0 1px,transparent 5px),radial-gradient(circle at 77% 85%,#fbc6ff 0 1px,transparent 4px),radial-gradient(circle at 3% 75%,#90b5ff 0 1px,transparent 3px),radial-gradient(circle at 68% 40%,#90b5ff 0 1px,transparent 3px),radial-gradient(circle at 15% 56%,#a8ccff 0 1px,transparent 3px);
}
.v2-home .hero-petals i { z-index:5;box-shadow:0 0 14px #f659ffb0,inset 2px 1px 5px #fff9;background:linear-gradient(130deg,#fff2ff,#e77af4 65%,#bf49ee); }
.v2-home .hero-petals i:nth-child(1) { left:21%;top:21%;width:18px;height:36px; }
.v2-home .hero-petals i:nth-child(2) { left:10%;top:59%;width:17px;height:30px; }
.v2-home .hero-petals i:nth-child(3) { left:75%;top:29%;width:16px;height:30px; }
.v2-home .hero-petals i:nth-child(4) { left:93%;top:54%;width:16px;height:32px; }
.v2-home .hero-petals i:nth-child(5) { left:73%;top:91%;width:23px;height:45px; }
.v2-home .hero-petals i:nth-child(6) { left:7%;top:85%;width:22px;height:42px; }
.v2-home .hero-petals i:nth-child(7) { left:27%;top:33%;width:19px;height:37px;transform:rotate(100deg); }
.v2-home .hero-petals i:nth-child(8) { left:11%;top:72%;width:9px;height:23px;transform:rotate(75deg); }
.v2-home .hero-petals i:nth-child(9) { left:4%;top:81%;width:8px;height:20px;transform:rotate(-10deg); }
.v2-home .hero-petals i:nth-child(10) { left:47%;top:26%;width:7px;height:16px;transform:rotate(-25deg); }
.v2-home .welcome {
  padding-top:25px;min-height:302px;
  background-image:url('/assets/img/home/castle-panorama.png'),linear-gradient(#f5f8ff,#edf4ff);
  background-position:center bottom;background-size:100% 100%,cover;background-repeat:no-repeat;
}
.v2-home .welcome:before {
  height:45px;top:-29px;background:url('/assets/img/home/cloud-edge.svg') center bottom/100% 100% no-repeat;
}
.v2-home .welcome-layout { position:relative;z-index:1; }
.v2-home .portrait { background-size:cover;background-position:center;background-color:#354a87; }
.v2-home .portrait-red { background-image:url('/assets/img/home/portrait-warrior.png'); }
.v2-home .portrait-gold { background-image:url('/assets/img/home/portrait-knight.png'); }
.v2-home .portrait-purple { background-image:url('/assets/img/home/portrait-mage.png'); }
@media(min-width:1650px) {
  .v2-home .v2-hero { height:630px; }
  .v2-home .hero-party { width:950px; }
}
@media(max-width:1390px) {
  .v2-home .hero-party { width:820px;bottom:-16px; }
  .v2-home .benefits-left { left:10%; }
  .v2-home .benefits-right { right:6%; }
  .corner-assassin img { left:-180px; }
  .corner-floral img { right:-45px; }
  .corner-merchant img { right:-60px; }
}
@media(max-width:1100px) {
  .v2-home .hero-party { width:740px;bottom:0; }
  .v2-home .hero-title { top:62px; }
  .v2-home .hero-benefits { top:290px;gap:35px; }
  .v2-home .benefits-left { left:24px; }
  .v2-home .benefits-right { right:24px; }
  .corner-assassin,.corner-floral { width:25%;height:310px; }
  .corner-assassin img { width:280px;height:340px;left:-64px; }
  .corner-floral img { width:270px;height:320px;right:-60px; }
  .corner-merchant { width:25%;height:230px; }
  .corner-merchant img { width:250px;height:250px;right:-42px; }
  .v2-home .welcome { background-size:auto 100%,cover; }
}
@media(max-width:760px) {
  .v2-home .v2-hero { height:630px; }
  .v2-home .hero-title { top:48px; }
  .v2-home .hero-party { width:620px;bottom:145px;left:48%; }
  .hero-depth img { object-position:44% center;opacity:.18; }
  .hero-corner { opacity:.85; }
  .corner-assassin { width:24%;height:180px;top:70px; }
  .corner-assassin img { width:165px;height:190px;left:-58px;top:0; }
  .corner-floral { width:24%;height:180px;top:64px; }
  .corner-floral img { width:160px;height:190px;right:-55px;top:0; }
  .corner-merchant { width:29%;height:125px;bottom:145px; }
  .corner-merchant img { width:145px;height:145px;right:-35px;bottom:-10px; }
  .v2-home .hero-benefits { top:auto;bottom:35px;gap:15px; }
  .v2-home .benefits-left { left:20px; }
  .v2-home .benefits-right { right:20px; }
  .v2-home .hero-petals i { transform:scale(.65) rotate(-35deg); }
  .v2-home .welcome { padding-top:25px;background-size:auto 70%,cover; }
  .v2-home .welcome:before { height:31px;top:-22px;background-size:auto 100%; }
}
@media(max-width:380px) {
  .v2-home .hero-party { width:560px;bottom:150px; }
  .v2-home .hero-benefits a { gap:6px; }
  .v2-home .benefits-left { left:12px; }
  .v2-home .benefits-right { right:12px; }
}
