/* ==========================================================================
   Thimi Product Website - Dynamic Backdrop Syncing & Light Overlay
   Subdomain: thimi.aabidhasan.com.np
   ========================================================================== */

:root {
  color-scheme: dark;
  --accent-primary: #e11d48;
  --accent-hover: #be123c;
  --ink: #06070a;
  --text: rgba(255, 255, 255, 0.96);
  --muted: rgba(255, 255, 255, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.18);
}

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

body {
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background-color: var(--ink);
  overflow-x: hidden;
  position: relative;
}

/* Dynamic Syncing Backdrop - Atmospheric Blur (14px), Light Black Overlay */
.bg-backdrop {
  position: fixed;
  inset: -4%;
  width: 108%;
  height: 108%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(14px) brightness(0.7) contrast(1.05);
  transform: scale(1.05);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
}

.bg-backdrop-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
}

main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 48px;
}

.hero {
  width: min(1000px, 100%);
  display: grid;
  justify-items: center;
  gap: 20px;
  text-align: center;
}

/* Brand Tag Badge */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.95);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand-mark {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  object-fit: cover;
}

/* Poster Carousel Wrapper */
.poster-carousel-wrapper {
  position: relative;
  width: min(860px, 90vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.poster-carousel-track {
  display: flex;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.poster-carousel-track::-webkit-scrollbar {
  display: none;
}

.poster-slide {
  flex-shrink: 0;
  width: 100%;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poster-slide .poster {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 55vh;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none !important;
  transition: transform 0.3s ease;
  display: block;
}

.poster-slide .poster:hover {
  transform: scale(1.01);
}

/* Arrow Navigation Buttons - Transparent */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-arrow:hover {
  color: #ffffff;
  transform: translateY(-50%) scale(1.25);
  background: transparent !important;
}

.prev-arrow {
  left: -32px;
}

.next-arrow {
  right: -32px;
}

@media (max-width: 768px) {
  .prev-arrow { left: 4px; }
  .next-arrow { right: 4px; }
}

/* Carousel Dots Indicator */
.carousel-dots {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}

.dot.active, .dot:hover {
  background: var(--accent-primary);
  transform: scale(1.3);
}

/* Primary Headline */
h1 {
  max-width: min(840px, calc(100vw - 40px));
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* CTA Button */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--accent-primary);
  color: #ffffff;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  border: none;
  box-shadow: none !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: none !important;
  filter: none;
}

.chrome-mark {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.cta-label {
  white-space: nowrap;
}

/* Footer Links */
.links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  margin-top: 4px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s ease;
}

.links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 640px) {
  main {
    padding: 24px 16px 36px;
  }
  .poster-slide .poster {
    max-height: 40vh;
  }
  .cta {
    width: 100%;
    max-width: 320px;
  }
}
