.preview-section {
  text-align: center;
  margin: 80px auto 50px;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.preview-section {
  position: relative;
}

.age-verification-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 570px;
  background: rgb(255 196 196 / 5%);
  backdrop-filter: blur(1px) saturate(110%);
  -webkit-backdrop-filter: blur(6px) saturate(110%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  opacity: 1;
  transition: opacity 1.2s ease-out, backdrop-filter 1.2s ease-out;
  -webkit-transition: opacity 1.2s ease-out, -webkit-backdrop-filter 1.2s ease-out;
  pointer-events: none;
  border-radius: 8px;
  box-sizing: border-box;
}

.age-verification-overlay.hiding {
  opacity: 0;
  backdrop-filter: blur(0px) saturate(100%);
  -webkit-backdrop-filter: blur(0px) saturate(100%);
  pointer-events: none;
}

.age-verification-overlay.hidden {
  display: none;
}

.age-verification-content {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  padding: 32px 28px;
  border-radius: 12px;
  max-width: 340px;
  width: 85%;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25),
              0 0 0 1px rgba(255, 255, 255, 0.3) inset;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform 1.2s ease-out, opacity 1.2s ease-out;
  transform: scale(1);
  opacity: 1;
  position: relative;
  z-index: 999;
  pointer-events: auto;
}

.age-verification-overlay.hiding .age-verification-content {
  transform: scale(0.95);
  opacity: 0;
}

