/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================================================== */
: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 sucesso e matches */
  --color-success-light: #EBFBF9;
  --color-whatsapp: #25D366;     /* Verde padrão WhatsApp */
  
  --color-bg-app: #FFFFFF;
  --color-bg-page: #F8F9FA;
  --color-bg-dark: #2B2D42;       /* Cinza escuro para textos e moldura */
  --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 10px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-primary: 0 6px 20px rgba(255, 75, 92, 0.25);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   RESET & SETUP
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg-dark);
  color: var(--color-bg-dark);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Ocultar barra de rolagem geral */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

/* ==========================================================================
   PHONE SIMULATOR CONTAINER
   ========================================================================== */
.phone-frame {
  position: relative;
  width: 375px;
  height: 812px;
  background-color: var(--color-bg-page);
  border: 12px solid var(--color-bg-dark);
  border-radius: 40px;
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(255,255,255,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Notch do celular simulado */
.phone-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 24px;
  background-color: var(--color-bg-dark);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 999;
}

/* Responsividade nativa para dispositivos móveis */
@media (max-width: 480px) {
  body {
    background-color: var(--color-bg-page);
  }
  .phone-frame {
    width: 100vw;
    height: 100vh;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
  .phone-frame::before {
    display: none;
  }
}

/* ==========================================================================
   APP HEADER
   ========================================================================== */
.app-header {
  height: 80px;
  padding: 30px 16px 12px 16px;
  background-color: var(--color-bg-app);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  z-index: 10;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.avatar-wrapper {
  position: relative;
  width: 42px;
  height: 42px;
}

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

.online-indicator {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  background-color: var(--color-success);
  border: 2px solid #FFFFFF;
  border-radius: 50%;
}

.user-info {
  display: flex;
  flex-direction: column;
}

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

.username {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-bg-dark);
}

/* Logo no Header */
.app-logo-container {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-logo-img {
  height: 100%;
  max-width: 90px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

/* Carteira de Lov Coins */
.wallet-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--color-primary), #FF6B7B);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: var(--shadow-primary);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

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

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

/* ==========================================================================
   APP CONTENT (SCROLLABLE)
   ========================================================================== */
.app-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Welcome Banner */
.welcome-banner {
  background-color: var(--color-primary-light);
  border-radius: var(--border-radius-md);
  padding: 16px;
  border-left: 5px solid var(--color-primary);
}

.welcome-banner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.welcome-banner h1 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin: 0;
}

.desktop-link-badge {
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.desktop-link-badge:active {
  transform: translateY(0);
}

.welcome-banner p {
  font-size: 0.8rem;
  color: var(--color-bg-dark);
  line-height: 1.3;
}

/* Classe utilitária global */
.hidden {
  display: none !important;
}

/* ==========================================================================
   BUTTONS (PRIMARY & SECONDARY)
   ========================================================================== */
.primary-btn {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border: none;
  padding: 12px 24px;
  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);
}

.primary-btn:active {
  transform: scale(0.97);
}

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

.secondary-btn {
  background-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 10px 24px;
  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.25);
}

/* ==========================================================================
   SERVICES GRID & CARDS
   ========================================================================== */
.services-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.services-section h2 {
  font-size: 1.1rem;
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card {
  display: flex;
  align-items: center;
  width: 100%;
  background-color: var(--color-bg-app);
  border: 1px solid var(--color-border);
  padding: 14px;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.service-card:active {
  transform: scale(0.98);
}

/* SPA Banho e Tosa Hero Card */
.spa-hero-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.spa-hero-card {
  position: relative;
  background: linear-gradient(135deg, #2A6F97 0%, #4EA8DE 50%, #9B5DE5 100%);
  color: #FFFFFF;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(78, 168, 222, 0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.spa-hero-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(78, 168, 222, 0.45);
}

.spa-hero-card:active {
  transform: scale(0.98);
}

.spa-hero-bg-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.spa-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px;
  gap: 16px;
  z-index: 1;
}

.spa-hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.spa-hero-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
  color: #FFFFFF;
  font-family: 'Fredoka', sans-serif;
  letter-spacing: -0.3px;
}

.spa-hero-desc {
  font-size: 0.82rem;
  opacity: 0.95;
  line-height: 1.4;
  margin: 0;
}

.spa-hero-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.spa-perk {
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 30px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.spa-hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  justify-content: center;
  min-width: 90px;
}

.spa-hero-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: float 3s ease-in-out infinite;
}

.spa-hero-card:hover .spa-hero-icon-wrap {
  transform: rotate(15deg) scale(1.15);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.spa-hero-icon {
  width: 30px;
  height: 30px;
  color: #FFFFFF;
}

.spa-hero-btn {
  font-size: 0.75rem;
  font-weight: 800;
  background: #FFFFFF;
  color: #2A6F97;
  padding: 7px 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(42, 111, 151, 0.2);
  transition: all 0.3s ease;
}

.spa-hero-card:hover .spa-hero-btn {
  background: #F0F9FF;
  transform: scale(1.05);
}

/* 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);
}

.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;
}

/* Ajustes outlet secundário */
.service-card-outlet {
  margin-top: 4px;
}

.service-icon-bg {
  width: 46px;
  height: 46px;
  border-radius: var(--border-radius-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 14px;
}

.pink-bg { background-color: var(--color-primary-light); }
.orange-bg { background-color: var(--color-secondary-light); }
.blue-bg { background-color: var(--color-info-light); }

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

.service-details {
  flex: 1;
}

.service-details h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.service-details p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.arrow-icon {
  color: var(--color-text-muted);
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   DRAWERS (OVERLAYS FROM BOTTOM)
   ========================================================================== */
.drawer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg-page);
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.drawer.active {
  transform: translateY(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:active {
  background-color: var(--color-border);
}

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

.header-spacer {
  width: 36px; /* Para equilibrar com o botão de voltar */
}

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

/* ==========================================================================
   LOVBASE CONECT (TINDER DOG)
   ========================================================================== */
.setup-profile-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: var(--color-bg-app);
  padding: 20px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.setup-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.setup-header h3 {
  font-size: 1.1rem;
  margin-top: 4px;
}

.setup-header p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.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;
  color: var(--color-bg-dark);
}

.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;
  transition: var(--transition);
}

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

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

.photo-option {
  position: relative;
  width: 60px;
  height: 60px;
  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);
}

/* 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 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  align-self: flex-start;
}

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

/* Tinder Card */
.pet-card {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: #fff;
  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;
}

.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.4rem;
  font-weight: 700;
}

.pet-age {
  font-size: 1.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.3;
  margin-top: 4px;
}

/* Controles do Swipe */
.swiper-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin-top: 8px;
}

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

