/* === Reset & Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* === Top Header === */
.top-bar {
  background-color: #000;
  color: #fff;
  width: 100%;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 200;
  font-weight: bold;
  font-size: 0.9rem;
  padding: 0 10px;
}

.scrolling-message {
  white-space: nowrap;
  display: inline-block;
  animation: scroll-left-right 6s ease-in-out infinite, slow-shake 4s ease-in-out infinite;
}

@keyframes scroll-left-right {
  0% { transform: translateX(-30%); }
  50% { transform: translateX(30%); }
  100% { transform: translateX(-30%); }
}

@keyframes slow-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-2px) rotate(-0.5deg); }
  50% { transform: translateX(2px) rotate(0.5deg); }
  75% { transform: translateX(-2px) rotate(-0.5deg); }
}

/* === Body Base === */
body {
  padding-top: 50px;
  padding-left: 0px;
  padding-right: 0px;
  padding-bottom: 0; /* No fixed button, so no bottom padding needed */
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #fafafa, #eaeaea);
  color: #333;
  min-height: 100vh;
  position: relative;
  text-align: center;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at center, #ff5722 0%, transparent 70%);
  opacity: 0.1;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  filter: blur(100px);
}

body::after {
  content: "";
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  height: 80px;
  background-image: url('saleslogo.webp');
  background-repeat: repeat-x;
  background-position: center;
  background-size: 60px auto;
  opacity: 0.08;
  pointer-events: none;
  z-index: -1;
}

/* === Header === */
header {
  padding: 30px 0 10px;
}

header h1 {
  font-size: 2rem;
  color: #222;
}

header p {
  font-size: 1rem;
  color: #555;
  margin-top: 5px;
}

/* === Hero Section === */
.hero {
  margin-top: 30px;
}

.hero img {
  max-width: 500px;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 10px;
}

.hero p:not(.price) {
  margin: 10px 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #000;
}

.price {
  font-size: 2.8rem;
  font-weight: 900;
  color: #cf3008;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  margin: 20px 0 15px;
  animation: pulse-price 2s ease-in-out infinite;
}

@keyframes pulse-price {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* === TikTok Button Smart Sticky === */
.tiktok-sticky-container {
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #000;
  text-align: center;
  padding: 18px 20px;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;

  /* hardware acceleration */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);

  /* smooth scrolling on iOS */
  -webkit-overflow-scrolling: touch;

  /* hint GPU for smoother animations */
  will-change: transform;
}


.tiktok-sticky-container .tiktok-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background-color: #3f794b;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 18px 32px;
  border-radius: 8px;
  width: 100%;
  max-width: 700px;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(255, 0, 102, 0.3);
  transition: all 0.3s ease;
  animation: button-bounce 2s ease-in-out infinite;
}

.tiktok-sticky-container .tiktok-btn:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 12px rgba(255, 0, 102, 0.6),
    0 0 12px rgba(0, 255, 255, 0.4);
}

.tiktok-icon {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* Spacer to prevent overlap */
.tiktok-btn-spacer {
  height: 78px; /* same height as sticky container */
}

/* Animation for gentle up/down bounce */
@keyframes button-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* === SEO Content === */
.seo-content {
  margin: 50px auto 0;
  padding: 20px 30px;
  background-color: #f3f3f3;
  border-radius: 8px;
  max-width: 700px;
  text-align: left;
  color: #333;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.seo-content h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #000000;
  font-weight: 700;
}

.seo-content h3 {
  font-size: 1.2rem;
  margin-top: 25px;
  margin-bottom: 10px;
  color: #d91616;
  font-weight: 600;
}

.seo-content p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #444;
}

.seo-content ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 15px;
}

.seo-content ul li {
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
}

.seo-content ul li:hover {
  color: #d91616;
  transition: color 0.3s ease;
}

/* === Review Section === */
.review-section {
  margin: 60px auto 40px;
  padding: 20px 30px;
  background-color: #fff8f8;
  border-radius: 8px;
  max-width: 700px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: left;
  font-family: Arial, sans-serif;
  color: #333;
}

.review-section h2 {
  font-size: 1.8rem;
  color: #d91616;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
}

.reviews-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.review-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 6px;
  padding: 15px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.review-item img {
  max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.review-item video {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.review-item p {
  font-size: 1rem;
  color: #444;
  max-width: 600px;
  font-weight: 600;
  text-align: center;
  margin-top: 8px;
}

@media (min-width: 768px) {
  .reviews-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .review-item {
    flex: 1 1 300px;
    max-width: 320px;
  }
}

/* === Footer === */
.cofooter-container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 999;
}

footer {
  background-color: #000000;
  color: #ddd;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.9rem;
  width: 100%;
  box-sizing: border-box;
  margin-top: 40px;
  position: relative;
  z-index: 999;
  padding-bottom: 40px; /* normal footer padding */
}

footer p {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  text-shadow: 0 0 4px rgba(0,0,0,0.7);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

/* === Social Links === */
.social-links {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.social-links a {
  font-size: 28px;
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
  color: inherit;
}

.social-links a[href*="facebook"] { color: #1877F2; }
.social-links a[href*="instagram"] { color: #E1306C; }
.social-links a[href*="tiktok"] { color: #69C9D0; }

.social-links a:hover {
  opacity: 1;
  transform: scale(1.3);
}