.lock-emoji {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lock-image {
  width: 62px;
  height: 62px;
  object-fit: contain;
  opacity: 0.9;
}

.age-verification-content h2 {
  color: #000;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 12px 0;
  letter-spacing: -0.3px;
  text-align: center;
}

.age-verification-content p {
  color: #666;
  font-size: 0.9rem;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.age-verification-content form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.age-consent-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  color: #444;
  line-height: 1.4;
}

.age-consent-label input[type="checkbox"] {
  width: 36px;
  height: 36px;
  cursor: pointer;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.age-verification-button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.button-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.age-verification-button:hover {
  background: #8a0019;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(177, 0, 35, 0.3);
}

.age-verification-button:active {
  transform: translateY(0);
}

.age-verification-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.preview-section h1 {
  color: #fff;
  font-size: 22px;
  margin: 18px 0 8px;
  text-align: center;
  margin-bottom: 30px;
}

#quote-carousel {
  padding: 30px 20px 0px 20px;
  margin-top: 0;
  width: 100%;
  max-width: 640px;
  height: 510px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgb(255 0 0);
  overflow: hidden;
  box-sizing: border-box;
}

.quote-carousel-inner {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-item {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.quote-item.active {
  display: block;
  opacity: 1;
}

.preview-card {
  padding: 20px;
  text-align: left;
  height: 570px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.card-breadcrumbs {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 15px;
  font-weight: normal;
}

.card-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex: 1;
  min-height: 0;
}

.card-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.mobile-only {
  display: none;
}

.desktop-only {
  display: flex;
}

@media (min-width: 577px) {
  .pepper-rating.mobile-only {
    display: none !important;
  }
}

.challenge-badge {
  background: #f0f0f0;
  color: #000;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: normal;
  margin-bottom: 15px;
  text-align: center;
}

.card-icon {
  font-size: 2.8rem;
  line-height: 1;
  margin-top: 10px;
}

.card-icon-image {
  width: 130px;
  height: auto;
  object-fit: contain;
  display: block;
}

.card-stamp {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stamp-image {
  max-width: 40px;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.card-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  gap: 15px;
  flex-wrap: wrap;
}

.card-title {
  color: #000;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
  flex: 1;
}

.pepper-rating {
  display: flex;
  gap: 0px;
  align-items: center;
}

.pepper-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  opacity: 0.4;
  transition: opacity 0.2s;
}

.pepper-icon.active {
  opacity: 1;
}

.card-text {
  font-size: 0.95rem;
  line-height: 1.52;
  color: #666;
  margin: 0;
  text-align: justify;
  font-weight: normal;
  flex: 1;
  position: relative;
  min-height: 0;
}

.carousel-navigation-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 640px;
  width: 100%;
  margin: 20px auto 0;
  box-sizing: border-box;
}

.carousel-control {
  position: static;
  transform: none;
  background: none;
  color: #fff;
  font-size: 6em;
  line-height: 80px;
  text-shadow: none;
  text-decoration: none;
  cursor: pointer;
  z-index: 10;
  padding: 5px 10px;
  transition: all 0.3s ease;
  opacity: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -30px;
}

.carousel-control:hover {
  opacity: 1;
  color: #fff;
}

.carousel-control.left:hover {
  transform: translateX(-5px);
}

.carousel-control.right:hover {
  transform: translateX(5px);
}

.carousel-control.left {
  left: -50px;
}

.carousel-control.right {
  right: -50px;
}

.carousel-indicators {
  position: relative;
  right: auto;
  top: auto;
  bottom: auto;
  margin: 0;
  text-align: center;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.carousel-indicators li {
  width: 48px;
  height: 48px;
  cursor: pointer;
  border: 3px solid #000;
  box-shadow: 0 0 15px rgb(255 41 0);
  border-radius: 50%;
  opacity: 0.6;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  vertical-align: middle;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  flex-shrink: 0;
}

.carousel-indicators li img,
.carousel-indicators li .indicator-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}

.carousel-indicators li .indicator-emoji {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border-radius: 50%;
}

.carousel-indicators li.active {
  width: 65px;
  height: 65px;
  opacity: 1;
  border-color: #000;
  box-shadow: 0 0 25px rgb(255 0 0);
}

@media (max-width: 768px) {
  .carousel-navigation-wrapper {
    gap: 15px;
    margin: 8px auto 0;
  }
  
  .carousel-control {
    font-size: 4em;
    margin-top: -30px;
  }
  
  .preview-card {
    padding: 15px;
    height: 460px;
  }
  
  .card-content {
    gap: 15px;
  }
  
  .card-left {
    min-width: 60px;
  }
  
  .card-icon {
    font-size: 2.5rem;
  }
  
  .stamp-image {
    max-width: 40px;
    max-height: 40px;
    margin-top: 0px;
  }
  
  .card-title {
    font-size: 1.2rem;
  }
  
  .card-text {
    font-size: 0.9rem;
  }
  
  #quote-carousel {
    width: 100%;
    max-width: 640px;
    height: 510px;
    padding: 25px 15px 50px 15px;
  }
  
  .age-verification-overlay {
    width: 100%;
    height: 460px;
  }
  
  .carousel-indicators {
    gap: 8px;
  }
  
  .carousel-indicators li {
    width: 42px;
    height: 42px;
  }
  
  .carousel-indicators li.active {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 576px) {
  .carousel-navigation-wrapper {
    gap: 10px;
    margin: 8px auto 0;
  }
  
  .carousel-control {
    font-size: 4em;
    margin-top: -30px;
  }
  
  #quote-carousel {
    width: 100%;
    max-width: 640px;
    height: 520px;
    padding: 20px 10px 50px 10px;
  }
  
  .age-verification-overlay {
    width: 100%;
    height: 510px;
  }
  
  .preview-card {
    padding: 12px;
    height: 510px;
  }
  
  .card-content {
    flex-direction: column;
    gap: 15px;
  }
  
  .card-left {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    width: 100%;
  }
  
  .challenge-badge {
    margin-bottom: 0;
  }
  
  .card-icon {
    font-size: 2rem;
    margin-top: 0;
  }
  
  .card-stamp {
    margin-top: 0;
  }
  
  .stamp-image {
    max-width: 40px;
    max-height: 40px;
    margin-top: 0px;
  }
  
  .mobile-only {
    display: flex;
    margin-left: auto;
  }
  
  .desktop-only {
    display: none;
  }
  
  .pepper-rating.mobile-only {
    gap: 0px;
  }
  
  .pepper-rating.mobile-only .pepper-icon {
    width: 24px;
    height: 24px;
  }
  
  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .card-title {
    font-size: 1.1rem;
  }
  
  .card-text {
    font-size: 0.85rem;
    text-align: justify;
    word-break: break-word;
    overflow-wrap: break-word;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .card-icon-image {
    width: 60px;
  }
  
  .challenge-badge {
    font-size: 0.6rem;
  }
  
  .stamp-image {
    width: 30px;
    height: 30px;
    max-width: 30px;
    max-height: 30px;
  }
  
  .card-breadcrumbs {
    font-size: 0.6rem;
  }
  
  .carousel-indicators {
    gap: 6px;
  }
  
  .carousel-indicators li {
    width: 38px;
    height: 38px;
  }
  
  .carousel-indicators li.active {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .carousel-navigation-wrapper {
    gap: 8px;
    margin: 8px auto 0;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .carousel-control {
    font-size: 4em;
    margin-top: -20px;
    padding: 0 5px;
  }
  
  #quote-carousel {
    height: 510px;
    padding: 15px 8px 65px 8px;
  }
  
  .age-verification-overlay {
    height: 530px;
  }
  
  .preview-card {
    padding: 10px;
    height: 530px;
  }
  
  .card-content {
    gap: 12px;
  }
  
  .card-left {
    gap: 10px;
  }
  
  .card-icon {
    font-size: 1.8rem;
  }
  
  .card-icon-image {
    width: 50px;
  }
  
  .card-title {
    font-size: 1.1rem;
  }
  
  .card-text {
    font-size: 0.85rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .card-breadcrumbs {
    font-size: 0.6rem;
    margin-bottom: 8px;
  }
  
  .challenge-badge {
    font-size: 0.6rem;
    padding: 3px 8px;
    margin-bottom: 8px;
  }
  
  .stamp-image {
    width: 28px;
    height: 28px;
    max-width: 28px;
    max-height: 28px;
  }
  
  .pepper-rating.mobile-only .pepper-icon {
    width: 20px;
    height: 20px;
  }
  
  .card-header {
    gap: 8px;
    margin-bottom: 10px;
  }
  
  .carousel-indicators {
    gap: 5px;
    flex-wrap: wrap;
  }
  
  .carousel-indicators li {
    width: 34px;
    height: 34px;
  }
  
  .carousel-indicators li.active {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 360px) {
  #quote-carousel {
    height: 550px;
    padding: 12px 6px 70px 6px;
  }
  
  .age-verification-overlay {
    height: 550px;
  }
  
  .preview-card {
    padding: 8px;
    height: 550px;
  }
  
  .card-text {
    font-size: 0.90rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .card-breadcrumbs {
    font-size: 0.6rem;
    margin-bottom: 6px;
  }
  
  .challenge-badge {
    font-size: 0.6rem;
    padding: 2px 6px;
    margin-bottom: 6px;
  }
  
  .card-header {
    margin-bottom: 8px;
  }
  
  .carousel-control {
    font-size: 2.5em;
  }
  
  .carousel-indicators li {
    width: 30px;
    height: 30px;
  }
  
  .carousel-indicators li.active {
    width: 38px;
    height: 38px;
  }
}

