:root {
  --cream: #f5f0e8;
  --cream-light: #faf7f2;
  --red: #c43a3a;
  --dark: #2c2c2c;
  --dark-text: #3a3530;
  --gray: #8a8078;
}

/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; }
body {
  font-family: 'Cormorant Garamond', serif;
  background: #000;
  overflow-x: hidden;
}

/* ===== STEP 1: LOCK SCREEN ===== */
.lock-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lock-bg {
  position: absolute;
  inset: 0;
  background: url('./assets/muslim-couple.jpg') center/cover no-repeat;
  filter: blur(12px) brightness(0.35);
  transform: scale(1.1);
}

.lock-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lock-line {
  width: 1px;
  height: 80px;
  background: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.lock-heart {
  font-size: 24px;
  color: #fff;
  margin-bottom: 24px;
}

.lock-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  letter-spacing: 3px;
  line-height: 1.4;
  margin-bottom: 32px;
}

.lock-btn {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.lock-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.lock-btn svg {
  width: 36px;
  height: 36px;
  stroke: rgba(255, 255, 255, 0.6);
  fill: none;
  stroke-width: 1.5;
}

.lock-hint {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  line-height: 1.5;
}

.lock-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

/* ===== STEP 2: TOP BAR ===== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.top-bar.visible {
  opacity: 1;
  pointer-events: all;
}

.music-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  transition: all 0.3s ease;
}

.music-btn svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.music-btn.muted {
  background: #555;
}

.lang-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.lang-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  color: var(--gray);
}

.lang-btn.active {
  background: var(--red);
  color: #fff;
}

/* ===== STEP 3: MAIN CONTENT + HERO ===== */
.main-content {
  opacity: 0;
  transition: opacity 0.8s ease 0.3s;
  max-width: 100%;
  overflow-x: hidden;
}

.main-content.visible { opacity: 1; }

.hero {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 24px 40px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('./assets/muslim-couple.jpg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    transparent 0%,
    transparent 40%,
    rgba(0,0,0,0.25) 60%,
    rgba(0,0,0,0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-bottom: 20px;
}

.hero-names {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 6px;
  text-transform: uppercase;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-names .va {
  display: block;
  font-size: 18px;
  letter-spacing: 8px;
  font-weight: 300;
  margin: 6px 0;
  opacity: 0.8;
}

.hero-scroll {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.4);
}

.hero-scroll-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

.hero-scroll-arrow {
  color: rgba(255,255,255,0.5);
  font-size: 16px;
  animation: bobDown 2s ease-in-out infinite;
}

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

/* ===== STEP 4: INVITATION TEXT ===== */
.invitation-section {
  padding: 64px 28px;
  text-align: center;
  background: var(--cream);
}

.invitation-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 400;
  color: var(--dark-text);
  margin-bottom: 32px;
  line-height: 1.3;
}

.invitation-section p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 24px;
}

.invitation-section p.bold-text {
  font-weight: 600;
  color: var(--dark-text);
  font-size: 21px;
}

/* ===== STEP 4: CALENDAR ===== */
.calendar-section {
  padding: 20px 28px 64px;
  background: var(--cream);
}

.section-divider {
  width: 100%;
  height: 1px;
  background: #d8d0c8;
  margin-bottom: 48px;
}

.calendar-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 400;
  text-align: center;
  color: var(--dark-text);
  margin-bottom: 28px;
  letter-spacing: 2px;
}

.cal-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 12px;
}

.cal-days-header span {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 1px;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px 0;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--dark-text);
}

.cal-day.empty { visibility: hidden; }

.cal-day.highlight { position: relative; }

.cal-day.highlight .heart-bg {
  position: absolute;
  width: 44px;
  height: 44px;
}

.cal-day.highlight .heart-bg svg {
  width: 44px;
  height: 44px;
  fill: var(--red);
}

.cal-day.highlight span {
  position: relative;
  z-index: 2;
  color: #fff;
  font-weight: 600;
  font-size: 20px;
}

