@import url("https://fonts.googleapis.com/css2?family=Teko:wght@300;400;500;600;700&display=swap");

/* EXACT BASE STYLE FROM THE UPLOADED TEMPLATE. Only small safety/PWA additions are below. */
html,
body {
  overflow-x: hidden;
}
body {
  font-family: "Teko", sans-serif;
  background: #000;
  color: #fff;
  font-size: 22px;
  line-height: 32px;
}
h1 {
  font-size: 220px;
  line-height: 250px;
}
h2 {
  font-size: 80px;
  line-height: 90px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.overflow {
  overflow: hidden;
}
.col-lg-8,
.col-xl-7 {
  height: 100vh;
}
.container {
  width: 1320px;
  max-width: 1320px;
}
.main-txt {
  position: fixed;
  text-transform: uppercase;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  width: 80%;
  max-width: 2560px;
  margin: 0px auto;
  color: #fff;
  z-index: 1;
  text-shadow: 0 0 30px rgba(255,255,255,.25), 0 0 90px rgba(255,96,0,.22);
}
.banner .col-xl-7,
.banner-three .col-xl-7 {
  justify-content: center;
  -webkit-justify-content: center;
}
.anime-card {
  position: absolute;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  perspective: 1000px;
  width: 100vw;
  height: 100vh;
}
.anime-card-inner {
  position: absolute;
  transform-style: preserve-3d;
  min-height: 348px;
}
.anime-card-front,
.anime-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.anime-card-front::after,
.anime-card-back::after,
.main-wallpaper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.main-wallpaper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.anime-card-back {
  transform: rotateY(180deg);
}
.anime-card img {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0px;
}
.slider-card {
  height: 100vh;
}
.slider-card .title {
  margin-bottom: 60px;
}
.slider-box {
  width: 95%;
  margin: 0px auto;
}
.slider-left,
.slider-right {
  width: 50%;
  height: 20vw;
  min-height: 350px;
  overflow: hidden;
  position: relative;
}
.slider-left img {
  position: absolute;
  top: 0;
  right: 0px;
  width: 20vw;
  min-width: 350px;
  height: 100%;
  object-fit: cover;
  border-radius: 12px 0px 0px 12px;
}
.slider-right img {
  position: absolute;
  top: 0;
  left: 0px;
  width: 20vw;
  min-width: 350px;
  height: 100%;
  object-fit: cover;
  border-radius: 0px 12px 12px 0px;
}
.banner-content, .banner-two-content, .banner-three-content, .banner-four-content {
  position: relative;
  z-index: 3;
  text-shadow: 0 8px 30px rgba(0,0,0,.9);
}
.banner-content p, .banner-two-content p, .banner-three-content p, .banner-four-content p { max-width: 720px; }

/* Arena addition, placed after the exact GSAP experience so the reference design remains dominant. */
.arena-section { min-height: 100vh; padding: 80px 18px; background: radial-gradient(circle at 50% 0%, rgba(255,84,12,.28), transparent 35%), #050505; display: flex; align-items: center; }
.arena-shell { width: min(1200px, 100%); margin: 0 auto; border: 1px solid rgba(255,255,255,.18); border-radius: 28px; padding: 28px; background: rgba(255,255,255,.05); box-shadow: 0 30px 100px rgba(0,0,0,.45); }
.eyebrow { color: #ff9b3d; letter-spacing: .14em; text-transform: uppercase; }
.arena-lead { max-width: 880px; color: rgba(255,255,255,.78); }
.arena-grid { display: grid; grid-template-columns: 1fr minmax(300px, 960px) 1fr; gap: 18px; align-items: center; }
#fightCanvas { width: 100%; background: linear-gradient(#151515, #090909 60%, #1d120c); border-radius: 22px; border: 1px solid rgba(255,255,255,.16); box-shadow: inset 0 0 50px rgba(255,97,0,.08); }
.hud-panel { background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; padding: 16px; }
.bar-label { display:flex; justify-content:space-between; font-size: 24px; }
.hp, .meter { height: 18px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; margin-bottom: 12px; }
.hp span, .meter span { display:block; height:100%; width:100%; background: linear-gradient(90deg,#00ffa3,#ffee00,#ff3d00); transition: width .25s; }
.meter span { width:0; background: linear-gradient(90deg,#45e0ff,#b944ff); }
.controls-row { display:flex; gap:12px; flex-wrap:wrap; margin-top:18px; }
.controls-row button, .touch-controls button { border:0; border-radius:999px; padding: 10px 20px; font: inherit; color:#000; background:#fff; cursor:pointer; }
.help { color: rgba(255,255,255,.66); margin-top: 12px; }
.touch-controls { display:none; gap:8px; flex-wrap:wrap; margin-top:14px; }

@media (min-width: 1500px) and (max-width: 1699px) {
  h1 { font-size: 200px; line-height: 230px; }
}
@media (min-width: 1200px) and (max-width: 1499px) {
  .container { width: 1170px; max-width: 1170px; }
  h1 { font-size: 150px; line-height: 170px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .container { width: 960px; max-width: 960px; }
  h1 { font-size: 100px; line-height: 120px; }
  h2 { font-size: 60px; line-height: 70px; margin-bottom: 16px; }
  .slider-left, .slider-right { min-height: 280px; }
  .slider-left img, .slider-right img { min-width: 280px; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .container { width: 720px; max-width: 720px; }
  h1 { font-size: 80px; line-height: 100px; }
  h2 { font-size: 50px; line-height: 60px; margin-bottom: 16px; }
  .slider-card .title { margin-bottom: 40px; }
  .slider-left, .slider-right { min-height: 220px; }
  .slider-left img, .slider-right img { min-width: 220px; }
  .arena-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .container { width: 100%; max-width: 100%; }
  h1 { font-size: 60px; line-height: 80px; }
  h2 { font-size: 40px; line-height: 50px; margin-bottom: 14px; }
  .main-txt { width: 95%; }
  .slider-card .title { margin-bottom: 30px; }
  .slider-left, .slider-right { min-height: 200px; }
  .slider-left img, .slider-right img { min-width: 200px; }
  .banner .col-xl-7, .banner-three .col-xl-7 { justify-content: flex-start; -webkit-justify-content: flex-start; }
  .banner .banner-content, .banner-three .banner-three-content { padding-top: 40px; width: 345px; }
  .anime-card-inner { min-height: auto; }
  .arena-shell { padding: 18px; border-radius: 18px; }
  .arena-grid { grid-template-columns: 1fr; }
  .touch-controls { display:flex; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
}


/* V3 FIX: all major sections now use local 4K images so no broken remote placeholders appear. */
body::before { content:""; position:fixed; inset:0; pointer-events:none; z-index:9999; background: linear-gradient(rgba(255,255,255,.03) 50%, rgba(0,0,0,.03) 50%); background-size: 100% 4px; opacity:.2; mix-blend-mode: overlay; }
.banner, .banner-two, .banner-three, .banner-four, .slider-card { position: relative; overflow: hidden; background-size: cover; background-position: center; isolation: isolate; }
.banner::before, .banner-two::before, .banner-three::before, .banner-four::before, .slider-card::before { content:""; position:absolute; inset:0; z-index:-2; background-size:cover; background-position:center; transform: scale(1.04); filter: saturate(1.16) contrast(1.08); }
.banner::after, .banner-two::after, .banner-three::after, .banner-four::after, .slider-card::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.30), rgba(0,0,0,.92)); }
.banner::before { background-image: url('images/gintoki-poster-4k.webp'); }
.banner-two::before { background-image: url('images/ichigo-poster-4k.webp'); }
.banner-three::before { background-image: url('images/gintama-squad-4k.webp'); }
.banner-four::before { background-image: url('images/bleach-squad-4k.webp'); }
.slider-card::before { background-image: url('images/cards-4k.webp'); opacity:.65; }
.banner-two::after, .banner-four::after { background: radial-gradient(circle at 50% 50%, rgba(255,107,0,.20), transparent 36%), rgba(0,0,0,.70); }
.banner-three::after { background: linear-gradient(90deg, rgba(0,0,0,.40), rgba(0,0,0,.38), rgba(0,0,0,.88)); }
.banner-content, .banner-two-content, .banner-three-content, .banner-four-content { padding: 30px 32px; border-radius: 24px; background: linear-gradient(135deg, rgba(0,0,0,.48), rgba(0,0,0,.14)); border:1px solid rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.banner-content h2, .banner-two-content h2, .banner-three-content h2, .banner-four-content h2 { letter-spacing:.02em; }
.slider-left img, .slider-right img { box-shadow: 0 22px 70px rgba(0,0,0,.65); border: 1px solid rgba(255,255,255,.28); }
.slider-left img { border-radius: 18px 0 0 18px; }
.slider-right img { border-radius: 0 18px 18px 0; }
.arena-section { background-image: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.86)), url('images/arena-4k.webp'); background-size: cover; background-position: center; }
.arena-shell { width: min(1440px, 100%); background: linear-gradient(135deg, rgba(4,6,12,.82), rgba(28,12,4,.78)); backdrop-filter: blur(14px); }
.versus-hud-top { display:grid; grid-template-columns: 1fr auto 1fr; gap:16px; align-items:center; margin: 20px 0 14px; }
.nameplate { border:1px solid rgba(255,255,255,.22); border-radius:16px; padding:12px 16px; font-size: 34px; line-height: 1; letter-spacing:.03em; background:rgba(0,0,0,.56); }
.nameplate span { display:block; font-size:18px; color:rgba(255,255,255,.66); margin-top:6px; }
.nameplate.blue { box-shadow: inset 0 0 24px rgba(0,180,255,.16); border-color: rgba(80,210,255,.38); }
.nameplate.orange { text-align:right; box-shadow: inset 0 0 24px rgba(255,107,0,.16); border-color: rgba(255,134,34,.42); }
.round-timer { text-align:center; min-width:120px; }
.round-timer b { display:block; color:#bbb; font-size:20px; line-height:1; }
.round-timer strong { display:block; font-size:72px; line-height:.9; color:#fff; text-shadow:0 0 30px rgba(255,255,255,.2); }
.improved-arena-grid { grid-template-columns: 180px minmax(420px, 1fr) 180px; }
#fightCanvas { background-image: url('images/arena-4k.webp'); background-size: cover; background-position: center; border: 1px solid rgba(255,255,255,.24); box-shadow: inset 0 0 90px rgba(0,0,0,.55), 0 24px 90px rgba(0,0,0,.55); }
.blue-hp span { background: linear-gradient(90deg,#4ad9ff,#e9f8ff); }
.orange-hp span { background: linear-gradient(90deg,#ffbd42,#ff4d00); }
.blue-meter span { background: linear-gradient(90deg,#35d6ff,#9948ff); }
.orange-meter span { background: linear-gradient(90deg,#ff8b1e,#ffd34d); }
@media (max-width: 991px) { .versus-hud-top, .improved-arena-grid { grid-template-columns:1fr; } .nameplate.orange { text-align:left; } }
