@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800;900&display=swap");

body {
  margin: 0;
  padding: 0;
  background-color: #121212;
  background-image: url("/FONDO BLUE.png");
  background-size: cover;
  background-attachment: fixed;
  animation: slideBackground 30s linear infinite;
  font-family: "Montserrat", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5; /* Improve readability */
}

@keyframes slideBackground {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 110% 0;
  }
}

.container {
  padding: 20px;
  text-align: center;
  max-width: 960px; /* Add a max-width to the main container */
  margin: 0 auto; /* Center the container */
}

h1 {
  color: white;
  font-size: 26.4px;
  line-height: 1.3;
  margin: 0;
  font-weight: 800;
  padding: 0 10px; /* Add some horizontal padding */
}

.highlight {
  color: #4caf50;
  font-weight: 800;
}

.notice {
  color: white;
  font-size: 14px;
  margin-top: 15px; /* Slightly increased margin */
  font-weight: 400;
  opacity: 0.8;
  padding: 0 10px; /* Add horizontal padding */
}

.video-container {
  width: 95%; /* Increased width for mobile */
  margin: 25px auto; /* Adjusted margin */
  border: 2px solid #4caf50;
  box-sizing: border-box;
  border-radius: 10px;
  max-width: 800px;
  overflow: hidden;
  position: relative; /* Needed for aspect ratio padding */
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}

