/* ============================================
   Tema: Javanese Royal
   Warna: Maroon #6A0D0D, Emas #D4AF37, Krem #FDF6E3
   ============================================ */

/* ===== Variables ===== */
:root {
  --primary: #6A0D0D;        /* Maroon keraton */
  --primary-dark: #4D0A0A;   /* Maroon gelap */
  --accent: #D4AF37;         /* Emas */
  --accent-light: #E6C46A;   /* Emas muda */
  --cream: #FDF6E3;          /* Krem gading */
  --cream-dark: #F5E9D3;     /* Krem gelap */
  --dark: #2C2C2C;           /* Hitam soft */
  --gray: #6B6B6B;           /* Abu-abu teks */
  --white: #FFFFFF;
}

/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--dark);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--primary);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section-alt {
  background: var(--cream-dark);
}

/* Pattern batik kawung subtle */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0 C60 20 60 60 40 80 C20 60 20 20 40 0' fill='none' stroke='%23D4AF37' stroke-width='0.8' stroke-opacity='0.15'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  pointer-events: none;
  z-index: -1;
}

/* ===== Animations ===== */
@keyframes pulse {
 0%, 100% { transform: scale(1); }
 50% { transform: scale(1.15); }
}

@keyframes bounce {
 0%, 100% { transform: translateX(-50%) translateY(0); }
 50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse-live {
 0%, 100% { opacity: 1; transform: scale(1); }
 50% { opacity: 0.5; transform: scale(1.2); }
}

/* ===== Loader ===== */
.loader {
  position: fixed;
  inset: 0;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-heart {
  font-size: 48px;
  color: var(--primary);
  animation: pulse 1.5s infinite;
}

/* ===== Opening Cover ===== */
.opening {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 9999;
  padding: 2rem;
  color: var(--white);
}

.opening-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(106,13,13,0.6) 0%, rgba(77,10,10,0.9) 100%);
  z-index: 1;
}

.opening-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease;
  border: 2px solid var(--accent);
  padding: 40px;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(5px);
}

.opening-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 4px;
  color: var(--accent-light);
  text-transform: uppercase;
}

.opening-name {
  font-family: 'Great Vibes', cursive;
  font-size: 3.8rem;
  color: var(--accent);
  margin: 1rem 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.guest-greeting,
.guest-name,
.opening-date {
  color: var(--cream);
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 35px;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--primary-dark);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Outfit', sans-serif;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212,175,55,0.4);
}

.hidden-content {
  display: none;
}

/* ===== Floating Nav ===== */
.floating-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(253,246,227,0.95);
  backdrop-filter: blur(12px);
  border-radius: 30px;
  padding: 6px;
  box-shadow: 0 6px 20px rgba(106,13,13,0.2);
  z-index: 999;
  max-width: 90vw;
  overflow-x: auto;
  scrollbar-width: none;
  border: 1px solid var(--accent);
}

.floating-nav::-webkit-scrollbar {
  display: none;
}

.floating-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--primary);
  font-size: 18px;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.nav-icon:hover,
.nav-icon.active {
  background: var(--primary);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(106,13,13,0.5) 0%, rgba(77,10,10,0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  border: 2px solid var(--accent);
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(5px);
}

.hero-label {
  font-size: 18px;
  letter-spacing: 4px;
  margin-bottom: 20px;
  opacity: 0.9;
  text-transform: uppercase;
  color: var(--accent-light);
}

.hero-name {
  font-family: 'Great Vibes', cursive;
  font-size: 72px;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--accent);
}

.hero-name span {
  font-family: 'Outfit', sans-serif;
  font-size: 40px;
  margin: 0 15px;
  color: var(--white);
}

.guest-greeting {
  font-size: 16px;
  margin-bottom: 8px;
  opacity: 0.9;
  color: var(--cream);
}

.guest-name {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--cream);
}

.hero-date {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--accent-light);
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  animation: bounce 2s infinite;
  color: var(--accent);
}

/* ===== Section Head ===== */
.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 20px;
  background: var(--primary);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--accent);
}

.section-head h2 {
  font-size: 48px;
  color: var(--primary);
}

.section-desc {
  text-align: center;
  max-width: 700px;
  margin: 20px auto 0;
  font-size: 16px;
  font-weight: 300;
  color: var(--gray);
  line-height: 2;
}

.section-note {
  text-align: center;
  max-width: 650px;
  margin: 50px auto 0;
  font-size: 17px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
  opacity: 0.9;
  line-height: 1.9;
  position: relative;
}

.section-note::before {
  content: '❦';
  display: block;
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ===== Couple ===== */
.couple-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}

