/* ============================================================
   VisitAms — Netherlands-themed Stylesheet
   Colors: Dutch orange #FF6D00, deep blue #1E3A5F, white, tulip accents
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

:root {
  --orange: #FF6D00;
  --orange-light: #FF9E40;
  --blue: #1E3A5F;
  --blue-light: #2A5A8F;
  --white: #FFFFFF;
  --cream: #FFF8F0;
  --red: #AE1C28;
  --green: #4CAF50;
  --gray: #8896A4;
  --card-shadow: 0 8px 32px rgba(30, 58, 95, 0.15);
  --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--cream);
  color: var(--blue);
  min-height: 100dvh;
  overflow-x: hidden;
}

/* ---- WELCOME / AUTH SCREEN ---- */
#auth-screen {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, var(--blue) 0%, #0F2440 50%, var(--blue) 100%);
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}

#auth-screen::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 20%, rgba(255, 109, 0, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(255, 109, 0, 0.05) 0%, transparent 50%);
  animation: auraSpin 30s linear infinite;
}

@keyframes auraSpin {
  to { transform: rotate(360deg); }
}

.auth-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 420px;
  width: 100%;
}

.welcome-flag {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 1.5rem;
}

.flag-stripe {
  width: 40px;
  height: 8px;
  border-radius: 4px;
}
.flag-stripe.red { background: var(--red); }
.flag-stripe.white { background: var(--white); }
.flag-stripe.blue { background: var(--blue-light); }

.welcome-tulips {
  font-size: 2rem;
  letter-spacing: 0.3rem;
  margin-bottom: 0.5rem;
}

.welcome-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.welcome-title .name {
  color: var(--orange);
}

.welcome-subtitle {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 300;
  margin-bottom: 2rem;
}

.pin-label {
  font-size: 0.85rem;
  color: var(--orange-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.pin-slots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pin-slot {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 2px dashed rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.pin-slot.filled {
  border-color: var(--orange);
  background: rgba(255, 109, 0, 0.12);
  transform: scale(1.05);
  animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pin-slot.shake {
  animation: shake 0.5s ease;
}

@keyframes popIn {
  0% { transform: scale(0.8); }
  100% { transform: scale(1.05); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}

.emoji-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  max-width: 360px;
  margin: 0 auto;
}

.emoji-btn {
  width: 100%;
  aspect-ratio: 1;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.6rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emoji-btn:hover {
  background: rgba(255, 109, 0, 0.15);
  transform: scale(1.12);
}

.emoji-btn:active {
  transform: scale(0.95);
}

.emoji-btn.selected {
  background: rgba(255, 109, 0, 0.25);
  box-shadow: 0 0 0 2px var(--orange);
}

.auth-hint {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ---- SUCCESS TRANSITION ---- */
.welcome-reveal {
  animation: revealUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  font-size: 2.5rem;
}

.welcome-reveal-sub {
  animation: revealUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
  opacity: 0;
  font-size: 1.1rem;
}

@keyframes revealUp {
  0% { opacity: 0; transform: translateY(30px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-fadeout {
  animation: fadeOut 0.8s ease forwards;
}

@keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.05); }
}

.auth-success {
  animation: successGlow 0.6s ease;
}

@keyframes successGlow {
  0% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
  100% { filter: brightness(1); }
}

/* ---- MAIN APP ---- */
#app-screen {
  display: none;
  min-height: 100dvh;
  flex-direction: column;
}

#app-screen.active {
  display: flex;
}

/* Top Bar */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--white);
  border-bottom: 1px solid rgba(30, 58, 95, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-bar-title {
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--blue);
}

.top-bar-title .orange { color: var(--orange); }

.weather-badge {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.8;
  margin-left: 0.25rem;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fav-toggle {
  background: var(--orange);
  color: var(--white);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.fav-toggle:hover {
  background: var(--orange-light);
  transform: scale(1.05);
}

.view-toggle {
  background: none;
  border: 2px solid var(--blue);
  border-radius: 10px;
  padding: 0.35rem 0.75rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  transition: all 0.2s;
}

.view-toggle:hover {
  background: var(--blue);
  color: var(--white);
}

/* Trip Status Modal */
.trip-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.3s ease;
}

.trip-modal-overlay.active {
  display: flex;
}

.trip-modal {
  background: linear-gradient(170deg, #FFFDF8 0%, #FFF0E0 100%);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  max-width: 400px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.trip-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(30, 58, 95, 0.08);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  color: var(--gray);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trip-modal-close:hover {
  background: rgba(30, 58, 95, 0.15);
  color: var(--blue);
}

.trip-top, .trip-bottom {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.trip-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.trip-avatar {
  font-size: 2.5rem;
  animation: gentleBounce 3s ease-in-out infinite;
}

.trip-irina .trip-avatar { animation-delay: 0s; }
.trip-sasha .trip-avatar { animation-delay: 1.5s; }

@keyframes gentleBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.trip-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
}

.trip-status-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue);
}

/* Baguette Progress Bar */
.baguette-track {
  margin: 1.25rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  border: 1px solid rgba(237, 41, 57, 0.1);
}

.baguette-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.baguette-bar {
  position: relative;
  height: 36px;
  background: #F5E6D0;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid #E8D5B8;
}

.baguette-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  opacity: 0.15;
  letter-spacing: 0.5rem;
  overflow: hidden;
}

.baguette-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  border-radius: 18px;
  overflow: hidden;
  transition: width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.baguette-fill-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #002395, #FFFFFF, #ED2939);
  opacity: 0.85;
}

.baguette-percent {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--blue);
  text-shadow: 0 0 4px rgba(255,255,255,0.8);
}

