/* ============================================================
   ROOT
============================================================ */
:root {
  --color-base: #F2F1EC;
  --color-base-100: #E8E6DF;
  --color-base-200: #D1CBBF;
  --color-base-content: #404040;
  --color-primary: #746138;
  --color-primary-content: #fff;
  --radius-box: 18px;
  --radius-button: 8px;
  --font-primary: 'Be Vietnam Pro', sans-serif;
  --font-title: 'Playfair Display', serif;
  --font-script: 'Dancing Script', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-primary);
  background: var(--color-base);
  color: var(--color-base-content);
  line-height: 1.6;
  overflow-x: hidden;
}

body.locked { overflow: hidden; height: 100vh; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.hidden { display: none !important; }

.font-title { font-family: var(--font-title); }
.font-script { font-family: var(--font-script); }
.font-primary { font-family: var(--font-primary); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-white { color: #fff; }
.font-bold { font-weight: 600; }
.mb-4 { margin-bottom: 1rem; }

.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.container-xsmall { max-width: 580px; margin: 0 auto; padding: 0 20px; }

/* ============================================================
   PRELOAD COVER — iOS 27 UNLOCK
============================================================ */
.preload-cover {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  transform: translateY(0) scale(1);
  opacity: 1;
  transition:
    transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.9s ease,
    visibility 0s linear 0.9s;
}

.preload-cover.hide {
  transform: translateY(-100%) scale(0.9);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cover-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.cover-bg-blur {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(30px) brightness(0.7);
  transform: scale(1.1);
  z-index: 0;
}

.cover-bg-main {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  z-index: 1;
  animation: slowZoomContain 20s ease-in-out infinite alternate;
}

@keyframes slowZoomContain {
  from { transform: scale(1); }
  to   { transform: scale(1.03); }
}

.cover-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.6) 25%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.15) 75%,
    rgba(0, 0, 0, 0.25) 100%
  );
}

.deco-text {
  position: absolute;
  top: 40px;
  left: 20px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  line-height: 1.6;
  max-width: 130px;
}
.deco-text p { margin-bottom: 14px; font-style: italic; }
.deco-text .deco-year {
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.1em;
}

.cover-content {
  position: relative;
  z-index: 3;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 0 30px 30px;
  text-align: center;
  color: #fff;
}

.save-the-date {
  position: relative;
  display: block;
  margin: 0 auto 25px;
  line-height: 0.85;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  text-align: center;
  width: fit-content;
}

.std-save, .std-date {
  display: block;
  font-size: clamp(3.5rem, 13vw, 5.5rem);
  letter-spacing: -0.01em;
  line-height: 0.85;
  color: #fff;
  text-align: center;
  padding: 0;
}

.std-the {
  position: absolute;
  top: 60%;
  left: -1.3em;
  transform: translateY(-50%) rotate(-12deg);
  font-family: 'Dancing Script', cursive;
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.cover-names {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 4vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.28em;
  margin-bottom: 22px;
  color: #fff;
}

.invite-guest {
  text-align: center;
  margin-bottom: 25px;
}

.invite-label {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.85rem, 3.5vw, 1rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}

.guest-name-box {
  display: inline-block;
  padding: 10px 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.guest-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 4.5vw, 1.5rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.date-row-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 380px;
  margin-bottom: 25px;
}
.date-label {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  white-space: nowrap;
  color: #fff;
}
.date-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
  min-width: 25px;
}
.date-big {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 11vw, 4rem);
  font-weight: 400;
  line-height: 1;
  color: #fff;
  padding: 0 4px;
}

.open-invitation-btn {
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: bounceSoft 2s infinite;
}
.open-invitation-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}
@keyframes bounceSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 480px) {
  .cover-content { padding: 0 22px 25px; }
  .deco-text { top: 30px; left: 16px; font-size: 0.7rem; max-width: 110px; }
  .date-row-cover { max-width: 320px; gap: 10px; }
  .std-the { left: -1.4em; }
}

@media (min-height: 800px) {
  .cover-content { padding-bottom: 50px; }
}