.control-btn:hover {
  transform: scale(1.1);
}

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

.dislike-btn {
  color: #E63946;
}

.dislike-btn:active {
  background-color: #FFE3E5;
}

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

.like-btn:active {
  background-color: var(--color-success-light);
}

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

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

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

/* classes de animação de swipe */
.swipe-left-anim {
  transform: translate(-150%, 50px) rotate(-30deg) !important;
  opacity: 0;
}

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

/* ==========================================================================
   PASSEIO COM CÃES (MAP & WALKERS)
   ========================================================================== */
.map-simulation {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: #E9ECEF;
}

/* Linhas simulando ruas com gradientes */
.map-bg {
  width: 100%;
  height: 100%;
  background-image: url('mock_map.png');
  background-size: cover;
  background-position: center;
  opacity: 0.95;
}

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

.pin-walker-1 {
  top: 30%;
  left: 20%;
  animation: bounce-pin 2s infinite ease-in-out;
}

.pin-walker-2 {
  top: 70%;
  left: 80%;
  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: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-bg-dark);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.walker-list-section {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.walker-card {
  display: flex;
  align-items: center;
  padding: 12px;
  background-color: var(--color-bg-app);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.walker-card:hover {
  transform: translateY(-1px);
}

.walker-avatar {
  width: 48px;
  height: 48px;
  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;
  margin-bottom: 2px;
}

.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;
  color: var(--color-bg-dark);
}

.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:active {
  transform: scale(0.95);
}

/* ==========================================================================
   BANHO E TOSA (SPA BOOKING)
   ========================================================================== */
.booking-intro {
  background-color: var(--color-info-light);
  border-radius: var(--border-radius-md);
  padding: 12px;
  font-size: 0.8rem;
  color: var(--color-info);
  line-height: 1.4;
  margin-bottom: 16px;
}

.booking-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-section h3 {
  font-size: 0.95rem;
  font-weight: 700;
}

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

.service-checkbox-card {
  position: relative;
  display: flex;
  align-items: center;
  padding: 14px;
  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 input {
  position: absolute;
  opacity: 0;
}

.card-indicator {
  width: 22px;
  height: 22px;
  border: 2px solid #DDE2E5;
  border-radius: 6px;
  margin-right: 12px;
  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: 22px;
  height: 22px;
  color: var(--color-text-muted);
  margin-right: 12px;
  transition: var(--transition);
}

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

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

.service-desc {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  line-height: 1.3;
  margin-bottom: 4px;
}

.service-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-info);
  transition: var(--transition);
}

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

.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;
}

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

/* Date Scroll */
.date-selector-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.date-chip {
  position: relative;
  flex: 0 0 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  background-color: #FFFFFF;
  border: 2px solid #EDF2F4;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

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

.date-chip span {
  font-size: 0.6rem;
  color: var(--color-text-muted);
  margin-bottom: 2px;
  transition: var(--transition);
}

.date-chip strong {
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition);
}

