:root {
  --burgundy: #8B1538;
  --burgundy-dark: #6B0F2A;
  --burgundy-light: #A52A4A;
  --magenta: #9B1B3E;
  --gold: #D4AF37;
  --gold-dark: #B8941F;
  --gold-light: #F4E4B8;
  --ivory: #FFFFF0;
  --cream: #FFF8F0;
  --champagne: #F7E7CE;
  --rose-gold: #B76E79;
  --text: #2C2416;
  --white: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Tajawal', sans-serif;
  background: var(--ivory);
  color: var(--text);
  direction: rtl;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================
   ROYAL SPLASH SCREEN
========================================== */
.royal-splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 50%, var(--magenta) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 1;
  transition: opacity 1.5s ease;
}

.royal-splash.fade-out {
  opacity: 0;
  pointer-events: none;
}

.splash-background {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  animation: backgroundPulse 4s ease-in-out infinite;
}

@keyframes backgroundPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.crown-container {
  position: relative;
  text-align: center;
  z-index: 2;
  animation: royalEntrance 1.5s ease-out;
}

@keyframes royalEntrance {
  0% {
    opacity: 0;
    transform: translateY(-50px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.crown-icon {
  font-size: 100px;
  margin-bottom: 30px;
  animation: crownFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.6));
}

@keyframes crownFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.royal-title {
  font-family: 'Aref Ruqaa', serif;
  font-size: 64px;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
}

.royal-subtitle {
  font-family: 'Scheherazade New', serif;
  font-size: 36px;
  color: var(--ivory);
  line-height: 1.8;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
}

.sparkles {
  position: absolute;
  width: 400px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.sparkle {
  position: absolute;
  font-size: 32px;
  animation: sparkleFloat 3s ease-in-out infinite;
}

.sparkle:nth-child(1) { top: 0; left: 50%; animation-delay: 0s; }
.sparkle:nth-child(2) { top: 30%; right: 0; animation-delay: 0.6s; }
.sparkle:nth-child(3) { bottom: 30%; left: 0; animation-delay: 1.2s; }
.sparkle:nth-child(4) { bottom: 0; left: 50%; animation-delay: 1.8s; }
.sparkle:nth-child(5) { top: 30%; left: 0; animation-delay: 2.4s; }

@keyframes sparkleFloat {
  0%, 100% {
    opacity: 0;
    transform: scale(0.5) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1) rotate(180deg);
  }
}

/* ==========================================
   MAIN INVITATION
========================================== */
.main-invitation {
  opacity: 0;
  transition: opacity 1.5s ease 0.5s;
}

.main-invitation.visible {
  opacity: 1;
}

/* ==========================================
   HERO SECTION
========================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 50%, var(--magenta) 100%);
  position: relative;
  overflow: hidden;
}

.royal-pattern-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.08;
  background-image: 
    repeating-linear-gradient(45deg, var(--gold) 0px, var(--gold) 2px, transparent 2px, transparent 20px),
    repeating-linear-gradient(-45deg, var(--gold) 0px, var(--gold) 2px, transparent 2px, transparent 20px);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 40px;
  max-width: 900px;
}

.crown-ornament {
  font-size: 70px;
  margin-bottom: 30px;
  animation: crownPulse 2s ease-in-out infinite;
  filter: drop-shadow(0 8px 25px rgba(212, 175, 55, 0.7));
}

@keyframes crownPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.gold-divider-top,
.gold-divider-bottom {
  font-size: 36px;
  color: var(--gold);
  margin: 35px 0;
  letter-spacing: 8px;
  text-shadow: 0 4px 15px rgba(212, 175, 55, 0.6);
}

.bismillah-royal {
  font-family: 'Scheherazade New', serif;
  font-size: 52px;
  color: var(--gold);
  margin: 40px 0;
  line-height: 1.9;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease;
}

.main-title {
  font-family: 'Aref Ruqaa', serif;
  font-size: 72px;
  color: var(--ivory);
  margin: 45px 0;
  font-weight: 700;
  letter-spacing: 3px;
  text-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
  animation: fadeInUp 1s ease 0.2s backwards;
}

.quran-verse-royal {
  margin: 50px 0;
  animation: fadeInUp 1s ease 0.4s backwards;
}

.verse-frame {
  background: rgba(255, 255, 255, 0.1);
  border: 3px solid var(--gold);
  border-radius: 25px;
  padding: 45px 40px;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.verse-line {
  font-family: 'Amiri', serif;
  font-size: 30px;
  color: var(--ivory);
  line-height: 2.3;
  margin-bottom: 10px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.verse-ref {
  display: block;
  font-size: 20px;
  color: var(--gold);
  margin-top: 25px;
  font-weight: 700;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   INVITATION SECTION
========================================== */
.invitation-section {
  padding: 100px 20px;
  background: linear-gradient(to bottom, var(--ivory) 0%, var(--champagne) 100%);
}

.invitation-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 50px;
  background: white;
  border-radius: 30px;
  box-shadow: 0 25px 80px rgba(139, 21, 56, 0.3);
  text-align: center;
  position: relative;
  border: 4px solid var(--gold);
}

