:root {
  --primary-bg: #080b14;
  --secondary-bg: #0d1220;
  --card-bg: #111827;
  --text-primary: #f5f7ff;
  --text-secondary: #8f9bb7;
  --accent-color: #a78bfa;
  --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  --primary-button-bg: #7c3aed;
  --border-color: rgba(148, 163, 184, .16);
  --bottom-nav-bg: rgba(10, 14, 26, .94);
  --success-color: #22c55e;
  --danger-color: #fb7185;
  --warning-color: #fbbf24;
  --info-color: #22d3ee;
  --nm-bg: #0b1020;
  --nm-dark: rgba(0, 0, 0, .44);
  --nm-light: rgba(255, 255, 255, .04);
  --nm-out: 0 18px 45px rgba(0, 0, 0, .28), 0 0 0 1px rgba(148, 163, 184, .10);
  --nm-out-sm: 0 10px 22px rgba(0, 0, 0, .22), 0 0 0 1px rgba(148, 163, 184, .13);
  --nm-in: inset 0 0 0 1px rgba(148, 163, 184, .12);
  --nm-in-sm: inset 0 0 0 1px rgba(148, 163, 184, .16);
  --nm-radius: 22px;
}

html {
  background: var(--primary-bg) !important;
}

body {
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 58, 237, .18), transparent 34%),
    radial-gradient(circle at 0% 24%, rgba(6, 182, 212, .10), transparent 28%),
    var(--primary-bg) !important;
  color: var(--text-primary) !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.app-header {
  height: 68px !important;
  padding: 0 16px !important;
  background: color-mix(in srgb, var(--nm-bg) 88%, transparent) !important;
  border-bottom: 1px solid rgba(148, 163, 184, .12) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22) !important;
  backdrop-filter: blur(18px);
}

.header-menu-button,
.notification-icon,
.header-back-button {
  color: #c4b5fd !important;
}

.header-title span,
.header-game-title {
  color: #f8fafc !important;
  font-weight: 700 !important;
  letter-spacing: -.2px;
}

.header-logo {
  border: 1px solid rgba(167, 139, 250, .42) !important;
  box-shadow: 0 0 18px rgba(139, 92, 246, .25) !important;
}

.wallet-chip {
  background: linear-gradient(135deg, #fbbf24, #f97316) !important;
  color: #20120a !important;
  box-shadow: 0 8px 20px rgba(249, 115, 22, .24) !important;
}

.main-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 16px 24px !important;
}

.custom-card,
.stat-card-neo,
.tournament-card,
.feature-hero,
.profile-card,
.wallet-summary-card {
  background: linear-gradient(145deg, color-mix(in srgb, var(--nm-bg) 80%, #fff 6%), var(--nm-bg)) !important;
  border: 1px solid rgba(148, 163, 184, .13) !important;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .20) !important;
}

.custom-card {
  padding: 18px !important;
}

.custom-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .28), 0 0 0 1px rgba(167, 139, 250, .14) !important;
}
.game-card:hover {
  box-shadow: 0 0 0 1px rgba(65,232,238,.2), 0 14px 28px rgba(0,0,0,.4) !important;
}

.section-title {
  color: #f8fafc !important;
  font-size: 1.08rem !important;
  letter-spacing: .1px;
}

.text-secondary,
small,
.form-text {
  color: #8f9bb7 !important;
}

.text-accent,
a,
.accent-text {
  color: #c4b5fd !important;
}

.btn,
.btn-custom {
  min-height: 44px;
  border: 1px solid rgba(148, 163, 184, .16) !important;
  background: color-mix(in srgb, var(--nm-bg) 82%, #fff 8%) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .20) !important;
}

.btn-custom-primary,
.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #4f46e5) !important;
  color: #fff !important;
  border-color: rgba(196, 181, 253, .30) !important;
}

