/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (DESKTOP SPECIFIC)
   ========================================================================== */
:root {
  --color-primary: #FF4B5C;      /* Coral Red do Logotipo */
  --color-primary-light: #FFF0F2;/* Rosa pastel de fundo */
  --color-primary-hover: #E03E4F;
  --color-secondary: #FF9B54;    /* Laranja para passeios */
  --color-secondary-light: #FFF6F0;
  --color-info: #4EA8DE;         /* Azul para banho/tosa */
  --color-info-light: #EDF7FD;
  --color-success: #2EC4B6;      /* Verde menta para matches */
  --color-success-light: #EBFBF9;
  --color-whatsapp: #25D366;     /* Verde WhatsApp */
  
  --color-bg-body: #F4F6F9;      /* Fundo cinza claro para desktop style */
  --color-bg-card: #FFFFFF;
  --color-bg-dark: #2B2D42;      /* Titulos e textos escuros */
  --color-text-muted: #8D99AE;
  --color-border: #EDF2F4;
  
  --font-family: 'Fredoka', 'Outfit', sans-serif;
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --border-radius-sm: 12px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
  --shadow-primary: 0 8px 24px rgba(255, 75, 92, 0.2);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   RESET & BASE STYLE
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-image: linear-gradient(rgba(244, 246, 249, 0.90), rgba(244, 246, 249, 0.90)), url('background_pets_nature.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: var(--color-bg-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   HEADER DESKTOP
   ========================================================================== */
.web-header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.web-logo {
  display: flex;
  align-items: center;
  height: 48px;
}

.web-logo-img {
  height: 100%;
  max-width: 140px;
  object-fit: contain;
}

/* Navegação Header */
.web-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-bg-dark);
  padding: 0 16px;
  height: 42px;
  border-radius: 21px;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-link i {
  width: 18px;
  height: 18px;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

/* Controles do Usuário no Header */
.web-user-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.web-wallet-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--color-primary), #FF6B7B);
  color: #FFFFFF;
  padding: 0 16px;
  height: 42px;
  border-radius: 21px;
  box-shadow: var(--shadow-primary);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition);
}

.web-wallet-pill:hover {
  transform: translateY(-1px);
}

.pata-coin-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.15));
  animation: float 3s ease-in-out infinite;
}

.web-profile-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 0 16px 0 0;
  height: 42px;
  background-color: var(--color-bg-alt);
  border-radius: 21px;
  transition: var(--transition);
}

.web-user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary);
}

.web-username {
  font-size: 0.95rem;
  font-weight: 700;
}

/* ==========================================================================
   CONTEÚDO PRINCIPAL
   ========================================================================== */
.web-main-content {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Hero Section */
.web-hero {
  background: linear-gradient(135deg, var(--color-primary-light), #FFEAEB, #FFF5F0);
  border-radius: var(--border-radius-lg);
  padding: 36px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 75, 92, 0.05);
}

.hero-text h1 {
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.hero-text p {
  font-size: 0.95rem;
  color: var(--color-bg-dark);
  max-width: 700px;
  line-height: 1.5;
}

.mobile-toggle-btn {
  background-color: var(--color-primary);
  color: #FFFFFF;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
}

.mobile-toggle-btn i {
  width: 20px;
  height: 20px;
}

.mobile-toggle-btn:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
}

.mobile-toggle-btn:active {
  transform: translateY(0);
}

/* ==========================================================================
   DASHBOARD GRID (MINIJOGO & CONECT)
   ========================================================================== */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
}

@media (max-width: 992px) {
  .dashboard-grid,
  .services-columns-grid {
    grid-template-columns: 1fr;
  }
}

.dashboard-card {
  background-color: var(--color-bg-card);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 14px;
}

.card-header h2 {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-coral { color: var(--color-primary); }
.icon-pink { color: var(--color-primary); }
.icon-orange { color: var(--color-secondary); }
.icon-blue { color: var(--color-info); }

/* ==========================================================================
   BUTTONS DESKTOP
   ========================================================================== */
.primary-btn {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
  width: 100%;
}

.primary-btn:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
}

.primary-btn:active {
  transform: translateY(0);
}

.btn-pulse {
  animation: pulse-button 2.5s infinite;
}

.secondary-btn {
  background-color: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.25);
  padding: 10px 28px;
  border-radius: 30px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.22);
}

/* ==========================================================================
   LOVBASE CONECT (TINDER DOG FOR DESKTOP)
   ========================================================================== */
.setup-profile-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.setup-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.setup-header p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.setup-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group label {
  font-size: 0.8rem;
  font-weight: 600;
}

.input-group input,
.input-group select {
  padding: 12px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--color-border);
  font-family: var(--font-family);
  font-size: 0.9rem;
  outline: none;
  background-color: #F8F9FA;
  transition: var(--transition);
}

.input-group input:focus,
.input-group select:focus {
  border-color: var(--color-primary);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.photo-selection {
  display: flex;
  gap: 12px;
}

.photo-option {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: var(--transition);
}

.photo-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-option input {
  position: absolute;
  opacity: 0;
}

.photo-option.selected {
  border-color: var(--color-primary);
  transform: scale(1.08);
}

/* Tinder Swiper Panel */
.swiper-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  height: 100%;
}

.swiper-breed-filter-badge {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  align-self: flex-start;
}

.cards-stack {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 380px;
}

.pet-card {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: #FFFFFF;
  transform-origin: 50% 99%;
  cursor: grab;
  user-select: none;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease;
  border: 1px solid var(--color-border);
}

.pet-card:active {
  cursor: grabbing;
}

.pet-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pet-card-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.pet-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pet-card-name-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pet-name-title {
  font-size: 1.3rem;
  font-weight: 700;
}

.pet-age {
  font-size: 1rem;
  font-weight: 500;
}