.card-border-top,
.card-border-bottom {
  width: 150px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--burgundy), var(--gold), var(--burgundy), transparent);
  margin: 0 auto;
}

.card-border-top {
  margin-bottom: 35px;
}

.card-border-bottom {
  margin-top: 35px;
}

.invitation-intro {
  font-size: 22px;
  color: var(--burgundy);
  margin-bottom: 20px;
  font-weight: 600;
}

.invitation-text {
  font-size: 26px;
  color: var(--text);
  margin: 30px 0;
  line-height: 1.8;
}

.invitation-title {
  font-family: 'Aref Ruqaa', serif;
  font-size: 48px;
  color: var(--burgundy);
  font-weight: 700;
  margin: 35px 0;
}

/* ==========================================
   ROYAL COUPLE SECTION
========================================== */
.couple-section {
  padding: 120px 20px;
  background: white;
}

.royal-frame {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 60px;
  background: linear-gradient(135deg, var(--ivory) 0%, var(--champagne) 50%, var(--ivory) 100%);
  border: 5px solid var(--gold);
  border-radius: 30px;
  box-shadow: 
    0 30px 90px rgba(139, 21, 56, 0.4),
    inset 0 0 60px rgba(212, 175, 55, 0.1);
}

.frame-corner {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 6px solid var(--burgundy);
}

.corner-tl { top: -5px; left: -5px; border-right: none; border-bottom: none; }
.corner-tr { top: -5px; right: -5px; border-left: none; border-bottom: none; }
.corner-bl { bottom: -5px; left: -5px; border-right: none; border-top: none; }
.corner-br { bottom: -5px; right: -5px; border-left: none; border-top: none; }

.crown-decoration {
  position: absolute;
  font-size: 50px;
  filter: drop-shadow(0 5px 15px rgba(212, 175, 55, 0.6));
  animation: crownFloat 3s ease-in-out infinite;
}

.crown-top {
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
}

.crown-bottom {
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
}

.couple-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 60px;
  align-items: center;
}

.royal-card {
  position: relative;
  background: white;
  padding: 50px 40px;
  border-radius: 25px;
  text-align: center;
  border: 3px solid var(--burgundy);
  box-shadow: 0 20px 60px rgba(139, 21, 56, 0.3);
  transition: all 0.4s ease;
  overflow: hidden;
}

.royal-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 80px rgba(139, 21, 56, 0.5);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.royal-card:hover .card-glow {
  opacity: 1;
}

.royal-icon {
  font-size: 60px;
  margin-bottom: 25px;
  filter: drop-shadow(0 5px 15px rgba(139, 21, 56, 0.3));
}

.royal-label {
  display: block;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 2px;
}

.royal-name {
  font-family: 'Aref Ruqaa', serif;
  font-size: 56px;
  color: var(--burgundy);
  margin: 25px 0;
  font-weight: 700;
}

.divider-small {
  font-size: 24px;
  color: var(--gold);
  margin: 20px 0;
}

.family-intro {
  font-size: 16px;
  color: var(--text);
  margin: 20px 0 10px;
  opacity: 0.9;
}

.family-name {
  font-size: 22px;
  color: var(--burgundy);
  font-weight: 600;
}

.heart-separator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.heart-crown,
.heart-royal,
.rings-icon {
  font-size: 50px;
  animation: heartbeat 2s ease-in-out infinite;
}

