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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Amiri', serif;
  background: #F9F9F9;
  color: #6D5347;
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 16px;
}

.hidden {
  display: none !important;
}

.cover-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #F9F9F9;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  overflow: hidden;
}

.cover-bg-ornament {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(200, 158, 118, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(239, 150, 116, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(70, 114, 107, 0.05) 0%, transparent 60%);
  z-index: 0;
}

.cover-corner {
  position: absolute;
  width: 120px;
  height: 120px;
  z-index: 1;
  pointer-events: none;
}

.cover-corner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cover-corner.corner-tl {
  top: -20px;
  left: -20px;
}

.cover-corner.corner-tr {
  top: -20px;
  right: -20px;
  transform: scaleX(-1);
}

.cover-corner.corner-bl {
  bottom: 60px;
  left: -20px;
  transform: scaleY(-1);
}

.cover-corner.corner-br {
  bottom: 60px;
  right: -20px;
  transform: scale(-1, -1);
}

.cover-content {
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 100%;
  position: relative;
  z-index: 2;
}

.cover-ornament-top,
.cover-ornament-bottom {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.cover-ornament-top img,
.cover-ornament-bottom img {
  width: 100%;
  height: auto;
}

.cover-subtitle {
  font-family: 'Averia Serif Libre', serif;
  font-size: 1rem;
  letter-spacing: 4px;
  color: #6D5347;
  margin: 1.5rem 0 0.8rem;
  text-transform: uppercase;
}

.cover-names {
  font-family: 'Great Vibes', cursive;
  font-size: 4rem;
  color: #6D5347;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.cover-date {
  font-family: 'Amiri', serif;
  font-size: 1.2rem;
  color: #6D5347;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.guest-name {
  background: rgba(200, 158, 118, 0.15);
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  margin-bottom: 1.5rem;
  font-style: italic;
  color: #6D5347;
  font-size: 1rem;
  border: 1px solid rgba(200, 158, 118, 0.3);
}

.btn-open {
  background: #6D5347;
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Averia Serif Libre', serif;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-open:hover {
  background: #46726B;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(109, 83, 71, 0.25);
}

.btn-icon {
  font-size: 1.1rem;
}

.shape-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}

.shape-divider svg {
  width: 100%;
  height: 80px;
  display: block;
}

.shape-divider-top {
  top: 0;
  bottom: auto;
  transform: rotate(180deg);
}

.corner-ornament {
  position: absolute;
  width: 100px;
  height: 100px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
}

.corner-ornament img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.corner-ornament.corner-tl {
  top: 10px;
  left: 10px;
}

.corner-ornament.corner-tr {
  top: 10px;
  right: 10px;
  transform: scaleX(-1);
}

.corner-ornament.corner-bl {
  bottom: 100px;
  left: 10px;
  transform: scaleY(-1);
}

.corner-ornament.corner-br {
  bottom: 100px;
  right: 10px;
  transform: scale(-1, -1);
}

section {
  position: relative;
  overflow: hidden;
}

.section-light {
  background: #F9F9F9;
  padding: 5rem 1.5rem 7rem;
}

.section-gold {
  background: #C89E76;
  padding: 0;
}

.section-gold .section-container {
  background: #C89E76;
  border-radius: 0 0 22px 22px;
  position: relative;
  padding: 4rem 1.5rem 6rem;
}

.section-gold-footer {
  background: #C89E76;
  padding: 4rem 1.5rem;
  text-align: center;
}

.section-inner {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

.section-title-script {
  font-family: 'Great Vibes', cursive;
  font-size: 3.2rem;
  color: #6D5347;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.08);
}

.section-gold .section-title-script {
  color: #FFFFFF;
}

.section-subtitle {
  font-family: 'Averia Serif Libre', serif;
  font-size: 1.15rem;
  color: #6D5347;
  font-style: italic;
  margin-bottom: 2rem;
}

.section-gold .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.divider-line {
  width: 80px;
  height: 1px;
  background: #C89E76;
  margin: 1rem auto;
}

.divider-line.short {
  width: 50px;
}

.section-light .divider-line {
  background: #C89E76;
}

.section-gold .divider-line {
  background: rgba(255, 255, 255, 0.5);
}

.arabic {
  font-size: 1.8rem;
  line-height: 2.2;
  color: #6D5347;
  margin-bottom: 1.5rem;
  direction: rtl;
  font-family: 'Amiri', serif;
}

.section-gold .arabic {
  color: #FFFFFF;
}

.translation {
  font-size: 1.05rem;
  line-height: 1.9;
  font-style: italic;
  color: #6D5347;
  max-width: 100%;
  margin: 0 auto 1rem;
}

.section-light .translation {
  color: #6D5347;
}

.reference {
  font-family: 'Averia Serif Libre', serif;
  font-weight: 400;
  color: #C89E76;
  font-style: italic;
  font-size: 1.05rem;
}

.section-gold .reference {
  color: rgba(255, 255, 255, 0.8);
}

.section-ayat {
  padding: 5rem 1.5rem;
}

.couple-intro {
  font-family: 'Amiri', serif;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  max-width: 100%;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

.couple-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 100%;
  margin: 0 auto;
}

.couple-item {
  text-align: center;
  position: relative;
}

.couple-photo-frame {
  position: relative;
  width: 160px;
  height: 220px;
  margin: 0 auto 1.2rem;
}

.arch-frame-bg {
  position: absolute;
  top: -15px;
  left: -25px;
  width: 210px;
  height: 250px;
  z-index: 0;
  opacity: 0.7;
}

.couple-photo {
  position: relative;
  z-index: 1;
  width: 160px;
  height: 220px;
  object-fit: cover;
  border-radius: 200px 200px 200px 200px;
  box-shadow: 0 0 0 4px #305E71;
}

.couple-name-script {
  font-family: 'Great Vibes', cursive;
  font-size: 2.5rem;
  color: #FFFFFF;
  margin-bottom: 0.3rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
}

.couple-separator {
  font-family: 'Great Vibes', cursive;
  font-size: 2.5rem;
  color: #FFFFFF;
  opacity: 0.8;
}

.child-of {
  font-family: 'Cormorant Infant', serif;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.parents {
  font-family: 'Amiri', serif;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: 1rem;
}

.countdown-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.5rem;
  min-width: 80px;
}

.countdown-item span:first-child {
  font-family: 'Jomolhari', serif;
  font-size: 2.5rem;
  color: #6D5347;
  line-height: 1;
}

.countdown-item span:last-child {
  font-family: 'Amiri', serif;
  font-size: 0.95rem;
  color: #C89E76;
  margin-top: 0.5rem;
  font-style: italic;
}

.btn-primary {
  display: inline-block;
  background: #6D5347;
  color: white;
  padding: 0.7rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 1rem;
  transition: all 0.3s ease;
  font-family: 'Averia Serif Libre', serif;
  font-size: 0.9rem;
}

.btn-primary:hover {
  background: #46726B;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  background: #C89E76;
  color: white;
  padding: 0.6rem 1.8rem;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 0.8rem;
  transition: all 0.3s ease;
  font-family: 'Averia Serif Libre', serif;
  font-size: 0.9rem;
}

.btn-secondary:hover {
  background: #46726B;
  transform: translateY(-2px);
}

.section-gold .btn-secondary {
  background: #6D5347;
}

.section-gold .btn-secondary:hover {
  background: #46726B;
}

.events-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 100%;
  margin: 2rem auto;
}

.event-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
}

