/* ====== TAROT DECK INDONESIA PAGE ====== */

/* --- Hero --- */
.td-hero {
  background: linear-gradient(to left, #FEF4EF 0%, #FFFAF8 100%);
  padding: 130px 24px 60px;
  position: relative;
  overflow: hidden;
}

.td-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/backgroundlight.webp') center center / cover no-repeat;
  opacity: 0.38;
  pointer-events: none;
}

.td-hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(139, 79, 79, 0.06), transparent 70%);
  pointer-events: none;
}

.td-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.td-hero-text {
  padding: 20px 0;
}

.td-hero-label {
  display: inline-block;
  font-family: 'Mulish', 'Mulish Fallback', 'Helvetica Neue', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff;
  background: #b46746;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.td-hero-title {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 400;
  color: #8b4f4f;
  margin: 0 0 14px;
  line-height: 1.15;
}

.td-hero-subtitle {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: 21px;
  font-style: italic;
  color: #b46746;
  margin: 0 0 20px;
  opacity: 0.8;
}

.td-hero-desc {
  font-family: 'Mulish', 'Mulish Fallback', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #5a4a40;
  line-height: 1.75;
  margin: 0;
  max-width: 480px;
}

/* Fan of cards */
.td-hero-fan {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.td-fan-card {
  position: absolute;
  width: 160px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(90, 74, 64, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-origin: bottom center;
}

.td-fan-card img {
  width: 100%;
  display: block;
}

.td-fan-card--1 { transform: rotate(-16deg) translateX(-130px); z-index: 1; }
.td-fan-card--2 { transform: rotate(-8deg) translateX(-60px); z-index: 2; }
.td-fan-card--3 { transform: rotate(0deg); z-index: 3; }
.td-fan-card--4 { transform: rotate(8deg) translateX(60px); z-index: 2; }
.td-fan-card--5 { transform: rotate(16deg) translateX(130px); z-index: 1; }


/* --- Vision Section --- */
.td-vision {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.td-vision h2 {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  color: #8b4f4f;
  margin: 0 0 24px;
}

.td-vision p {
  font-family: 'Mulish', 'Mulish Fallback', 'Helvetica Neue', sans-serif;
  font-size: 17px;
  font-weight: 300;
  color: #5a4a40;
  line-height: 1.8;
  margin: 0 0 18px;
}

/* --- Features --- */
.td-features {
  background: #fff;
  padding: 80px 24px;
  position: relative;
  z-index: 2;
}

.td-features-inner {
  max-width: 760px;
  margin: 0 auto;
}

.td-features h2 {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  color: #8b4f4f;
  text-align: center;
  margin: 0 0 14px;
}

.td-features-text {
  font-family: 'Mulish', 'Mulish Fallback', 'Helvetica Neue', sans-serif;
  font-size: 17px;
  font-weight: 300;
  color: #5a4a40;
  text-align: center;
  line-height: 1.85;
  max-width: 640px;
  margin: 0 auto 16px;
}

.td-features-text:last-child {
  margin-bottom: 0;
}

/* --- Card Gallery --- */
.td-gallery {
  background: linear-gradient(135deg, #1a1210, #2a1a14);
  padding: 100px 24px 80px;
  position: relative;
  z-index: 1;
}

.td-gallery::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/background3.webp') center center / cover no-repeat;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

.td-gallery-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.td-gallery h2 {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  color: #e6d5cb;
  text-align: center;
  margin: 0 0 14px;
}

.td-gallery-subtitle {
  font-family: 'Mulish', 'Mulish Fallback', 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: rgba(230, 213, 203, 0.4);
  text-align: center;
  margin: 0 auto 40px;
  max-width: 500px;
  line-height: 1.7;
}

/* Slider */
.td-slider-wrap {
  position: relative;
}

.td-slider {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 30px calc(50% - 95px);
}

.td-slider::-webkit-scrollbar {
  display: none;
}

.td-gallery-card {
  flex: 0 0 190px;
  scroll-snap-align: center;
  text-decoration: none;
  text-align: center;
  display: block;
  transition: transform 0.15s ease, opacity 0.15s ease, filter 0.15s ease;
  transform: scale(0.9);
  opacity: 0.6;
  filter: brightness(0.7);
}

.td-gallery-card.is-center {
  transform: scale(1.08);
  opacity: 1;
  filter: brightness(1);
}

.td-gallery-card img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(230, 213, 203, 0.06);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.td-gallery-card.is-center img {
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.6),
              0 0 30px rgba(180, 103, 70, 0.08);
  border-color: rgba(202, 157, 117, 0.15);
}

.td-gallery-card span {
  font-family: 'Mulish', 'Mulish Fallback', 'Helvetica Neue', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(230, 213, 203, 0.2);
  display: block;
  margin-top: 14px;
  transition: color 0.4s ease;
}

.td-gallery-card.is-center span {
  color: rgba(230, 213, 203, 0.8);
}

/* Arrow buttons — below slider */
.td-slider-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.td-slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(230, 213, 203, 0.15);
  background: transparent;
  color: rgba(230, 213, 203, 0.6);
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.td-slider-btn:hover:not(:disabled) {
  border-color: rgba(180, 103, 70, 0.4);
  color: #e6d5cb;
}

.td-slider-btn:disabled {
  opacity: 0.2;
  cursor: default;
}

/* --- Coming Soon --- */
.td-coming-soon {
  max-width: 700px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.td-coming-soon h2 {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  color: #8b4f4f;
  margin: 0 0 18px;
}

.td-coming-soon p {
  font-family: 'Mulish', 'Mulish Fallback', 'Helvetica Neue', sans-serif;
  font-size: 17px;
  font-weight: 300;
  color: #5a4a40;
  line-height: 1.8;
  margin: 0 0 16px;
}

.td-notify-btn {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, #b46746, #8b4f4f);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Mulish', 'Mulish Fallback', 'Helvetica Neue', sans-serif;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  margin-top: 10px;
}

.td-notify-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(180, 103, 70, 0.3);
  color: white;
}

/* --- CTA --- */
.td-cta {
  background: #fdf6f0;
  padding: 70px 24px;
}

.td-cta-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.td-cta-card {
  background: #fff;
  border: 1px solid #f0ddd0;
  border-radius: 20px;
  padding: 36px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.td-cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(180, 103, 70, 0.1);
}

.td-cta-card h3 {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  color: #8b4f4f;
  margin: 0 0 12px;
}

.td-cta-card p {
  font-family: 'Mulish', 'Mulish Fallback', 'Helvetica Neue', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #5a4a40;
  line-height: 1.65;
  margin: 0 0 20px;
}

.td-cta-btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #b46746, #8b4f4f);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Mulish', 'Mulish Fallback', 'Helvetica Neue', sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.td-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(180, 103, 70, 0.3);
  color: white;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .td-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .td-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .td-hero-fan {
    height: 320px;
  }

  .td-fan-card {
    width: 120px;
  }

  .td-fan-card--1 { transform: rotate(-16deg) translateX(-100px); }
  .td-fan-card--2 { transform: rotate(-8deg) translateX(-46px); }
  .td-fan-card--4 { transform: rotate(8deg) translateX(46px); }
  .td-fan-card--5 { transform: rotate(16deg) translateX(100px); }

  .td-feature {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 0;
  }

  .td-cta-inner {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .td-gallery-card {
    flex: 0 0 155px;
  }

  .td-slider { padding: 20px 50px; }
  .td-slider-btn { width: 38px; height: 38px; font-size: 16px; }
}

@media (max-width: 600px) {
  .td-hero {
    padding: 110px 20px 40px;
  }

  .td-hero-fan {
    height: 340px;
  }

  .td-fan-card {
    width: 130px;
  }

  .td-fan-card--1 { transform: rotate(-16deg) translateX(-100px); }
  .td-fan-card--2 { transform: rotate(-8deg) translateX(-48px); }
  .td-fan-card--4 { transform: rotate(8deg) translateX(48px); }
  .td-fan-card--5 { transform: rotate(16deg) translateX(100px); }

  .td-features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .td-gallery-card {
    flex: 0 0 130px;
  }

  .td-slider { padding: 16px 44px; gap: 18px; }
  .td-slider-btn { width: 34px; height: 34px; font-size: 14px; }
  .td-slider-btn--prev { left: 4px; }
  .td-slider-btn--next { right: 4px; }

  .td-vision, .td-coming-soon {
    padding: 50px 20px;
  }
}