.couple-card {
  text-align: center;
  background: var(--white);
  padding: 40px 30px;
  border: 2px solid var(--accent);
  box-shadow: 0 10px 30px rgba(106,13,13,0.1);
}

.couple-frame {
  width: 280px;
  aspect-ratio: 2/3;
  margin: 0 auto 25px;
  overflow: hidden;
  border: 5px solid var(--accent);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.couple-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.couple-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.couple-name {
  font-family: 'Great Vibes', cursive;
  font-size: 42px;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--primary);
}

.couple-full {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--dark);
}

.parent {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
}

.couple-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.couple-divider span {
  width: 2px;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
}

.couple-divider i {
  font-size: 28px;
  color: var(--accent);
}

.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 15px;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
}

.ig-link:hover {
  color: var(--accent-dark);
}

/* ===== Quote ===== */
.quote-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 50px 40px;
  background: var(--white);
  border: 2px solid var(--accent);
  box-shadow: 0 10px 40px rgba(106,13,13,0.1);
}

.quote-box i {
  font-size: 48px;
  color: var(--accent);
  margin-bottom: 20px;
}

.quote-box p {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

.quote-box span {
  font-size: 16px;
  color: var(--gray);
}

/* ===== Event ===== */
.event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.event-card {
  background: var(--white);
  padding: 40px 30px;
  border: 2px solid var(--accent);
  text-align: center;
  box-shadow: 0 10px 30px rgba(106,13,13,0.1);
  transition: transform 0.3s;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.event-card h4 {
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--primary);
}

.event-card .time {
  font-size: 16px;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 15px;
}

.event-card .location {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-outline {
  padding: 12px 25px;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--accent);
}

/* ===== Countdown ===== */
.countdown-section {
  text-align: center;
  margin-bottom: 50px;
}

.countdown-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 600;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.countdown div {
  background: var(--white);
  padding: 20px;
  min-width: 90px;
  border: 2px solid var(--accent);
  box-shadow: 0 5px 20px rgba(106,13,13,0.1);
}

.countdown span {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Playfair Display', serif;
}

.countdown small {
  font-size: 13px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== Streaming Section ===== */
.section-streaming {
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--cream);
  padding: 100px 0;
}

.streaming-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.streaming-header h2 {
  color: var(--accent);
  font-size: 48px;
  margin-bottom: 15px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #ff0000;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
  border: 2px solid var(--accent);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  animation: pulse-live 1.5s infinite;
}

.streaming-card {
  margin-top: 40px;
  background: var(--cream);
  border: 3px solid var(--accent);
  padding: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.streaming-frame {
  background: #000;
  padding: 10px;
  border: 2px solid var(--accent-dark);
}

.streaming-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.streaming-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.streaming-info {
  margin-top: 20px;
  text-align: left;
}

.streaming-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.streaming-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray);
  font-size: 14px;
}

/* ===== Story Timeline ===== */
#story {
  background: var(--cream-dark);
  position: relative;
}

.timeline {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  padding-left: 80px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 35px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
}

.timeline-item {
  position: relative;
  margin-bottom: 70px;
}

.timeline-dot {
  position: absolute;
  left: -80px;
  top: 20px;
  width: 40px;
  height: 40px;
  background: var(--primary);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 18px;
  z-index: 2;
}

.timeline-card {
  background: var(--white);
  border: 2px solid var(--accent);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(106,13,13,0.1);
}

.story-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

.timeline-content {
  padding: 35px 30px;
  text-align: left;
}

.timeline-date {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
  border: 1px solid var(--accent);
}

.timeline-content h4 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary);
}

.timeline-content p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.9;
}

/* ===== Gallery Swiper ===== */
.gallery-swiper {
  padding: 0 50px 50px;
  position: relative;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--accent);
  aspect-ratio: 4/5;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-swiper .swiper-button-prev,
.gallery-swiper .swiper-button-next {
  color: var(--accent);
  background: var(--primary);
  width: 44px;
  height: 44px;
  border: 2px solid var(--accent);
  transition: all 0.3s;
}

.gallery-swiper .swiper-button-prev:hover,
.gallery-swiper .swiper-button-next:hover {
  background: var(--primary-dark);
}

.gallery-swiper .swiper-button-prev:after,
.gallery-swiper .swiper-button-next:after {
  font-size: 18px;
  font-weight: 700;
}

.gallery-swiper .swiper-pagination-bullet {
  background: var(--gray);
  opacity: 0.4;
  width: 8px;
  height: 8px;
}

.gallery-swiper .swiper-pagination-bullet-active {
  background: var(--accent);
  opacity: 1;
  width: 24px;
}

