.gaew-widget,
.gaew-widget * {
  box-sizing: border-box;
}

.gaew-widget {
  width: 100%;
  perspective: 1300px;
}

.gaew-media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: var(--gaew-width, 1849px);
  aspect-ratio: var(--gaew-aspect, 1849 / 247);
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 28px;
  background: #020617;
  box-shadow: 0 26px 80px rgba(8, 145, 178, .24);
  transform-style: preserve-3d;
  animation: gaew-ad-float 5s ease-in-out infinite;
}

.gaew-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
  transition: filter 450ms ease;
}

.gaew-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, .65), transparent 55%, rgba(2, 6, 23, .18));
  pointer-events: none;
}

.gaew-media:hover img,
.gaew-media:focus-within img {
  filter: saturate(1.08) contrast(1.02);
  transform: none;
}

.gaew-views {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  background: rgba(0, 0, 0, .35);
  color: rgba(255, 255, 255, .92);
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(12px);
}

.gaew-views svg {
  width: 16px;
  height: 16px;
  color: #a5f3fc;
}

.gaew-glass {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .025);
  opacity: 0;
  backdrop-filter: blur(0);
  transition: opacity 500ms ease, backdrop-filter 500ms ease;
}

.gaew-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, .08) 44%, transparent 58% 100%);
  background-size: 180% 180%;
  opacity: .22;
  animation: gaew-glass-scan 3s linear infinite;
}

.gaew-media:hover .gaew-glass,
.gaew-media:focus-within .gaew-glass {
  opacity: 1;
  backdrop-filter: blur(1.5px) saturate(1.03);
}

.gaew-button {
  position: relative;
  z-index: 2;
  min-width: min(75%, 260px);
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .08)), radial-gradient(circle at 50% 0, rgba(34, 211, 238, .72), transparent 42%);
  color: #fff;
  cursor: pointer;
  padding: 16px 24px;
  font: inherit;
  font-weight: 900;
  text-shadow: 0 1px 12px rgba(255, 255, 255, .65);
  transform: translateZ(70px) rotateX(10deg);
  box-shadow: 0 26px 55px rgba(8, 145, 178, .28), 0 0 32px rgba(34, 211, 238, .42), inset 0 1px 0 rgba(255, 255, 255, .8), inset 0 -12px 24px rgba(255, 255, 255, .1);
  transition: transform 180ms ease, box-shadow 180ms ease;
  animation: gaew-cta-glow 1.9s ease-in-out infinite alternate;
}

.gaew-button:hover,
.gaew-button:focus-visible {
  outline: none;
  transform: translateY(-6px) translateZ(95px) rotateX(15deg) scale(1.03);
  box-shadow: 0 34px 75px rgba(8, 145, 178, .38), 0 0 46px rgba(34, 211, 238, .62), inset 0 1px 0 rgba(255, 255, 255, .88), inset 0 -12px 24px rgba(255, 255, 255, .12);
}

.gaew-launch-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: #020617;
  color: #fff;
  animation: gaew-overlay-enter 260ms ease both;
}

.gaew-overlay-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(34, 211, 238, .18), transparent 32%), linear-gradient(145deg, rgba(7, 10, 24, .92), rgba(2, 6, 23, .98));
}

.gaew-blast-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.gaew-blast-center::before,
.gaew-blast-center::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.gaew-blast-center::before {
  width: 26rem;
  height: 26rem;
  background: radial-gradient(circle, rgba(255, 255, 255, .9) 0 4%, rgba(34, 211, 238, .44) 5% 26%, rgba(255, 79, 109, .22) 27% 52%, transparent 54%);
  animation: gaew-shockwave 900ms ease-out both;
}

.gaew-blast-center::after {
  width: 42rem;
  height: 42rem;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 0 80px rgba(34, 211, 238, .22);
  animation: gaew-shock-ring 1.4s ease-out both;
}

.gaew-blast-particle {
  position: absolute;
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff, #22d3ee 45%, #ff4f6d);
  box-shadow: 0 0 22px rgba(34, 211, 238, .85);
  opacity: 0;
  animation: gaew-particle-burst 1.1s cubic-bezier(.1, .8, .2, 1) var(--delay) both;
}

