:root {
  --primary: #d4a574;
  --secondary: #8b7355;
  --accent: #e8c4a0;
  --dark: #2c2416;
  --light: #f9f6f1;
  --gradient: linear-gradient(135deg, #d4a574 0%, #c9965f 50%, #b88552 100%);
  --gradient-reverse: linear-gradient(135deg, #b88552 0%, #c9965f 50%, #d4a574 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
}

body {
  font-size: 1.2rem;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html {
  overflow-x: hidden;
}

* {
  scroll-behavior: smooth;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(img/bg-prewed.jpg);
  background-size: cover;
  background-position: center;
  z-index: -1;
  filter: brightness(0.7);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.3) 0%, rgba(44, 36, 22, 0.5) 100%);
  z-index: -1;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero h1,
.hero h4,
.hero p {
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(to right, #fff, #d4a574);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h4 {
  font-size: clamp(1rem, 3vw, 1.6rem);
  font-weight: 300;
  letter-spacing: 1px;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 300;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero a {
  color: white;
  background: var(--gradient);
  box-shadow: var(--shadow-md);
  border: none;
  padding: clamp(12px, 3vw, 15px) clamp(30px, 5vw, 40px);
  border-radius: 50px;
  font-weight: 500;
  font-size: clamp(0.9rem, 2vw, 1rem);
  letter-spacing: 1px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.hero a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-reverse);
  transition: left 0.4s ease;
  z-index: -1;
}

.hero a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.hero a:hover::before {
  left: 0;
}

.mynavbar {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.mynavbar .offcanvas {
  height: 100vh;
  background: linear-gradient(135deg, rgba(249, 246, 241, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.mynavbar .navbar-brand,
.mynavbar .offcanvas-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mynavbar .nav-link {
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 0 5px;
  padding: 8px 16px !important;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
}

.mynavbar .nav-link:hover {
  background: var(--gradient);
  color: white !important;
  transform: translateY(-2px);
}

.mynavbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.mynavbar .nav-link:hover::after {
  width: 60%;
}

.home {
  background: linear-gradient(to bottom, var(--light) 0%, #ffffff 50%, var(--light) 100%);
  margin-top: -6rem;
  padding-top: 10rem;
  padding-bottom: 5rem;
  position: relative;
}

.home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(img/bg.png);
  background-size: cover;
  opacity: 0.03;
  z-index: 0;
}

.home > .container {
  position: relative;
  z-index: 1;
}

.home h2,
.info h2,
.story h2,
.gallery h2,
.rsvp h2,
.gifts h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.home h2::after,
.info h2::after,
.story h2::after,
.gallery h2::after,
.rsvp h2::after,
.gifts h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px;
}

.home h3 {
  color: var(--secondary);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  margin-bottom: 1rem;
  font-weight: 500;
}

.home p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
}

.home .couple {
  margin-top: 100px;
}

.home .couple h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.home .couple img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 5px solid white;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s ease;
  position: relative;
}

.home .couple img:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 12px 40px rgba(212, 165, 116, 0.4);
}

.home .couple .row {
  padding: 20px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.home .couple .row:hover {
  background: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-md);
}

.home .heart {
  width: 70px;
  height: 70px;
  background: white;
  display: flex;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(65px);
  border: 3px solid var(--primary);
  animation: heartbeat 1.5s ease-in-out infinite;
  z-index: 10;
}

.home .heart i {
  margin: auto;
  font-size: 2rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes heartbeat {
  0%, 100% {
    transform: translateX(-50%) translateY(65px) scale(1);
  }
  50% {
    transform: translateX(-50%) translateY(65px) scale(1.1);
  }
}

.info {
  background: linear-gradient(135deg, var(--dark) 0%, #3d3226 50%, var(--dark) 100%);
  color: white;
  padding-top: 10rem;
  padding-bottom: 8rem;
  position: relative;
}

.info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a574' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

.info .container {
  position: relative;
  z-index: 1;
}

.info .alamat {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.info .description {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  opacity: 0.9;
}

.info .card {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
  color: white !important;
  border: 1px solid rgba(212, 165, 116, 0.3);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.info .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(212, 165, 116, 0.3);
  background: rgba(255, 255, 255, 0.15) !important;
}

.info .card-header {
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  font-weight: 600;
  font-size: 1.3rem;
  padding: 1.5rem;
  background: var(--gradient);
  border: none;
}

.info .card-body {
  font-size: 1.1rem;
  padding: 2rem;
}

.info .card-body i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.info .card-footer {
  font-size: 0.95rem;
  font-weight: 300;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  line-height: 1.6;
  border: none;
}

.story,
.gallery,
.rsvp,
.gifts {
  padding-top: 10rem;
  padding-bottom: 8rem;
}

.story {
  background: linear-gradient(to bottom, #ffffff 0%, var(--light) 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.story::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23d4a574' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 1;
  z-index: 0;
}

.story .container {
  position: relative;
  z-index: 1;
}

/* Story Timeline Modern Design */
.story-timeline {
  position: relative;
  padding: 2rem 0;
}

.story-item {
  position: relative;
  margin-bottom: 6rem;
}

.story-number {
  position: absolute;
  left: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  font-family: 'Playfair Display', serif;
}

.story-content {
  background: white;
  border-radius: 25px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.story-content:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.story-content::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: var(--gradient);
  border-radius: 25px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.story-content:hover::before {
  opacity: 0.1;
}

.story-image-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}

.story-image {
  width: 100%;
  height: 350px;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
}

.story-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.3) 0%, rgba(44, 36, 22, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.story-content:hover .story-image::after {
  opacity: 1;
}

.story-content:hover .story-image {
  transform: scale(1.05);
}

.story-image-decoration {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100px;
  height: 100px;
  background: var(--gradient);
  border-radius: 50%;
  opacity: 0.2;
  z-index: -1;
}

.story-text {
  padding: 1rem 0;
}

.story-date {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.15) 0%, rgba(212, 165, 116, 0.05) 100%);
  padding: 12px 28px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(212, 165, 116, 0.3);
}

.story-date i {
  font-size: 1.2rem;
  display: flex;
  flex-shrink: 0;
}

.story-date span {
  display: flex;
  align-items: center;
}

.story-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.story-text p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 1.5rem;
}

.story-divider {
  width: 60px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

.text-md-end .story-divider {
  margin-left: auto;
}

/* Story Final */
.story-final {
  text-align: center;
  margin-top: 4rem;
}

.story-final-content {
  background: var(--gradient);
  padding: 3rem 2rem;
  border-radius: 25px;
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.story-final-content::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

.story-final-content i {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  display: block;
  animation: heartbeat 1.5s ease-in-out infinite;
  color: white;
  position: relative;
  z-index: 1;
  line-height: 1;
}

.story-final-content h4 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding-top: 0;
}

.story-final-content p {
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
}

/* AOS Animation Support */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
}

.story span,
.gallery span,
.gifts span {
  text-transform: uppercase;
  color: var(--secondary);
  font-size: 0.95rem;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 1.5rem;
  font-weight: 500;
  position: relative;
}

.story span::before,
.gallery span::before,
.gifts span::before {
  content: '❖';
  margin-right: 10px;
  color: var(--primary);
}

.story span::after,
.gallery span::after,
.gifts span::after {
  content: '❖';
  margin-left: 10px;
  color: var(--primary);
}

.story p,
.gallery p,
.rsvp p,
.gifts p {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
  color: #555;
}

.gallery {
  background: linear-gradient(to bottom, #fafafa 0%, var(--light) 50%, #fafafa 100%);
  position: relative;
}

.gallery .row .col {
  padding: 10px;
}

.gallery .row .col a {
  display: block;
  overflow: hidden;
  border-radius: 15px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.gallery .row .col a:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.gallery .row .col a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.4) 0%, rgba(139, 115, 85, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.gallery .row .col a:hover::before {
  opacity: 1;
}

.gallery .row .col img {
  transition: all 0.4s ease;
}

.gallery .row .col a:hover img {
  transform: scale(1.1);
}

.rsvp {
  background: linear-gradient(135deg, var(--dark) 0%, #3d3226 50%, var(--dark) 100%);
  position: relative;
}

.rsvp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a574' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

.rsvp .container {
  position: relative;
  z-index: 1;
}

.rsvp h2 {
  font-size: 4.5rem;
  color: white !important;
  -webkit-text-fill-color: white !important;
}

.rsvp h2::after {
  background: white;
}

.rsvp p {
  color: rgba(255, 255, 255, 0.9);
}

.rsvp form label {
  color: white;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.rsvp form .form-control,
.rsvp form .form-select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(212, 165, 116, 0.3);
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.rsvp form .form-control:focus,
.rsvp form .form-select:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(212, 165, 116, 0.25);
  color: white;
}

.rsvp form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.rsvp form .form-select option {
  background: var(--dark);
  color: white;
}

.rsvp button {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 12px 40px;
  border-radius: 50px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.rsvp button:hover {
  background: var(--gradient-reverse);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: white;
}

footer {
  padding: 3rem;
  background: var(--gradient);
  color: white;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: footerShine 15s linear infinite;
}

@keyframes footerShine {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

footer .container {
  position: relative;
  z-index: 1;
}

footer a {
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  color: var(--dark);
  transform: translateY(-2px);
}

footer li {
  list-style: none;
  display: inline;
  margin: 0.5rem;
}

footer li a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

footer li a:hover {
  background: white;
  transform: translateY(-5px) rotate(360deg);
}

footer li a i {
  font-size: 1.2rem;
}

.audio-icon-wrapper {
  width: 4rem;
  height: 4rem;
  font-size: 4rem;
  position: fixed;
  bottom: 2.5rem;
  right: 2rem;
  cursor: pointer;
  color: white;
  opacity: 0.5;
  mix-blend-mode: difference;
  animation: rotating 4s linear infinite;
  transform-origin: center;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
}

.gifts {
  background: linear-gradient(to bottom, #ffffff 0%, var(--light) 50%, #ffffff 100%);
  position: relative;
}

/* Gift Card Styling */
.gift-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  position: relative;
}

.gift-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  padding: 2px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gift-card:hover::before {
  opacity: 1;
}

.gift-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(212, 165, 116, 0.3);
}

.gift-card-header {
  background: var(--gradient);
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gift-card-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.bank-logo {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.bank-logo i {
  font-size: 2.5rem;
}

.bca-logo i {
  background: linear-gradient(135deg, #003d7a 0%, #0059b3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mandiri-logo i {
  background: linear-gradient(135deg, #003d7a 0%, #0066cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wallet-logo i {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gift-card-header h4 {
  color: white;
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

.gift-card-body {
  padding: 2rem 1.5rem;
}

.account-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
  font-family: 'Courier New', monospace;
}

.account-name {
  font-size: 1.1rem;
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 1px;
}

.gift-card-footer {
  padding: 0 1.5rem 1.5rem;
}

.btn-copy {
  width: 100%;
  padding: 12px 20px;
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
  letter-spacing: 0.5px;
}

.btn-copy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.5);
  background: var(--gradient-reverse);
}

.btn-copy:active {
  transform: translateY(0);
}

.btn-copy i {
  margin-right: 5px;
}

/* Digital Wallet Card */
.gift-card.digital-wallet .gift-card-body {
  padding: 1.5rem;
}

.qr-code-container {
  background: white;
  padding: 1rem;
  border-radius: 15px;
  display: inline-block;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.qr-code {
  width: 200px;
  height: 200px;
  border-radius: 10px;
  display: block;
}

.qr-instruction {
  color: var(--secondary);
  font-size: 0.95rem;
  margin: 0;
  font-weight: 500;
}

/* Gift Note */
.gift-note {
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(212, 165, 116, 0.05) 100%);
  border-radius: 20px;
  padding: 2rem;
  border: 2px dashed var(--primary);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.gift-note::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.gift-note i {
  font-size: 2rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  display: block;
  animation: heartbeat 1.5s ease-in-out infinite;
}

.gift-note p {
  color: var(--secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
  position: relative;
  z-index: 1;
  font-style: italic;
}

@keyframes rotating {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Media Query */
/* Extra large */
@media (max-width: 1200px) {
  .home .heart {
    transform: translateX(-50%) translateY(45px);
  }
}

/* laptop */
@media (max-width: 992px) {
  html {
    font-size: 75%;
  }

  .simply-countdown > .simply-section {
    padding: 60px 50px;
  }

  .hero h1 {
    font-size: 4.5rem;
  }

  .home .couple {
    margin-top: 70px;
  }

  .home .couple .col-lg-6:first-child {
    margin-bottom: 3rem;
  }

  .home .heart {
    display: none;
  }

  /* Story Timeline Responsive */
  .story-number {
    position: static;
    transform: none;
    margin: 0 auto 2rem;
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
  }

  .story-image {
    height: 320px;
  }

  .story-text.text-md-end {
    text-align: left !important;
  }

  .text-md-end .story-divider {
    margin-left: 0;
  }

  .info .card {
    margin-bottom: 2rem;
  }
}

/* tablet */
@media (max-width: 768px) {
  html {
    font-size: 65%;
  }

  .simply-countdown > .simply-section {
    padding: 50px 40px;
    margin: 5px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .mynavbar .nav-link {
    font-size: 1.5rem;
    text-align: center;
    margin: 0.5rem 0;
  }

  .sticky-top {
    overflow: hidden;
  }

  .home,
  .info,
  .story,
  .gallery,
  .rsvp,
  .gifts {
    padding-top: 7rem;
    padding-bottom: 5rem;
  }

  .home .couple {
    margin-top: 60px;
  }

  .story-content {
    padding: 2rem 1.5rem;
  }

  .story-image {
    height: 280px;
  }

  .story-item {
    margin-bottom: 4rem;
  }

  .gift-card {
    margin-bottom: 2rem;
  }
}

/* mobile phone */
@media (max-width: 576px) {
  html {
    font-size: 62.5%;
  }

  body {
    font-size: 1rem;
  }

  .simply-countdown > .simply-section {
    padding: 35px 25px;
    margin: 3px;
  }

  .hero {
    padding: 1rem;
    min-height: 100vh;
  }

  .hero h1 {
    font-size: 3rem;
    line-height: 1.2;
  }

  .hero h4 {
    font-size: 1rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero a {
    padding: 10px 25px;
    font-size: 0.9rem;
  }

  .home,
  .info,
  .story,
  .gallery,
  .rsvp,
  .gifts {
    padding-top: 5rem;
    padding-bottom: 4rem;
  }

  .home {
    padding-top: 10rem;
  }

  .home .couple {
    margin-top: 50px;
  }

  .home .couple .col-lg-6 {
    margin-bottom: 3rem;
  }

  .home .couple .row {
    padding: 10px;
  }

  .story-content {
    padding: 1.5rem 1rem;
  }

  .story-image {
    height: 200px;
    margin-bottom: 1rem;
  }

  .story-text {
    padding: 0.5rem 0;
  }

  .story-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .story-item {
    margin-bottom: 3rem;
  }

  .story-final-content {
    padding: 2rem 1rem;
  }

  .story-final-content i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .gift-card-body {
    padding: 1.5rem 1rem;
  }

  .account-number {
    font-size: 1.4rem;
  }

  .rsvp form .col-12 {
    width: 100%;
    max-width: 100%;
  }

  .info iframe {
    height: 200px;
  }
}
