/* Visual layer — excitement / esports (loaded after home_hero.css) */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700&family=Exo+2:wght@400;500;600;700&display=swap');

.tw-home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.tw-home-hero__bg-mesh {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 20% 30%, rgba(38, 170, 145, 0.45), transparent 42%),
    radial-gradient(circle at 85% 70%, rgba(255, 204, 0, 0.22), transparent 38%),
    radial-gradient(circle at 60% 10%, rgba(0, 200, 255, 0.2), transparent 35%);
  animation: tw-hero-mesh 14s ease-in-out infinite alternate;
}

@keyframes tw-hero-mesh {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-3%, 2%) scale(1.06); }
}

.tw-home-hero__bg-sweep {
  position: absolute;
  top: 0;
  left: -60%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 45%,
    transparent 70%
  );
  animation: tw-hero-sweep 5s ease-in-out infinite;
}

@keyframes tw-hero-sweep {
  0% { left: -60%; opacity: 0; }
  15% { opacity: 1; }
  50% { left: 120%; opacity: 0.8; }
  100% { left: 120%; opacity: 0; }
}

.tw-home-hero__wm {
  position: absolute;
  right: 6%;
  top: 42%;
  transform: translateY(-50%);
  font-size: 120px;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  opacity: 0.85;
}

.tw-home-hero {
  background: linear-gradient(125deg, #040a10 0%, #0a1c28 38%, #0d2a2a 72%, #123d35 100%) !important;
  border-bottom: 1px solid rgba(61, 255, 176, 0.25) !important;
}

.tw-home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 3;
  background: linear-gradient(
    90deg,
    transparent,
    var(--tw-hero-gold),
    var(--tw-hero-accent-bright),
    var(--tw-hero-gold),
    transparent
  );
  background-size: 200% 100%;
  animation: tw-hero-bar 4s linear infinite;
}

@keyframes tw-hero-bar {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.tw-home-hero::after {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.5) 0%,
    transparent 35%,
    transparent 55%,
    rgba(0, 0, 0, 0.35) 100%
  ) !important;
}

.tw-home-hero__title {
  font-size: clamp(1.45rem, 2.6vw, 2rem) !important;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.tw-home-hero__title span {
  background: linear-gradient(90deg, #fff5a8, #ffcc00, #3dffb0);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  animation: tw-hero-shine 5s linear infinite;
}

@keyframes tw-hero-shine {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.tw-home-hero__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 0;
}

.tw-home-hero__perk {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tw-home-hero__perk i {
  color: var(--tw-hero-gold);
}

.tw-home-hero__btn--pulse {
  position: relative;
  z-index: 1;
  padding: 10px 20px !important;
  font-size: 14px !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow:
    0 0 0 0 rgba(61, 255, 176, 0.55),
    0 6px 20px rgba(38, 170, 145, 0.5) !important;
  animation: tw-cta-pulse 2.2s ease-out infinite;
}

@keyframes tw-cta-pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 255, 176, 0.5), 0 6px 20px rgba(38, 170, 145, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(61, 255, 176, 0), 0 8px 24px rgba(38, 170, 145, 0.55); }
  100% { box-shadow: 0 0 0 0 rgba(61, 255, 176, 0), 0 6px 20px rgba(38, 170, 145, 0.45); }
}

.tw-home-hero__stage-wrap {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 300px;
  padding: 2px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(61, 255, 176, 0.65),
    rgba(255, 204, 0, 0.35),
    rgba(0, 200, 255, 0.45)
  );
  background-size: 200% 200%;
  animation: tw-stage-border 6s ease infinite;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

@keyframes tw-stage-border {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.tw-home-hero__stage {
  max-width: none !important;
  width: 100% !important;
  height: 194px !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 12px !important;
  background: rgba(4, 12, 18, 0.92) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.tw-home-hero--live .tw-home-hero__stage-wrap {
  background: linear-gradient(135deg, #ff3d5c, #ff9500, #ff3d5c);
  background-size: 200% 200%;
  animation: tw-stage-border 2s ease infinite;
}

.tw-home-hero--live .tw-home-hero__bg-mesh {
  background:
    radial-gradient(circle at 70% 50%, rgba(255, 61, 92, 0.35), transparent 45%),
    radial-gradient(circle at 20% 30%, rgba(38, 170, 145, 0.25), transparent 42%);
}

.tw-home-hero--live .tw-home-hero__btn--pulse {
  animation: none;
  background: linear-gradient(180deg, #ff6b8a 0%, #ff3d5c 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 24px rgba(255, 61, 92, 0.5) !important;
}

.tw-home-hero__arena-ring {
  width: 56px;
  height: 56px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tw-home-hero__arena-ring::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(61, 255, 176, 0.35);
  animation: tw-ring-spin 8s linear infinite;
}

.tw-home-hero__arena-ring--free::before {
  border-top-color: var(--tw-hero-free);
  border-right-color: transparent;
}

@keyframes tw-ring-spin {
  to { transform: rotate(360deg); }
}

.tw-home-hero__arena-ring-core {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--tw-hero-free);
  background: rgba(61, 255, 176, 0.12);
  box-shadow: 0 0 24px rgba(61, 255, 176, 0.25);
}

.tw-home-hero__idle-title {
  font-size: 1.15rem !important;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tw-home-hero__team-score {
  font-size: 2.25rem !important;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.tw-home-hero--live .tw-home-hero__team-score {
  color: #fff;
}

.tw-home-hero__chip--hot {
  border-color: rgba(255, 204, 0, 0.55) !important;
  color: #ffe9a8 !important;
  animation: tw-chip-hot 1.5s ease-in-out infinite;
}

@keyframes tw-chip-hot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
  .tw-home-hero__bg-mesh,
  .tw-home-hero__bg-sweep,
  .tw-home-hero::before,
  .tw-home-hero__title span,
  .tw-home-hero__btn--pulse,
  .tw-home-hero__stage-wrap,
  .tw-home-hero__arena-ring::before,
  .tw-home-hero__chip--hot {
    animation: none !important;
  }
}
