/* ====================================================================
   TITAN CLICKER - PRODUCTION STYLESHEET (MODULAR MULTI-FILE ARCHITECTURE)
   ==================================================================== */

:root {
  --bg-main: #070a12;
  --bg-card: rgba(17, 24, 39, 0.92);
  --bg-card-hover: rgba(30, 41, 59, 0.96);
  --bg-glass: rgba(255, 255, 255, 0.03);

  --accent-amber: #f59e0b;
  --accent-gold: #fbbf24;
  --accent-crimson: #ef4444;
  --accent-cyan: #06b6d4;
  --accent-steel: #94a3b8;
  --accent-titanium: #cbd5e1;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-amber: rgba(245, 158, 11, 0.35);
  --border-glow: rgba(239, 68, 68, 0.4);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --grad-crimson: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  --grad-cyan: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
  --grad-steel: linear-gradient(135deg, #334155 0%, #1e293b 100%);
  --grad-card: linear-gradient(180deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);

  /* Ultra-Rounded Geometry */
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.1);
  --shadow-glow: 0 0 30px rgba(245, 158, 11, 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Custom Ergonomic Dark Scrollbars (Eliminates White Browser Scrollbars) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 9999px;
  border: 2px solid rgba(15, 23, 42, 0.7);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-amber);
}

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(245, 158, 11, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(239, 68, 68, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.06) 0%, transparent 55%);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  transition: transform 0.1s ease;
}

body.screen-shake {
  animation: screenRattle 0.18s ease-in-out;
}

@keyframes screenRattle {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-4px, 2px); }
  50% { transform: translate(4px, -2px); }
  75% { transform: translate(-2px, -2px); }
  100% { transform: translate(0, 0); }
}

#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
}

/* ====================================================================
   MANDATORY AUTHENTICATION GATE (FULL SCREEN LOCKOUT)
   ==================================================================== */
.auth-gate-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 13, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 20px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.auth-gate-overlay.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
}

.auth-gate-card {
  background: #111827;
  border: 2px solid var(--border-amber);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  text-align: center;
}

.auth-gate-mascot {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 3px solid var(--accent-amber);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.4);
  margin-bottom: 16px;
}

.auth-gate-title {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.auth-gate-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.auth-toggle-group {
  display: flex;
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 20px;
  border: 1px solid var(--border-subtle);
}

.auth-tab-btn {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 800;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab-btn.active {
  background: var(--grad-primary);
  color: #0f172a;
}

/* ====================================================================
   APP HEADER WITH PROFILE CHIP & QUICK CONTROLS
   ==================================================================== */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--border-amber);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 12px;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
  border: 2px solid var(--accent-amber);
}

.brand-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.world-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-amber);
  margin-left: 6px;
}

.header-center-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid var(--border-amber);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
}

.user-profile-badge.hidden {
  display: none;
}

.btn-icon-control {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.2s ease;
}

.btn-icon-control:hover {
  background: rgba(51, 65, 85, 0.9);
  border-color: var(--accent-amber);
  transform: translateY(-1px);
}

/* Currencies Bar */
.currencies-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.currency-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-amber);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.currency-badge:hover {
  transform: translateY(-2px);
  border-color: var(--accent-amber);
}

.currency-badge .icon {
  font-size: 18px;
}

.currency-badge .label {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 800;
}

.currency-badge .val {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

/* Main Layout */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 24px;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px 24px;
  flex: 1;
}

@media (max-width: 980px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
}

/* Hero Center */
.clicker-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--grad-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid var(--border-amber);
  border-radius: var(--radius-xl);
  padding: 36px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.clicker-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, rgba(239, 68, 68, 0.1) 50%, transparent 75%);
  border-radius: 50%;
  filter: blur(28px);
  pointer-events: none;
}

/* Big Interactive Clicker Orb with Titan Warrior */
.orb-wrapper {
  position: relative;
  margin: 24px 0;
  cursor: pointer;
}

.clicker-orb {
  width: 220px;
  height: 220px;
  border-radius: 46px;
  background: #0f172a;
  border: 4px solid var(--accent-amber);
  box-shadow: 
    0 16px 40px rgba(0, 0, 0, 0.8),
    0 0 35px rgba(245, 158, 11, 0.4),
    inset 0 2px 8px rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.12s ease;
  position: relative;
  z-index: 2;
}

.orb-mascot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  border-radius: 40px;
  transition: transform 0.12s ease;
}

.orb-wrapper:hover .clicker-orb {
  transform: scale(1.04);
  box-shadow: 
    0 20px 48px rgba(0, 0, 0, 0.85),
    0 0 50px rgba(245, 158, 11, 0.6);
}

.orb-wrapper:hover .orb-mascot-img {
  transform: scale(1.02);
}

.orb-wrapper:active .clicker-orb {
  transform: scale(0.92);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5);
}

.orb-ring {
  position: absolute;
  top: -14px;
  left: -14px;
  right: -14px;
  bottom: -14px;
  border-radius: 56px;
  border: 2px dashed rgba(245, 158, 11, 0.5);
  animation: spinRing 25s linear infinite;
  pointer-events: none;
}

@keyframes spinRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Multiplier & Power Pills */
.stats-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 14px;
}