.baguette-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 0.6rem;
  gap: 0.25rem;
}

.baguette-steps .step {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--gray);
  text-align: center;
  opacity: 0.5;
  transition: all 0.3s;
}

.baguette-steps .step.done {
  opacity: 1;
  color: var(--green);
}

.baguette-steps .step.active {
  opacity: 1;
  color: var(--orange);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Trip Footer */
.trip-footer {
  text-align: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(30, 58, 95, 0.15);
}

.trip-route {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.trip-plane {
  animation: flyPlane 2.5s ease-in-out infinite;
}

@keyframes flyPlane {
  0%, 100% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(6px) translateY(-4px); }
  75% { transform: translateX(-6px) translateY(-4px); }
}

.trip-soon {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange);
  margin-top: 0.5rem;
}

/* Swipe Instruction */
.swipe-intro {
  text-align: center;
  padding: 1rem 1rem 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
}

.swipe-hint {
  text-align: center;
  padding: 0.75rem;
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 400;
}

.swipe-hint span { font-weight: 600; color: var(--orange); }

/* Card Stack Area */
.card-stack {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
  min-height: 420px;
}

.card-stack .activity-card {
  position: absolute;
  width: min(380px, calc(100% - 2rem));
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
  transition: box-shadow 0.3s;
}

.card-stack .activity-card:active { cursor: grabbing; }

.card-stack .activity-card.behind {
  transform: scale(0.95) translateY(12px);
  pointer-events: none;
  z-index: 1;
}

.card-stack .activity-card.far-behind {
  transform: scale(0.9) translateY(24px);
  pointer-events: none;
  z-index: 0;
}

.card-stack .activity-card:not(.behind):not(.far-behind) {
  z-index: 2;
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: block;
}

.card-image-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.card-body {
  padding: 1.25rem;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.card-desc {
  font-size: 0.88rem;
  color: #5A6B7D;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--gray);
  font-weight: 500;
}

.card-location::before {
  content: '📍';
}

/* Swipe Overlays — hidden by default, only visible during drag */
.swipe-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: var(--radius);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s;
  z-index: 10;
}

.swipe-overlay.visible {
  visibility: visible;
}

.swipe-overlay.like {
  background: rgba(76, 175, 80, 0.25);
  color: var(--green);
  border: 3px solid var(--green);
}

.swipe-overlay.nope {
  background: rgba(174, 28, 40, 0.2);
  color: var(--red);
  border: 3px solid var(--red);
}

/* Action Buttons under card */
.card-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem;
}

.action-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn:hover { transform: scale(1.12); }
.action-btn:active { transform: scale(0.95); }

.action-btn.skip {
  background: rgba(174, 28, 40, 0.1);
  color: var(--red);
}

.action-btn.like-btn {
  background: rgba(76, 175, 80, 0.1);
  color: var(--green);
}

.action-btn.undo {
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  background: rgba(30, 58, 95, 0.08);
  color: var(--blue);
  transition: all 0.2s, opacity 0.3s;
}