.btn-custom-accent,
.btn-custom-warning,
.btn-warning {
  background: linear-gradient(135deg, #fbbf24, #f97316) !important;
  color: #1c1305 !important;
}

.btn-custom-secondary,
.btn-secondary {
  background: color-mix(in srgb, var(--nm-bg) 82%, #fff 8%) !important;
  color: var(--text-primary) !important;
}

.form-control,
.form-select,
textarea {
  min-height: 46px;
  background: color-mix(in srgb, var(--nm-bg) 90%, #000 12%) !important;
  color: var(--text-primary) !important;
  border: 1px solid rgba(148, 163, 184, .18) !important;
  border-radius: 14px !important;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, .18) !important;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
  border-color: #8b5cf6 !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .18) !important;
}

.game-card img,
.game-card video {
  object-fit: cover !important;
}

.game-card.custom-card {
  padding: 0 !important;
}

.tournament-tabs {
  background: #0e1628 !important;
  border-radius: 14px;
  gap: 4px;
}

.tab-item {
  background: transparent !important;
  color: #8f9bb7 !important;
  border-radius: 10px;
  font-weight: 600;
}

.tab-item.active {
  background: linear-gradient(135deg, #5eead4, #22d3ee) !important;
  color: #042f2e !important;
  box-shadow: 0 6px 16px rgba(34, 211, 238, .25) !important;
}

.tournament-card {
  overflow: hidden;
  border-radius: 20px !important;
}

.tournament-card-content {
  padding: 16px !important;
}

.bottom-nav {
  height: calc(76px + env(safe-area-inset-bottom)) !important;
  padding-bottom: env(safe-area-inset-bottom) !important;
  background: color-mix(in srgb, var(--nm-bg) 92%, transparent) !important;
  border-top: 1px solid rgba(148, 163, 184, .14) !important;
  box-shadow: 0 -12px 30px rgba(0, 0, 0, .30) !important;
  backdrop-filter: blur(18px);
}

.nav-item {
  color: var(--text-secondary) !important;
}

.nav-item.active {
  color: var(--accent-color) !important;
}

.nav-item.active i {
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--accent-color) 70%, transparent)) !important;
}

.nav-item-center i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -18px;
  border-radius: 15px;
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  color: #fff;
  box-shadow: 0 10px 24px rgba(6, 182, 212, .24);
}

.nav-item-center span {
  margin-top: 4px;
}

.list-group-item,
.drawer-link,
.bank-method-option,
.amount-preset-btn,
.referral-box {
  background: #10182b !important;
  color: #e2e8f0 !important;
  border: 1px solid rgba(148, 163, 184, .13) !important;
  box-shadow: none !important;
}

.list-group-item i:first-child,
.drawer-link i:first-child {
  color: #a78bfa !important;
}

.modal-content,
.offcanvas {
  background: #0d1424 !important;
  color: #f8fafc !important;
  border: 1px solid rgba(148, 163, 184, .16) !important;
}

.modal-header,
.modal-footer,
.offcanvas-header {
  border-color: rgba(148, 163, 184, .14) !important;
}

.offcanvas-header {
  background: linear-gradient(135deg, #2e1065, #1e1b4b 60%, #0d1424) !important;
  padding: 20px 18px !important;
}
.offcanvas-header .drawer-brand {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.offcanvas-header .drawer-brand h5 {
  font-weight: 800 !important;
  letter-spacing: .02em;
  background: linear-gradient(90deg, #f8fafc, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
.offcanvas-header .drawer-brand small {
  font-weight: 700 !important;
  color: #a78bfa !important;
}
.drawer-link {
  font-weight: 700 !important;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.drawer-link:hover,
.drawer-link:active {
  border-color: rgba(167, 139, 250, .45) !important;
  box-shadow: 0 10px 24px rgba(124, 58, 237, .18) !important;
  transform: translateY(-1px);
}
.drawer-link i:first-child {
  background: linear-gradient(135deg, #7c3aed, #4f46e5) !important;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(124, 58, 237, .35) !important;
}

.swiper-container#promotionSliderEl {
  background: #10182b !important;
  border: 1px solid rgba(167, 139, 250, .18);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .24) !important;
}

.alert {
  border: 1px solid rgba(148, 163, 184, .18) !important;
  background: rgba(30, 41, 59, .75) !important;
  color: #e2e8f0 !important;
}

@media (min-width: 680px) {
  .main-content {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

body.auth-screen {
  background:
    radial-gradient(circle at 50% -10%, rgba(124, 58, 237, .34), transparent 42%),
    radial-gradient(circle at 100% 70%, rgba(6, 182, 212, .14), transparent 35%),
    #070a13 !important;
}

body.auth-screen .main-content {
  align-items: center;
  padding: 20px 16px 34px !important;
}

body.auth-screen #login-section .card.custom-card,
body.auth-screen #forgot-password-section .card.custom-card {
  min-height: 0 !important;
  max-width: 460px;
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, .22) !important;
  border-radius: 28px !important;
  background: linear-gradient(155deg, rgba(22, 29, 49, .97), rgba(10, 14, 26, .98)) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .42), 0 0 50px rgba(124, 58, 237, .12) !important;
}

body.auth-screen #login-section .card-body {
  padding: 0 24px 26px !important;
}

.auth-brand-block {
  margin: 0 -24px 24px;
  padding-bottom: 4px;
  text-align: left;
}

.auth-video-shell {
  position: relative;
  height: 188px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(34, 211, 238, .36), transparent 28%),
    linear-gradient(135deg, #24104f, #091b32 65%, #061016);
}

.auth-video-shell video {
  cursor: pointer;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .58;
  filter: saturate(1.2) contrast(1.08);
}

.auth-video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 10, 19, .05), rgba(7, 10, 19, .86)),
    linear-gradient(90deg, rgba(124, 58, 237, .24), transparent 55%);
}