.heart-crown {
  color: var(--gold);
  animation-delay: 0s;
}

.heart-royal {
  font-size: 60px;
  color: var(--burgundy);
  animation-delay: 0.3s;
}

.rings-icon {
  color: var(--gold);
  animation-delay: 0.6s;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15%, 35% { transform: scale(1.2); }
  25%, 45% { transform: scale(1); }
}

/* ==========================================
   SECTION HEADERS
========================================== */
.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-crown {
  font-size: 60px;
  margin-bottom: 20px;
  animation: crownPulse 2s ease-in-out infinite;
}

.section-title {
  font-family: 'Aref Ruqaa', serif;
  font-size: 50px;
  color: var(--burgundy);
  margin-bottom: 25px;
  font-weight: 700;
}

.title-underline {
  width: 150px;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--burgundy), var(--gold), transparent);
  margin: 0 auto;
}

/* ==========================================
   DATETIME SECTION
========================================== */
.datetime-section {
  padding: 120px 20px;
  background: linear-gradient(135deg, var(--champagne) 0%, var(--ivory) 100%);
}

.datetime-royal-card {
  max-width: 850px;
  margin: 0 auto;
  padding: 70px 60px;
  background: white;
  border: 4px solid var(--burgundy);
  border-radius: 30px;
  box-shadow: 0 25px 80px rgba(139, 21, 56, 0.4);
  text-align: center;
}

.datetime-ornament-top,
.datetime-ornament-bottom {
  font-size: 32px;
  color: var(--gold);
  margin: 25px 0;
  letter-spacing: 10px;
}

.datetime-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin: 50px 0;
}

.datetime-block {
  display: flex;
  align-items: center;
  gap: 25px;
}

.datetime-icon-large {
  font-size: 60px;
}

.datetime-info {
  display: flex;
  flex-direction: column;
  text-align: right;
  gap: 10px;
}

.datetime-label-royal {
  font-size: 18px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
}

.datetime-value-royal {
  font-family: 'Aref Ruqaa', serif;
  font-size: 34px;
  color: var(--burgundy);
  font-weight: 700;
}

.datetime-separator-royal {
  font-size: 48px;
  color: var(--gold);
  font-weight: 300;
}

/* ==========================================
   COUNTDOWN SECTION
========================================== */
.countdown-section {
  padding: 120px 20px;
  background: white;
}

.countdown-header {
  text-align: center;
  margin-bottom: 70px;
}

.countdown-title-royal {
  font-family: 'Aref Ruqaa', serif;
  font-size: 46px;
  color: var(--burgundy);
  margin-bottom: 20px;
  font-weight: 700;
}

.countdown-subtitle {
  font-size: 22px;
  color: var(--text);
  opacity: 0.8;
}

.countdown-royal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  direction: ltr;
}

.count-royal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.count-royal-box {
  position: relative;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 50%, var(--magenta) 100%);
  border: 5px solid var(--gold);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 15px 50px rgba(139, 21, 56, 0.5),
    inset 0 5px 20px rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
}

.count-royal-box:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 
    0 25px 70px rgba(139, 21, 56, 0.7),
    inset 0 5px 20px rgba(212, 175, 55, 0.3);
}

.count-crown-mini {
  position: absolute;
  top: -20px;
  font-size: 30px;
  animation: crownFloat 3s ease-in-out infinite;
}

.count-royal-number {
  font-family: 'Aref Ruqaa', serif;
  font-size: 60px;
  color: var(--gold);
  font-weight: 700;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  line-height: 1;
}

.count-royal-label {
  font-size: 20px;
  color: var(--ivory);
  font-weight: 600;
  margin-top: 10px;
}

.count-royal-sep {
  font-size: 56px;
  color: var(--burgundy);
  font-weight: 700;
}

/* ==========================================
   VENUE SECTION
========================================== */
.venue-section {
  padding: 120px 20px;
  background: linear-gradient(135deg, var(--champagne) 0%, var(--ivory) 100%);
}

.venue-royal-card {
  max-width: 850px;
  margin: 0 auto;
  padding: 70px 60px;
  background: white;
  border: 4px solid var(--burgundy);
  border-radius: 30px;
  box-shadow: 0 25px 80px rgba(139, 21, 56, 0.4);
  text-align: center;
}