/* ===== RSVP ===== */
.section-rsvp {
  background: linear-gradient(rgba(106,13,13,0.85), rgba(77,10,10,0.9)), 
              url('../../public/uploads/bg-rsvp.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 100px 0;
}

.rsvp-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.rsvp-title {
  font-size: 56px;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--accent);
}

.rsvp-desc {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.95;
  color: var(--cream);
}

.rsvp-form {
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--cream);
}

.required {
  color: #ff6b6b;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--accent);
  background: rgba(253,246,227,0.95);
  font-size: 15px;
  font-family: 'Outfit', sans-serif;
  color: var(--dark);
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
  outline: none;
  border-color: var(--accent-light);
  background: var(--white);
}

.btn-whatsapp {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--primary-dark);
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  transform: translateY(-2px);
}

.rsvp-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-box {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Playfair Display', serif;
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
  color: var(--cream);
}

/* ===== Wishes ===== */
.section-wishes {
  background: var(--cream-dark);
  color: var(--dark);
  padding: 100px 0;
}

.wishes-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.wishes-icon {
  margin-bottom: 30px;
}

.wishes-icon i {
  font-size: 60px;
  color: var(--primary);
}

.wishes-title {
  margin-bottom: 20px;
}

.wishes-script {
  font-family: 'Great Vibes', cursive;
  font-size: 48px;
  font-weight: 400;
  display: block;
  color: var(--primary);
}

.wishes-bold {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 700;
  display: block;
  margin-top: -10px;
  color: var(--primary);
}

.wishes-desc {
  font-size: 16px;
  margin-bottom: 40px;
  color: var(--gray);
}

.wishes-form {
  background: var(--white);
  padding: 30px;
  border: 2px solid var(--accent);
  margin-bottom: 40px;
}

.wishes-form input,
.wishes-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--accent);
  background: var(--cream);
  font-size: 15px;
  font-family: 'Outfit', sans-serif;
  color: var(--dark);
  margin-bottom: 15px;
}

.wishes-form input:focus,
.wishes-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

.btn-submit-wish {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--accent);
  border: 2px solid var(--accent);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-submit-wish:hover {
  background: var(--primary-dark);
}

.wishes-list {
  max-height: 500px;
  overflow-y: auto;
  padding-right: 10px;
}

.wish-item {
  background: var(--white);
  color: var(--dark);
  padding: 20px;
  border: 2px solid var(--accent);
  margin-bottom: 15px;
  text-align: left;
}

.wish-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.wish-avatar {
  width: 40px;
  height: 40px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  border: 2px solid var(--accent);
}

.wish-info strong {
  display: block;
  font-size: 15px;
  color: var(--primary);
}

.wish-info small {
  font-size: 12px;
  color: var(--gray);
}

.wish-item p {
  font-size: 15px;
  line-height: 1.6;
  padding-left: 52px;
}

.empty-wish {
  text-align: center;
  padding: 30px;
  color: var(--gray);
}

/* ===== Wedding Gift ===== */
.section-gift {
  background: var(--primary-dark);
  color: var(--cream);
  padding: 100px 0;
  text-align: center;
}

.gift-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 400;
  margin-bottom: 25px;
  color: var(--accent);
}

.gift-head p {
  max-width: 700px;
  margin: 0 auto 60px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--cream);
  opacity: 0.9;
}

.gift-list {
  max-width: 450px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gift-card-dark {
  background: var(--cream);
  padding: 25px;
  text-align: left;
  position: relative;
  border: 2px solid var(--accent);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.gift-card-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 15px;
}

.gift-logo {
  height: 24px;
  object-fit: contain;
}

.gift-card-body {
  padding-top: 20px;
}

.gift-number {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 8px;
  font-family: 'Outfit', monospace;
}

.gift-name {
  font-size: 14px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-copy-dark {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  border: 2px solid var(--accent);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
}

.btn-copy-dark:hover {
  background: var(--primary-dark);
  color: var(--accent-light);
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 50px 20px;
  background: var(--primary);
  color: var(--cream);
  border-top: 3px solid var(--accent);
}

.footer p {
  font-size: 15px;
  margin-bottom: 10px;
  opacity: 0.9;
}

.footer h3 {
  font-family: 'Great Vibes', cursive;
  font-size: 36px;
  font-weight: 400;
  color: var(--accent);
}

/* ===== Music Button ===== */
.music-btn {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--accent);
  border: 2px solid var(--accent);
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(106,13,13,0.3);
  z-index: 999;
  transition: all 0.3s;
}

.music-btn:hover {
  transform: scale(1.1);
  background: var(--primary-dark);
}

.music-btn.playing {
  animation: spin 3s linear infinite;
}

/* ===== Alert ===== */
.alert {
  padding: 15px 20px;
  border: 2px solid var(--accent);
  margin-top: 20px;
  text-align: center;
  font-weight: 600;
}

.alert.success {
  background: var(--accent);
  color: var(--primary-dark);
}

.alert.hidden {
  display: none;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dark);
}