.auth-video-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  opacity: .5;
}

.auth-brand-mark {
  position: absolute;
  left: 24px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: white;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  box-shadow: 0 10px 28px rgba(6, 182, 212, .24);
}

.auth-eyebrow {
  margin: 18px 24px 0;
  color: #c4b5fd;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.auth-brand-block h1 {
  margin: 6px 24px 0;
  color: #fff;
  font-size: 1.65rem;
  letter-spacing: -.8px;
}

.auth-brand-block p {
  margin: 6px 24px 0;
  color: #8f9bb7;
  font-size: .84rem;
}

body.auth-screen #login-section .card-title {
  margin-bottom: 22px !important;
  color: #fff !important;
  font-size: 1.15rem;
  text-align: left !important;
}

body.auth-screen #login-section .form-label {
  color: #b7c1d8 !important;
  font-size: .78rem;
  font-weight: 600;
}

body.auth-screen #login-section .btn-custom-primary {
  min-height: 50px;
  border-radius: 16px !important;
  font-size: .96rem;
  background: linear-gradient(135deg, #8b5cf6, #4f46e5) !important;
}

body.auth-screen #login-section .form-divider span {
  background: #111827 !important;
}

@media (max-width: 380px) {
  .auth-video-shell { height: 160px; }
  .auth-brand-block h1 { font-size: 1.42rem; }
}

.auth-video-shell,
.dashboard-video-shell {
  border-radius: 22px;
  isolation: isolate;
}

.dashboard-video-shell {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  background: #090d19;
}

.dashboard-video-shell .hero-media-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.dashboard-video-shell video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: .78;
  filter: saturate(1.15) contrast(1.08);
}

.dashboard-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(180deg, transparent 28%, rgba(4, 7, 15, .92) 100%);
  pointer-events: none;
}

.hero-details-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px 7px 12px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(9, 15, 31, .6);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2px;
}
.hero-details-btn i { color: #22d3ee; font-size: .92rem; }
.hero-details-btn:active { transform: scale(0.95); }

.dashboard-video-overlay .eyebrow {
  color: #67e8f9;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.7px;
}

.dashboard-video-overlay h3 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 1.18rem;
}

.payout-promise-card {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(45, 212, 191, .22);
  background: linear-gradient(135deg, rgba(13, 52, 63, .80), rgba(17, 24, 39, .94));
}

.payout-promise-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  color: #042f2e;
  background: linear-gradient(135deg, #5eead4, #22d3ee);
  font-size: 1.2rem;
}