.date-chip:has(input:checked) {
  border-color: var(--color-info);
  background-color: var(--color-info) !important;
  box-shadow: 0 4px 10px rgba(78, 168, 222, 0.2);
}

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

/* Time slots grid */
.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.time-slot {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background-color: #FFFFFF;
  border: 2px solid #EDF2F4;
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

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

.time-slot:has(input:checked) {
  border-color: var(--color-info);
  background-color: var(--color-info) !important;
  box-shadow: 0 4px 10px rgba(78, 168, 222, 0.2);
}

.time-slot:has(input:checked) {
  color: #FFFFFF;
}

.booking-footer {
  margin-top: 10px;
  padding: 14px 0 40px 0;
  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.2rem;
  font-weight: 700;
  color: var(--color-info);
}

#btn-confirm-booking {
  flex: 1;
  background-color: var(--color-info);
  box-shadow: 0 4px 14px rgba(78, 168, 222, 0.3);
}

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

/* ==========================================================================
   OVERLAY: MATCH CELEBRATION (TINDER DOG)
   ========================================================================== */
.match-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(43, 45, 66, 0.95);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.4s ease;
}

.match-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.match-box {
  background-color: var(--color-bg-app);
  width: 88%;
  border-radius: var(--border-radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  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: 3rem;
  animation: heartBeat 1.2s infinite;
}

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

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

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

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

.match-avatar-card img {
  width: 80px;
  height: 80px;
  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.85rem;
  font-weight: 700;
}

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

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

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

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

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

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

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

/* ==========================================================================
   OVERLAY: SUCCESS GENERAL
   ========================================================================== */
.success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(3px);
  z-index: 190;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}

.success-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

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

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

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

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

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

/* ==========================================================================
   CONFETTI & COIN GAIN EFFECTS
   ========================================================================== */
.floating-coins-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  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;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@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(400px) translateX(var(--drift-x)) rotate(360deg);
    opacity: 0;
  }
}

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

/* Onboarding & Welcome Modal Overlays */
.onboarding-overlay,
.welcome-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(43, 45, 66, 0.8);
  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-app);
  border-radius: var(--border-radius-lg);
  padding: 28px 24px;
  width: 100%;
  max-width: 320px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: scaleUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

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

.onboarding-logo-wrapper {
  height: 50px;
  margin-bottom: 4px;
}

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

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

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

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

.onboard-photo-option {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  border: 3px 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: 14px;
}

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

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

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

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

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

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

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

.profile-card {
  background-color: var(--color-bg-app);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

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

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

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

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

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

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(95deg, var(--color-primary), var(--color-secondary));
  border-radius: 5px;
  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: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

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

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

.completion-task-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-bg-page);
  padding: 10px 12px;
  border-radius: var(--border-radius-sm);
  gap: 8px;
}

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

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

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

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

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

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

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

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

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

.task-save-btn {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border: none;
  padding: 6px 12px;
  border-radius: 12px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 0.75rem;
  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: 4px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  padding: 6px 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.75rem;
  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.7rem;
  color: var(--color-success);
  max-width: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

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

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

.alert-item {
  display: flex;
  background-color: var(--color-bg-page);
  border-radius: var(--border-radius-sm);
  padding: 10px;
  gap: 10px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.alert-icon-wrapper {
  width: 28px;
  height: 28px;
  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.75rem;
  font-weight: 700;
}

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

/* 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;
  gap: 4px;
  background: linear-gradient(135deg, #FF7E47, #FF5E3A);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: 20px;
  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
   ========================================================================== */
.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
   ========================================================================== */

.push-notification-sim {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-md);
  padding: 12px 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 1010;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  transform: translateY(-120%);
  opacity: 0;
  cursor: pointer;
}

.push-notification-sim.active {
  transform: translateY(0);
  opacity: 1;
}

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

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

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

.push-time {
  margin-left: auto;
}

.push-body strong {
  font-size: 0.8rem;
  color: var(--color-bg-dark);
  display: block;
  margin-bottom: 2px;
}

.push-body p {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  line-height: 1.3;
  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;
}



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

/* --- Entry Button Card --- */
.service-card-quiz {
  background: linear-gradient(135deg, #1A0533 0%, #2D1461 60%, #1A0533 100%);
  border: none !important;
  box-shadow: 0 6px 24px rgba(123, 44, 191, 0.35) !important;
  position: relative;
  overflow: hidden;
}

.service-card-quiz::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -5%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.service-card-quiz .service-icon-bg {
  background: rgba(255,215,0,0.12) !important;
  border: 1px solid rgba(255,215,0,0.25);
}

.service-card-quiz .icon-quiz { color: #FFD700 !important; }

.service-card-quiz h3 { color: #FFD700 !important; }
.service-card-quiz p  { color: rgba(255,255,255,0.7) !important; }
.service-card-quiz .arrow-icon { color: rgba(255,255,255,0.4) !important; }

/* --- Quiz Drawer Backdrop --- */
.quiz-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 499;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s ease;
}

.quiz-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* --- Quiz Drawer (Bottom Sheet for Mobile) --- */
.quiz-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 92vh;
  background: linear-gradient(160deg, #0D0221 0%, #1A0533 50%, #0D0221 100%);
  z-index: 500;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 40px rgba(13, 2, 33, 0.6);
}

.quiz-drawer.open { transform: translateY(0); }

/* stars */
.quiz-drawer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 60%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(2px 2px at 80% 20%, rgba(255,215,0,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,0.25) 0%, transparent 100%);
  pointer-events: none;
}

.quiz-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.quiz-drawer-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFD700;
  text-shadow: 0 0 14px rgba(255,215,0,0.45);
}

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

.btn-quit-quiz-mobile {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.55);
  border-radius: 8px;
  padding: 6px 11px;
  font-size: 0.72rem;
  cursor: pointer;
  font-family: var(--font-family);
}