.venue-crown-large {
  font-size: 80px;
  margin-bottom: 30px;
  filter: drop-shadow(0 10px 30px rgba(139, 21, 56, 0.4));
  animation: crownFloat 3s ease-in-out infinite;
}

.venue-royal-name {
  font-family: 'Aref Ruqaa', serif;
  font-size: 44px;
  color: var(--burgundy);
  margin-bottom: 50px;
  font-weight: 700;
}

.venue-details-royal {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 50px;
}

.venue-detail-royal {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 30px;
  background: linear-gradient(135deg, var(--champagne) 0%, var(--ivory) 100%);
  border-radius: 20px;
  border: 2px solid var(--gold);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
}

.venue-detail-royal:hover {
  transform: translateX(-10px);
  box-shadow: 0 15px 40px rgba(139, 21, 56, 0.3);
}

.detail-icon-royal {
  font-size: 48px;
  flex-shrink: 0;
}

.detail-content-royal {
  flex: 1;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-label-royal {
  font-size: 16px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
}

.detail-value-royal {
  font-size: 22px;
  color: var(--burgundy);
  font-weight: 700;
}

.royal-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 22px 55px;
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--magenta) 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 15px 50px rgba(139, 21, 56, 0.5);
  transition: all 0.4s ease;
  border: 3px solid var(--gold);
}

.royal-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 70px rgba(139, 21, 56, 0.7);
  background: linear-gradient(135deg, var(--magenta) 0%, var(--burgundy) 100%);
}

/* ==========================================
   DUA SECTION
========================================== */
.dua-section {
  padding: 120px 20px;
  background: white;
}

.dua-royal-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 60px;
  background: linear-gradient(135deg, var(--ivory) 0%, var(--champagne) 50%, var(--ivory) 100%);
  border: 4px solid var(--burgundy);
  border-radius: 30px;
  box-shadow: 0 25px 80px rgba(139, 21, 56, 0.4);
  text-align: center;
}

.dua-crown {
  font-size: 70px;
  margin-bottom: 30px;
  filter: drop-shadow(0 8px 25px rgba(139, 21, 56, 0.4));
}

.dua-ornament-top,
.dua-ornament-bottom {
  font-size: 32px;
  color: var(--gold);
  margin: 30px 0;
  letter-spacing: 10px;
}

.dua-title-royal {
  font-family: 'Aref Ruqaa', serif;
  font-size: 40px;
  color: var(--burgundy);
  margin: 35px 0 45px;
  font-weight: 700;
}

.dua-text-royal {
  margin: 45px 0;
}

.dua-arabic {
  font-family: 'Amiri', serif;
  font-size: 36px;
  line-height: 2.5;
  color: var(--text);
  margin-bottom: 15px;
}

.dua-closing-royal {
  font-size: 22px;
  color: var(--burgundy);
  margin-top: 40px;
  font-weight: 600;
  opacity: 0.9;
}

/* ==========================================
   ROYAL FOOTER
========================================== */
.royal-footer {
  position: relative;
  background: linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 50%, var(--magenta) 100%);
  padding: 100px 20px 50px;
  color: white;
  text-align: center;
  overflow: hidden;
}

.footer-background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.1;
  background-image: 
    repeating-linear-gradient(45deg, var(--gold) 0px, var(--gold) 2px, transparent 2px, transparent 15px),
    repeating-linear-gradient(-45deg, var(--gold) 0px, var(--gold) 2px, transparent 2px, transparent 15px);
}

.footer-crown-icon {
  font-size: 60px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
  animation: crownFloat 3s ease-in-out infinite;
}

.footer-names-royal {
  font-family: 'Aref Ruqaa', serif;
  font-size: 52px;
  margin-bottom: 30px;
  font-weight: 700;
  position: relative;
  z-index: 2;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  color: var(--gold);
}

.footer-verse-royal {
  font-family: 'Amiri', serif;
  font-size: 26px;
  margin-bottom: 35px;
  opacity: 0.95;
  position: relative;
  z-index: 2;
  line-height: 2;
}

.footer-divider {
  font-size: 28px;
  color: var(--gold);
  margin: 35px 0;
  letter-spacing: 8px;
  position: relative;
  z-index: 2;
}