.pet-location-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #E2E8F0;
  font-family: 'Outfit', sans-serif;
}

.pet-bio {
  font-size: 0.8rem;
  color: #CBD5E0;
  line-height: 1.4;
}

/* Tinder Controls */
.swiper-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.control-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background-color: #FFFFFF;
  box-shadow: var(--shadow-md);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--color-border);
}

.control-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.control-btn:active {
  transform: scale(0.95);
}

.dislike-btn {
  color: #E63946;
}

.like-btn {
  color: var(--color-success);
  width: 64px;
  height: 64px;
  box-shadow: 0 8px 20px rgba(46, 196, 182, 0.15);
}

.info-btn {
  color: var(--color-text-muted);
}

.control-icon {
  width: 24px;
  height: 24px;
}

.like-btn .control-icon {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.swipe-left-anim {
  transform: translate(-150%, 50px) rotate(-30deg) !important;
  opacity: 0;
}

.swipe-right-anim {
  transform: translate(150%, 50px) rotate(30deg) !important;
  opacity: 0;
}

.empty-matches-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  height: 100%;
  background-color: #F8F9FA;
  border-radius: var(--border-radius-lg);
  padding: 30px;
  border: 1px dashed var(--color-border);
}

.empty-icon {
  font-size: 3rem;
}

/* ==========================================================================
   SERVIÇOS PET SECTION (BOTTOM GRID)
   ========================================================================== */
.web-services-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.services-columns-grid {
  display: grid;
  grid-template-columns: 2fr 1.1fr;
  max-width: 1200px;
  margin: 0 auto;
  gap: 28px;
  width: 100%;
}

.services-column-card {
  background-color: var(--color-bg-card);
  border-radius: var(--border-radius-lg);
  padding: 28px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.services-column-card .card-header {
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.services-column-card .card-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.services-column-card .card-header p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Passeio: Mapa e Passeadores */
.map-simulation {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: #E9ECEF;
}

.map-bg {
  width: 100%;
  height: 100%;
  background-image: url('mock_map.png');
  background-size: cover;
  background-position: center;
  opacity: 0.9;
}

.map-pin {
  position: absolute;
  font-size: 1.4rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  transform: translate(-50%, -50%);
}

.pin-walker-1 { top: 25%; left: 30%; animation: bounce-pin 2s infinite ease-in-out; }
.pin-walker-2 { top: 65%; left: 75%; animation: bounce-pin 2s infinite ease-in-out 0.5s; }
.pin-user {
  top: 50%; left: 50%;
  font-size: 1.8rem;
  color: var(--color-primary);
  animation: pulse-pin 2s infinite;
}

.map-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background-color: rgba(43, 45, 66, 0.85);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.walker-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.walker-card {
  display: flex;
  align-items: center;
  padding: 12px;
  background-color: #F8F9FA;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  transition: var(--transition);
}

.walker-card:hover {
  background-color: #FFFFFF;
  border-color: var(--color-secondary);
}

.walker-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
  border: 2px solid var(--color-secondary-light);
}

.walker-info {
  flex: 1;
}

.walker-name {
  font-size: 0.9rem;
  font-weight: 700;
}

.walker-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #F5B041;
  font-weight: 600;
}

.star-icon {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.walker-distance {
  color: var(--color-text-muted);
  font-weight: normal;
  font-family: 'Outfit', sans-serif;
}

.walker-booking-info {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.walker-price {
  font-size: 0.85rem;
  font-weight: 700;
}

.btn-book-walker {
  background-color: var(--color-secondary);
  color: #FFFFFF;
  border: none;
  padding: 6px 12px;
  border-radius: 12px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-book-walker:hover {
  background-color: #e67e30;
}

/* SPA Booking Form */
.services-selection-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 576px) {
  .services-selection-list {
    grid-template-columns: 1fr;
  }
}

.service-checkbox-card {
  position: relative;
  display: flex;
  align-items: center;
  padding: 16px;
  background-color: #FFFFFF;
  border: 2px solid #EDF2F4;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
}

.service-checkbox-card:hover {
  border-color: rgba(78, 168, 222, 0.4);
  box-shadow: 0 6px 16px rgba(78, 168, 222, 0.06);
  transform: translateY(-2px);
}

.service-checkbox-card input {
  position: absolute;
  opacity: 0;
}

.card-indicator {
  width: 22px;
  height: 22px;
  border: 2px solid #DDE2E5;
  border-radius: 6px;
  margin-right: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #FFFFFF;
  transition: var(--transition);
}

.card-indicator::after {
  content: '';
  width: 10px;
  height: 10px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transform: scale(0);
  transition: var(--transition);
}

.spa-icon {
  width: 24px;
  height: 24px;
  color: var(--color-text-muted);
  margin-right: 14px;
  transition: var(--transition);
}

.checkbox-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--color-bg-dark);
  transition: var(--transition);
}