.video-container video {
  /* Target the video inside the container */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px; /* Slightly smaller border-radius */
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sound-prompt {
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  animation: pulse 2s infinite alternate;
  transition: transform 0.2s ease;
}

.sound-prompt:hover {
  transform: scale(1.05);
}

.sound-icon {
  width: 24px;
  height: 24px;
  color: white;
}

.volume-notice {
  color: white;
  font-size: 14px;
  margin-top: 10px; /* Adjusted margin */
  font-weight: 500;
  opacity: 0.9; /* Slightly higher opacity */
}

.countdown {
  color: white;
  font-size: 18px; /* Slightly larger font size */
  font-weight: bold;
  margin-top: 30px; /* Adjusted margin */
  margin-bottom: 20px;
  text-align: center;
  padding: 0 10px;
}

.countdown-boxes {
  display: flex;
  justify-content: center;
  gap: 10px; /* Reduced gap */
  margin-top: 15px;
  flex-wrap: wrap;
}

.countdown-box {
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px; /* Reduced padding */
  border-radius: 8px;
  width: 55px; /* Adjusted width */
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  border: 1px solid #888;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.15); /* Adjusted box shadow */
}

.countdown-box span {
  font-size: 24px; /* Reduced font size */
  display: block;
  font-weight: 700;
  transition: all 0.3s ease;
}

.countdown-label {
  font-size: 12px; /* Reduced font size */
  margin-top: 5px;
  text-transform: uppercase;
  opacity: 0.8;
}

.cta-section,
.opinions-section,
.for-you-section,
.bonus-section {
  /* Apply common styles */
  background-color: rgba(0, 0, 0, 0.6);
  padding: 30px 20px; /* Adjusted padding for mobile */
  border-radius: 15px;
  margin: 30px auto;
  max-width: 800px;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.for-you-section,
.bonus-section {
  /* Override background for white sections */
  background-color: #fff;
  color: #333;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-section::before,
.opinions-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  pointer-events: none;
  z-index: 1;
}

.cta-title,
.opinions-section h2,
.for-you-section h2,
.bonus-section h2 {
  /* Apply common styles */
  color: white;
  font-size: 28px; /* Reduced font size */
  font-weight: 800;
  margin-bottom: 15px; /* Adjusted margin */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.for-you-section h2,
.bonus-section h2 {
  /* Override color for white sections */
  color: #2c3e50;
  text-shadow: none;
}

.opinions-section h2 {
  margin-bottom: 20px;
}

.cta-subtitle {
  color: #eee;
  font-size: 17px; /* Reduced font size */
  margin-bottom: 20px;
  font-weight: 600;
  padding: 0 10px;
}

.cta-price {
  color: #ffeb3b;
  font-size: 30px; /* Reduced font size */
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  position: relative;
  margin-bottom: 20px;
  padding: 0 10px;
}

.cta-original-price {
  display: block;
  color: red;
  font-size: 18px; /* Reduced font size */
  text-decoration: line-through;
  font-weight: bold;
  margin-bottom: 5px;
}

.cta-button {
  background-color: #64dd17;
  color: white;
  padding: 15px 30px; /* Adjusted padding */
  border: none;
  border-radius: 10px;
  font-size: 20px; /* Reduced font size */
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px; /* Adjusted margin */
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 100%; /* Prevent overflow */
  box-sizing: border-box; /* Include padding in width */
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.4s;
  z-index: 1;
  pointer-events: none;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.cta-secure {
  color: #ccc;
  font-size: 13px; /* Reduced font size */
  margin-top: 10px;
}

.for-you-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 10px; /* Add horizontal padding */
}

.for-you-list li {
  font-size: 16px; /* Reduced font size */
  margin-bottom: 12px; /* Adjusted margin */
  line-height: 1.5; /* Adjusted line height */
  position: relative;
  padding-left: 30px;
}

.for-you-list li b {
  font-weight: 800;
  color: #1e8449;
}

.for-you-list li::before {
  content: "✅";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 18px; /* Adjusted size */
  color: #27ae60;
}

.bonus-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  text-align: left;
  margin-bottom: 20px;
  flex-direction: row; /* Arrange horizontally by default */
  align-items: flex-start; /* Align items to the top by default */
}

.bonus-content:not(:last-child) {
  border-bottom: 2px dashed #ddd;
  padding-bottom: 20px;
}

.bonus-image {
  width: 200px; /* Adjusted initial size */
  height: 200px; /* Adjusted initial size */
  min-width: 180px; /* Ensure a minimum size */
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  flex-shrink: 0; /* Prevent image from shrinking below min-width */
}

.bonus-text {
  flex: 1;
  text-align: left; /* Default desktop alignment */
}

.bonus-text h3 {
  font-size: 20px; /* Adjusted initial font size */
  font-weight: 700;
  margin-bottom: 5px;
  color: #1e8449;
}

.bonus-text p {
  font-size: 15px; /* Adjusted initial font size */
  line-height: 1.5;
  margin-bottom: 10px;
  padding: 0; /* Remove padding here, handle in container */
}

.valued-at {
  color: red;
  font-size: 14px; /* Adjusted initial font size */
  text-decoration: line-through;
  margin-right: 10px;
}

.free-badge {
  background-color: green;
  color: white;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 14px; /* Adjusted initial font size */
  font-weight: bold;
}

.bonus-footer {
  font-size: 18px; /* Adjusted initial font size */
  font-weight: bold;
  margin-top: 20px;
  color: #e67e22;
  padding: 0; /* Remove padding here */
}

.scarcity-text {
  color: #00ff08;
  font-size: 16px; /* Keep initial size */
  font-weight: bold;
  margin-top: 10px;
  animation: pulse 2s infinite alternate;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0.7;
  }
}

.customer-opinions-slider {
  width: 100%;
  overflow: hidden;
  margin: 20px auto;
  cursor: grab;
  position: relative;
}

.customer-opinions-slider:active {
  cursor: grabbing;
}

/* Fade effect using pseudo-elements */
.customer-opinions-slider::before,
.customer-opinions-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10%; /* Width of the fade area */
  pointer-events: none;
  z-index: 2;
}