/* ============================================================
   WEDDING — iOS 27 HOME SCREEN ZOOM + SPRING BOUNCE
============================================================ */
#wedding {
  opacity: 0;
  transform: scale(0.85);
  transform-origin: center center;
  transition:
    opacity 1s ease 0.15s,
    transform 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s;
}

#wedding.show {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================
   ABOUT
============================================================ */
.section-about { padding: 60px 0; }
.section-title h2 { font-size: 1.5rem; margin-bottom: 30px; }

.about-item { margin-bottom: 50px; }
.about-media {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}
.media-img { width: 80%; }
.media-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.img-bride { border-radius: 120px 0 0 0; }
.img-groom { border-radius: 0 120px 0 0; }

.media-title { width: 20%; display: flex; justify-content: center; }

.rotated-text {
  transform: rotate(90deg);
  font-family: var(--font-script);
  font-size: 1.9rem;
  color: var(--color-primary);
  white-space: nowrap;
}

.about-content { width: 80%; }
.about-item.reverse .about-content { margin-left: auto; text-align: right; }
.about-content h3 { font-size: 1.8rem; margin-bottom: 10px; }
.about-content p { margin-bottom: 12px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-button);
  color: var(--color-primary);
  font-size: 0.9rem;
  transition: all 0.3s;
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }

/* ===== THE BRIDE — SLIDE IN KHI MỞ THIỆP ===== */
.about-item:not(.reverse) .media-title {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 1s ease 0.5s,
    transform 1.3s cubic-bezier(0.25, 0.8, 0.25, 1) 0.5s;
}
body.unlocked .about-item:not(.reverse) .media-title {
  opacity: 1;
  transform: translateX(0);
}

/* ===== THE GROOM — ẢNH ZOOM + TEXT SLIDE KHI CUỘN TỚI ===== */

/* Contain layout để không ảnh hưởng scrollHeight bên ngoài */
.about-item.reverse {
  contain: layout style;
}

.about-item.reverse .media-img {
  opacity: 0;
  transform: scale(0.7);
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition:
    opacity 1.5s ease,
    transform 2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.about-item.reverse.in-view .media-img {
  opacity: 1;
  transform: scale(1);
}

.about-item.reverse .media-title {
  opacity: 0;
  transform: translateX(-50px);
  will-change: transform, opacity;
  transition:
    opacity 1.2s ease 0.3s,
    transform 1.5s cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s;
}

.about-item.reverse.in-view .media-title {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   STORY
============================================================ */
.section-story { position: relative; }
.story-grid { display: block; }

/* ===== ẢNH BÌA STICKY CHO MOBILE — TỈ LỆ 16:9 ===== */
.story-mobile-cover {
  position: sticky;
  top: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: url('images/story-bg.jpg') center/cover no-repeat;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.story-mobile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.story-mobile-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 12px 20px;
}

.story-mobile-text .sub-title {
  font-family: var(--font-script);
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: #fff;
}

.story-mobile-text h2 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: #fff;
}

.timeline-list {
  position: relative;
  z-index: 5;
  background: var(--color-base);
}

.timeline-inner {
  position: relative;
  max-width: 580px;
  margin: 0 auto;
  padding: 80px 20px;
}

.timeline-line {
  position: absolute;
  top: 110px;
  bottom: 110px;
  left: 30px;
  width: 1px;
  background: var(--color-primary);
  opacity: 0.5;
}

.timeline-item {
  position: relative;
  padding-left: 50px;
  margin-bottom: 40px;
}

.tl-dot {
  position: absolute;
  left: 20px;
  top: 22px;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.tl-dot-inner {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 10px;
  animation: pulse 2s infinite;
}

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

.tl-content {
  position: relative;
  border-radius: var(--radius-box);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: auto;
}

.tl-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
}

.tl-body {
  position: relative;
  padding: 18px;
}

.tl-date {
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.tl-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.tl-desc {
  font-style: italic;
  font-size: 0.85rem;
  line-height: 1.6;
}

.story-bg-wrap { position: relative; display: none; }
.story-bg {
  height: 100vh;
  background: url('images/story-bg.jpg') center/cover;
  position: relative;
}
.story-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}
.story-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}
.story-bg-text .sub-title { font-size: 1.3rem; }
.story-bg-text h2 { font-size: 2rem; }

