*,
*::after,
*::before {
  box-sizing: border-box;
}

:root {
  font-size: 16px;
  --color-bg: #ece6df;
  --color-bg-alt: #988366;
  --color-title: #242424;
  --color-text: #242424;
  --color-link: #988366;
  --page-padding: 1.5rem;
}

::selection{
  background: #fff;
  color: var(--color-bg-alt);
}

::placeholder{
  opacity: .5;
}

body {
  margin: 0;
  color: var(--color-text);
  background-color: var(--color-bg);
  font-family: 'Serif', serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  background: url(../img/noise.png), radial-gradient(circle, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  background-size: 150px, 100% 100vh;
  background-attachment: fixed;
}

html {
  /* scroll-behavior: smooth; - Managed by Lenis */
}

h1, h2, h3, h4, h5, h6, strong {
  font-weight: 500;
}

h1, h2, h3, h4, h5, h6{
  margin: 0;
  line-height: 1.1;
}

p{
  line-height: 1.234;
  margin: .5em 0 .5em;
}

.trans{
  font-size: 85%;
  margin: .25em 0 .5em;
}

p.short{
  margin: .5em 0 0;
}
.trans.short{
  margin: 0;
}
.trans.last{
  margin: 0 0 1em;
}

/* Page Loader */
.js .loading::before,
.js .loading::after {
  content: "";
  position: fixed;
  z-index: 1000;
}

.js .loading::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg-alt);
}

.js .loading::after {
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  opacity: 0;
  background: var(--color-bg);
  animation: loaderAnim 0.7s linear infinite alternate forwards;
}

@keyframes loaderAnim {
  to {
    opacity: 1;
    transform: scale3d(0.5, 0.5, 1);
  }
}

a {
  text-decoration: none;
  color: currentColor;
  outline: none;
  cursor: pointer;
  transition: all .5s ease;
}

a:hover {
  outline: none;
}

/* Better focus styles from https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible */
a:focus {
  /* Provide a fallback style for browsers
	 that don't support :focus-visible */
  outline: none;
  background: lightgrey;
}

a:focus:not(:focus-visible) {
  /* Remove the focus indicator on mouse-focus for browsers
	 that do support :focus-visible */
  background: transparent;
}

a:focus-visible {
  /* Draw a very noticeable focus style for
	 keyboard-focus on browsers that do support
	 :focus-visible */
  outline: 2px solid red;
  background: transparent;
}



.mobile{
  display: none !important;
}

@media screen and (max-width: 768px) {
  .mobile, .break{
    display: block !important;
  } 
}

header, header > *{
  transition: all .5s ease;
}

.frame {
  padding: 2rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  height: 100vh;
  width: 100px; /* Fixed width for the sidebar */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  background: transparent;
  mix-blend-mode: overlay;
}

.frame__logo, .frame__menu, .frame__clock {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
}

.frame a, .frame__clock {
  pointer-events: auto;
}

.frame__logo {
  margin-top: 1rem;
  opacity: 0;
  transition: opacity 0.5s ease;
  max-width: 30px;
  width: 100%;
}

.frame__logo img{
  width: 100%;
  filter: invert(1);
  -webkit-filter: invert(1);
}

.frame__title {
  font-size: 1.5rem;
  margin: 0;
  color: var(--color-title);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

.frame__menu {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.nav-item {
  position: relative;
  color: var(--color-title);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all .5s ease;
  color:#fff
}

.nav-item:hover {
  color: var(--color-text);
}

.nav-item svg {
  width: 30px;
  height: 30px;
}

.tooltip {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-title);
  color: var(--color-bg);
  padding: 0.5rem .75rem .35rem;
  border-radius: 0px;
  font-size: 0.8rem;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all .5s ease;
  margin-left: 10px;
  pointer-events: none;
  text-transform: uppercase;
  filter: blur(3.5px);
  -webkit-filter: blur(3.5px);
}

@media screen and (max-width: 768px) {
  .tooltip {
    display: none;
  }
}

.nav-item:hover .tooltip {
  opacity: 1;
  transform: translateY(-50%);
  filter: blur(0);
  -webkit-filter: blur(0);
  visibility: visible;
}

.frame__clock {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.analog-clock {
  width: 30px;
  height: 30px;
  border: 2px solid #fff;
  border-radius: 50%;
  position: relative;
}

.hand {
  width: 50%;
  height: 2px;
  background: #fff;
  position: absolute;
  top: 50%;
  transform-origin: 100%;
  transform: rotate(90deg);
  transition: none; /* Removed default transition for smooth sweep */
}

.hand.smooth-rotate {
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hour-hand {
  width: 30%;
  left: 20%;
  height: 2px;
}

.minute-hand {
  width: 40%;
  left: 10%;
}

.second-hand {
  background: #ffd230;
  height: 1px;
}

.center-dot {
  width: 3px;
  height: 3px;
  background: #ffd230;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.countdown-timer {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-title);
  text-align: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  transition: opacity 0.5s ease;
  opacity: 1;
  height: 10em;
  width: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  color:#fff
}

#countdown{
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  .frame {
    width: 60px;
    padding: 1rem;
  }
  .frame__title {
    font-size: 1.2rem;
  }
  .frame__clock {
    margin-bottom: 2rem;
  }
  .analog-clock {
    width: 30px;
    height: 30px;
  }
}

.content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  overflow: hidden;
  z-index: -1;
}

.regular {
  font-weight: 400;
  font-style: normal;
}

.debug {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 1px;
  border-radius: 5px;
  background-color: red;
  transform: translate(-50%, -50%);
}

.scene {
  perspective: 1000px;
  overflow: hidden;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  left: 0;
  top: 0;
}

.card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  filter:drop-shadow(0 -5px 5px rgba(0,0,0,.15));
  -webkit-filter:drop-shadow(0 -5px 5px rgba(0,0,0,.15));
}