.payout-promise-card strong { color: #f8fafc; font-size: .88rem; }
.payout-promise-card small { display: block; margin-top: 2px; color: #8f9bb7; line-height: 1.4; }

.result-policy-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 14px 0 22px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(251, 191, 36, .18);
  background: linear-gradient(135deg, rgba(61, 44, 10, .52), rgba(17, 24, 39, .86));
}

.result-policy-card i { color: #fbbf24; font-size: 1.15rem; margin-top: 2px; }
.result-policy-card strong { display: block; color: #f8fafc; font-size: .84rem; }
.result-policy-card small { color: #aab5ca; line-height: 1.45; }

.music-header-btn.is-playing { color: #67e8f9 !important; }

.dashboard-video-play-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(9, 15, 31, .55);
  backdrop-filter: blur(6px);
  font-size: 1rem;
}
.dashboard-video-play-btn:active { transform: scale(0.9); }
.dashboard-video-play-btn.is-playing { background: linear-gradient(135deg, #5eead4, #22d3ee); color: #042f2e; border-color: transparent; }

.whatsapp-fab {
  position: fixed;
  right: 16px;
  bottom: calc(94px + env(safe-area-inset-bottom));
  z-index: 1050;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.55rem;
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .38), 0 0 22px rgba(37, 211, 102, .3);
  touch-action: none;
  cursor: grab;
}
.whatsapp-fab:active { cursor: grabbing; transform: scale(0.94); }
body.auth-screen .whatsapp-fab { display: none; }

.bank-method-option[data-bank-method="BharatPe"] {
  border-color: rgba(244, 114, 182, .22) !important;
}

@media (min-width: 680px) {
  .whatsapp-fab { right: 26px; }
}
.auth-welcome-toast {
  position: fixed;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(360px, calc(100% - 32px));
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(24, 12, 51, .96), rgba(8, 18, 33, .96));
  border: 1px solid rgba(139, 92, 246, .38);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 0 30px rgba(34, 211, 238, .18);
  backdrop-filter: blur(16px);
  transition: top .45s cubic-bezier(.22, 1, .36, 1), opacity .35s ease;
  opacity: 0;
}
.auth-welcome-toast.show { top: max(14px, env(safe-area-inset-top)); opacity: 1; }
.auth-welcome-toast-avatar {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
}
.auth-welcome-toast-avatar.has-image {
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(103,232,249,.65);
  box-shadow: 0 0 0 3px rgba(34,211,238,.1);
}
.auth-welcome-toast-body { min-width: 0; }
.auth-welcome-toast-name {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.auth-welcome-toast-name i { color: #38bdf8; font-size: .95rem; }
.auth-welcome-toast-msg { color: #c4b5fd; font-size: .74rem; font-weight: 600; margin-top: 1px; }

.btn, .btn-custom, .game-card, .nav-item, .tab-item, .bank-method-option, .amount-preset-btn {
  transition: transform .12s ease, box-shadow .15s ease, color .15s ease;
}
.btn:active, .btn-custom:active, .game-card:active, .nav-item:active, .tab-item:active, .bank-method-option:active, .amount-preset-btn:active {
  transform: scale(0.95);
}

#appSplashEl {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: radial-gradient(circle at 50% 40%, #1e1140, #05070f 70%);
  animation: splashFadeOut .6s ease 1.5s forwards;
}
#appSplashEl .splash-mark {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  box-shadow: 0 0 40px rgba(139, 92, 246, .5);
  animation: splashPulse 1.1s ease-in-out infinite;
}
#appSplashEl .splash-name {
  color: #e9d5ff;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: .95rem;
  text-transform: uppercase;
  opacity: 0;
  animation: splashTextIn .5s ease .3s forwards;
}
@keyframes splashPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes splashTextIn { to { opacity: 1; } }
@keyframes splashFadeOut { to { opacity: 0; visibility: hidden; pointer-events: none; } }

#battleIntroEl {
  position: fixed;
  inset: 0;
  z-index: 99999;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #05070d;
  font-family: 'Poppins', sans-serif;
  transition: opacity .6s ease, visibility .6s ease;
}
#battleIntroEl.bi-hide { opacity: 0; visibility: hidden; pointer-events: none; }

#battleIntroEl .bi-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(249,115,22,.25), transparent 55%),
    linear-gradient(180deg, #1a0f2e 0%, #0a0f1f 45%, #05070d 100%);
  animation: biBgPulse 3.5s ease-in-out infinite;
}
@keyframes biBgPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.18); }
}

#battleIntroEl .bi-grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(56,189,248,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,.08) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(500px) rotateX(55deg) scale(1.6);
  transform-origin: 50% 100%;
  opacity: .5;
}

#battleIntroEl .bi-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,.035) 0px,
    rgba(255,255,255,.035) 1px,
    transparent 2px,
    transparent 4px
  );
  mix-blend-mode: overlay;
  pointer-events: none;
}