/* Desktop */
@media (min-width: 1024px) {
  .story-mobile-cover { display: none; }

  .story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .story-bg-wrap { display: block; }

  .timeline-inner {
    padding: 160px 40px;
  }
  .timeline-line {
    left: 40px;
    top: 180px;
    bottom: 180px;
  }
  .timeline-item {
    padding-left: 70px;
    margin-bottom: 60px;
  }
  .tl-dot {
    left: 30px;
    top: 24px;
    width: 22px;
    height: 22px;
  }
  .tl-dot-inner {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }
  .tl-content {
    min-height: 200px;
  }
  .tl-body {
    padding: 24px;
  }
  .tl-body h3 {
    font-size: 1.4rem;
  }
  .tl-desc {
    font-size: 0.95rem;
  }
}

/* ============================================================
   ALBUM
============================================================ */
.section-album { padding: 60px 0; overflow: hidden; }
.album-header { padding: 0 20px; max-width: 700px; margin: 0 auto; }
.album-header .section-title h2 { font-size: 1.8rem; margin-bottom: 10px; }

.albumSwiper { margin-top: 40px; padding-bottom: 40px; }
.albumSwiper .swiper-slide {
  width: 220px;
  aspect-ratio: 1;
  border-radius: var(--radius-box);
  overflow: hidden;
}
.albumSwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   INVITATION + COUNTDOWN
============================================================ */
.section-invitation { position: relative; }
.invite-grid { display: block; }

.countdown-col { position: relative; }
.countdown-sticky {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: 30px 20px;
  overflow: hidden;
}
.countdown-bg { position: absolute; inset: 0; }
.countdown-bg img { width: 100%; height: 100%; object-fit: cover; }
.countdown-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #fff 0%, transparent 40%);
}
.countdown-content { position: relative; z-index: 1; width: 100%; }
.countdown-timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 20px 0;
}
.cd-box {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-button);
  padding: 16px 8px;
  text-align: center;
}
.cd-num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
}
.cd-label { font-size: 0.8rem; }
.cd-desc { max-width: 480px; margin: 0 auto; text-align: center; }

.invitation-col { padding: 40px 20px; }

.invitation-card {
  background: linear-gradient(to top, var(--color-base-200), var(--color-base-100));
  border-radius: 999px 999px var(--radius-box) var(--radius-box);
  padding: 60px 20px 40px;
  text-align: center;
  margin: 30px 0;
}
.inv-title h4 { font-size: 1.5rem; }
.inv-time { font-size: 1.5rem; font-weight: 700; margin: 15px 0; }
.inv-date-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 20px 0;
}
.inv-day { font-size: 4.5rem; line-height: 1; color: var(--color-primary); }
.inv-divider { width: 1px; height: 80px; background: var(--color-primary); }
.inv-date-details { text-align: left; }
.inv-location { margin-top: 30px; }
.loc-icon svg { margin: 0 auto 15px; }
.inv-location .loc-name { font-size: 1.5rem; margin-bottom: 6px; }
.inv-location .loc-address { margin-bottom: 20px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-button);
  transition: all 0.3s;
}
.btn-primary:hover { background: #5a4930; }

.events-block { margin-top: 60px; text-align: center; }
.events-block h2 { font-size: 1.8rem; margin-bottom: 30px; color: var(--color-primary); }
.events-list { position: relative; text-align: left; }
.events-line {
  position: absolute;
  left: 20%;
  margin-left: 8px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-primary);
}
.event-item { display: flex; gap: 30px; margin-bottom: 40px; }
.event-time { flex-basis: 20%; font-weight: 700; font-size: 1.1rem; }
.event-desc { flex-basis: 80%; }
.event-desc .font-bold { font-size: 1.1rem; margin-bottom: 6px; }