/* ===== STEP 5: VENUE ===== */
.venue-img-frame {
  position: relative;
  display: inline-block;
  margin: 0 auto 36px;
  padding: 20px;
  background: linear-gradient(145deg, #fdf8f5 0%, #efe2d8 100%);
  box-shadow:
    inset 0 0 0 1px rgba(196, 58, 58, 0.1),
    0 0 0 1px #d9c4ba,
    0 24px 64px rgba(196, 58, 58, 0.12),
    0 6px 24px rgba(0, 0, 0, 0.07);
}

.venue-img-frame::before,
.venue-img-frame::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--red);
  border-style: solid;
  opacity: 0.55;
}

.venue-img-frame::before {
  top: 6px;
  left: 6px;
  border-width: 2px 0 0 2px;
}

.venue-img-frame::after {
  bottom: 6px;
  right: 6px;
  border-width: 0 2px 2px 0;
}

.venue-img-frame img {
  display: block;
  width: 280px;
  height: 280px;
  object-fit: contain;
}

.venue-section {
  padding: 64px 28px;
  text-align: center;
  background: var(--cream-light);
}

.venue-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--dark-text);
  margin-bottom: 16px;
}

.venue-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-text);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.6;
  margin-bottom: 12px;
}

.venue-detail {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--gray);
  margin-bottom: 8px;
  line-height: 1.5;
}

.venue-buttons {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.venue-btn {
  display: block;
  padding: 18px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.3s ease;
}

.venue-btn.outlined {
  border: 1.5px solid #d8d0c8;
  color: var(--dark-text);
  background: transparent;
}

.venue-btn.filled {
  border: none;
  background: var(--dark);
  color: #fff;
}

.venue-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* ===== STEP 6: GIFT / TO'YONA ===== */
.gift-section {
  padding: 64px 28px;
  text-align: center;
  background: linear-gradient(to bottom, #fdf5f3, #faf0ec);
}

.gift-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--dark-text);
  margin-bottom: 16px;
}

.gift-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  color: var(--gray);
  line-height: 1.7;
  max-width: 340px;
  margin: 0 auto 32px;
}

.gift-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid #f0d4cc;
  border-radius: 20px;
  padding: 32px 28px;
  max-width: 400px;
  margin: 0 auto;
  text-align: left;
}

.gift-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.gift-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 400;
  color: var(--dark-text);
  letter-spacing: 1px;
}

.gift-divider {
  height: 1px;
  background: #f0d4cc;
  margin: 20px 0;
}

.gift-card-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--dark-text);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.gift-copy-hint {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.copy-btn {
  display: block;
  width: 100%;
  padding: 16px;
  border: 1.5px solid #d8d0c8;
  border-radius: 12px;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dark-text);
  cursor: pointer;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background: var(--dark-text);
  color: #fff;
  border-color: var(--dark-text);
}

.copy-btn.copied {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* ===== STEP 7: COUNTDOWN ===== */
.countdown-section {
  padding: 64px 28px;
  text-align: center;
  background: var(--cream-light);
}

.countdown-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--dark-text);
  margin-bottom: 24px;
  line-height: 1.3;
}

/* Timer display: numbers with colons between */
.countdown {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 32px;
}

.countdown-item { text-align: center; }

/* Big red numbers */
.countdown-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 600;
  color: var(--red);
  line-height: 1;
  min-width: 50px;
  display: block;
}

/* Red colons between numbers */
.countdown-colon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 600;
  color: var(--red);
  line-height: 1;
  padding: 0 2px;
}

/* Labels below numbers (KUN, SOAT, etc.) */
.countdown-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 8px;
  display: block;
}

/* "Sizni intiqlik bilan kutamiz" message */
.countdown-message {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--dark-text);
  margin-bottom: 48px;
}

/* Wedding rings illustration container */
.rings-illustration {
  width: 220px;
  height: 220px;
  margin: 0 auto 48px;
}

.rings-illustration svg {
  width: 100%;
  height: 100%;
}

/* ===== STEP 7: FOOTER ===== */
.footer {
  text-align: center;
  padding: 32px 24px 48px;
  background: var(--cream-light);
}

.footer-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gray);
}

.footer-text a {
  color: var(--gray);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 380px) {
  .hero-names { font-size: 30px; letter-spacing: 4px; }
  .gift-card-number { font-size: 22px; }
  .countdown-num { font-size: 38px; }
}

@media (min-width: 481px) {
  .main-content { max-width: 480px; margin: 0 auto; }
  body { background: #e8e2d8; }
}