.gaew-launch-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px;
  text-align: center;
}

.gaew-detonation {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  padding: 9px 16px;
  color: rgba(226, 232, 240, .92);
  font-weight: 900;
  backdrop-filter: blur(14px);
}

.gaew-timer {
  width: min(420px, 82vw);
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .11);
}

.gaew-timer span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22d3ee, #fff, #ff4f6d);
  animation: gaew-timer-fill 3s linear both;
}

.gaew-game {
  position: relative;
  display: grid;
  width: min(84vw, 470px);
  min-height: 420px;
  place-items: center;
  perspective: 1200px;
  transform-style: preserve-3d;
  animation: gaew-game-arrive 700ms 250ms cubic-bezier(.2, .8, .2, 1) both;
}

.gaew-holo-floor {
  position: absolute;
  bottom: 46px;
  width: 70%;
  height: 28%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gaew-soft), transparent 60%), repeating-radial-gradient(circle, rgba(255, 255, 255, .18) 0 1px, transparent 1px 18px);
  transform: rotateX(72deg);
  animation: gaew-floor-pulse 1.8s ease-in-out infinite alternate;
}

.gaew-orbit {
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  border: 1px solid var(--gaew-accent);
  border-radius: 50%;
  box-shadow: 0 0 36px var(--gaew-soft);
}

.gaew-orbit-one { transform: rotateX(66deg); animation: gaew-orbit-spin 2.8s linear infinite; }
.gaew-orbit-two { width: 46%; transform: rotateY(67deg); animation: gaew-orbit-spin-reverse 3.4s linear infinite; }

.gaew-character-rig {
  position: relative;
  display: grid;
  width: 230px;
  height: 250px;
  place-items: center;
  transform-style: preserve-3d;
  animation: gaew-character-float 3s ease-in-out infinite;
}

.gaew-character-shadow {
  position: absolute;
  bottom: 2px;
  width: 150px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gaew-soft), transparent 72%);
  filter: blur(9px);
  transform: rotateX(72deg) translateZ(-22px);
}

.gaew-character-body {
  position: absolute;
  width: 150px;
  height: 225px;
  transform-style: preserve-3d;
  transform: rotateX(-8deg) rotateY(-20deg);
}

.gaew-character-body span {
  position: absolute;
  display: block;
  transform-style: preserve-3d;
}

.gaew-char-head {
  left: 49px;
  top: 14px;
  width: 54px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 46% 46% 42% 42%;
  background: radial-gradient(circle at 34% 20%, rgba(255, 255, 255, .34), transparent 24%), linear-gradient(145deg, color-mix(in srgb, var(--gaew-accent) 36%, #1e293b), #020617 78%);
  box-shadow: inset -12px -10px 24px rgba(0, 0, 0, .38), 0 0 28px var(--gaew-soft);
  transform: translateZ(48px);
}

.gaew-char-helmet {
  left: 43px;
  top: 4px;
  width: 66px;
  height: 42px;
  border-radius: 50% 50% 28% 28%;
  background: linear-gradient(145deg, rgba(255, 255, 255, .22), transparent 35%), linear-gradient(90deg, #0f172a, color-mix(in srgb, var(--gaew-accent) 38%, #111827));
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, .35), 0 0 24px var(--gaew-soft);
  transform: translateZ(58px);
}

.gaew-char-visor {
  left: 52px;
  top: 36px;
  width: 48px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .82), var(--gaew-accent), rgba(255, 255, 255, .18));
  box-shadow: 0 0 18px var(--gaew-accent);
  transform: translateZ(66px);
}

.gaew-char-torso {
  left: 36px;
  top: 74px;
  width: 80px;
  height: 92px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px 22px 18px 18px;
  background: radial-gradient(circle at 38% 20%, color-mix(in srgb, var(--gaew-accent) 28%, transparent), transparent 42%), linear-gradient(145deg, #1f2937, #020617 82%);
  box-shadow: inset -18px -18px 26px rgba(0, 0, 0, .35), inset 12px 10px 24px rgba(255, 255, 255, .08), 0 0 30px var(--gaew-soft);
  transform: translateZ(38px);
}

.gaew-char-vest {
  left: 48px;
  top: 86px;
  width: 56px;
  height: 68px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .12), transparent 36%), repeating-linear-gradient(0deg, rgba(255, 255, 255, .1) 0 2px, transparent 2px 13px), rgba(2, 6, 23, .84);
  transform: translateZ(55px);
}