.service-desc {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* SPA Checked styling */
.service-checkbox-card:has(input:checked) {
  border-color: var(--color-info);
  background-color: var(--color-info-light);
  box-shadow: 0 8px 24px rgba(78, 168, 222, 0.15);
}

.service-checkbox-card:has(input:checked) .card-indicator {
  border-color: var(--color-info);
  background-color: var(--color-info);
}

.service-checkbox-card:has(input:checked) .card-indicator::after {
  transform: scale(1);
}

.service-checkbox-card:has(input:checked) .spa-icon {
  color: var(--color-info);
  transform: scale(1.15);
}

.service-checkbox-card:has(input:checked) .service-title {
  color: #1e5c82;
}

/* Opções de data e hora em linha */
.booking-options-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.date-selector-scroll, .time-slots-grid {
  display: flex;
  gap: 10px;
}

.date-chip, .time-slot {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px 14px;
  background-color: #FFFFFF;
  border: 1px solid #FFCCD1; /* Coral fina */
  border-radius: var(--border-radius-md);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(255, 75, 92, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.date-chip:hover, .time-slot:hover {
  border-color: var(--color-primary);
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
}

.date-chip input, .time-slot input {
  position: absolute;
  opacity: 0;
}

.date-chip strong, .time-slot span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-bg-dark);
  transition: color 0.2s ease;
}

.date-chip:has(input:checked), .time-slot:has(input:checked) {
  border-color: var(--color-primary);
  background-color: var(--color-primary) !important;
  box-shadow: 0 6px 14px rgba(255, 75, 92, 0.25);
}

.date-chip:has(input:checked) strong, .time-slot:has(input:checked) span {
  color: #FFFFFF !important;
}

.date-chip:has(input:disabled),
.time-slot:has(input:disabled) {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
  background-color: #F8F9FA !important;
  border-color: #E2E8F0 !important;
  box-shadow: none !important;
  transform: none !important;
}

.date-chip:has(input:disabled) strong,
.time-slot:has(input:disabled) span {
  color: var(--color-text-muted) !important;
}

/* SPA Hero Banner on Desktop */
.web-spa-hero-banner {
  position: relative;
  border-radius: var(--border-radius-lg);
  background: linear-gradient(135deg, #2A6F97 0%, #4EA8DE 50%, #9B5DE5 100%);
  padding: 30px;
  color: #FFFFFF;
  overflow: hidden;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 25px rgba(78, 168, 222, 0.25);
}

.web-spa-hero-banner .banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.web-spa-hero-banner .banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.web-spa-hero-banner .banner-badge {
  background: linear-gradient(90deg, #FFB03A, #FF7B00);
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 800;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(255, 176, 58, 0.3);
}

.web-spa-hero-banner h3 {
  font-size: 1.7rem;
  font-weight: 800;
  margin: 0;
  color: #FFFFFF;
  font-family: 'Fredoka', sans-serif;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.web-spa-hero-banner p {
  font-size: 0.9rem;
  opacity: 0.95;
  line-height: 1.5;
  margin: 0;
  max-width: 90%;
}

.web-spa-hero-banner .banner-quick-stats {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.web-spa-hero-banner .stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.web-spa-hero-banner .stat-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.web-spa-hero-banner .stat-icon {
  font-size: 1.1rem;
}

.web-spa-hero-banner .stat-desc {
  font-size: 0.78rem;
  font-weight: 700;
}

/* Footer SPA */
.booking-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.total-price-display {
  display: flex;
  flex-direction: column;
}

.total-price-display span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.total-price-display strong {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-info);
}

#btn-confirm-booking {
  width: auto;
  min-width: 180px;
  background-color: var(--color-info);
  box-shadow: 0 4px 14px rgba(78, 168, 222, 0.25);
}

#btn-confirm-booking:hover {
  background-color: #3b8bb8;
}

/* ==========================================================================
   FOOTER DESKTOP SECTION
   ========================================================================== */
.web-footer-section {
  text-align: center;
  padding: 40px 0;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--color-border);
}

/* ==========================================================================
   MATCH CELEBRATION OVERLAY (DESKTOP)
   ========================================================================== */
.match-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(43, 45, 66, 0.9);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
}

.match-box {
  background-color: var(--color-bg-card);
  width: 440px;
  border-radius: var(--border-radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  box-shadow: var(--shadow-lg);
  animation: scale-up 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.match-heart-pulse {
  font-size: 3.5rem;
  animation: heartBeat 1.2s infinite;
}

.match-box h2 {
  font-size: 1.6rem;
  color: var(--color-primary);
  font-weight: 800;
}

.match-box p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.match-avatars {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 10px 0;
}

.match-avatar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.match-avatar-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

.match-avatar-card span {
  font-size: 0.95rem;
  font-weight: 700;
}

.vs-heart {
  font-size: 1.8rem;
  animation: pulse-pin 1.5s infinite;
}

.match-owner-info {
  background-color: var(--color-bg-body);
  padding: 12px 24px;
  border-radius: var(--border-radius-md);
  width: 100%;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-around;
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
}

.match-action-buttons {
  display: flex;
  gap: 12px;
  width: 100%;
}

.match-action-buttons .secondary-btn {
  flex: 1;
  padding: 10px 12px;
  font-size: 0.8rem;
  border: 1px solid rgba(43, 45, 66, 0.15);
  color: var(--color-bg-dark);
  background-color: #F8F9FA;
}

.match-action-buttons .secondary-btn:hover {
  background-color: var(--color-border);
}

/* ==========================================================================
   SUCCESS OVERLAY (DESKTOP)
   ========================================================================== */
.success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(3px);
  z-index: 190;
  display: flex;
  justify-content: center;
  align-items: center;
}

.success-card {
  background-color: var(--color-bg-card);
  width: 360px;
  border-radius: var(--border-radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  animation: scale-up 0.3s ease;
}

.success-icon-animation {
  font-size: 3.5rem;
  color: var(--color-success);
}

.icon-success-check {
  width: 64px;
  height: 64px;
}

.success-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.success-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

/* ==========================================================================
   COIN FOUNTAINS (DESKTOP)
   ========================================================================== */
.floating-coins-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 150;
  overflow: hidden;
}

.floating-coin {
  position: absolute;
  width: 24px;
  height: 24px;
  background-image: url('moeda_formato_pata.png');
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 999;
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2));
  animation: flyUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.confetti {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: confettiFall 2.5s ease-out forwards;
}

/* ==========================================================================
   KEYFRAMES & ANIMATIONS
   ========================================================================== */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes bounce-pin {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-6px); }
}

@keyframes pulse-pin {
  0% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 0 rgba(255, 75, 92, 0.4); }
  70% { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 0 10px rgba(255, 75, 92, 0); }
  100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 0 rgba(255, 75, 92, 0); }
}