.quiz-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 1;
}

/* --- Mobile Progress --- */
.quiz-m-progress-track { height: 4px; background: rgba(255,255,255,0.1); border-radius: 20px; overflow: hidden; }
.quiz-m-progress-fill  { height: 100%; background: linear-gradient(90deg, #FFD700, #FFA500); border-radius: 20px; transition: width 0.4s ease; }

.quiz-m-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.7rem; color: rgba(255,255,255,0.4);
}

/* --- Mobile Question Card --- */
.quiz-m-question-card {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 14px;
  padding: 16px 18px;
  backdrop-filter: blur(8px);
}

.quiz-m-question-text {
  font-size: 1rem; font-weight: 700; color: #FFFFFF;
  line-height: 1.45; text-align: center; font-family: 'Fredoka', sans-serif;
}

/* --- Mobile Options --- */
.quiz-m-options { display: flex; flex-direction: column; gap: 9px; }

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

.quiz-m-option-btn:active:not(:disabled) { transform: scale(0.98); }
.quiz-m-option-btn:disabled { cursor: default; }

.quiz-m-option-btn .option-letter {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; 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.75rem; font-weight: 700; flex-shrink: 0;
}

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

/* --- Mobile Lifelines --- */
.quiz-m-lifelines { display: flex; gap: 8px; }
.quiz-m-lifeline-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.17);
  border-radius: 20px; padding: 9px 12px; font-size: 0.75rem; font-weight: 700;
  color: rgba(255,255,255,0.78); cursor: pointer; font-family: var(--font-family);
}
.quiz-m-lifeline-btn:disabled { opacity: 0.28; text-decoration: line-through; }

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

.quiz-m-end-emoji { font-size: 4rem; filter: drop-shadow(0 0 20px rgba(255,215,0,0.6)); animation: quiz-float-m 3s ease-in-out infinite; }
.quiz-m-end-title { font-family: 'Fredoka', sans-serif; font-size: 1.7rem; font-weight: 700; color: #FFD700; }
.quiz-m-end-subtitle { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

.quiz-m-coins-won {
  background: rgba(255,215,0,0.09); border: 2px solid rgba(255,215,0,0.32);
  border-radius: 14px; padding: 16px 36px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.quiz-m-coins-won-number { font-size: 2.6rem; font-weight: 700; color: #FFD700; font-family: 'Fredoka', sans-serif; line-height: 1; }
.quiz-m-coins-won-label  { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

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

.btn-play-again-mobile {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1A0533; border: none; padding: 14px 36px; 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.35); width: 100%; max-width: 280px;
}

/* Mobile Difficulty Badge */
.quiz-m-diff-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 9px; border-radius: 20px; font-size: 0.66rem; font-weight: 700;
}
.quiz-m-diff-badge.easy   { background: rgba(34,197,94,0.18); color: #4ADE80; border: 1px solid rgba(34,197,94,0.3); }
.quiz-m-diff-badge.medium { background: rgba(251,191,36,0.18); color: #FCD34D; border: 1px solid rgba(251,191,36,0.3); }
.quiz-m-diff-badge.hard   { background: rgba(239,68,68,0.18);  color: #F87171; border: 1px solid rgba(239,68,68,0.3); }

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

/* --- Coin Rain Animation --- */
.rain-coin {
  position: fixed;
  top: -60px;
  width: 40px;
  height: 40px;
  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
   ========================================================================== */
.memory-game-section {
  margin-bottom: 20px;
}

.memory-board-container {
  position: relative;
  width: 100%;
  min-height: 320px;
  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: 10px;
  width: 100%;
  height: 100%;
}

.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: 2rem;
  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: 2.5rem;
  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: 24px;
  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: 24px;
  height: 24px;
}