/* ---- FAVOURITES VIEW ---- */
.favourites-view {
  display: none;
  padding: 1rem 1.5rem 2rem;
}

.favourites-view.active {
  display: block;
}

.fav-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--gray);
}

.fav-empty .icon { font-size: 3rem; margin-bottom: 1rem; }

.fav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border-radius: 16px;
  padding: 0.75rem;
  box-shadow: 0 2px 12px rgba(30, 58, 95, 0.08);
  transition: transform 0.2s;
}

.fav-item:hover { transform: translateY(-2px); }

.fav-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  flex-shrink: 0;
}

.fav-info {
  flex: 1;
  min-width: 0;
}

.fav-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.fav-info p {
  font-size: 0.75rem;
  color: var(--gray);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fav-remove {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  opacity: 0.4;
  transition: opacity 0.2s;
}

.fav-remove:hover { opacity: 1; }

/* ---- SAVE ACTIONS ---- */
.fav-actions {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.save-btn {
  flex: 1;
  background: var(--orange);
  color: var(--white);
  border: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.save-btn:hover { background: var(--orange-light); }

/* ---- HISTORY SECTION ---- */
.history-section {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(30, 58, 95, 0.1);
}

.history-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.history-item {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 0.5rem;
  box-shadow: 0 1px 6px rgba(30, 58, 95, 0.06);
  font-size: 0.8rem;
}

.history-date {
  color: var(--gray);
  font-weight: 500;
  white-space: nowrap;
}

.history-count {
  font-weight: 700;
  color: var(--orange);
  white-space: nowrap;
}

.history-names {
  color: var(--blue);
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-load {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.25rem;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.history-load:hover { opacity: 1; }

/* ---- "ALL DONE" STATE ---- */
.all-done {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--gray);
}

.all-done .icon { font-size: 3.5rem; margin-bottom: 1rem; }

.all-done h2 {
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.disclaimer {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--gray);
  font-style: italic;
}

.confirm-btn {
  margin-top: 1.25rem;
  background: var(--green);
  color: var(--white);
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s;
  display: block;
  width: 100%;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.confirm-btn:hover { background: #37a866; }

.done-btn {
  margin-top: 0.5rem;
  background: var(--white);
  color: var(--blue);
  border: 2px solid rgba(30, 58, 95, 0.15);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s;
  display: block;
  width: 100%;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.done-btn:hover {
  background: var(--blue);
  color: var(--white);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 480px) {
  .welcome-title { font-size: 1.7rem; }
  .pin-slot { width: 56px; height: 56px; font-size: 1.5rem; }
  .emoji-grid { grid-template-columns: repeat(6, 1fr); gap: 0.4rem; }
  .emoji-btn { font-size: 1.3rem; }
  .card-stack .activity-card { width: calc(100% - 1rem); }
}

/* Utility */
.hidden { display: none !important; }

/* ---- CONFETTI CANVAS ---- */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  display: none;
}

/* ---- MATCH SCREEN ---- */
.match-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, rgba(255, 109, 0, 0.95) 0%, rgba(15, 26, 48, 0.98) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.match-screen.active {
  opacity: 1;
  pointer-events: auto;
}

.match-content {
  text-align: center;
  color: var(--white);
}

.match-emoji {
  font-size: 10rem;
  animation: matchBounce 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  filter: drop-shadow(0 0 40px rgba(255, 109, 0, 0.5));
}

.match-screen.active .match-emoji {
  animation: matchBounce 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.match-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-top: 0.5rem;
  opacity: 0;
  animation: matchTextIn 0.6s ease 0.4s forwards;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.match-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  margin-top: 0.5rem;
  opacity: 0;
  animation: matchTextIn 0.6s ease 0.7s forwards;
  color: rgba(255, 255, 255, 0.85);
}

.match-btn {
  margin-top: 2rem;
  background: var(--white);
  color: var(--orange);
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 2.5rem;
  border-radius: 50px;
  cursor: pointer;
  opacity: 0;
  animation: matchTextIn 0.5s ease 1s forwards;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.match-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

@keyframes matchBounce {
  0% { transform: scale(0) rotate(-30deg); opacity: 0; }
  50% { transform: scale(1.2) rotate(10deg); opacity: 1; }
  70% { transform: scale(0.9) rotate(-5deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes matchTextIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