#battleIntroEl .bi-zone-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 2px solid rgba(56,189,248,.55);
  box-shadow: 0 0 22px rgba(56,189,248,.35), inset 0 0 22px rgba(56,189,248,.2);
  transform: translate(-50%, -50%) scale(0);
  animation: biZoneShrink 4.2s cubic-bezier(.2,.7,.3,1) infinite;
}
#battleIntroEl .bi-zone-ring1 { width: 620px; height: 620px; animation-delay: 0s; }
#battleIntroEl .bi-zone-ring2 { width: 620px; height: 620px; animation-delay: .5s; border-color: rgba(249,115,22,.4); box-shadow: 0 0 22px rgba(249,115,22,.3); }
#battleIntroEl .bi-zone-ring3 { width: 620px; height: 620px; animation-delay: 1s; }
@keyframes biZoneShrink {
  0% { transform: translate(-50%, -50%) scale(0.05); opacity: 0; }
  8% { opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

#battleIntroEl .bi-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.6rem;
  color: rgba(248,113,113,.55);
  animation: biCrosshairPulse 1.6s ease-in-out infinite;
}
@keyframes biCrosshairPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .35; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: .8; }
}

#battleIntroEl .bi-chute {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  animation: biChuteDrop 1.7s cubic-bezier(.32,.1,.4,1) forwards;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.5));
}
@keyframes biChuteDrop {
  0%   { top: -80px; transform: translateX(-50%) rotate(-6deg); }
  30%  { transform: translateX(-58%) rotate(5deg); }
  60%  { transform: translateX(-42%) rotate(-5deg); }
  85%  { top: 40%; transform: translateX(-56%) rotate(3deg); opacity: 1; }
  100% { top: 44%; opacity: 0; }
}

#battleIntroEl .bi-spark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fde047;
  box-shadow: 0 0 8px 2px rgba(253,224,71,.8);
  opacity: 0;
  animation: biSparkFly 1.8s ease-out infinite;
}
#battleIntroEl .bi-spark1 { top: 30%; left: 20%; animation-delay: .2s; }
#battleIntroEl .bi-spark2 { top: 65%; left: 78%; animation-delay: .9s; }
#battleIntroEl .bi-spark3 { top: 22%; left: 70%; animation-delay: 1.5s; }
#battleIntroEl .bi-spark4 { top: 75%; left: 30%; animation-delay: .55s; }
#battleIntroEl .bi-spark5 { top: 45%; left: 85%; animation-delay: 2.1s; }
@keyframes biSparkFly {
  0% { opacity: 0; transform: translate(0,0) scale(.4); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(60px,-40px) scale(1.4); }
}

#battleIntroEl .bi-fight {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
#battleIntroEl .bi-fighter {
  position: absolute;
  top: 46%;
  font-size: 1.9rem;
  opacity: 0;
  animation-duration: .7s;
  animation-delay: 1.7s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(.3,.6,.3,1);
}
#battleIntroEl .bi-fighter-left {
  left: 8%;
  color: #38bdf8;
  transform: scaleX(1) rotate(-8deg);
  animation-name: biFighterInLeft;
  text-shadow: 0 0 14px rgba(56,189,248,.7);
}
#battleIntroEl .bi-fighter-right {
  right: 8%;
  color: #f87171;
  transform: scaleX(-1) rotate(8deg);
  animation-name: biFighterInRight;
  text-shadow: 0 0 14px rgba(248,113,113,.7);
}
@keyframes biFighterInLeft {
  0% { left: 4%; opacity: 0; transform: scaleX(1) rotate(-8deg) translateX(0); }
  15% { opacity: 1; }
  75% { left: 46%; opacity: 1; transform: scaleX(1) rotate(6deg) translateX(0); }
  100% { left: 46%; opacity: 0; transform: scaleX(1) rotate(6deg) translateX(-6px) scale(.7); }
}
@keyframes biFighterInRight {
  0% { right: 4%; opacity: 0; transform: scaleX(-1) rotate(8deg) translateX(0); }
  15% { opacity: 1; }
  75% { right: 46%; opacity: 1; transform: scaleX(-1) rotate(-6deg) translateX(0); }
  100% { right: 46%; opacity: 0; transform: scaleX(-1) rotate(-6deg) translateX(6px) scale(.7); }
}
#battleIntroEl .bi-clash-flash {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: radial-gradient(circle, #fff 0%, #fde047 35%, rgba(253,224,71,0) 72%);
  opacity: 0;
  animation: biClashFlash .5s ease 2.35s forwards;
}
@keyframes biClashFlash {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  35% { transform: translate(-50%, -50%) scale(14); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(20); opacity: 0; }
}
#battleIntroEl .bi-clash-word {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.4);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 0 18px rgba(255,255,255,.9), 0 0 34px rgba(249,115,22,.8);
  opacity: 0;
  animation: biClashWord .55s cubic-bezier(.2,.9,.3,1.4) 2.35s forwards;
}
@keyframes biClashWord {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.3); }
  40% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
  70% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.3); }
}
#battleIntroEl { animation: biShake .4s ease 2.35s; }
@keyframes biShake {
  0%, 100% { transform: translate(0,0); }
  20% { transform: translate(-6px, 2px); }
  40% { transform: translate(5px, -3px); }
  60% { transform: translate(-4px, 3px); }
  80% { transform: translate(4px, -2px); }
}