.gaew-char-arm {
  top: 84px;
  width: 28px;
  height: 92px;
  border-radius: 999px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--gaew-accent) 24%, #334155), #020617 78%);
  box-shadow: inset -8px -12px 18px rgba(0, 0, 0, .34), 0 0 18px var(--gaew-soft);
}

.gaew-char-arm-left { left: 17px; transform: rotateZ(17deg) translateZ(30px); }
.gaew-char-arm-right { right: 15px; transform: rotateZ(-44deg) translateZ(70px); transform-origin: 50% 16%; animation: gaew-weapon-aim 1.4s ease-in-out infinite alternate; }

.gaew-char-weapon {
  right: -22px;
  top: 116px;
  width: 96px;
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, #020617, #64748b 48%, var(--gaew-accent));
  box-shadow: 0 0 18px var(--gaew-accent);
  transform: rotateZ(-14deg) translateZ(88px);
  animation: gaew-weapon-glow 900ms ease-in-out infinite alternate;
}

.gaew-char-weapon::after {
  content: '';
  position: absolute;
  right: -13px;
  top: 2px;
  width: 20px;
  height: 9px;
  border-radius: 999px;
  background: var(--gaew-accent);
  filter: blur(5px);
}

.gaew-char-leg {
  top: 156px;
  width: 32px;
  height: 70px;
  border-radius: 999px 999px 14px 14px;
  background: linear-gradient(145deg, #1f2937, #020617 76%);
  box-shadow: inset -8px -10px 18px rgba(0, 0, 0, .34), 0 0 16px var(--gaew-soft);
}

.gaew-char-leg-left { left: 43px; transform: rotateZ(8deg) translateZ(26px); }
.gaew-char-leg-right { right: 39px; transform: rotateZ(-7deg) translateZ(42px); }

.gaew-char-effect {
  left: 18px;
  top: 54px;
  width: 120px;
  height: 120px;
  border: 1px solid color-mix(in srgb, var(--gaew-accent) 68%, transparent);
  border-radius: 36% 64% 48% 52%;
  box-shadow: 0 0 34px var(--gaew-soft), inset 0 0 24px var(--gaew-soft);
  opacity: .8;
  transform: rotateZ(18deg) translateZ(8px);
  animation: gaew-character-aura 2.2s linear infinite;
}

.gaew-character-name {
  position: absolute;
  bottom: 18px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(3, 7, 18, .48);
  color: #fff;
  font-size: 16px;
  font-weight: 1000;
  letter-spacing: .08em;
  padding: 7px 12px;
  text-shadow: 0 0 16px var(--gaew-accent);
  transform: translateZ(92px);
  box-shadow: 0 0 32px var(--gaew-soft), inset 0 1px 0 rgba(255, 255, 255, .28);
}

.gaew-beam {
  position: absolute;
  width: 4px;
  height: 270px;
  border-radius: 999px;
  background: linear-gradient(transparent, var(--gaew-accent), transparent);
  filter: blur(1px);
  opacity: .7;
  transform: rotateZ(28deg) translateZ(122px);
  animation: gaew-beam-sweep 1.4s ease-in-out infinite alternate;
}

.gaew-caption {
  position: absolute;
  bottom: 0;
  display: grid;
  gap: 6px;
  width: min(100%, 390px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .07);
  padding: 14px 16px;
  backdrop-filter: blur(14px);
}

.gaew-caption strong { font-size: 19px; }
.gaew-caption span { color: rgba(226, 232, 240, .72); font-size: 14px; }
.gaew-game-cs2 .gaew-char-helmet::after {
  content: '';
  position: absolute;
  left: 18px;
  top: 37px;
  width: 30px;
  height: 22px;
  border: 2px solid rgba(255, 177, 61, .78);
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(255, 177, 61, .5);
}

.gaew-game-cod .gaew-character-body { transform: rotateX(-10deg) rotateY(-16deg) scale(1.04); }
.gaew-game-cod .gaew-char-helmet { border-radius: 42% 42% 34% 34%; }
.gaew-game-cod .gaew-char-vest::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 14px;
  width: 18px;
  height: 24px;
  border-radius: 50% 50% 42% 42%;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 0 14px var(--gaew-accent);
}