@keyframes shake {
  0% { transform: rotate(-5deg); }
  100% { transform: rotate(5deg); }
}

@keyframes scale-up {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes pulse-button {
  0% { box-shadow: 0 0 0 0 rgba(255, 75, 92, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(255, 75, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 75, 92, 0); }
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.3); }
  28% { transform: scale(1); }
  42% { transform: scale(1.3); }
  70% { transform: scale(1); }
}

@keyframes flyUp {
  0% {
    transform: translate(var(--start-x), var(--start-y)) scale(0.5) rotate(0deg);
    opacity: 0;
  }
  15% {
    opacity: 1;
    transform: translate(var(--mid-x), var(--mid-y)) scale(1.2) rotate(180deg);
  }
  100% {
    transform: translate(var(--end-x), var(--end-y)) scale(0.7) rotate(360deg);
    opacity: 0.8;
  }
}

@keyframes confettiFall {
  0% {
    transform: translateY(-50px) translateX(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(500px) translateX(var(--drift-x)) rotate(360deg);
    opacity: 0;
  }
}

/* ==========================================================================
   GAMIFIED PROFILE & ONBOARDING NEW STYLES
   ========================================================================== */

/* Onboarding & Welcome Modal Overlays */
.onboarding-overlay,
.welcome-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(43, 45, 66, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  animation: fadeIn 0.4s ease forwards;
}

.onboarding-card,
.welcome-modal-card {
  background-color: var(--color-bg-card);
  border-radius: var(--border-radius-lg);
  padding: 36px 30px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: scaleUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  border: 1px solid var(--color-border);
}

.onboarding-welcome {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.onboarding-logo-wrapper {
  height: 60px;
  margin-bottom: 6px;
}

.onboarding-logo {
  height: 100%;
  object-fit: contain;
}

.onboarding-welcome h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-bg-dark);
}

.onboarding-welcome p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.onboard-photo-selection {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 6px;
}

.onboard-photo-option {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  border: 4px solid transparent;
  transition: var(--transition);
}

.onboard-photo-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.onboard-photo-option input {
  position: absolute;
  opacity: 0;
}

.onboard-photo-option.selected {
  border-color: var(--color-primary);
  transform: scale(1.08);
}

/* Welcome Modal Card */
.welcome-modal-card {
  text-align: center;
  align-items: center;
  gap: 16px;
}

.welcome-modal-icon {
  font-size: 4rem;
}

.welcome-modal-card h3 {
  font-size: 1.6rem;
  color: var(--color-primary);
}

.welcome-modal-card p {
  font-size: 0.95rem;
  color: var(--color-bg-dark);
  line-height: 1.5;
}

.welcome-prize-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 8px 0;
}

.prize-coin-img {
  width: 28px;
  height: 28px;
  animation: float 3s ease-in-out infinite;
}

.welcome-prize-desc {
  font-size: 0.8rem !important;
  color: var(--color-text-muted) !important;
}

/* Pet Profile Card */
.pet-profile-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-card {
  background-color: var(--color-bg-card);
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}

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

.profile-pet-avatar {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-primary-light);
}

.profile-pet-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-pet-meta h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.profile-pet-meta p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.progress-bar-container {
  width: 100%;
  height: 12px;
  background-color: var(--color-border);
  border-radius: 6px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(95deg, var(--color-primary), var(--color-secondary));
  border-radius: 6px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-badge {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 0.85rem;
  font-weight: 700;
}

.profile-warning {
  font-size: 0.85rem;
  text-align: center;
  color: var(--color-text-muted);
}

/* Tasks */
.profile-completion-tasks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

.completion-task-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #F8F9FA;
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--color-border);
  gap: 12px;
}

.task-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.task-icon {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.task-texts {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.task-title {
  font-size: 0.9rem;
  font-weight: 700;
}

.task-desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-family: 'Outfit', sans-serif;
}

.task-action {
  display: flex;
  align-items: center;
  gap: 8px;
}

.task-action input {
  width: 90px;
  padding: 8px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--color-border);
  font-family: var(--font-family);
  font-size: 0.85rem;
  outline: none;
}

.task-action input:focus {
  border-color: var(--color-primary);
}

