@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg-primary: #F7F4EE;
  --bg-card: #FFFFFF;
  --bg-card-alt: #FFFDF9;
  --bg-dark: #0F0E0D;
  --text-main: #0F0E0D;
  --text-muted: #6E685E;
  --text-inverse: #F7F4EE;
  
  --accent-red: #FF3B2B;
  --accent-red-hover: #E02B1C;
  --accent-gold: #FFB800;
  --accent-green: #00C853;
  --accent-blue: #2A60E4;
  
  --border-dark: #0F0E0D;
  --border-subtle: #E2DBD0;
  --shadow-hard: 5px 5px 0px #0F0E0D;
  --shadow-hard-hover: 7px 7px 0px #0F0E0D;
  --shadow-hard-pressed: 2px 2px 0px #0F0E0D;
  --shadow-red: 5px 5px 0px #FF3B2B;

  --font-heading: 'Dela Gothic One', cursive, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --spring-transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Inline Vector Icon Helpers (Zero Emojis System) */
.icon-inline {
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.18em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
}

.icon-btn {
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.2em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-right: 4px;
}

/* Dark Mode Theme (ДРОП PLUS) */
body.theme-dark {
  --bg-primary: #0A0909;
  --bg-card: #171513;
  --bg-card-alt: #1F1D1A;
  --bg-dark: #262320;
  --text-main: #F7F4EE;
  --text-muted: #9E9588;
  --text-inverse: #0F0E0D;
  --border-dark: #332F2B;
  --border-subtle: #292522;
  --shadow-hard: 5px 5px 0px #FF3B2B;
  --shadow-hard-hover: 7px 7px 0px #FF3B2B;
  --shadow-hard-pressed: 2px 2px 0px #FF3B2B;
}

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

html {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.app-container::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Particles Canvas */
#particlesCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* Telegram Mini App Container Simulator */
.app-container {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  background-color: var(--bg-primary);
  border-left: none;
  border-right: none;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-bottom: 90px;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Header */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background-color: var(--bg-card);
  border-bottom: 2.5px solid var(--border-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  box-sizing: border-box;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  min-width: 0;
}

.mascot-avatar-wrapper {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.mascot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border-dark);
  object-fit: cover;
  background-color: var(--accent-blue);
  box-shadow: 2px 2px 0px var(--border-dark);
  transition: var(--spring-transition);
}

.mascot-avatar-wrapper:active .mascot-avatar {
  transform: scale(0.9) rotate(-8deg);
}

.mascot-online-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 11px;
  height: 11px;
  background-color: var(--accent-green);
  border: 2px solid var(--bg-card);
  border-radius: 50%;
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(0, 200, 83, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0); }
}

.brand-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.brand-badge {
  background-color: var(--accent-red);
  color: #FFF;
  font-size: 8px;
  font-family: var(--font-body);
  font-weight: 900;
  padding: 2px 5px;
  border-radius: 4px;
  border: 1.5px solid var(--border-dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 1.5px 1.5px 0px var(--border-dark);
}

.brand-subtitle {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.balance-pill {
  background-color: var(--accent-red);
  color: #FFF;
  padding: 6px 11px;
  border-radius: var(--radius-full);
  font-weight: 900;
  font-size: 14px;
  border: 2px solid var(--border-dark);
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 2px 2px 0px var(--border-dark);
  transition: var(--spring-transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.balance-pill.bump {
  transform: scale(1.15) rotate(3deg);
  background-color: var(--accent-green);
}

.theme-toggle-btn {
  background: var(--bg-primary);
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 5px 8px;
  font-weight: 800;
  font-size: 10px;
  cursor: pointer;
  color: var(--text-main);
  box-shadow: 2px 2px 0px var(--border-dark);
  transition: var(--spring-transition);
}

.theme-toggle-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0px 0px 0px var(--border-dark);
}

/* App Main Content */
.app-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tab-view {
  display: none;
  flex-direction: column;
  gap: 14px;
  animation: slideFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-view.active {
  display: flex;
}

@keyframes slideFadeIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Neo-Brutalist Cards */
.card-hero {
  background: linear-gradient(135deg, #FF3B2B 0%, #D01E10 100%);
  color: #FFFFFF;
  border: 2.5px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 16px 14px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-hard);
  transition: var(--spring-transition);
}

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

.card-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--border-dark);
  color: var(--accent-gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.card-hero-title {
  font-family: var(--font-heading);
  font-size: 21px;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-shadow: 2px 2px 0px rgba(0,0,0,0.3);
  word-wrap: break-word;
}

.card-hero-desc {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  opacity: 0.95;
  margin-bottom: 12px;
}

.card-hero-banner-img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  background-color: #FFFFFF;
  border: 2.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: 3px 3px 0px rgba(0,0,0,0.2);
}

.hero-showcase-box {
  background-color: var(--bg-card);
  border: 2.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 4px 4px 0px var(--border-dark);
  position: relative;
  overflow: hidden;
}

.hero-showcase-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 50%;
  border: 2.5px solid var(--border-dark);
  box-shadow: 3px 3px 0px var(--border-dark);
  background-color: var(--accent-blue);
  flex-shrink: 0;
}

.card-standard {
  background-color: var(--bg-card);
  border: 2.5px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--spring-transition);
}

.card-standard:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hard-hover);
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
}