.gaew-game-pubg .gaew-char-helmet { height: 50px; border-radius: 50% 50% 18px 18px; }
.gaew-game-pubg .gaew-char-helmet::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 20px;
  width: 78px;
  height: 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--gaew-accent) 54%, #111827);
}

.gaew-game-valorant .gaew-character-body { transform: rotateX(-8deg) rotateY(-24deg) skewY(-3deg); }
.gaew-game-valorant .gaew-char-helmet::before {
  content: '';
  position: absolute;
  left: 22px;
  top: -20px;
  width: 24px;
  height: 34px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--gaew-accent);
  filter: drop-shadow(0 0 12px var(--gaew-accent));
}

@keyframes gaew-ad-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes gaew-glass-scan { from { background-position: 140% 50%; } to { background-position: -60% 50%; } }
@keyframes gaew-cta-glow { from { filter: brightness(1); } to { filter: brightness(1.24); } }
@keyframes gaew-overlay-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes gaew-shockwave { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.06); } 18% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); } }
@keyframes gaew-shock-ring { from { opacity: .85; transform: translate(-50%, -50%) scale(.12); } to { opacity: 0; transform: translate(-50%, -50%) scale(1.35); } }
@keyframes gaew-particle-burst { 0% { opacity: 0; transform: translate(0, 0) rotate(0) scale(.2); } 16% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(1.2); } }
@keyframes gaew-timer-fill { from { width: 0; } to { width: 100%; } }
@keyframes gaew-game-arrive { from { opacity: 0; transform: translateY(34px) scale(.82) rotateX(16deg); } to { opacity: 1; transform: translateY(0) scale(1) rotateX(0); } }
@keyframes gaew-floor-pulse { from { opacity: .55; transform: rotateX(72deg) scale(.95); } to { opacity: 1; transform: rotateX(72deg) scale(1.05); } }
@keyframes gaew-orbit-spin { from { rotate: 0deg; } to { rotate: 360deg; } }
@keyframes gaew-orbit-spin-reverse { from { rotate: 360deg; } to { rotate: 0deg; } }
@keyframes gaew-character-float { 0%, 100% { transform: rotateX(0deg) rotateY(0deg) translateY(0); } 50% { transform: rotateX(5deg) rotateY(10deg) translateY(-14px); } }
@keyframes gaew-weapon-aim { from { transform: rotateZ(-40deg) translateZ(70px); } to { transform: rotateZ(-50deg) translateZ(82px); } }
@keyframes gaew-weapon-glow { from { filter: brightness(1); } to { filter: brightness(1.45); } }
@keyframes gaew-character-aura { from { rotate: 0deg; } to { rotate: 360deg; } }
@keyframes gaew-beam-sweep { from { opacity: .32; transform: rotateZ(18deg) translateZ(122px) translateX(-38px); } to { opacity: .88; transform: rotateZ(34deg) translateZ(122px) translateX(38px); } }

@media (max-width: 640px) {
  .gaew-media { border-radius: 20px; }
  .gaew-button { min-width: 72%; padding: 13px 18px; }
  .gaew-game { min-height: 360px; }
  .gaew-character-rig { width: 190px; height: 222px; transform: scale(.9); }
  .gaew-character-body { transform: rotateX(-8deg) rotateY(-20deg) scale(.86); }
  .gaew-game-cod .gaew-character-body { transform: rotateX(-10deg) rotateY(-16deg) scale(.9); }
  .gaew-game-valorant .gaew-character-body { transform: rotateX(-8deg) rotateY(-24deg) skewY(-3deg) scale(.86); }
}