.footer-date-royal {
  font-family: 'Aref Ruqaa', serif;
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
  font-weight: 700;
}

.footer-copyright-royal {
  font-size: 16px;
  opacity: 0.8;
  padding-top: 35px;
  border-top: 2px solid rgba(212, 175, 55, 0.3);
  position: relative;
  z-index: 2;
}

/* ==========================================
   MUSIC BUTTON
========================================== */
.music-btn-royal {
  position: fixed;
  bottom: 35px;
  left: 35px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--magenta) 100%);
  border: 4px solid var(--gold);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  box-shadow: 0 12px 40px rgba(139, 21, 56, 0.6);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.music-btn-royal:hover {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 18px 50px rgba(139, 21, 56, 0.8);
}

/* ==========================================
   RESPONSIVE DESIGN
========================================== */
@media (max-width: 768px) {
  .royal-title {
    font-size: 48px;
  }
  
  .royal-subtitle {
    font-size: 28px;
  }
  
  .crown-icon {
    font-size: 80px;
  }
  
  .hero-content {
    padding: 80px 25px;
  }
  
  .bismillah-royal {
    font-size: 38px;
  }
  
  .main-title {
    font-size: 52px;
  }
  
  .verse-line {
    font-size: 24px;
  }
  
  .invitation-card {
    padding: 50px 30px;
  }
  
  .invitation-title {
    font-size: 38px;
  }
  
  .royal-frame {
    padding: 60px 30px;
  }
  
  .couple-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .heart-separator {
    order: -1;
    flex-direction: row;
  }
  
  .royal-name {
    font-size: 46px;
  }
  
  .frame-corner {
    width: 60px;
    height: 60px;
  }
  
  .datetime-royal-card {
    padding: 50px 30px;
  }
  
  .datetime-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .datetime-separator-royal {
    display: none;
  }
  
  .count-royal-box {
    width: 120px;
    height: 120px;
  }
  
  .count-royal-number {
    font-size: 50px;
  }
  
  .count-royal-sep {
    display: none;
  }
  
  .venue-royal-card,
  .dua-royal-card {
    padding: 50px 30px;
  }
  
  .venue-royal-name {
    font-size: 36px;
  }
  
  .dua-arabic {
    font-size: 30px;
  }
  
  .footer-names-royal {
    font-size: 42px;
  }
}

@media (max-width: 480px) {
  .royal-title {
    font-size: 40px;
  }
  
  .royal-subtitle {
    font-size: 24px;
  }
  
  .crown-icon {
    font-size: 70px;
  }
  
  .hero-content {
    padding: 60px 20px;
  }
  
  .bismillah-royal {
    font-size: 32px;
  }
  
  .main-title {
    font-size: 44px;
  }
  
  .verse-frame {
    padding: 35px 25px;
  }
  
  .verse-line {
    font-size: 22px;
  }
  
  .invitation-card {
    padding: 40px 25px;
  }
  
  .invitation-text {
    font-size: 22px;
  }
  
  .invitation-title {
    font-size: 34px;
  }
  
  .royal-frame {
    padding: 50px 20px;
  }
  
  .royal-card {
    padding: 40px 25px;
  }
  
  .royal-name {
    font-size: 40px;
  }
  
  .frame-corner {
    width: 50px;
    height: 50px;
    border-width: 4px;
  }
  
  .crown-top,
  .crown-bottom {
    font-size: 40px;
  }
  
  .section-title {
    font-size: 38px;
  }
  
  .datetime-royal-card {
    padding: 40px 25px;
  }
  
  .datetime-value-royal {
    font-size: 28px;
  }
  
  .countdown-title-royal {
    font-size: 36px;
  }
  
  .count-royal-box {
    width: 100px;
    height: 100px;
  }
  
  .count-royal-number {
    font-size: 42px;
  }
  
  .venue-royal-card,
  .dua-royal-card {
    padding: 40px 20px;
  }
  
  .venue-royal-name {
    font-size: 30px;
  }
  
  .royal-button {
    width: 100%;
    padding: 18px 40px;
    font-size: 18px;
  }
  
  .dua-title-royal {
    font-size: 32px;
  }
  
  .dua-arabic {
    font-size: 26px;
  }
  
  .footer-names-royal {
    font-size: 36px;
  }
  
  .footer-verse-royal {
    font-size: 22px;
  }
  
  .music-btn-royal {
    width: 60px;
    height: 60px;
    bottom: 25px;
    left: 25px;
  }
}