.card-section-title {
  font-family: var(--font-heading);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: -0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}

.card-badge {
  font-size: 9px;
  font-weight: 900;
  padding: 3px 6px;
  border-radius: 5px;
  border: 1.5px solid var(--border-dark);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 1.5px 1.5px 0px var(--border-dark);
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-badge.red {
  background-color: var(--accent-red);
  color: #FFF;
}

.card-badge.gold {
  background-color: var(--accent-gold);
  color: var(--border-dark);
}

.card-badge.green {
  background-color: var(--accent-green);
  color: #FFF;
}

/* Stat Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.stat-box {
  background-color: var(--bg-card-alt);
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 10px 4px;
  text-align: center;
  box-shadow: 2.5px 2.5px 0px var(--border-dark);
  transition: var(--spring-transition);
  box-sizing: border-box;
  min-width: 0;
}

.stat-box:hover {
  transform: scale(1.02);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: 1.2;
  color: var(--accent-red);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-label {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* Task Item */
.task-item {
  background-color: var(--bg-card);
  border: 2.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 82px;
  box-sizing: border-box;
  box-shadow: 3px 3px 0px var(--border-dark);
  transition: var(--spring-transition);
  position: relative;
  overflow: hidden;
}

.task-countdown-text {
  font-variant-numeric: tabular-nums;
  font-family: monospace, var(--font-body);
}

.task-item:hover {
  transform: translateY(-2px);
  box-shadow: 5px 5px 0px var(--border-dark);
}

.task-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  border: 2.5px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 3px 3px 0px var(--border-dark);
  transition: var(--spring-transition);
}

.task-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 2.5px);
  display: block;
}

.task-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.task-icon.red {
  background: linear-gradient(135deg, #FF5252 0%, #E53935 100%);
  color: #FFFFFF;
}

.task-icon.gold {
  background: linear-gradient(135deg, #FFE082 0%, #FFB300 100%);
  color: #0F0E0D;
}

.task-icon.blue {
  background: linear-gradient(135deg, #64B5F6 0%, #1E88E5 100%);
  color: #FFFFFF;
}

.task-icon.green {
  background: linear-gradient(135deg, #A5D6A7 0%, #43A047 100%);
  color: #FFFFFF;
}

.task-icon.purple {
  background: linear-gradient(135deg, #CE93D8 0%, #8E24AA 100%);
  color: #FFFFFF;
}

.task-details {
  flex: 1;
}

.task-name {
  font-weight: 800;
  font-size: 14px;
  line-height: 1.25;
  margin-bottom: 4px;
}

.task-meta {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.task-reward {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--accent-green);
  margin-bottom: 4px;
  text-align: right;
  text-shadow: 1px 1px 0px rgba(0,0,0,0.1);
}

/* Master Buttons */
.btn-primary {
  background-color: var(--accent-red);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 13px;
  text-transform: uppercase;
  padding: 11px 18px;
  border: 2.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow-hard);
  transition: var(--spring-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hard-hover);
}

.btn-primary:active {
  transform: translate(3px, 3px);
  box-shadow: var(--shadow-hard-pressed);
}

.btn-primary.done {
  background-color: var(--accent-green);
  cursor: default;
  box-shadow: 2px 2px 0px var(--border-dark);
  transform: none;
}

.task-action-box {
  text-align: right;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

.task-action-box .btn-primary {
  min-width: 110px;
  box-sizing: border-box;
  white-space: nowrap;
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-main);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  padding: 11px 18px;
  border: 2.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow-hard);
  transition: var(--spring-transition);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hard-hover);
}

.btn-secondary:active {
  transform: translate(3px, 3px);
  box-shadow: var(--shadow-hard-pressed);
}

/* Hold Button Progress Bar */
.hold-btn-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 2.5px solid var(--border-dark);
  background: var(--accent-red);
  box-shadow: 3px 3px 0px var(--border-dark);
  user-select: none;
  cursor: pointer;
  margin-top: 8px;
}

.hold-btn-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #333333;
  z-index: 1;
}