.unit-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.task-save-btn {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border: none;
  padding: 8px 16px;
  border-radius: 16px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.task-save-btn.saved {
  background-color: var(--color-success);
  box-shadow: none;
}

.file-upload-label {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.file-upload-label.saved {
  background-color: var(--color-success-light);
  color: var(--color-success);
}

.file-uploaded-name {
  font-size: 0.75rem;
  color: var(--color-success);
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Simulated Alerts list */
.profile-alerts-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px dashed var(--color-border);
  padding-top: 18px;
}

.alerts-title {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alerts-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alert-item {
  display: flex;
  background-color: #F8F9FA;
  border-radius: var(--border-radius-sm);
  padding: 12px;
  gap: 12px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.alert-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alert-icon-wrapper.red-bg { background-color: var(--color-primary-light); }
.alert-icon-wrapper.green-bg { background-color: var(--color-success-light); }
.alert-icon-wrapper.blue-bg { background-color: var(--color-info-light); }

.alert-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.alert-content h5 {
  font-size: 0.85rem;
  font-weight: 700;
}

.alert-content p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* New Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.animate-fade {
  animation: fadeIn 0.4s ease forwards;
}

/* ==========================================================================
   STREAK & MODO TURBO STYLES
   ========================================================================== */
.streak-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #FF7E47, #FF5E3A);
  color: #FFFFFF;
  padding: 0 16px;
  height: 42px;
  border-radius: 21px;
  box-shadow: 0 4px 12px rgba(255, 94, 58, 0.25);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.streak-pill:active {
  transform: scale(0.95);
}

.streak-fire-icon {
  display: inline-block;
  animation: pulse-fire 1.5s infinite alternate;
}

@keyframes pulse-fire {
  0% { transform: scale(1); filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.5)); }
  100% { transform: scale(1.2) rotate(5deg); filter: drop-shadow(0 0 4px rgba(255, 94, 58, 0.8)); }
}

.streak-widget-card {
  background: linear-gradient(135deg, #FFF6F0 0%, #FFF0EA 100%);
  border: 2px solid #FFE0D3;
  border-radius: var(--border-radius-md);
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 6px 16px rgba(255, 94, 58, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.streak-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed #FFD4C4;
  padding-bottom: 8px;
}

.streak-widget-fire {
  font-weight: 700;
  font-size: 0.95rem;
  color: #FF5E3A;
}

.streak-widget-mode {
  font-size: 0.75rem;
  font-weight: 700;
  color: #8D99AE;
  background-color: #EDF2F4;
  padding: 4px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  transition: var(--transition);
}

.streak-widget-mode.turbo-active {
  background: linear-gradient(135deg, #FF9B54, #FF4B5C);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(255, 75, 92, 0.2);
  animation: pulse-glow 1.5s infinite alternate;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 4px rgba(255, 75, 92, 0.2); }
  100% { box-shadow: 0 0 12px rgba(255, 75, 92, 0.6); }
}

.streak-widget-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.streak-widget-body p {
  font-size: 0.8rem;
  color: var(--color-bg-dark);
  line-height: 1.4;
  margin: 0;
}

.streak-incentive-text {
  font-size: 0.75rem !important;
  color: var(--color-text-muted) !important;
}

.streak-steps {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.streak-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #EDF2F4;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  position: relative;
  transition: var(--transition);
}

.streak-step-dot.active {
  background: linear-gradient(135deg, #FF8C5A, #FF4B5C);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(255, 75, 92, 0.3);
  transform: scale(1.1);
}

.streak-step-dot.active::after {
  content: '✓';
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--color-success);
  color: #FFFFFF;
  font-size: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #FFFFFF;
}

.booking-footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cashback-projection-display {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.cashback-projection-display span {
  display: flex;
  align-items: center;
}

.cashback-projection-display strong {
  color: #FF5E3A;
  font-weight: 700;
  margin: 0 2px;
}

.turbo-badge {
  background: linear-gradient(135deg, #FF8C5A, #FF4B5C);
  color: #FFFFFF;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 8px;
  text-transform: uppercase;
  margin-left: 4px;
  display: inline-block;
  vertical-align: middle;
  animation: pulse-glow 1.5s infinite alternate;
}

/* ==========================================================================
   SIMULATION PANEL STYLES
   ========================================================================== */
.simulation-panel {
  background-color: var(--color-bg-page);
  border: 1px dashed #FFAEB5;
  border-radius: var(--border-radius-md);
  padding: 12px;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.sim-panel-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.simulation-panel button {
  width: 100%;
  padding: 10px 16px !important;
  font-size: 0.85rem !important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.btn-sim-attend {
  background: linear-gradient(135deg, var(--color-success), #25B29B) !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 4px 10px rgba(46, 196, 182, 0.2) !important;
}

.btn-sim-attend:hover {
  filter: brightness(1.05);
}

.btn-sim-noshow {
  background: #FFF0F1 !important;
  color: var(--color-primary) !important;
  border: 1px solid #FFAEB5 !important;
  box-shadow: none !important;
}

.btn-sim-noshow:hover {
  background: #FFE3E5 !important;
}

/* ==========================================================================
   SECRET MENU, SLIDER DISCOUNT & OUTLET STYLES (DESKTOP)
   ========================================================================== */
.secret-card.disabled {
  opacity: 0.5;
  pointer-events: none;
  background-color: var(--color-bg-page) !important;
  border-color: var(--color-border) !important;
}

.secret-card {
  border: 2px solid #FFEBB5 !important;
  background: linear-gradient(135deg, #FFFDF6 0%, #FFF9E6 100%) !important;
  box-shadow: 0 4px 12px rgba(255, 176, 58, 0.05);
}

#discount-coins-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 4px;
  background: #EDF2F4;
  outline: none;
  margin: 10px 0;
  width: 100%;
}

#discount-coins-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), #FF6B7B);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(255, 75, 92, 0.3);
  transition: var(--transition);
}

#discount-coins-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

#discount-coins-slider:disabled {
  opacity: 0.5;
  cursor: default;
}

#discount-coins-slider:disabled::-webkit-slider-thumb {
  background: var(--color-text-muted);
  box-shadow: none;
  cursor: default;
  transform: none;
}

.outlet-product-card {
  transition: var(--transition);
}

.outlet-product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md) !important;
}

.outlet-coupon-card {
  box-shadow: var(--shadow-sm);
  animation: fadeIn 0.4s ease forwards;
  transition: var(--transition);
}

.outlet-coupon-card:hover {
  transform: scale(1.02);
}

/* ==========================================================================
   DYNAMIC QUESTS & PUSH NOTIFICATIONS & ACHIEVEMENT BADGES STYLES
   ========================================================================== */

/* Toast de Desktop */
.desktop-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 350px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-md);
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 1000;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  transform: translateX(120%);
  opacity: 0;
  cursor: pointer;
}

.desktop-toast.active {
  transform: translateX(0);
  opacity: 1;
}

.toast-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.toast-app-logo {
  font-size: 0.85rem;
  background-color: var(--color-primary);
  color: white;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-weight: 700;
}

.toast-app-name {
  font-weight: 700;
  color: var(--color-bg-dark);
}

.toast-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--color-text-muted);
  cursor: pointer;
  margin-left: auto;
  padding: 0;
  line-height: 1;
}

.toast-close:hover {
  color: var(--color-primary);
}