#battleIntroEl .bi-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

#battleIntroEl .bi-badge {
  color: #38bdf8;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 10px;
  opacity: 0;
  animation: biFadeUp .5s ease 2.5s forwards;
}

#battleIntroEl .bi-title {
  margin: 0;
  line-height: .92;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
#battleIntroEl .bi-title-line1,
#battleIntroEl .bi-title-line2 {
  display: block;
  font-size: 2.6rem;
  opacity: 0;
  transform: scale(1.4);
  filter: blur(6px);
}
#battleIntroEl .bi-title-line1 {
  color: #fff;
  animation: biTitleSlam .6s cubic-bezier(.2,.9,.3,1.3) 2.65s forwards;
}
#battleIntroEl .bi-title-line2 {
  background: linear-gradient(90deg, #f97316, #facc15);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: biTitleSlam .6s cubic-bezier(.2,.9,.3,1.3) 2.85s forwards;
}
@keyframes biTitleSlam {
  0% { opacity: 0; transform: scale(1.4); filter: blur(6px); }
  70% { opacity: 1; transform: scale(.96); filter: blur(0); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

#battleIntroEl .bi-typewriter {
  margin-top: 14px;
  min-height: 1.1em;
  color: #7dd3fc;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1px;
  font-family: 'Courier New', monospace;
  opacity: 0;
  animation: biFadeUp .4s ease 2.95s forwards;
}
#battleIntroEl .bi-cursor {
  display: inline-block;
  margin-left: 2px;
  color: #38bdf8;
  animation: biDotBlink .8s steps(1) infinite;
}

#battleIntroEl .bi-loadbar {
  width: 190px;
  height: 5px;
  border-radius: 6px;
  margin-top: 22px;
  background: rgba(255,255,255,.1);
  overflow: hidden;
  opacity: 0;
  animation: biFadeUp .5s ease 3.6s forwards;
}
#battleIntroEl .bi-loadbar-fill {
  height: 100%;
  width: 0%;
  border-radius: 6px;
  background: linear-gradient(90deg, #38bdf8, #f97316);
  animation: biLoadFill 2.2s ease 3.65s forwards;
}
@keyframes biLoadFill { to { width: 100%; } }
@keyframes biDotBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

#battleIntroEl .bi-loadtext {
  margin-top: 9px;
  font-size: .62rem;
  letter-spacing: 2px;
  color: #64748b;
  font-weight: 600;
  opacity: 0;
  animation: biFadeUp .5s ease 3.7s forwards;
}

@keyframes biFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

#battleIntroEl .bi-skip-btn {
  position: absolute;
  right: 18px;
  bottom: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 30px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(6px);
  color: #e2e8f0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  opacity: 0;
  animation: biFadeUp .5s ease .4s forwards;
  transition: background .15s ease, transform .12s ease;
}
#battleIntroEl .bi-skip-btn:hover { background: rgba(255,255,255,.14); }
#battleIntroEl .bi-skip-btn:active { transform: scale(.94); }

