/* ==========================================================================
   IMPACT GLOW - PREMIUM MOBILE STYLING & GLASSMORPHISM
   ========================================================================== */

:root {
  --color-bg: #0b071a;
  --color-primary-cyan: #00f0ff;
  --color-primary-magenta: #ff007f;
  --color-primary-purple: #7928ca;
  --color-primary-gold: #ffb800;
  --color-accent-blue: #0070f3;
  --color-emerald: #00e676;
  --color-danger: #ff1744;

  --glass-bg: rgba(20, 15, 38, 0.65);
  --glass-bg-subtle: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-glow: rgba(0, 240, 255, 0.35);

  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Rajdhani', sans-serif;

  --shadow-glow-cyan: 0 0 25px rgba(0, 240, 255, 0.4);
  --shadow-glow-magenta: 0 0 25px rgba(255, 0, 127, 0.4);
  --shadow-panel: 0 12px 32px 0 rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

html, body {
  height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: var(--color-bg);
  background: url('bg.jpg') center/cover no-repeat;
  font-family: var(--font-main);
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Base Viewport Container (Max 480px for Mobile) */
.app-viewport {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100%;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 30%, rgba(20, 10, 45, 0.4) 0%, rgba(8, 4, 20, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.ambient-spark {
  position: absolute;
  border-radius: 50%;
  background: var(--color-primary-cyan);
  opacity: 0.6;
  filter: blur(1px);
  animation: floatUp 6s linear infinite;
}

@keyframes floatUp {
  0% { transform: translateY(100vh) scale(0.5); opacity: 0; }
  20% { opacity: 0.7; }
  80% { opacity: 0.7; }
  100% { transform: translateY(-20px) scale(1.2); opacity: 0; }
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow-panel);
}

/* Header Bar */
.top-nav-bar {
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: rgba(15, 10, 30, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.top-nav-bar.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 5px 12px;
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-mini-logo {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 10px var(--color-primary-cyan);
}

.brand-mini-title {
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, #00f0ff, #ff007f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Screens Layout Container */
.screens-container {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
  z-index: 10;
  overflow: hidden;
}

.screen-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96) translateY(15px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 16px;
  overflow-y: auto;
}

.screen-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

/* Common Glowing Buttons */
.glow-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  font-family: var(--font-accent);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.glow-btn:active {
  transform: scale(0.96);
}

.primary-glow-btn {
  background: linear-gradient(135deg, #00f0ff 0%, #7928ca 50%, #ff007f 100%);
  color: #ffffff;
  padding: 16px 28px;
  font-size: 18px;
  box-shadow: 0 8px 24px rgba(255, 0, 127, 0.35), 0 0 15px rgba(0, 240, 255, 0.4);
}

.primary-glow-btn:hover {
  box-shadow: 0 10px 30px rgba(255, 0, 127, 0.5), 0 0 25px rgba(0, 240, 255, 0.6);
}

.huge-play-btn {
  width: 100%;
  background: linear-gradient(90deg, #00f0ff, #0070f3, #ff007f);
  color: #ffffff;
  padding: 18px 24px;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.4);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 14px 20px;
  font-size: 16px;
}

.outline-btn {
  background: transparent;
  border: 1px solid var(--color-danger);
  color: var(--color-danger);
  padding: 14px 20px;
  font-size: 15px;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  animation: btnShineAnim 3.5s infinite;
}

@keyframes btnShineAnim {
  0%, 60% { left: -100%; }
  100% { left: 200%; }
}

/* 1. WELCOME SCREEN */
#screenWelcome {
  justify-content: center;
  align-items: center;
}

.welcome-card {
  width: 100%;
  max-width: 380px;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-box {
  position: relative;
  width: 130px;
  height: 130px;
  margin-bottom: 20px;
}

.glow-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.5) 0%, rgba(255, 0, 127, 0.3) 60%, transparent 70%);
  filter: blur(10px);
  animation: pulseGlow 3s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.hero-title {
  font-family: var(--font-accent);
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.accent-text {
  background: linear-gradient(90deg, #00f0ff, #ff007f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.welcome-features {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--glass-bg-subtle);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

.feat-icon {
  font-size: 18px;
}

/* 2. HOME SCREEN */
.home-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 20px;
}

.profile-hero-card {
  padding: 16px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-avatar-frame {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f0ff, #ff007f);
  padding: 3px;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.avatar-shimmer {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: url('logo.png') center/cover no-repeat;
}

.profile-info {
  flex: 1;
  overflow: hidden;
}

.profile-tag {
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--color-primary-cyan);
  font-weight: 700;
}

.profile-name {
  font-size: 18px;
  font-weight: 800;
  margin: 2px 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.level-progress-bar-wrap {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 4px;
}

.level-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #00f0ff, #ff007f);
  border-radius: 4px;
  transition: width 0.4s ease;
}

.profile-stat-sub {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.play-action-card {
  position: relative;
  padding: 24px 20px;
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--glass-border-glow);
}

.play-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.current-target-title {
  display: block;
  font-family: var(--font-accent);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--color-primary-cyan);
  margin-bottom: 6px;
}

.current-target-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.hub-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hub-tile-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
  text-align: left;
}

.hub-tile-btn:active {
  transform: scale(0.96);
  border-color: var(--color-primary-cyan);
}

.hub-icon {
  font-size: 26px;
  margin-bottom: 8px;
}

.hub-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.hub-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* 3. GAME SCREEN */
#screenGame {
  padding: 8px;
  display: flex;
  flex-direction: column;
}

.game-view-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.game-hud-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  margin-bottom: 8px;
  z-index: 15;
}

.hud-mini-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hud-center-info {
  text-align: center;
}

.hud-level-tag {
  display: block;
  font-family: var(--font-accent);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--color-primary-cyan);
}

.hud-target-indicator {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
}

.hud-score-box {
  text-align: right;
  min-width: 60px;
}

.hud-score-label {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.hud-score-val {
  font-family: var(--font-accent);
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.game-arena-wrapper {
  position: relative;
  flex: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(10, 6, 24, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#gameCanvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}

.strike-feedback-text {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  font-family: var(--font-accent);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1px;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.8);
  white-space: nowrap;
  z-index: 20;
}

.strike-feedback-text.show-good {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
  color: var(--color-primary-cyan);
}

.strike-feedback-text.show-fail {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
  color: var(--color-danger);
}

.game-bottom-dock {
  margin-top: 8px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.projectile-queue-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  height: 20px;
}

.queue-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary-cyan);
  box-shadow: 0 0 10px var(--color-primary-cyan);
  transition: all 0.2s;
}

.queue-dot.empty {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: none;
  transform: scale(0.7);
}

.strike-tap-btn {
  width: 100%;
  padding: 16px;
  font-size: 20px;
  background: linear-gradient(135deg, #00f0ff 0%, #ff007f 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
}

/* SUBPAGE LAYOUTS (Achievements, Shop, Stages, Settings) */
.subpage-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 12px;
}

.subpage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}

.subpage-back-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.subpage-title {
  font-family: var(--font-accent);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.subpage-counter, .shop-currency-badge {
  font-family: var(--font-accent);
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 12px;
}

.scrollable-content {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 4px;
}

/* Achievements List */
.achievement-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s;
}

.achievement-card.unlocked {
  border-color: rgba(0, 240, 255, 0.4);
  background: rgba(20, 25, 50, 0.7);
}

.achieve-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.achieve-info {
  flex: 1;
}

.achieve-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.achieve-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.achieve-reward {
  font-family: var(--font-accent);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary-cyan);
  white-space: nowrap;
}

/* Shop Grid */
.shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.shop-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.shop-card.equipped {
  border-color: var(--color-primary-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.skin-preview-orb {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin-bottom: 10px;
  box-shadow: 0 0 15px currentColor;
  transition: transform 0.2s;
}

.skin-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.skin-status {
  font-size: 12px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.6);
}

.shop-buy-btn {
  width: 100%;
  padding: 8px 0;
  font-size: 13px;
}

/* Stages Grid (30 Levels) */
.stages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.stage-node-btn {
  aspect-ratio: 1/1;
  border-radius: 14px;
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
}

.stage-node-btn.unlocked {
  border-color: rgba(0, 240, 255, 0.5);
  background: rgba(20, 25, 60, 0.7);
}

.stage-node-btn.current {
  border-color: var(--color-primary-magenta);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.5);
  animation: pulseNode 2s infinite alternate;
}

@keyframes pulseNode {
  0% { transform: scale(0.98); }
  100% { transform: scale(1.05); }
}

.stage-node-btn.locked {
  opacity: 0.4;
  cursor: not-allowed;
}

.stage-node-num {
  font-family: var(--font-accent);
  font-size: 16px;
  font-weight: 800;
}

.stage-node-stars {
  font-size: 9px;
  color: var(--color-primary-gold);
}

/* Settings */
.settings-group {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.settings-group-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary-cyan);
}

.settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.settings-label {
  font-size: 14px;
  font-weight: 600;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transition: .3s;
  border-radius: 26px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--color-primary-cyan);
}

input:checked + .toggle-slider:before {
  transform: translateX(22px);
}

.settings-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

/* MODAL RESULTS */
.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 2, 12, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 360px;
  padding: 28px 20px;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.show .modal-card {
  transform: scale(1);
}

.modal-icon-badge {
  font-size: 42px;
  margin-bottom: 12px;
}

.modal-title {
  font-family: var(--font-accent);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.modal-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.modal-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.modal-stat-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px;
}

.stat-name {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  margin-bottom: 2px;
}

.stat-num {
  font-family: var(--font-accent);
  font-size: 18px;
  font-weight: 800;
  color: var(--color-primary-cyan);
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Toast Alerts */
.toast-overlay {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 100;
  pointer-events: none;
  width: 90%;
  max-width: 380px;
}

.toast-item {
  background: rgba(15, 20, 40, 0.95);
  border: 1px solid var(--color-primary-cyan);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  animation: toastFadeIn 0.3s ease, toastFadeOut 0.3s ease 2.7s forwards;
}

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

@keyframes toastFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-10px); }
}