.hold-btn-text {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 16px;
  color: #FFFFFF;
  padding: 14px;
  text-align: center;
  letter-spacing: 1px;
}

/* Category Filter Chips */
.filter-chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 16px 12px 4px;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.filter-chips::-webkit-scrollbar {
  display: none;
}

.filter-chips:active {
  cursor: grabbing;
}

.chip {
  background-color: var(--bg-card);
  border: 2.5px solid var(--border-dark);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 2.5px 2.5px 0px var(--border-dark);
  transition: var(--spring-transition);
}

.chip:active {
  transform: translate(2px, 2px);
  box-shadow: 0px 0px 0px var(--border-dark);
}

.chip.active {
  background-color: var(--border-dark);
  color: var(--bg-primary);
  box-shadow: var(--shadow-red);
}

/* Lot Card (Raffles) */
.lot-card {
  background-color: var(--bg-card);
  border: 2.5px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-direction: column;
  transition: var(--spring-transition);
}

.lot-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hard-hover);
}

.lot-header {
  background-color: var(--accent-red);
  color: #FFF;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2.5px solid var(--border-dark);
}

.lot-header-title {
  font-family: var(--font-heading);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lot-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lot-name {
  font-family: var(--font-heading);
  font-size: 23px;
  line-height: 1.1;
  text-transform: uppercase;
}

.lot-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  border-top: 2px dashed var(--border-subtle);
  padding-top: 10px;
}

/* Animated Progress Bar */
.progress-bar-wrap {
  width: 100%;
  height: 12px;
  background-color: var(--bg-primary);
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-red) 100%);
  border-radius: var(--radius-full);
  width: 65%;
  transition: width 1s ease-in-out;
}

/* Bottom Navigation Bar */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  background-color: var(--bg-card);
  border-top: 2.5px solid var(--border-dark);
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  z-index: 200;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.06);
  box-sizing: border-box;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  padding: 6px 14px;
  transition: var(--spring-transition);
  position: relative;
}

.nav-item svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.nav-item:active svg {
  transform: scale(0.85);
}

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

.nav-item.active svg {
  transform: translateY(-2px) scale(1.1);
  fill: var(--accent-red);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  width: 16px;
  height: 3px;
  background-color: var(--accent-red);
  border-radius: 2px;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 14, 13, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 18px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background-color: var(--bg-card);
  border: 3px solid var(--border-dark);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 410px;
  padding: 22px;
  box-shadow: 10px 10px 0px var(--border-dark);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.85) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2.5px solid var(--border-dark);
  padding-bottom: 12px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 19px;
  text-transform: uppercase;
}

.modal-close {
  background: var(--bg-primary);
  border: 2px solid var(--border-dark);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  color: var(--text-main);
  box-shadow: 2px 2px 0px var(--border-dark);
  transition: var(--spring-transition);
}

.modal-close:active {
  transform: scale(0.9);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}

.form-group:last-of-type {
  margin-bottom: 6px;
}

.form-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.form-input {
  background-color: var(--bg-primary);
  border: 2.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  box-shadow: 2px 2px 0px var(--border-dark);
  transition: var(--spring-transition);
}

.form-input:focus {
  border-color: var(--accent-red);
  box-shadow: 4px 4px 0px var(--accent-red);
}

/* Toast Notifications (Always on top of modals, z-index: 99999) */
.toast-container {
  position: fixed;
  top: 75px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  width: 90%;
  max-width: 420px;
}

.toast {
  background-color: var(--border-dark);
  color: #FFF;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 13.5px;
  border: 2.5px solid var(--accent-gold);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  animation: toastBounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Modal Error Shake Animation */
.modal-box.shake {
  animation: modalShake 0.4s ease;
}

@keyframes modalShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-10px); }
  40%, 80% { transform: translateX(10px); }
}

@keyframes toastBounce {
  from { opacity: 0; transform: translateY(-30px) scale(0.85); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Mascot Display Banner */
.mascot-intro-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background-color: var(--bg-card);
  border: 2.5px solid var(--border-dark);
  padding: 16px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard);
  transition: var(--spring-transition);
  cursor: pointer;
}

.mascot-intro-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hard-hover);
}

.mascot-intro-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2.5px solid var(--border-dark);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 3px 3px 0px var(--border-dark);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mascot-intro-box:hover .mascot-intro-img {
  transform: scale(1.1) rotate(5deg);
}

.mascot-intro-text h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.mascot-intro-text p {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.35;
}
