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

/* Body background */
body {
  min-height: 100vh;
  font-family: system-ui, sans-serif;
  background-color: #fff1f3; /* pastel pink base */
  overflow-x: hidden;
}

/* Pattern overlay (recommended way) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("bg.png"); /* export from Figma */
  background-repeat: repeat;
  background-size: 1000px 1000px; /* controls spacing */
  opacity: 100; /* softness like your design */
  pointer-events: none;
  z-index: -1;
  image-rendering: pixelated; /* pixel art sharpness */
}

/* Navbar */
.navbar {
  position: fixed;
  top: 80px;
  left: 80%;
  transform: translateX(-50%);
  background: #ffb6c1;
  padding: 10px 28px;
  border-radius: 999px;
  display: flex;
  gap: 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Navbar links */
.navbar a {
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  color: #4b1f2a;
}

/* Main content placeholder */
.content {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Privacy Policy Page */
.privacy-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 20px 40px;
}

.privacy-header {
  background: #ffb6c1;
  padding: 20px 60px;
  border-radius: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.privacy-header h1 {
  font-size: 48px;
  font-weight: 700;
  color: #2d2d2d;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-style: italic;
}

.privacy-content {
  background: #ffe8ef;
  border-radius: 20px;
  padding: 50px 60px;
  max-width: 900px;
  width: 100%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.privacy-content h2 {
  font-size: 32px;
  font-weight: 600;
  color: #2d2d2d;
  margin-bottom: 30px;
  text-align: center;
  font-family: Georgia, serif;
}

.privacy-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #2d2d2d;
  margin-bottom: 25px;
  text-align: justify;
}

.privacy-content .contact {
  text-align: center;
  margin-top: 30px;
  font-size: 16px;
  color: #2d2d2d;
}

.privacy-content .contact a {
  color: #2d2d2d;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #ffb6c1;
  transition: all 0.3s ease;
}

.privacy-content .contact a:hover {
  color: #ffb6c1;
}


@media (max-width: 768px) {
  .privacy-header h1 {
    font-size: 32px;
  }

  .privacy-content {
    padding: 30px 20px;
  }

  .privacy-content h2 {
    font-size: 24px;
  }

  .privacy-content p {
    font-size: 14px;
    text-align: left;
  }

}

/* FAQ Page */
.faq-section {
  max-width: 900px;
  margin: 120px auto;
  padding: 0 20px;
}

.faq-title {
  background: #ffb6c1;
  padding: 20px 60px;
  border-radius: 30px;
  text-align: center;
  margin-bottom: 40px;
  font-size: 48px;
  font-weight: 700;
  color: #2d2d2d;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-style: italic;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.accordion {
  background: #ffe8ef;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.accordion-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.accordion-header {
  width: 100%;
  background: #fff5f8;
  border: none;
  padding: 16px 20px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  color: #4b1f2a;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: #ffecf0;
}

.accordion-header::after {
  content: "+";
  float: right;
  font-size: 18px;
}

.accordion-header.active::after {
  content: "−";
}

.accordion-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  padding: 0 20px;
}

.accordion-content p {
  padding: 12px 0 16px;
  font-size: 14px;
  color: #6b3a44;
}

/* HOME LAYOUT */
.home {
  min-height: 100vh;
  padding-top: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-title {
  font-size: 36px;
  font-weight: 700;
  color: #4b1f2a;
  margin-bottom: 12px;
}

.home-subtitle {
  max-width: 420px;
  font-size: 15px;
  color: #6b3a44;
  margin-bottom: 32px;
  line-height: 1.5;
}

/* STRIP WRAPPER */
.strip-wrapper {
  margin-bottom: 28px;
}

/* PHOTO STRIP */
.photo-strip {
  background: #ffffff;
  padding: 10px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* INDIVIDUAL PHOTO */
.photo {
  width: 140px;
  height: 100px;
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    #ffd6e0,
    #ffb3c6
  );
  opacity: 0.9;
}

/* START BUTTON */
.start-btn {
  background: #ff6f91;
  color: white;
  padding: 12px 36px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(255, 111, 145, 0.4);
  transition: transform 0.2s ease;
}

.start-btn:hover {
  transform: translateY(-2px);
}

.home-note {
  margin-top: 16px;
  font-size: 12px;
  color: #8b5a65;
}

.photo-strip {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.photo-strip {
  border: 3px solid #ffb6c1;
}

/* BRAND NAME */
.brand-name {
  position: fixed;
  top: 22px;
  left: 28px;
  font-family: 'Baloo 2', cursive;
  font-size: 36px;
  font-weight: 700;
  color: #ff4f81;
  letter-spacing: 1px;
  z-index: 10;
  user-select: none;
}

.brand-name {
  text-shadow: 0 4px 12px rgba(255, 79, 129, 0.35);
}

@media (max-width: 600px) {
  .brand-name {
    font-size: 28px;
    left: 18px;
    top: 18px;
  }
}

/* BOOTH PAGE */
.booth-page {
  background-color: #fff1f3;
}

/* CENTER */
.booth {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* CAMERA FRAME */
.camera-frame {
  width: 300px;
  height: 400px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 4px solid #ffb6c1;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.camera-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

/* COUNTDOWN */
.countdown {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  font-weight: 700;
  color: #ff4f81;
}

.hidden {
  display: none;
}

/* BUTTONS */
.booth-actions {
  display: flex;
  gap: 14px;
}

.start-capture,
.retake-btn,
.download-btn {
  padding: 10px 28px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.start-capture {
  background: #ff6f91;
  color: white;
}

.retake-btn {
  background: #ffd6e0;
  color: #4b1f2a;
}

.download-btn {
  background: #4caf50;
  color: white;
}

/* MOBILE FULLSCREEN */
@media (max-width: 600px) {
  .camera-frame {
    width: 90vw;
    height: 70vh;
  }
}