.card__img {
  width: 5em;
  border-radius: 5px;
  aspect-ratio: 2/3;
  background-position: center;
  background-size: cover;
  transition: all .5s ease;
}

.card__img:hover{
  filter: brightness(1.075);
  -webkit-filter: brightness(1.075);
}

.name{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 80%;
  max-width: 500px;
  mix-blend-mode: exclusion;
  opacity: .5;
}

.name img{
  filter: invert(1);
}

.headings {
  text-align: center;
  position: relative;
  z-index: 10;
  color: var(--color-title);
  mix-blend-mode: overlay;
}

@media screen and (min-width: 768px) {
  .card__img {
    width: 6em;
  }
}

/* Wedding Sections */
.wedding-section {
  min-height: 100vh;
  padding: 4rem 2rem 4rem calc(2rem + 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 10;
}

@media screen and (max-width: 768px) {
  .wedding-section {
    padding-left: calc(1rem + 60px);
    padding-right: 1rem;
  }
}

.wedding-section:first-of-type {
  margin-top: 100vh;
}

.wedding-section:nth-child(odd){
  background-image: linear-gradient(rgba(152, 131, 102, 0.95), rgba(152, 131, 102, 0.75));
  backdrop-filter: blur(5px);
  color: var(--color-bg);
}

.wedding-section:nth-child(even){
  background-image: linear-gradient(rgba(152, 131, 102, 0.75), rgba(152, 131, 102, 0.95));
  backdrop-filter: blur(5px);
  color: var(--color-bg);
}

.wedding-section:last-of-type{
  background-image: linear-gradient(rgba(152, 131, 102, 0.75), rgba(152, 131, 102, 0.95), rgba(152, 131, 102, 0.25));
  backdrop-filter: blur(5px);
  color: var(--color-bg);
}

#details{
  background-image: url('../img/200225.svg');
  background-repeat: no-repeat;
  background-position: top;
  background-size: contain;
  background-color: rgba(152, 131, 102, 0.75);
}

#details h1{
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: 1px;
  margin: .25em 0 .5rem;
  text-transform: uppercase;
  color: var(--color-bg);
}

@media screen and (min-width: 768px) {
  #details h1{
    letter-spacing: 10px;
  }
}

#details h2{
  font-size: clamp(1.75rem, 4.5vw, 3.5rem);
  font-weight: 300;
  margin: 0 0 1.5rem;
  text-transform: uppercase;
  color: var(--color-bg);
}

h3{
  font-size: 1em;
  margin: 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 5px;
}

hr{
  border: 0;
  width: 100%;
  height: 1px;
  background-image: linear-gradient(90deg, transparent 10%, #fff, transparent 90%);
  margin: .75rem auto 1rem;
}

#details hr{
  max-width: 200px;
}

#details h4{
  font-size: 1.25em;
  font-weight: 400;
}

#details h4+p{
  margin-top: .5em;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 1000px;
  margin-top: 2rem;
}

.detail-item {
  position: relative;
  padding: 2rem 2rem 2.5rem;
  border-radius: 15px;
  backdrop-filter: blur(2px);
  background-image: radial-gradient(circle at top right,rgba(255,255,255,.15),rgba(255,255,255,0));
}

.detail-item:nth-child(even){
  background-image: radial-gradient(circle at top center,rgba(255,255,255,.15),rgba(255,255,255,0));
}