::selection {
  background: var(--accent);
  color: var(--primary-dark);
}

/* ===== Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media(max-width: 768px) {
  .hero-name { font-size: 48px; }
  .hero-name span { font-size: 28px; }
  .couple-grid { grid-template-columns: 1fr; }
  .couple-divider { flex-direction: row; justify-content: center; }
  .couple-divider span { width: 80px; height: 2px; }
  .event-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 36px; }
  .rsvp-title { font-size: 42px; }
  .wishes-script { font-size: 38px; }
  .wishes-bold { font-size: 42px; }
  .timeline { padding-left: 60px; }
  .timeline-dot { left: -60px; width: 36px; height: 36px; font-size: 16px; }
  .timeline-content h4 { font-size: 26px; }
  .timeline-item { margin-bottom: 50px; }
  .gift-head h2 { font-size: 42px; }
  .gallery-swiper { padding: 0 0 50px; }
  .gallery-swiper .swiper-button-prev,
  .gallery-swiper .swiper-button-next { display: none; }
  .opening-name { font-size: 2.8rem; }
  .floating-nav { display: none; }
  .opening-content { padding: 30px 20px; }
  .hero-content { padding: 30px 20px; }
  .streaming-header h2 { font-size: 36px; }
  .countdown { gap: 10px; }
  .countdown div { 
    min-width: 70px; 
    padding: 15px 10px;
  }
  .countdown span { 
    font-size: 28px; 
  }
  .countdown small { 
    font-size: 11px; 
  }
  .section {
    padding: 60px 0;
  }
  .section-streaming {
    padding: 60px 0;
  }
  .section-rsvp,
  .section-wishes,
  .section-gift {
    padding: 60px 0;
  }
  .streaming-card {
    padding: 15px;
  }
  .music-btn {
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
}

@media(max-width: 480px) {
  .hero-name { 
    font-size: 38px; 
  }
  .hero-name span { 
    font-size: 24px; 
  }
  .hero-label {
    font-size: 14px;
    letter-spacing: 2px;
  }
  .guest-name {
    font-size: 22px;
  }
  .opening-name { 
    font-size: 2.2rem; 
  }
  .opening-content {
    padding: 25px 15px;
  }
  .hero-content {
    padding: 25px 15px;
  }
  .section-head h2 { 
    font-size: 32px; 
  }
  .rsvp-title { 
    font-size: 36px; 
  }
  .wishes-script { 
    font-size: 32px; 
  }
  .wishes-bold { 
    font-size: 36px; 
  }
  .timeline { 
    padding-left: 50px; 
  }
  .timeline::before {
    left: 25px;
  }
  .timeline-dot { 
    left: -50px; 
    width: 32px; 
    height: 32px; 
    font-size: 14px; 
  }
  .timeline-content { 
    padding: 25px 20px; 
  }
  .timeline-content h4 { 
    font-size: 24px; 
  }
  .timeline-item { 
    margin-bottom: 40px; 
  }
  .gift-head h2 { 
    font-size: 36px; 
  }
  .gift-number { 
    font-size: 20px; 
    letter-spacing: 1px;
  }
  .gift-card-dark {
    padding: 20px 15px;
  }
  .btn-copy-dark {
    position: static;
    width: 100%;
    margin-top: 15px;
    justify-content: center;
  }
  .gift-card-body {
    padding-top: 30px;
  }
  .countdown div { 
    min-width: 60px; 
    padding: 12px 8px;
  }
  .countdown span { 
    font-size: 24px; 
  }
  .couple-frame {
    width: 220px;
  }
  .event-card,
  .couple-card,
  .quote-box {
    padding: 30px 20px;
  }
  .wishes-form,
  .rsvp-form {
    padding: 20px 15px;
  }
  .streaming-header h2 {
    font-size: 32px;
  }
  .live-badge {
    font-size: 12px;
    padding: 5px 12px;
  }
}

/* ===== Utility Classes ===== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.hidden {
  display: none !important;
}

/* ===== Print Styles ===== */
@media print {
  .floating-nav,
  .music-btn,
  .loader,
  .opening {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .section {
    page-break-inside: avoid;
  }
}