.dresscode-block { text-align: center; padding: 30px 0; }
.dresscode-block h2 { font-size: 1.8rem; margin-bottom: 20px; }
.dc-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.dc-colors { display: flex; align-items: center; margin-left: -15px; }
.dc-color {
  width: 55px;
  height: 55px;
  border-radius: 20px 0 0 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-left: -15px;
  border: 2px solid #fff;
}

@media (min-width: 1024px) {
  .invite-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .countdown-sticky { min-height: 100vh; }
}

/* ============================================================
   RSVP
============================================================ */
.section-wish {
  position: relative;
  padding: 100px 0;
  background: url('images/wish-bg.jpg') center/cover;
  color: #fff;
}
.wish-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}
.section-wish .container {
  position: relative;
  z-index: 1;
  max-width: 480px;
}
.section-wish h2 { font-size: 1.8rem; margin-bottom: 30px; }

.rsvp-form { display: flex; flex-direction: column; gap: 20px; }
.form-group label { display: block; margin-bottom: 6px; }
.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-button);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  backdrop-filter: blur(6px);
}
.input::placeholder { color: rgba(255, 255, 255, 0.6); }
.textarea { resize: vertical; min-height: 100px; }
.select { appearance: none; cursor: pointer; }
.select option { color: #333; }

.btn-wish {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(116, 97, 56, 0.6);
  color: #fff;
  border-radius: var(--radius-button);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-wish:hover { background: var(--color-primary); }

.message {
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-button);
  text-align: center;
  font-style: italic;
  color: #4ade80;
}

.wish-list {
  margin-top: 40px;
  max-height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.wish-item { padding-bottom: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.wish-item h4 { font-weight: 600; margin-bottom: 4px; }
.wish-item p { font-style: italic; opacity: 0.9; }

/* ============================================================
   THANK YOU
============================================================ */
.section-thankyou {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.thanks-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: slowZoomThanks 25s ease-in-out infinite alternate;
}
@keyframes slowZoomThanks {
  from { transform: scale(1); }
  to   { transform: scale(1.1); }
}

.thanks-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.thanks-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 20px;
  max-width: 480px;
}
.thanks-inner { text-align: center; }
.thanks-inner h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.thanks-inner p {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   MUSIC + GIFT
============================================================ */
.module-music {
  position: fixed;
  top: 40px;
  right: 25px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease 1s;
}
body.unlocked .module-music {
  opacity: 1;
  pointer-events: auto;
}

.module-gift {
  position: fixed;
  bottom: 80px;
  right: 25px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease 1s;
}
body.unlocked .module-gift {
  opacity: 1;
  pointer-events: auto;
}

.btn-music {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #ec4899, #818cf8);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  font-size: 18px;
}

.btn-music.playing {
  background: rgba(232, 230, 223, 0.25);
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.btn-music.playing i {
  animation: heartBeat 1.3s ease-in-out infinite;
}

@keyframes heartBeat {
  0%   { transform: scale(1); }
  14%  { transform: scale(1.3); }
  28%  { transform: scale(1); }
  42%  { transform: scale(1.3); }
  70%  { transform: scale(1); }
  100% { transform: scale(1); }
}

.btn-gift {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #ef4444, #fed7aa);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: bounceSoft 2s infinite;
}

.modal-gift-content {
  border-radius: var(--radius-box) !important;
  padding: 30px !important;
  max-width: 600px;
}
.gift-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.gift-card {
  text-align: center;
  padding: 20px;
  background: var(--color-base);
  border-radius: var(--radius-box);
}
.gift-card h4 { margin-bottom: 12px; color: var(--color-primary); }
.gift-card img {
  width: 180px;
  margin: 0 auto 12px;
  background: #fff;
  padding: 8px;
  border-radius: 8px;
}
.gift-card p { font-size: 0.95rem; margin-bottom: 4px; }

@media (min-width: 640px) {
  .gift-grid { grid-template-columns: 1fr 1fr; }
}