.detail-item:last-child{
  background-image: radial-gradient(circle at top left,rgba(255,255,255,.15),rgba(255,255,255,0));
}

.weather .condition{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.weather .detailed{
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: .75rem;
  font-size: 0.85rem;
  font-weight: 300;
}

.weather .detailed div{
  border: solid 1px currentColor;
  padding: .5rem 1rem;
  border-radius: 99px;
}

#guestName{
  font-size: 1.5em;
  margin: 0;
}

#rsvp::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/rsvp.svg') no-repeat center;
  background-position: top center;
  background-size: contain;
  pointer-events: none;
}

#rsvp h2{
  margin: .5em 0 .25em;
  padding: .5em 1.5em .35em;
  background: var(--color-bg);
  color: var(--color-bg-alt);
  border-radius: 99px;
  font-size: 1.15em;
}

@media screen and (max-width:768px) {
  #rsvp h2{
    font-size: 1em;
  }
}

.rsvp-desc{
  max-width: 650px;
}

.qr-code{
  padding: .25em 1.5em .75em;
  border-radius: 20px;
  backdrop-filter: blur(2px);
  transition: all .5s ease;
}

#qr-instruction{
  font-size: 0.85rem;
  margin: 1rem 0;
}
@media screen and (min-width:768px) {
  #qr-instruction{
    min-width: 400px
  }
}

.rsvp-confirmed{
  font-size: .75em;
  margin: 1em 0;
}

#guestNumber,#tableNumber{
  font-size: 2.5em;
  line-height: 1;
  margin: 0;
}
#guestNumber+p{
  margin-top: 0;
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 500px;
  text-align: left;
}

.rsvp-options{
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0 0;
}
.rsvp-option{
  flex: 1;
  padding: 1rem;
  border: 1px solid transparent;
  background: rgba(0,0,0,0.05);
  font-family: inherit;
  color: inherit;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all .5s ease;
  user-select: none;
}
.rsvp-option.is-active{
  border: 1px solid currentColor;
  background: rgba(0,0,0,0.1);
}
.rsvp-options+.btn{
  margin-top: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

input,
select,
textarea {
  padding: .5rem;
  border-top-width: 0px !important;
  border-left-width: 0 !important;
  border-right-width: 0 !important;
  border-bottom: solid 1px rgba(152, 131, 102, 0.75);
  background: transparent;
  font-family: inherit;
  color: inherit;
  font-size: 1rem;
  transition: all 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-bg-alt);
}

.btn {
  position: relative;
  display: inline-block;
  padding: .5em 1.5em .45em;
  font-family: inherit;
  font-size: 85%;
  line-height: 1;
  color: currentColor;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s;
  margin-top: .5em;
  align-self: center;
  border: solid 1px currentColor;
  border-radius: 999px;
}

button{
  background: transparent;
  outline: none;
}

.wedding-section:nth-child(odd) .btn {
  color: var(--color-bg);
}

.btn:hover {
  background: var(--color-bg);
  color: var(--color-bg-alt);
  padding: .5em 1.25em .45em;
  letter-spacing: 1.5px;
}

.primary{
  font-size: 110%;
  font-weight: 500;
  background-color: var(--color-bg);
  color: var(--color-bg-alt) !important;
  border-width: 0px;
}

.primary:hover{
  padding: .5em 1.25em .45em;
}

footer{
  background-image: linear-gradient(rgba(36, 36, 36,.5),rgba(36, 36, 36,.25));
  color: var(--color-bg);
  padding: .75em 2em;
}

@media screen and (max-width: 768px) {
  footer{
    padding: .75em 1em;
  }
}

footer p{
  font-size: 8px;
  font-weight: 300;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: right;
}

footer a{
  font-weight: 500;
}

footer a:hover{
  opacity: .5;
}

/* Logogram Stack */
.logogram-stack {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.logogram-stack img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.engagement {
  width: 100%;
  height: auto;
}

.logogram {
  width: 88.88%;
  height: auto;
}

/* Name Logo */
.name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  pointer-events: none;
}

.name img {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 768px) {
  .logogram-stack{
    width: 190px;
    height: 190px;
  }
}

/* Bride & Groom Section */
.bride-groom {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3rem;
  width: 100%;
  max-width: 1000px;
}

.person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.photo-frame {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 2/3;
  position: relative;
  overflow: hidden;
  border-radius: 150px 150px; 
}

@media screen and (max-width: 768px) {
  .photo-frame {
    max-width: 200px;
  }
}

.photo {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: all 0.5s ease;
}

.person:hover .photo {
  transform: scale(1.05);
  filter: brightness(1.075);
}