/* ==========================================
   COUNTDOWN SECTION
========================================== */
.countdown-section {
  padding: 120px 20px;
  background: white;
}

.countdown-header {
  text-align: center;
  margin-bottom: 60px;
}

.countdown-title-royal {
  font-family: 'Aref Ruqaa', serif;
  font-size: 44px;
  color: var(--burgundy);
  margin-bottom: 20px;
  font-weight: 700;
}

.countdown-subtitle {
  font-size: 20px;
  color: var(--text);
  opacity: 0.8;
}

.countdown-royal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  direction: ltr;
}

.count-royal-item {
  position: relative;
}

.count-royal-box {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 100%);
  border: 5px solid var(--gold);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 15px 50px rgba(139, 21, 56, 0.5),
    inset 0 5px 20px rgba(212, 175, 55, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.count-royal-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.count-royal-box:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 
    0 20px 60px rgba(139, 21, 56, 0.7),
    inset 0 5px 25px rgba(212, 175, 55, 0.3);
}

.count-crown-mini {
  font-size: 28px;
  margin-bottom: 8px;
  animation: crownPulse 2s ease-in-out infinite;
}

.count-royal-number {
  font-family: 'Aref Ruqaa', serif;
  font-size: 56px;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.count-royal-label {
  font-size: 18px;
  color: var(--ivory);
  font-weight: 600;
  margin-top: 8px;
}

.count-royal-sep {
  font-size: 56px;
  color: var(--burgundy);
  font-weight: 700;
}

/* ==========================================
   VENUE SECTION
========================================== */
.venue-section {
  padding: 120px 20px;
  background: linear-gradient(135deg, var(--champagne) 0%, var(--ivory) 100%);
}

.venue-royal-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 70px 60px;
  background: white;
  border: 4px solid var(--burgundy);
  border-radius: 30px;
  box-shadow: 0 25px 80px rgba(139, 21, 56, 0.4);
  text-align: center;
}

.venue-crown-large {
  font-size: 80px;
  margin-bottom: 30px;
  animation: crownFloat 3s ease-in-out infinite;
}

.venue-royal-name {
  font-family: 'Aref Ruqaa', serif;
  font-size: 42px;
  color: var(--burgundy);
  margin-bottom: 50px;
  font-weight: 700;
}

.venue-details-royal {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 50px;
}

.venue-detail-royal {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 25px 30px;
  background: linear-gradient(135deg, var(--ivory) 0%, var(--champagne) 100%);
  border-radius: 15px;
  border: 2px solid var(--gold);
  transition: all 0.3s ease;
}

.venue-detail-royal:hover {
  transform: translateX(-10px);
  box-shadow: 0 10px 30px rgba(139, 21, 56, 0.2);
}

.detail-icon-royal {
  font-size: 42px;
  flex-shrink: 0;
}

.detail-content-royal {
  flex: 1;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-label-royal {
  font-size: 16px;
  color: var(--gold);
  font-weight: 700;
}

.detail-value-royal {
  font-size: 22px;
  color: var(--burgundy);
  font-weight: 600;
}

.royal-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 22px 55px;
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 12px 40px rgba(139, 21, 56, 0.5);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.royal-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.royal-button:hover::before {
  left: 100%;
}

.royal-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 50px rgba(139, 21, 56, 0.7);
  background: linear-gradient(135deg, var(--burgundy-light) 0%, var(--burgundy) 100%);
}

/* ==========================================
   DUA SECTION
========================================== */
.dua-section {
  padding: 120px 20px;
  background: white;
}

.dua-royal-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 60px;
  background: linear-gradient(135deg, var(--ivory) 0%, var(--champagne) 50%, var(--ivory) 100%);
  border: 4px solid var(--burgundy);
  border-radius: 30px;
  box-shadow: 0 25px 80px rgba(139, 21, 56, 0.4);
  text-align: center;
}

.dua-crown {
  font-size: 70px;
  margin-bottom: 25px;
  animation: crownFloat 3s ease-in-out infinite;
}