.event-card h4 {
  font-family: 'Great Vibes', cursive;
  font-size: 2.2rem;
  color: #6D5347;
  margin-bottom: 0.5rem;
}

.event-date {
  font-family: 'Amiri', serif;
  font-weight: 500;
  color: #6D5347;
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.event-time {
  font-family: 'Amiri', serif;
  color: #C89E76;
  margin-bottom: 0.3rem;
  font-style: italic;
  font-size: 1rem;
}

.event-location {
  font-family: 'Amiri', serif;
  color: #6D5347;
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 1rem;
}

.maps-container {
  max-width: 100%;
  margin: 2rem auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 83px -39px rgba(0, 0, 0, 0.5);
  background: #FFFFFF;
}

.maps-container iframe {
  display: block;
}

.story-intro {
  font-family: 'Amiri', serif;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  max-width: 100%;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.story-timeline {
  max-width: 100%;
  margin: 0 auto;
}

.story-item {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  text-align: left;
}

.story-item h4 {
  font-family: 'Great Vibes', cursive;
  font-size: 1.9rem;
  color: #6D5347;
  margin-bottom: 0.3rem;
}

.story-item .date {
  font-family: 'Amiri', serif;
  font-size: 0.95rem;
  color: #C89E76;
  margin-bottom: 0.8rem;
  font-style: italic;
}

.story-item p {
  font-family: 'Amiri', serif;
  color: #6D5347;
  line-height: 1.8;
  font-size: 1rem;
}

.story-item img {
  width: 100%;
  border-radius: 5px;
  margin-top: 1rem;
}

.video-container {
  max-width: 100%;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 83px -39px rgba(0, 0, 0, 0.5);
  background: #FFFFFF;
}

.video-container iframe {
  aspect-ratio: 16/9;
  display: block;
}

.gallery-quote {
  font-family: 'Amiri', serif;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  max-width: 100%;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  max-width: 100%;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.8s ease;
}

.gallery-grid img:hover {
  opacity: 0.7;
  transform: scale(1.02);
}

.rsvp-form {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.rsvp-form label {
  font-family: 'Amiri', serif;
  font-size: 1.05rem;
  color: #6D5347;
  margin-top: 0.5rem;
}

.section-gold .rsvp-form label {
  color: #FFFFFF;
}

.rsvp-form input,
.wishes-form input,
.wishes-form textarea {
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 5px;
  font-family: 'Amiri', serif;
  font-size: 1rem;
  background: rgba(109, 83, 71, 0.44);
  color: #FFFFFF;
  transition: background 0.3s ease;
}

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

.section-light .rsvp-form input,
.section-light .wishes-form input,
.section-light .wishes-form textarea {
  background: rgba(109, 83, 71, 0.08);
  color: #6D5347;
  border: 1px solid rgba(200, 158, 118, 0.3);
}

.section-light .rsvp-form input::placeholder,
.section-light .wishes-form input::placeholder,
.section-light .wishes-form textarea::placeholder {
  color: rgba(109, 83, 71, 0.4);
}

.rsvp-form input:focus,
.wishes-form input:focus,
.wishes-form textarea:focus {
  outline: none;
  background: rgba(109, 83, 71, 0.55);
}

.section-light .rsvp-form input:focus,
.section-light .wishes-form input:focus,
.section-light .wishes-form textarea:focus {
  background: rgba(109, 83, 71, 0.12);
  border-color: #C89E76;
}

.wishes-form textarea {
  min-height: 120px;
  resize: vertical;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: 'Amiri', serif;
  color: #6D5347;
  font-size: 1rem;
}

.section-gold .radio-label {
  color: #FFFFFF;
}

.radio-label input[type="radio"] {
  accent-color: #C89E76;
  width: 16px;
  height: 16px;
}

.btn-submit {
  background: #6D5347;
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 0.9rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Amiri', serif;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: #46726B;
  transform: translateY(-2px);
}

.btn-submit-gold {
  background: #C89E76;
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 0.9rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Amiri', serif;
  margin-top: 0.5rem;
}

.btn-submit-gold:hover {
  background: #6D5347;
  transform: translateY(-2px);
}

.message {
  max-width: 100%;
  margin: 1rem auto;
  padding: 1rem;
  border-radius: 5px;
  display: none;
  font-family: 'Amiri', serif;
}

.message.success {
  background: rgba(70, 114, 107, 0.15);
  color: #305E71;
  display: block;
  border: 1px solid rgba(70, 114, 107, 0.3);
}

.message.error {
  background: rgba(239, 150, 116, 0.15);
  color: #6D5347;
  display: block;
  border: 1px solid rgba(239, 150, 116, 0.3);
}

.gift-intro {
  font-family: 'Amiri', serif;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  max-width: 100%;
  margin: 0 auto 2rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

.bank-accounts {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 100%;
  margin: 0 auto 2rem;
}

.bank-item {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
}

.bank-item img {
  height: 40px;
  margin-bottom: 0.8rem;
}

.bank-item .name {
  font-family: 'Amiri', serif;
  color: #6D5347;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.bank-item .number {
  font-family: 'Amiri', serif;
  font-size: 1.3rem;
  color: #6EC1E4;
  font-weight: 700;
  margin-bottom: 1rem;
}

.btn-copy {
  background: #6D5347;
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  font-family: 'Amiri', serif;
  font-style: italic;
}

.btn-copy:hover {
  background: #46726B;
}

.gift-address {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.gift-address h4 {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  color: #6D5347;
  margin-bottom: 0.8rem;
}

.gift-address p {
  font-family: 'Amiri', serif;
  color: #6D5347;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.wishes-intro {
  font-family: 'Amiri', serif;
  color: #6D5347;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.wishes-form {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.wishes-list {
  max-width: 100%;
  margin: 2rem auto 0;
  text-align: left;
}

.wish-item {
  background: rgba(200, 158, 118, 0.08);
  padding: 1.2rem;
  border-radius: 10px;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(200, 158, 118, 0.15);
}

.wish-item .name {
  font-family: 'Amiri', serif;
  font-weight: 700;
  color: #C89E76;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.wish-item .name::after {
  content: '';
  display: inline-block;
  background: #C89E76;
  color: white;
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

.wish-item .message {
  font-family: 'Amiri', serif;
  color: #6D5347;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: none;
  display: block;
  border: none;
  font-size: 1rem;
}

.wish-item .attendance {
  font-family: 'Amiri', serif;
  font-size: 0.8rem;
  color: #C89E76;
  margin-top: 0.3rem;
  font-style: italic;
}

.footer-title {
  font-family: 'Great Vibes', cursive;
  font-size: 3.2rem;
  color: #FFFFFF;
  margin-bottom: 0.3rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.footer-names {
  font-family: 'Great Vibes', cursive;
  font-size: 2.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-credit {
  margin-top: 2rem;
  font-family: 'Amiri', serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-credit a {
  color: #FFFFFF;
  text-decoration: none;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 5px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  z-index: 10;
}

.music-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #6D5347;
  border: 3px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(109, 83, 71, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  color: white;
}

.music-toggle:hover {
  background: #EF9674;
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(239, 150, 116, 0.5);
}

.music-toggle .music-icon-play,
.music-toggle .music-icon-pause {
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.music-toggle .music-icon-pause {
  opacity: 0;
  transform: scale(0.5);
}

.music-toggle.playing .music-icon-play {
  opacity: 0;
  transform: scale(0.5);
}

.music-toggle.playing .music-icon-pause {
  opacity: 1;
  transform: scale(1);
}

.music-toggle.playing {
  background: #46726B;
  border-color: rgba(255, 255, 255, 0.4);
}

.music-toggle.playing:hover {
  background: #EF9674;
}

@keyframes goyang1 {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(6deg) scale(1.18); }
  100% { transform: rotate(0deg) scale(1); }
}

@keyframes goyang2 {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(-6deg) scale(1.18); }
  100% { transform: rotate(0deg) scale(1); }
}

.goyang-1 {
  animation: goyang1 6s infinite linear;
}

.goyang-2 {
  animation: goyang2 5s infinite linear;
}

img.goyang-1,
img.goyang-2 {
  animation: goyang1 6s infinite linear;
}

img.goyang-2 {
  animation: goyang2 5s infinite linear;
}

.anim-fadeInUp {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.anim-fadeInUp.visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-bounceIn {
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 0.6s ease 0.1s, transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.1s;
}

.anim-bounceIn.visible {
  opacity: 1;
  transform: scale(1);
}

.anim-zoomIn {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.anim-zoomIn.visible {
  opacity: 1;
  transform: scale(1);
}

@media (min-width: 768px) {
  .cover-names {
    font-size: 4.5rem;
  }

  .cover-corner {
    width: 240px;
    height: 240px;
  }

  .cover-corner.corner-bl,
  .cover-corner.corner-br {
    bottom: 80px;
  }

  .cover-content {
    max-width: 500px;
  }

  .cover-ornament-top,
  .cover-ornament-bottom {
    max-width: 350px;
  }

  .corner-ornament {
    width: 180px;
    height: 180px;
  }

  .corner-ornament.corner-bl,
  .corner-ornament.corner-br {
    bottom: 120px;
  }

  .section-inner {
    max-width: 700px;
    padding: 0 2rem 2rem;
  }

  .section-title-script {
    font-size: 3.5rem;
  }

  .couple-container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    max-width: 800px;
  }

  .couple-separator {
    margin-top: 4rem;
  }

  .events-container {
    flex-direction: row;
    max-width: 700px;
  }

  .event-card {
    flex: 1;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 700px;
  }

  .gallery-grid img {
    height: 220px;
  }

  .countdown-item {
    padding: 1.5rem 2rem;
  }

  .countdown-item span:first-child {
    font-size: 2.8rem;
  }

  .shape-divider svg {
    height: 100px;
  }

  .section-light {
    padding: 6rem 2rem 8rem;
  }

  .section-gold .section-container {
    padding: 5rem 2rem 7rem;
  }

  .maps-container,
  .video-container {
    max-width: 700px;
  }

  .bank-accounts,
  .gift-address,
  .wishes-list,
  .rsvp-form,
  .wishes-form,
  .story-timeline {
    max-width: 600px;
  }

  .message {
    max-width: 600px;
  }

  .translation,
  .couple-intro,
  .story-intro,
  .gallery-quote,
  .gift-intro {
    max-width: 600px;
  }
}

@media (min-width: 1024px) {
  .cover-names {
    font-size: 5rem;
  }

  .section-title-script {
    font-size: 4rem;
  }

  .couple-photo-frame {
    width: 200px;
    height: 270px;
  }

  .couple-photo {
    width: 200px;
    height: 270px;
  }

  .arch-frame-bg {
    width: 260px;
    height: 310px;
  }

  .gallery-grid img {
    height: 250px;
  }

  .section-light {
    padding: 7rem 3rem 9rem;
  }

  .section-gold .section-container {
    padding: 6rem 3rem 8rem;
  }
}