.toast-body strong {
  font-size: 0.85rem;
  color: var(--color-bg-dark);
  display: block;
  margin-bottom: 4px;
}

.toast-body p {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Badges de Conquistas */
.pet-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  background-color: #F1F3F5;
  color: #ADB5BD;
  border: 1px solid #E9ECEF;
  transition: all 0.3s ease;
  user-select: none;
}

.pet-badge-item.active {
  background-color: var(--color-success-light);
  color: var(--color-success);
  border-color: #D3F9D8;
  box-shadow: 0 2px 6px rgba(40, 167, 69, 0.1);
}

.pet-badge-item.badge-pioneiro.active {
  background-color: #E8F0FE;
  color: #1A73E8;
  border-color: #D2E3FC;
}

.pet-badge-item.badge-completo.active {
  background-color: #F3E8FF;
  color: #A855F7;
  border-color: #E9D5FF;
}

.pet-badge-item.badge-turbo.active {
  background-color: #FFE8CC;
  color: #FD7E14;
  border-color: #FFE0B2;
}

.pet-badge-item.badge-hunter.active {
  background-color: #E6FCF5;
  color: #0CA678;
  border-color: #C3FAE8;
  animation: pulse-badge-glow 2.5s infinite;
}

@keyframes pulse-badge-glow {
  0% { box-shadow: 0 0 0 0 rgba(12, 166, 120, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(12, 166, 120, 0); }
  100% { box-shadow: 0 0 0 0 rgba(12, 166, 120, 0); }
}

/* Quest Active alert in footer */
.quest-badge {
  background: linear-gradient(135deg, #0CA678, #20C997);
  color: #FFFFFF;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  margin-left: 4px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  box-shadow: 0 2px 6px rgba(12, 166, 120, 0.2);
  animation: pulse-glow-quest 1.5s infinite alternate;
}

@keyframes pulse-glow-quest {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

/* ==========================================================================
   PET PRESTIGE LEVELS, XP AND MYSTERY BOX STYLES (PROMPT 5)
   ========================================================================== */

/* Gold Dogo Badge */
.pet-badge-item.badge-golddogo.active {
  background-color: #FFF9DB;
  color: #F59F00;
  border-color: #FFE066;
  animation: pulse-gold-glow 2s infinite alternate;
}

@keyframes pulse-gold-glow {
  0% { box-shadow: 0 0 2px rgba(245, 159, 0, 0.4); }
  100% { box-shadow: 0 0 8px rgba(245, 159, 0, 0.8); }
}

/* Holiday Date Chips Locked/Unlocked states */
.date-chip-holiday.locked {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
  border-color: #DDE2E5 !important;
  background-color: #F8F9FA !important;
  pointer-events: none !important;
}

.date-chip-holiday.locked span,
.date-chip-holiday.locked strong {
  color: #ADB5BD !important;
}

.date-chip-holiday:not(.locked) {
  border-color: #FFA8A8 !important;
  background-color: #FFF5F5 !important;
  cursor: pointer !important;
}

.date-chip-holiday:not(.locked):hover {
  border-color: #FF6B6B !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 107, 107, 0.15);
}

.date-chip-holiday:not(.locked):has(input:checked) {
  border-color: #FA5252 !important;
  background-color: #FF6B6B !important;
  box-shadow: 0 4px 12px rgba(250, 82, 82, 0.3) !important;
}

.date-chip-holiday:not(.locked):has(input:checked) span,
.date-chip-holiday:not(.locked):has(input:checked) strong {
  color: #FFFFFF !important;
}

/* Chest Modal Animations */
@keyframes chest-shake {
  0% { transform: translate(0, 0) rotate(0deg); }
  10% { transform: translate(-3px, -3px) rotate(-2deg); }
  20% { transform: translate(3px, 3px) rotate(2deg); }
  30% { transform: translate(-3px, 3px) rotate(-2deg); }
  40% { transform: translate(3px, -3px) rotate(2deg); }
  50% { transform: translate(-3px, -3px) rotate(-2deg); }
  60% { transform: translate(3px, 3px) rotate(2deg); }
  70% { transform: translate(-3px, 3px) rotate(-2deg); }
  80% { transform: translate(3px, -3px) rotate(2deg); }
  90% { transform: translate(-3px, -3px) rotate(-2deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

.chest-shake {
  animation: chest-shake 0.4s infinite ease-in-out;
}

@keyframes chest-pop-open {
  0% { transform: scale(1); }
  40% { transform: scale(1.35) rotate(-5deg); }
  70% { transform: scale(0.95) rotate(3deg); }
  100% { transform: scale(1.1) rotate(0deg); }
}

.chest-box {
  display: inline-block;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15));
}

.chest-box.opened {
  animation: chest-pop-open 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Gacha Prize Reveal Animation */
@keyframes gacha-reveal {
  0% { transform: scale(0.7); opacity: 0; filter: blur(5px); }
  70% { transform: scale(1.05); filter: none; }
  100% { transform: scale(1); opacity: 1; }
}

.gacha-prize-display:not(.hidden) {
  animation: gacha-reveal 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  display: flex !important;
}

/* Dev Simulator Panel styling */
.dev-panel-section {
  background: #FFF0F2;
  border: 1px dashed var(--color-primary);
  border-radius: var(--border-radius-md);
  padding: 16px;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dev-panel-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dev-panel-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: 'Fredoka', sans-serif;
}

.dev-panel-subtitle {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.dev-sim-btn {
  width: 100%;
  padding: 10px 14px;
  background-color: #FFFFFF;
  border: 1px solid #FFAEB5;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.dev-sim-btn:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary);
}

.dev-sim-btn i {
  width: 16px;
  height: 16px;
}

.dev-panel-result {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background-color: #FFFFFF;
  border: 1px solid #FFCCD1;
  border-radius: var(--border-radius-sm);
  padding: 10px;
  font-size: 0.75rem;
  color: var(--color-bg-dark);
}

.dev-panel-result strong {
  color: var(--color-primary);
  display: block;
  margin-bottom: 2px;
}

.dev-panel-result p {
  margin: 0;
  color: #555555;
  line-height: 1.3;
}

.dev-result-icon {
  font-size: 1.2rem;
  line-height: 1;
}



/* ==========================================================================
   PET QUIZ DO MILHÃO — DESKTOP STYLES
   ========================================================================== */

/* --- Entry Banner --- */
.quiz-entry-banner {
  background: linear-gradient(135deg, #1A0533 0%, #2D1461 55%, #1A0533 100%);
  border-radius: var(--border-radius-md);
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 8px 32px rgba(123, 44, 191, 0.35);
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.quiz-entry-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -5%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255,215,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.quiz-banner-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 0;
}

.quiz-trophy-icon {
  font-size: 3.2rem;
  filter: drop-shadow(0 0 14px rgba(255,215,0,0.6));
  animation: quiz-float 3s ease-in-out infinite;
  flex-shrink: 0;
}

.quiz-banner-text h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFD700;
  margin: 0 0 4px 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.quiz-banner-text p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.quiz-coins-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.35);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #FFD700;
}

.btn-start-quiz {
  flex-shrink: 0;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1A0533;
  border: none;
  padding: 13px 26px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-family);
  box-shadow: 0 6px 20px rgba(255,215,0,0.4);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.btn-start-quiz:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,215,0,0.55);
}

/* --- Quiz Inline Panel (within page, header stays visible) --- */
.quiz-inline-panel {
  background: linear-gradient(135deg, #0D0221 0%, #1A0533 50%, #0D0221 100%);
  border-radius: var(--border-radius-md);
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(13, 2, 33, 0.5);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: quiz-panel-expand 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.quiz-inline-panel.hidden {
  display: none !important;
}

.quiz-inline-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 15% 25%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 65% 75%, rgba(255,255,255,0.28) 0%, transparent 100%),
    radial-gradient(2px 2px at 85% 15%, rgba(255,215,0,0.32) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 85%, rgba(255,255,255,0.22) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 40%, rgba(255,215,0,0.18) 0%, transparent 100%);
  pointer-events: none;
}

.quiz-inline-panel > * {
  position: relative;
  z-index: 1;
}

@keyframes quiz-panel-expand {
  from { opacity: 0; transform: translateY(-12px) scaleY(0.96); }
  to   { opacity: 1; transform: translateY(0)    scaleY(1); }
}

/* --- Quiz Header --- */
.quiz-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quiz-logo-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFD700;
  display: flex;
  align-items: center;
  gap: 7px;
  text-shadow: 0 0 20px rgba(255,215,0,0.5);
}

.quiz-coins-live {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFD700;
}

.btn-quit-quiz {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.55);
  border-radius: 10px;
  padding: 7px 13px;
  font-size: 0.76rem;
  cursor: pointer;
  font-family: var(--font-family);
  transition: var(--transition);
}

.btn-quit-quiz:hover {
  border-color: rgba(255,255,255,0.5);
  color: #FFFFFF;
}

/* --- Progress --- */
.quiz-progress-section { display: flex; flex-direction: column; gap: 5px; }
.quiz-progress-label { font-size: 0.72rem; color: rgba(255,255,255,0.45); text-align: right; }
.quiz-progress-track { height: 5px; background: rgba(255,255,255,0.1); border-radius: 20px; overflow: hidden; }
.quiz-progress-fill { height: 100%; background: linear-gradient(90deg, #FFD700, #FFA500); border-radius: 20px; transition: width 0.4s ease; }

/* --- Difficulty Badge --- */
.quiz-difficulty-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 11px; border-radius: 20px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px;
}
.quiz-difficulty-badge.easy   { background: rgba(34,197,94,0.18); color: #4ADE80; border: 1px solid rgba(34,197,94,0.3); }
.quiz-difficulty-badge.medium { background: rgba(251,191,36,0.18); color: #FCD34D; border: 1px solid rgba(251,191,36,0.3); }
.quiz-difficulty-badge.hard   { background: rgba(239,68,68,0.18);  color: #F87171; border: 1px solid rgba(239,68,68,0.3); }

/* --- Question Card --- */
.quiz-question-card {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--border-radius-md);
  padding: 22px 26px;
  backdrop-filter: blur(10px);
}

.quiz-question-meta {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 14px;
}

.quiz-question-number { font-size: 0.75rem; color: rgba(255,255,255,0.38); font-weight: 600; }

.quiz-question-text {
  font-size: 1.12rem; font-weight: 700; color: #FFFFFF;
  line-height: 1.5; text-align: center; font-family: 'Fredoka', sans-serif;
  min-height: 56px; display: flex; align-items: center; justify-content: center;
}

/* --- Answer Options --- */
.quiz-options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }

.quiz-option-btn {
  background: rgba(255,255,255,0.065);
  border: 1.5px solid rgba(255,255,255,0.14);
  border-radius: var(--border-radius-sm);
  padding: 13px 15px;
  display: flex; align-items: center; gap: 11px;
  cursor: pointer; font-family: var(--font-family);
  font-size: 0.88rem; color: #FFFFFF;
  text-align: left; transition: all 0.2s ease; font-weight: 600;
}

.quiz-option-btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,215,0,0.45);
  transform: translateY(-1px);
}

.quiz-option-btn:disabled { cursor: default; }

.option-letter {
  display: flex; align-items: center; justify-content: center;
  width: 27px; height: 27px; border-radius: 50%;
  background: rgba(255,215,0,0.14); border: 1.5px solid rgba(255,215,0,0.32);
  color: #FFD700; font-size: 0.78rem; font-weight: 700; flex-shrink: 0;
}

.quiz-option-btn.correct { background: rgba(34,197,94,0.2); border-color: #22C55E; animation: quiz-pulse-correct 0.5s ease; }
.quiz-option-btn.correct .option-letter { background: #22C55E; border-color: #22C55E; color: #FFFFFF; }
.quiz-option-btn.wrong   { background: rgba(239,68,68,0.2); border-color: #EF4444; }
.quiz-option-btn.wrong .option-letter   { background: #EF4444; border-color: #EF4444; color: #FFFFFF; }
.quiz-option-btn.reveal  { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.4); }

@keyframes quiz-pulse-correct {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); box-shadow: 0 0 20px rgba(34,197,94,0.4); }
  100% { transform: scale(1); }
}

/* --- Lifelines --- */
.quiz-lifelines { display: flex; gap: 10px; justify-content: center; }

.quiz-lifeline-btn {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.17);
  border-radius: 20px; padding: 8px 16px; font-size: 0.78rem; font-weight: 700;
  color: rgba(255,255,255,0.78); cursor: pointer; font-family: var(--font-family); transition: var(--transition);
}
.quiz-lifeline-btn:hover:not(:disabled) { background: rgba(255,255,255,0.14); border-color: #FFD700; color: #FFD700; }
.quiz-lifeline-btn:disabled { opacity: 0.3; cursor: default; text-decoration: line-through; }

/* --- End Screen --- */
.quiz-end-screen {
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; text-align: center; padding: 36px 20px;
}

.quiz-end-emoji { font-size: 4.5rem; filter: drop-shadow(0 0 24px rgba(255,215,0,0.65)); animation: quiz-float 3s ease-in-out infinite; }

.quiz-end-title { font-family: 'Fredoka', sans-serif; font-size: 1.9rem; font-weight: 700; color: #FFD700; text-shadow: 0 0 28px rgba(255,215,0,0.5); }
.quiz-end-subtitle { font-size: 0.92rem; color: rgba(255,255,255,0.65); }

.quiz-coins-won {
  background: rgba(255,215,0,0.09); border: 2px solid rgba(255,215,0,0.35);
  border-radius: var(--border-radius-md); padding: 18px 42px;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.quiz-coins-won-number { font-size: 2.8rem; font-weight: 700; color: #FFD700; font-family: 'Fredoka', sans-serif; line-height: 1; }
.quiz-coins-won-label { font-size: 0.84rem; color: rgba(255,255,255,0.55); }

.quiz-score-dots { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; }
.quiz-score-dot {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center; font-size: 0.7rem;
}
.quiz-score-dot.correct-dot { background: rgba(34,197,94,0.25); border-color: #22C55E; color: #4ADE80; }
.quiz-score-dot.wrong-dot   { background: rgba(239,68,68,0.18); border-color: #EF4444; color: #F87171; }

.btn-play-again {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1A0533; border: none; padding: 15px 38px; border-radius: 14px;
  font-size: 0.96rem; font-weight: 700; cursor: pointer;
  font-family: var(--font-family);
  box-shadow: 0 8px 24px rgba(255,215,0,0.35); transition: var(--transition);
}
.btn-play-again:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,215,0,0.5); }

@keyframes quiz-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

/* --- Coin Rain Animation --- */
.rain-coin {
  position: fixed;
  top: -60px;
  width: 45px;
  height: 45px;
  background-image: url('moeda_formato_pata.png');
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.5);
  z-index: 9999;
  pointer-events: none;
  animation: coin-fall linear forwards;
}

@keyframes coin-fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}

/* ==========================================================================
   MEMORY GAME STYLES (WEB)
   ========================================================================== */
.memory-game-section {
  margin-bottom: 20px;
}

.memory-board-container {
  position: relative;
  width: 100%;
  min-height: 380px;
  background-color: var(--color-bg-page);
  border: 1px dashed var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 12px;
}

.memory-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  width: 100%;
  height: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.memory-card {
  aspect-ratio: 3/4;
  perspective: 1000px;
  cursor: pointer;
}

.memory-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  box-shadow: var(--shadow-sm);
  border-radius: var(--border-radius-sm);
}

.memory-card.flip .memory-card-inner {
  transform: rotateY(180deg);
}

.memory-card-front, .memory-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.memory-card-front {
  background: linear-gradient(135deg, var(--color-info), var(--color-success));
  color: white;
  font-size: 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.memory-card-front::after {
  content: '🐾';
  opacity: 0.5;
}

.memory-card-back {
  background-color: white;
  transform: rotateY(180deg);
  font-size: 3rem;
  border: 2px solid var(--color-primary);
}

.memory-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: var(--border-radius-md);
  animation: fadeIn 0.3s ease;
}

.memory-win-card {
  background: white;
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  border: 2px solid #FFD700;
  text-align: center;
  transform: scale(0.9);
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
  to { transform: scale(1); }
}

.memory-reward {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 15px 0;
  font-weight: 700;
  color: #F3A712;
}

.memory-reward .reward-coin {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   DRAWERS (OVERLAYS FROM RIGHT - DESKTOP)
   ========================================================================== */
.drawer {
  position: fixed;
  right: 0;
  top: 0;
  width: 400px;
  max-width: 100%;
  height: 100vh;
  background-color: var(--color-bg-page);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 15px rgba(0,0,0,0.1);
}

.drawer.active {
  transform: translateX(0);
}

.drawer-header {
  height: 70px;
  padding: 20px 16px 10px 16px;
  background-color: var(--color-bg-app);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
}

.btn-back {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: var(--transition);
}

.btn-back:hover {
  background-color: var(--color-border);
}

.drawer-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  flex: 1;
  text-align: center;
  margin: 0;
}

.header-spacer {
  width: 36px;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