.customer-opinions-slider::before {
  left: 0;
  background: linear-gradient(to right, #060a0f 0%, transparent 100%);
}

.customer-opinions-slider::after {
  right: 0;
  background: linear-gradient(to left, #060a0f 0%, transparent 100%);
}

.slider-track {
  display: flex;
  transition: transform 0.1s linear;
  /* The JS handles the continuous movement */
}

.slider-track.dragging {
  transition: none;
}

.slider-track img {
  width: 50vw; /* Make images larger on mobile */
  max-width: 250px; /* But cap their max size */
  height: auto;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 15px;
  padding: 5px;
  box-sizing: border-box;
  pointer-events: none; /* Allow clicking through to the container */
  z-index: 1;
}

.opinions-footer-elements {
  margin-top: 30px;
  margin-bottom: 20px;
}

.star-rating {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 15px;
}

.star {
  width: 25px;
  height: 25px;
  fill: #ffc107;
  stroke: #ff9800;
  stroke-width: 1px;
}

.opinions-cta-text {
  color: white;
  font-size: 16px; /* Reduced font size */
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  padding: 0 10px;
}

.floating-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ff0000;
  color: white;
  text-align: center;
  padding: 8px 0; /* Increased padding */
  font-size: 14px; /* Reduced font size */
  font-weight: bold;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  line-height: 1.3; /* Adjusted line height */
}

.floating-bar.floating-bar-visible {
  transform: translateY(0);
}

.floating-text {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px; /* Reduced gap */
  line-height: 1.2;
  flex-wrap: wrap;
  padding: 0 10px;
}

.floating-countdown {
  font-size: 16px; /* Reduced font size */
  white-space: nowrap;
}

.floating-countdown span {
  padding: 2px 5px; /* Adjusted padding */
  border-radius: 4px; /* Adjusted border-radius */
  background-color: rgba(0, 0, 0, 0.5);
}

.footer {
  background-color: rgba(0, 0, 0, 0.7);
  color: #ccc;
  text-align: center;
  padding: 15px; /* Adjusted padding */
  margin-top: 40px;
  font-size: 12px; /* Reduced font size */
  font-weight: 400;
}

/* --- Media Queries for Responsiveness --- */

/* Tablet and smaller desktops */
@media (max-width: 1024px) {
  h1 {
    font-size: 24px; /* Slightly smaller */
  }

  .cta-title,
  .opinions-section h2,
  .for-you-section h2,
  .bonus-section h2 {
    font-size: 26px; /* Slightly smaller */
  }

  .cta-subtitle {
    font-size: 16px; /* Slightly smaller */
  }

  .cta-price {
    font-size: 30px; /* Slightly smaller */
  }

  .cta-original-price {
    font-size: 18px; /* Slightly smaller */
  }

  .cta-button {
    font-size: 20px; /* Slightly smaller */
    padding: 16px 35px;
  }

  .for-you-list li {
    font-size: 15px;
  }

  .bonus-image {
    width: 180px; /* Adjusted size */
    height: 180px; /* Adjusted size */
    min-width: 150px;
  }

  .bonus-text h3 {
    font-size: 19px;
  }

  .bonus-text p {
    font-size: 14px;
  }

  .valued-at,
  .free-badge {
    font-size: 13px;
  }

  .bonus-footer {
    font-size: 17px; /* Adjusted size */
  }

  .slider-track img {
    width: 40vw; /* Adjust slider image size */
    max-width: 220px;
  }

  .opinions-cta-text {
    font-size: 15px;
  }

  .sound-prompt {
    font-size: 15px;
    padding: 12px 20px;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .container {
    padding: 15px; /* Reduce padding */
  }

  h1 {
    font-size: 20px; /* Further reduce font size */
    padding: 0;
  }

  .notice {
    font-size: 13px;
    padding: 0;
  }

  .video-container {
    width: 98%; /* Almost full width */
    margin: 20px auto;
    padding-bottom: 56.25%; /* Keep 16:9 */
  }

  .sound-prompt {
    font-size: 14px;
    padding: 10px 18px;
  }

  .countdown {
    font-size: 16px;
    padding: 0;
  }

  .countdown-box {
    width: 50px; /* Further reduce size */
    padding: 8px;
  }

  .countdown-box span {
    font-size: 22px;
  }

  .countdown-label {
    font-size: 11px;
  }

  .cta-section,
  .opinions-section,
  .for-you-section,
  .bonus-section {
    padding: 25px 15px; /* Reduce padding */
    margin: 25px auto;
  }

  .cta-title,
  .opinions-section h2,
  .for-you-section h2,
  .bonus-section h2 {
    font-size: 24px; /* Further reduce font size */
  }

  .cta-subtitle {
    font-size: 15px;
    padding: 0;
  }

  .cta-price {
    font-size: 26px; /* Further reduce font size */
    padding: 0;
  }

  .cta-original-price {
    font-size: 16px;
  }

  .cta-button {
    font-size: 18px; /* Further reduce font size */
    padding: 14px 25px;
    margin-top: 15px;
  }

  .cta-secure {
    font-size: 12px;
  }

  .for-you-list {
    padding: 0;
  }

  .for-you-list li {
    font-size: 14px;
    padding-left: 25px; /* Adjust padding */
  }

  .for-you-list li::before {
    font-size: 16px; /* Adjust size */
  }

  .bonus-content {
    gap: 15px;
    flex-direction: column;
    align-items: center;
  }

  .bonus-image {
    width: 80%;
    height: auto;
    max-width: 300px;
    min-width: auto;
    aspect-ratio: 1 / 1;
  }

  .bonus-text {
    text-align: center;
  }

  .bonus-text h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .bonus-text p {
    font-size: 15px;
    padding: 0 5px;
    margin-bottom: 15px;
  }

  .valued-at,
  .free-badge {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .slider-track img {
    width: 60vw; /* Make images larger on smaller mobiles */
    max-width: 200px; /* Cap max size */
  }

  .opinions-cta-text {
    font-size: 14px; /* Further reduce font size */
    padding: 0;
  }

  .floating-bar {
    font-size: 12px; /* Further reduced font size */
    padding: 6px 0;
  }

  .floating-text {
    gap: 6px; /* Further reduce gap */
  }

  .floating-countdown {
    font-size: 14px; /* Further reduced font size */
  }

  .floating-countdown span {
    padding: 1px 4px; /* Further adjusted padding */
  }

  .footer {
    padding: 10px; /* Reduce padding */
    font-size: 11px;
  }
}

/* Even smaller mobile devices */
@media (max-width: 480px) {
  h1 {
    font-size: 18px; /* Smallest size for title */
    line-height: 1.4;
  }

  .notice {
    font-size: 12px;
    margin-top: 10px;
  }

  .video-container {
    margin: 15px auto;
  }

  .sound-prompt {
    font-size: 12px;
    padding: 8px 15px;
  }

  .sound-icon {
    width: 20px;
    height: 20px;
  }

  .countdown {
    font-size: 14px;
  }

  .countdown-box {
    width: 45px;
    padding: 6px;
  }

  .countdown-box span {
    font-size: 20px;
  }

  .countdown-label {
    font-size: 10px;
  }

  .cta-title,
  .opinions-section h2,
  .for-you-section h2,
  .bonus-section h2 {
    font-size: 20px; /* Smallest size for section titles */
  }

  .cta-subtitle {
    font-size: 14px;
  }

  .cta-price {
    font-size: 22px; /* Smallest size for price */
  }

  .cta-original-price {
    font-size: 14px;
  }

  .cta-button {
    font-size: 16px; /* Smallest size for buttons */
    padding: 12px 20px;
    margin-top: 12px;
  }

  .cta-secure {
    font-size: 11px;
  }

  .for-you-list li {
    font-size: 13px;
    padding-left: 20px;
    margin-bottom: 10px;
  }

  .for-you-list li::before {
    font-size: 14px;
  }

  .bonus-image {
    width: 90%;
    max-width: 250px;
    height: auto;
    min-width: auto;
  }

  .bonus-text h3 {
    font-size: 17px;
    margin-bottom: 8px;
  }

  .bonus-text p {
    font-size: 14px;
    line-height: 1.5;
    padding: 0 8px;
    margin-bottom: 12px;
  }

  .valued-at,
  .free-badge {
    font-size: 13px;
    display: inline-block;
    margin-bottom: 8px;
  }

  .slider-track img {
    width: 70vw; /* Even larger on very small screens */
    max-width: 180px; /* Cap size */
  }

  .star {
    width: 20px;
    height: 20px;
  }

  .opinions-cta-text {
    font-size: 13px; /* Smallest size */
  }

  .floating-bar {
    font-size: 11px;
    padding: 5px 0;
  }

  .floating-text {
    gap: 4px;
  }

  .floating-countdown {
    font-size: 13px;
  }

  .floating-countdown span {
    padding: 0 3px;
  }

  .footer {
    padding: 8px;
    font-size: 10px;
  }
}