@media (max-width: 420px) {
  #battleIntroEl .bi-title-line1,
  #battleIntroEl .bi-title-line2 { font-size: 2.1rem; }
  #battleIntroEl .bi-zone-ring1,
  #battleIntroEl .bi-zone-ring2,
  #battleIntroEl .bi-zone-ring3 { width: 420px; height: 420px; }
}

.contest-status-nav {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0;
  margin: 0 0 22px;
}
.contest-status-btn {
  position: relative;
  min-height: 112px;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center;
  gap: 7px;
  padding: 16px 8px 14px !important;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .16) !important;
  border-radius: 20px !important;
  text-align: center !important;
  color: #fff !important;
  background: linear-gradient(180deg, #101a30, #0b1324) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .28) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease !important;
}
.contest-status-btn::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px currentColor;
  opacity: .5;
}
.contest-status-btn:hover { transform: translateY(-3px) !important; }
.contest-status-btn:active { transform: scale(.97) !important; }
.status-card-top { display: contents; }
.status-icon-badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background: rgba(255,255,255,.05);
  color: inherit;
}
.status-icon-badge i { color: inherit !important; font-size: 1.05rem !important; margin: 0 !important; }
.status-arrow { display: none; }
.status-card-label {
  display: block;
  font-size: .82rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.1px;
  color: #fff !important;
}
.contest-status-btn small {
  display: block;
  color: rgba(255,255,255,.5) !important;
  font-size: .63rem;
  font-weight: 600;
  line-height: 1;
}
.contest-status-btn.status-upcoming { color: #60a5fa !important; }
.contest-status-btn.status-ongoing { color: #2dd4bf !important; }
.contest-status-btn.status-completed { color: #fb7185 !important; }
.contest-status-btn.active {
  border-color: currentColor !important;
  background: linear-gradient(180deg, rgba(255,255,255,.07), #0b1324) !important;
}
.contest-status-btn.active .status-icon-badge { background: currentColor; }
.contest-status-btn.active .status-icon-badge i { color: #0b1324 !important; }
.contest-status-btn.status-upcoming.active { box-shadow: 0 0 0 1px #60a5fa inset, 0 12px 26px rgba(0,0,0,.32), 0 0 18px rgba(96,165,250,.35) !important; }
.contest-status-btn.status-ongoing.active { box-shadow: 0 0 0 1px #2dd4bf inset, 0 12px 26px rgba(0,0,0,.32), 0 0 18px rgba(45,212,191,.35) !important; }
.contest-status-btn.status-completed.active { box-shadow: 0 0 0 1px #fb7185 inset, 0 12px 26px rgba(0,0,0,.32), 0 0 18px rgba(251,113,133,.35) !important; }

@media (max-width: 380px) {
  .contest-status-nav { gap: 7px; }
  .contest-status-btn { min-height: 116px; padding: 10px 8px 11px !important; }
  .status-icon-badge { width: 38px; height: 38px; }
  .status-card-label { font-size: .75rem; }
  .contest-status-btn small { font-size: .58rem; }
}

.tournament-tabs {
  background: #0e1628 !important;
  border: none;
  box-shadow: none !important;
  border-radius: 14px;
  padding: 5px;
  gap: 4px;
}
.tab-item { color: #8f9bb7 !important; border-radius: 10px; }
.tab-item.active {
  background: linear-gradient(135deg, #5eead4, #22d3ee) !important;
  color: #042f2e !important;
  box-shadow: 0 6px 16px rgba(34, 211, 238, .25) !important;
}

.hero-video-sound-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(9, 15, 31, .55);
  backdrop-filter: blur(6px);
  font-size: .95rem;
}
.hero-video-sound-btn:active { transform: scale(0.9); }

#announcementBarEl {
  position: relative;
  background: linear-gradient(120deg, rgba(139,92,246,.16), rgba(6,182,212,.12));
  border: 1px solid rgba(139,92,246,.32);
  padding-right: 34px;
}
#announcementBarEl .icon { color: #a78bfa; }
#announcementBarEl .text { color: #e5e7eb; font-weight: 600; }
.announcement-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  line-height: 1;
  padding: 2px 6px;
}
.announcement-close:active { transform: scale(0.85); }

.daily-checkin-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  margin-bottom: 20px;
  background: linear-gradient(120deg, rgba(245,158,11,.16), rgba(217,70,239,.10));
  border: 1px solid rgba(245,158,11,.32);
}
.daily-checkin-title { color: #fcd34d; font-weight: 800; font-size: .92rem; display: flex; align-items: center; gap: 6px; }
.daily-checkin-title i { color: #f59e0b; }
.daily-checkin-sub { color: var(--text-secondary); font-size: .74rem; margin-top: 2px; }
.daily-checkin-btn {
  flex: none;
  border: none;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 800;
  font-size: .82rem;
  color: #1c1300;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 8px 18px rgba(245,158,11,.28);
}
.daily-checkin-btn:disabled { opacity: .55; background: var(--nm-bg); color: var(--text-secondary); box-shadow: none; }
.daily-checkin-btn:active:not(:disabled) { transform: scale(0.94); }

.psc-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 7, 13, .72);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}
.psc-overlay.show { opacity: 1; visibility: visible; pointer-events: auto; }

.psc-card {
  position: relative;
  width: 100%;
  max-width: 320px;
  padding: 34px 22px 24px;
  border-radius: 22px;
  text-align: center;
  background: linear-gradient(160deg, #1a1035, #0b0f22 65%);
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 1px rgba(250,204,21,.25), 0 20px 50px rgba(0,0,0,.55), 0 0 40px rgba(139,92,246,.25);
  transform: translateY(24px) scale(.92);
  opacity: 0;
  transition: transform .35s cubic-bezier(.18,.89,.32,1.28), opacity .3s ease;
}
.psc-overlay.show .psc-card { transform: translateY(0) scale(1); opacity: 1; }

.psc-ribbon {
  position: absolute;
  top: 16px;
  left: -34px;
  width: 150px;
  padding: 4px 0;
  transform: rotate(-45deg);
  background: linear-gradient(90deg, #facc15, #f59e0b);
  color: #1a1035;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: 2px;
  box-shadow: 0 3px 8px rgba(0,0,0,.35);
}

.psc-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.psc-close:active { transform: scale(.9); }

.psc-avatar-ring {
  width: 78px;
  height: 78px;
  margin: 0 auto 12px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 0deg, #facc15, #f97316, #8b5cf6, #38bdf8, #facc15);
  animation: pscRingSpin 3.5s linear infinite;
}
@keyframes pscRingSpin { to { transform: rotate(360deg); } }
.psc-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid #0b0f22;
  background: #0b0f22;
}

.psc-user-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 18px;
}
.psc-username {
  color: #f1f5f9;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .3px;
}
.psc-tick { color: #38bdf8; font-size: .95rem; }

.psc-check-circle {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 0 0 6px rgba(34,197,94,.15);
  color: #fff;
  font-size: 1.6rem;
  transform: scale(0);
  animation: pscCheckPop .45s cubic-bezier(.18,.89,.32,1.28) .15s forwards;
}
.psc-overlay.show .psc-check-circle { animation-play-state: running; }
@keyframes pscCheckPop { to { transform: scale(1); } }

.psc-title {
  color: #fff;
  font-weight: 800;
  font-size: 1.14rem;
  margin-bottom: 6px;
}
.psc-amount {
  font-size: 1.7rem;
  font-weight: 800;
  background: linear-gradient(90deg, #facc15, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 2px;
}
.psc-sub {
  color: #94a3b8;
  font-size: .76rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.psc-done-btn {
  width: 100%;
  padding: 11px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(90deg, #8b5cf6, #38bdf8);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .4px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(139,92,246,.35);
}
.psc-done-btn:active { transform: scale(.97); }

.my-matches-header{display:flex;align-items:center;gap:14px;padding:8px 0 16px}
.mm-back{background:rgba(255,255,255,.08);border:none;color:#fff;width:38px;height:38px;border-radius:50%;font-size:1.1rem}
.mm-tabs{display:flex;justify-content:space-around;border-bottom:1px solid rgba(255,255,255,.12);margin-bottom:16px}
.mm-tab{background:none;border:none;color:#94a3b8;font-size:1.05rem;padding:12px 8px;position:relative}
.mm-tab.active{color:#fff;font-weight:600}
.mm-tab.active::after{content:'';position:absolute;left:15%;right:15%;bottom:0;height:3px;background:#fff;border-radius:2px}
