.cards-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: var(--max-w);
  height: 100%;
  background: var(--snow);
  z-index: 5000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
  overflow-y: auto;
  padding: 6rem 1.5rem 120px;
  scroll-snap-type: y mandatory;
}

.card-counter-pill {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.icon-btn-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.icon-btn-circle:hover {
  transform: scale(1.05);
}

.cards-screen.visible {
  display: block !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.quote-results-container {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.quote-card {
  width: 100%;
  min-height: 80vh; /* Relative to box height */
  height: auto;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 60px 0;
  background: transparent;
}

.scroll-for-more-inline {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text);
  background: #eeeeee;
  padding: 6px 16px;
  border-radius: 100px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
  z-index: 10;
  margin-bottom: 1.5rem;
}

.card-body {
  width: calc(100% - 40px);
  max-width: 450px;
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 80px 40px 300px;
}

.card-content p {
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  letter-spacing: -0.02em;
  white-space: pre-wrap;
  opacity: 1;
}

/* Bold tag becomes high-contrast text */
.card-content p b {
  font-weight: 500;
  opacity: 1;
}

/* Italic tag remains elegant but darker */
.card-content p i {
  font-style: italic;
  opacity: 1;
}

/* Underline tag becomes a second highlight style without the line */
.card-content p u {
  text-decoration: none !important;
  font-weight: 500;
  opacity: 1;
}

.card-image-block {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background-size: cover;
  background-position: center;
  z-index: 1;
  touch-action: none;
}

.card-branding {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
  font-size: 0.6rem;
  color: var(--sub);
  opacity: 0.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 5;
}

.card-actions-row {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  z-index: 10;
}

.card-action-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card-action-btn:hover {
  background: #000;
  color: #fff;
  transform: scale(1.05);
}

.card-action-btn .material-symbols-rounded {
  font-size: 20px;
}

@media (max-width: 768px) {
  .cards-screen {
    padding: 5rem 1rem 100px;
  }
  .card-body {
    width: calc(100% - 20px);
  }
  .card-content {
    padding: 60px 25px 280px;
  }
  .card-content p {
    font-size: 1.6rem;
    line-height: 1.25;
  }

  .card-content p.text-short {
    font-size: 1.9rem;
  }

.add-more-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.add-more-btn {
  background: #000;
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

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

.add-more-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.add-more-btn.loading span:first-child {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