.dua-ornament-top,
.dua-ornament-bottom {
  font-size: 32px;
  color: var(--gold);
  margin: 30px 0;
  letter-spacing: 10px;
}

.dua-title-royal {
  font-family: 'Aref Ruqaa', serif;
  font-size: 38px;
  color: var(--burgundy);
  margin: 35px 0 45px;
  font-weight: 700;
}

.dua-text-royal {
  margin: 45px 0;
}

.dua-arabic {
  font-family: 'Amiri', serif;
  font-size: 36px;
  line-height: 2.5;
  color: var(--text);
  margin: 15px 0;
}

.dua-closing-royal {
  font-size: 22px;
  color: var(--burgundy);
  margin-top: 40px;
  font-weight: 600;
}

/* ==========================================
   FOOTER
========================================== */
.royal-footer {
  position: relative;
  padding: 100px 20px 50px;
  background: linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy) 50%, var(--magenta) 100%);
  color: white;
  text-align: center;
  overflow: hidden;
}

.footer-background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.1;
  background-image: 
    repeating-linear-gradient(45deg, var(--gold) 0px, var(--gold) 2px, transparent 2px, transparent 30px),
    repeating-linear-gradient(-45deg, var(--gold) 0px, var(--gold) 2px, transparent 2px, transparent 30px);
}

.footer-crown-icon {
  font-size: 60px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
  animation: crownPulse 2s ease-in-out infinite;
}