.person-name-img {
  width: auto;
  height: 5rem;
  margin-top: 1em;
}

.person-name {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
}

.person-role {
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 0.9rem;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .bride-groom {
    flex-direction: column;
    gap: 1rem;
  }
  
  .person {
    width: 100%;
  }

  .person-name-img{
    margin-top: .5em;
  }

  .person:last-child .person-name-img{
    margin-top: -1em;
  }
}

/* Scroll Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Border Sweep Animation */
.login-btn::after,
.photo-frame::after,
.detail-item::after,
.btn:not(#directions)::after,
.qr-code::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px; /* Border width */
  background: linear-gradient(
    120deg, 
    rgba(255, 255, 255, 0) 30%, 
    rgba(255, 255, 255, 0.8) 50%, 
    rgba(255, 255, 255, 0) 70%
  );
  background-size: 200% 100%;
  -webkit-mask: 
     linear-gradient(#fff 0 0) content-box, 
     linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderSweep 3s linear infinite;
  pointer-events: none;
  z-index: 10;
}

.photo-frame:last-of-type::after {
  animation: bordersSweep 3s linear infinite;
}

.detail-item::after{
  padding: 1px;
  animation: borderSweep 7.5s linear infinite;
}
.detail-item:nth-child(even):after{
  animation: bordersSweep 5s linear infinite;
}

@keyframes borderSweep {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@keyframes bordersSweep {
  0% { background-position: -100% 0; }
  100% { background-position: 100% 0; }
}

.video{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  z-index: -3; 
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
  isolation: isolate;
  will-change: transform;
}
.video video{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Circle Background */
.circle {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: auto;
  z-index: -2; /* Behind .content (-1) */
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .circle {
    width: 200vw;
  }
}

.circle img {
  width: 100%;
  height: 100%;
  animation: rotateCircle 60s linear infinite;
  opacity: 0.1; /* Subtle background */
}

@keyframes rotateCircle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Text Rotation Transition */
.text-fade {
  transition: all 0.5s ease-in-out;
  opacity: 1;
}

.text-fade.out {
  opacity: 0;
}

/* Audio Button */
.audio-btn {
    position: fixed;
    bottom: 2.5rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-bg);
    color: var(--color-bg-alt);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.audio-btn:hover {
    transform: scale(.95);
    background-color: #fff;
    box-shadow: 0 0 0 rgba(0,0,0,0);
}

.audio-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media screen and (max-width: 768px) {
  .audio-btn {
    bottom: 3rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
  }
  
  .audio-btn svg {
    width: 1.2rem;
    height: 1.2rem;
  }
}

/* Login Modal */
.no-scroll {
  overflow: hidden;
}

.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(circle, #fff, rgba(236, 230, 223, 0));
  background-color: rgba(236, 230, 223, .75);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.login-modal.is-visible {
  opacity: 1;
  pointer-events: all;
}

.login-content {
  max-width: 500px;
  text-align: center;
  padding: 2rem;
}

.login-content .logogram-stack {
  width: 125px;
  height: 125px;
}

.login-content h2 {
  margin-bottom: 1rem;
  font-family: 'Serif', serif;
}

.login-content p {
  font-size: 0.9rem;
  opacity: 0.5;
  margin: 2em 0 1em;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-input {
    text-align: center;
}

#loginButton{
    background: var(--color-bg-alt);
    color: var(--color-bg);
    margin: 0;
    border: 0;
    font-size: 1rem;
    font-weight: 400;
}

.login-btn {
    position: relative;
    padding: 1rem 1.5rem .85rem;
    background: var(--color-bg-alt);
    color: white;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.5s ease;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: auto;
}

.login-btn:hover {
  background: #7a6850;
}

.login-error {
  color: #d32f2f;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  min-height: 1.2em;
  opacity: 0;
  transition: all 0.5s ease;
}

.login-error.visible {
  opacity: 1;
}

/* QR Code Styles */
#qr-code {
  display: flex;
  justify-content: center;
  background: transparent;
}

#qr-code img {
  display: block;
  max-width: 100%;
  height: auto;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
}

.qr-code {
  display: none; /* Hidden by default */
  text-align: center;
  margin-top: 1rem;
}

.qr-code.visible {
  display: block;
  animation: fadeInUp 0.8s ease-out forwards;
}

.table-number {
  margin-top: 1rem;
}

.table-number p:first-child {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

#tableNumber {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
  margin: 0;
}

.rsvp-confirmed {
  font-size: 0.65rem;
  line-height: 1.5;
  opacity: 0.7;
}

/* Safari specific */
body.safari .video {
    display: none !important;
}

/* Fade transitions */
.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
