/* ===================================================
   Aishwarya & Basu's Wedding - Frontend Styles
   =================================================== */

@import "./design-system.css";

/* Rich & Dense Traditional Background Texture with Alternating #basuriya & #bash Watermarks */
body {
  background-color: var(--bg-warm-ivory);
  background-image: 
    radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.15) 0%, rgba(249, 246, 240, 0) 75%),
    url("data:image/svg+xml,%3Csvg width='140' height='140' viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23D4AF37' fill-opacity='0.16'%3E%3Cpath d='M70 5 C72 18 82 28 95 30 C82 32 72 42 70 55 C68 42 58 32 45 30 C58 28 68 18 70 5Z'/%3E%3Ccircle cx='70' cy='30' r='3.5'/%3E%3Ccircle cx='0' cy='0' r='3.5'/%3E%3Ccircle cx='140' cy='0' r='3.5'/%3E%3Ccircle cx='0' cy='140' r='3.5'/%3E%3Ccircle cx='140' cy='140' r='3.5'/%3E%3C/g%3E%3Cg fill='%23CB2C31' fill-opacity='0.14'%3E%3Ccircle cx='70' cy='100' r='3'/%3E%3Ccircle cx='15' cy='30' r='2.5'/%3E%3Ccircle cx='125' cy='30' r='2.5'/%3E%3C/g%3E%3Cg transform='rotate(-18 70 70)' font-family='serif' font-size='13' font-weight='700' letter-spacing='1.5'%3E%3Ctext x='20' y='42' fill='%232C1E16' fill-opacity='0.20'%3E%23basuriya%3C/text%3E%3Ctext x='45' y='88' fill='%23B76E79' fill-opacity='0.22'%3E%23bash%3C/text%3E%3Ctext x='18' y='132' fill='%23D4AF37' fill-opacity='0.22'%3E%23basuriya%3C/text%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
}

/* Page Frame Border Accent */
.page-frame-border {
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  pointer-events: none;
  z-index: 100;
  border-radius: 12px;
}

.page-frame-border::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 1px dashed rgba(183, 110, 121, 0.3);
  border-radius: 8px;
}

/* Side Garland Accents */
.garland-side {
  position: fixed;
  top: 0;
  width: 60px;
  height: 280px;
  pointer-events: none;
  z-index: 5;
  opacity: 0.85;
}

.garland-left { left: 20px; }
.garland-right { right: 20px; transform: scaleX(-1); }

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  z-index: 2;
}

/* Ornate Temple Arch Frame */
.arch-frame {
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  border: 2px solid var(--metallic-classic-gold);
  border-radius: 200px 200px 24px 24px;
  padding: 4.5rem 2.5rem 3.5rem 2.5rem;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 
    0 20px 50px rgba(44, 30, 22, 0.08),
    0 0 0 6px rgba(212, 175, 55, 0.15),
    inset 0 0 30px rgba(212, 175, 55, 0.08);
  position: relative;
}

/* Inner Decorative Arch Border */
.arch-frame::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px dashed var(--metallic-classic-gold);
  border-radius: 190px 190px 18px 18px;
  pointer-events: none;
}

.arch-frame::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid rgba(183, 110, 121, 0.25);
  border-radius: 184px 184px 14px 14px;
  pointer-events: none;
}

/* Corner Mandala Accents */
.corner-mandala {
  position: absolute;
  width: 42px;
  height: 42px;
  pointer-events: none;
  opacity: 0.8;
}

.mandala-tl { top: -2px; left: -2px; }
.mandala-tr { top: -2px; right: -2px; transform: scaleX(-1); }
.mandala-bl { bottom: -2px; left: -2px; transform: scaleY(-1); }
.mandala-br { bottom: -2px; right: -2px; transform: scale(-1); }

/* Main Heading Style */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  color: var(--accent-kumkum-red);
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
}

.hero-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--metallic-classic-gold), transparent);
  margin: 1rem auto 0 auto;
}

/* Countdown Section */
.countdown-container {
  margin: 2.5rem 0 1rem 0;
}

.timer-grid {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.timer-card {
  min-width: 95px;
  padding: 1.2rem 1rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #FDFBF7 100%);
  border: 1px solid var(--metallic-classic-gold);
  border-radius: 14px;
  box-shadow: 
    0 6px 18px rgba(44, 30, 22, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  transition: var(--transition-smooth);
}

.timer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px var(--gold-glow);
  border-color: var(--accent-kumkum-red);
}

.timer-card::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border: 1px dashed rgba(212, 175, 55, 0.35);
  border-radius: 11px;
  pointer-events: none;
}

.timer-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-kumkum-red);
  line-height: 1;
}

.timer-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-deep-espresso);
  margin-top: 0.5rem;
  font-weight: 600;
}

/* Tasteful Minimal Hashtag Badge */
.subtle-hashtags {
  margin-top: 2rem;
  display: inline-flex;
  gap: 1.2rem;
  align-items: center;
  padding: 0.45rem 1.5rem;
  border: 1px stroke rgba(183, 110, 121, 0.35);
  border-radius: 50px;
  background: rgba(255, 253, 249, 0.8);
}

.hashtag-tag {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--metallic-rose-gold);
  letter-spacing: 1.5px;
  opacity: 0.95;
}

.hashtag-dot {
  color: var(--metallic-classic-gold);
  font-size: 0.6rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-deep-espresso);
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .page-frame-border {
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
  }

  .garland-side {
    display: none;
  }

  .hero-section {
    padding: 1.8rem 0.8rem;
  }

  .arch-frame {
    border-radius: 120px 120px 20px 20px;
    padding: 3.2rem 1.2rem 2.2rem 1.2rem;
    box-shadow: 0 10px 30px rgba(44, 30, 22, 0.08);
  }

  .arch-frame::before {
    border-radius: 112px 112px 14px 14px;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
  }

  .arch-frame::after {
    border-radius: 106px 106px 10px 10px;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .timer-grid {
    gap: 0.6rem;
  }

  .timer-card {
    min-width: 68px;
    padding: 0.85rem 0.4rem;
    flex: 1 1 68px;
    max-width: 85px;
  }

  .timer-num {
    font-size: 1.65rem;
  }

  .timer-label {
    font-size: 0.68rem;
    letter-spacing: 0.5px;
  }

  .subtle-hashtags {
    gap: 0.8rem;
    padding: 0.3rem 1rem;
  }

  .hashtag-tag {
    font-size: 0.78rem;
  }
}

@media (max-width: 360px) {
  .arch-frame {
    border-radius: 95px 95px 14px 14px;
    padding: 2.5rem 0.8rem 1.8rem 0.8rem;
  }

  .timer-card {
    min-width: 60px;
    padding: 0.7rem 0.3rem;
  }
}