.stat-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-amber);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.stat-chip span.val {
  color: var(--accent-amber);
}

/* Equipped Pets Dock */
.equipped-pets-dock {
  width: 100%;
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(15, 23, 42, 0.7);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.dock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.dock-slots {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.pet-slot {
  flex: 1;
  min-width: 72px;
  height: 82px;
  background: rgba(30, 41, 59, 0.6);
  border: 2px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pet-slot.filled {
  border-style: solid;
  border-color: var(--accent-amber);
  background: rgba(30, 41, 59, 0.95);
  cursor: pointer;
}

.pet-slot.filled:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.pet-slot-sprite {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.pet-slot .pet-mult {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-amber);
  margin-top: 2px;
}

.pet-slot.shiny-border {
  border-color: #ffd166;
  box-shadow: 0 0 14px rgba(255, 209, 102, 0.6);
}

/* ====================================================================
   NON-SCROLLABLE 5-COLUMN GRID TABS (NO LATERAL SCROLLBAR)
   ==================================================================== */
.sidebar-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid var(--border-amber);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: calc(100vh - 120px);
  max-height: 840px;
}

.tab-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 10px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 2px solid var(--border-subtle);
  overflow: visible;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  padding: 10px 4px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}

.tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.tab-btn.active {
  color: #0f172a;
  background: var(--grad-primary);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
  transform: translateY(-1px);
}

.tab-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: tabSlideUp 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Game Cards */
.game-card {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s, box-shadow 0.2s;
}

.game-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-amber);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-sm);
}

.card-sprite {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border-subtle);
  transition: transform 0.2s ease;
}

.game-card:hover .card-sprite {
  transform: scale(1.05);
}

.card-info {
  flex: 1;
}

.card-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 3px;
}

.card-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.card-level {
  font-size: 11px;
  color: var(--accent-amber);
  font-weight: 800;
  margin-top: 4px;
}

/* Rounded Buttons */
.btn-rounded {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: none;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.btn-rounded:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.btn-rounded:active {
  transform: scale(0.94);
}

.btn-rounded:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: var(--grad-primary);
  color: #0f172a;
}

.btn-click {
  background: var(--grad-primary);
  color: #0f172a;
}

.btn-gem {
  background: var(--grad-crimson);
  color: #ffffff;
}

.btn-gold {
  background: var(--grad-primary);
  color: #0f172a;
}

.btn-emerald {
  background: var(--grad-cyan);
  color: #0f172a;
}

.btn-dark {
  background: rgba(30, 41, 59, 0.9);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-dark:hover {
  background: rgba(51, 65, 85, 0.9);
  border-color: var(--border-amber);
}

/* Pet Inventory Grid */
.pets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 12px;
}

.pet-item-card {
  background: rgba(15, 23, 42, 0.8);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-subtle);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
}

.pet-item-card:hover {
  transform: scale(1.05);
}

.pet-item-card.equipped {
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.5);
  border-color: var(--accent-amber);
}

.pet-item-card.is-shiny {
  border-color: #facc15 !important;
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.7);
}

.pet-badge-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
}

.pet-card-sprite {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin: 4px 0;
  border: 2px solid var(--border-subtle);
}

.pet-item-name {
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.pet-item-multiplier {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-amber);
  margin-top: 2px;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 12, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-overlay.unboxing-lock {
  pointer-events: none;
}

.modal-overlay.unboxing-lock .modal-close {
  display: none !important;
}

.modal-card {
  background: #111827;
  border: 2px solid var(--border-amber);
  border-radius: var(--radius-xl);
  padding: 30px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  transform: scale(0.9);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Floating Click Floaters */
.click-floater {
  position: fixed;
  font-size: 20px;
  font-weight: 900;
  color: var(--accent-amber);
  pointer-events: none;
  z-index: 10000;
  animation: floatUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 14px rgba(245, 158, 11, 0.9);
}

.click-floater.crit {
  font-size: 26px;
  color: var(--accent-crimson);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 0 18px rgba(239, 68, 68, 1);
}

@keyframes floatUp {
  0% {
    opacity: 1;
    transform: translateY(0) scale(0.9);
  }
  30% {
    transform: translateY(-22px) scale(1.15);
  }
  100% {
    opacity: 0;
    transform: translateY(-64px) scale(1);
  }
}

/* Chest Hatch Animation */
.hatch-reveal {
  text-align: center;
  padding: 20px 0;
}

.hatch-egg-sprite {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 32px;
  animation: chestRattle 1.4s ease-in-out infinite;
  transform-origin: bottom center;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.5);
}

@keyframes chestRattle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  20% { transform: rotate(-14deg) scale(1.05); }
  40% { transform: rotate(14deg) scale(1.08); }
  60% { transform: rotate(-10deg) scale(1.1); }
  80% { transform: rotate(10deg) scale(1.12); }
}

.hatched-pet-reveal {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hatched-pet-sprite {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 28px;
  border: 3px solid var(--accent-amber);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  margin-bottom: 12px;
}

@keyframes popIn {
  0% { transform: scale(0.3); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Inputs & Forms */
.form-input {
  width: 100%;
  padding: 12px 18px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-amber);
  border-radius: var(--radius-pill);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 12px;
}

.form-input:focus {
  border-color: var(--accent-amber);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.4);
}