.footer-names-royal {
  font-family: 'Aref Ruqaa', serif;
  font-size: 52px;
  margin-bottom: 30px;
  font-weight: 700;
  position: relative;
  z-index: 2;
  color: var(--gold);
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.footer-verse-royal {
  font-family: 'Amiri', serif;
  font-size: 26px;
  margin-bottom: 35px;
  opacity: 0.95;
  position: relative;
  z-index: 2;
  line-height: 2;
}

.footer-divider {
  font-size: 28px;
  color: var(--gold);
  margin: 30px 0;
  letter-spacing: 10px;
  position: relative;
  z-index: 2;
}

.footer-date-royal {
  font-family: 'Aref Ruqaa', serif;
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
  font-weight: 700;
}

.footer-copyright-royal {
  font-size: 16px;
  opacity: 0.85;
  padding-top: 35px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 2;
}

/* ==========================================
   MUSIC BUTTON
========================================== */
.music-btn-royal {
  position: fixed;
  bottom: 35px;
  left: 35px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
  border: 4px solid var(--gold);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(139, 21, 56, 0.6);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.music-btn-royal:hover {
  transform: scale(1.15) rotate(15deg);
  box-shadow: 0 18px 45px rgba(139, 21, 56, 0.8);
}

/* ==========================================
   RESPONSIVE DESIGN
========================================== */
@media (max-width: 768px) {
  .crown-icon {
    font-size: 80px;
  }
  
  .royal-title {
    font-size: 48px;
  }
  
  .royal-subtitle {
    font-size: 28px;
  }
  
  .sparkles {
    width: 300px;
    height: 300px;
  }
  
  .sparkle {
    font-size: 24px;
  }
  
  .hero-content {
    padding: 80px 30px;
  }
  
  .crown-ornament {
    font-size: 55px;
  }
  
  .bismillah-royal {
    font-size: 38px;
  }
  
  .main-title {
    font-size: 52px;
  }
  
  .verse-frame {
    padding: 35px 30px;
  }
  
  .verse-line {
    font-size: 24px;
  }
  
  .invitation-card {
    padding: 50px 35px;
  }
  
  .invitation-title {
    font-size: 38px;
  }
  
  .royal-frame {
    padding: 60px 40px;
  }
  
  .frame-corner {
    width: 60px;
    height: 60px;
  }
  
  .crown-decoration {
    font-size: 40px;
  }
  
  .couple-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .heart-separator {
    order: -1;
    flex-direction: row;
  }
  
  .royal-name {
    font-size: 46px;
  }
  
  .section-crown {
    font-size: 50px;
  }
  
  .section-title {
    font-size: 40px;
  }
  
  .datetime-royal-card,
  .venue-royal-card,
  .dua-royal-card {
    padding: 55px 40px;
  }
  
  .datetime-content {
    flex-direction: column;
    gap: 35px;
  }
  
  .datetime-separator-royal {
    display: none;
  }
  
  .countdown-title-royal {
    font-size: 36px;
  }
  
  .count-royal-box {
    width: 130px;
    height: 130px;
  }
  
  .count-royal-number {
    font-size: 48px;
  }
  
  .count-royal-sep {
    display: none;
  }
  
  .venue-crown-large {
    font-size: 70px;
  }
  
  .venue-royal-name {
    font-size: 36px;
  }
  
  .royal-button {
    padding: 20px 45px;
    font-size: 18px;
  }
  
  .dua-crown {
    font-size: 60px;
  }
  
  .dua-title-royal {
    font-size: 32px;
  }
  
  .dua-arabic {
    font-size: 30px;
  }
  
  .footer-names-royal {
    font-size: 42px;
  }
  
  .footer-verse-royal {
    font-size: 22px;
  }
  
  .music-btn-royal {
    width: 60px;
    height: 60px;
    bottom: 30px;
    left: 30px;
  }
}

@media (max-width: 480px) {
  .crown-icon {
    font-size: 70px;
  }
  
  .royal-title {
    font-size: 40px;
  }
  
  .royal-subtitle {
    font-size: 24px;
  }
  
  .hero-content {
    padding: 60px 25px;
  }
  
  .crown-ornament {
    font-size: 45px;
  }
  
  .bismillah-royal {
    font-size: 32px;
  }
  
  .main-title {
    font-size: 42px;
  }
  
  .verse-frame {
    padding: 30px 25px;
  }
  
  .verse-line {
    font-size: 22px;
  }
  
  .invitation-card {
    padding: 40px 25px;
  }
  
  .invitation-text {
    font-size: 22px;
  }
  
  .invitation-title {
    font-size: 34px;
  }
  
  .royal-frame {
    padding: 50px 25px;
  }
  
  .frame-corner {
    width: 50px;
    height: 50px;
    border-width: 4px;
  }
  
  .crown-decoration {
    font-size: 35px;
  }
  
  .crown-top {
    top: -25px;
  }
  
  .crown-bottom {
    bottom: -25px;
  }
  
  .royal-card {
    padding: 40px 30px;
  }
  
  .royal-icon {
    font-size: 50px;
  }
  
  .royal-name {
    font-size: 40px;
  }
  
  .family-name {
    font-size: 20px;
  }
  
  .heart-crown,
  .rings-icon {
    font-size: 40px;
  }
  
  .heart-royal {
    font-size: 50px;
  }
  
  .section-crown {
    font-size: 45px;
  }
  
  .section-title {
    font-size: 34px;
  }
  
  .datetime-royal-card,
  .venue-royal-card,
  .dua-royal-card {
    padding: 45px 30px;
  }
  
  .datetime-value-royal {
    font-size: 28px;
  }
  
  .countdown-title-royal {
    font-size: 30px;
  }
  
  .countdown-subtitle {
    font-size: 18px;
  }
  
  .count-royal-box {
    width: 110px;
    height: 110px;
  }
  
  .count-crown-mini {
    font-size: 24px;
  }
  
  .count-royal-number {
    font-size: 42px;
  }
  
  .count-royal-label {
    font-size: 16px;
  }
  
  .venue-crown-large {
    font-size: 60px;
  }
  
  .venue-royal-name {
    font-size: 30px;
  }
  
  .venue-detail-royal {
    padding: 20px 25px;
  }
  
  .detail-icon-royal {
    font-size: 36px;
  }
  
  .detail-value-royal {
    font-size: 20px;
  }
  
  .royal-button {
    width: 100%;
    padding: 18px 40px;
    font-size: 17px;
  }
  
  .dua-crown {
    font-size: 50px;
  }
  
  .dua-title-royal {
    font-size: 28px;
  }
  
  .dua-arabic {
    font-size: 26px;
  }
  
  .dua-closing-royal {
    font-size: 20px;
  }
  
  .footer-crown-icon {
    font-size: 50px;
  }
  
  .footer-names-royal {
    font-size: 36px;
  }
  
  .footer-verse-royal {
    font-size: 20px;
  }
  
  .footer-date-royal {
    font-size: 28px;
  }
  
  .music-btn-royal {
    width: 55px;
    height: 55px;
    bottom: 25px;
    left: 25px;
  }
}
