@import url('https://fonts.googleapis.com/css2?family=Mountains+of+Christmas:wght@700&family=Outfit:wght@300;400;600;800&display=swap');

:root {
  --primary-red: #dc2626;
  --primary-green: #047857;
  --accent-gold: #fbbf24;
  --accent-blue: #2563eb;
  --accent-purple: #7c3aed;
  --accent-silver: #cbd5e1;
  --font-festive: 'Mountains of Christmas', cursive;
  --font-sans: 'Outfit', sans-serif;
  --bg-gradient: linear-gradient(135deg, #030712 0%, #0b1528 50%, #062f22 100%);
}

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

body {
  min-height: 100vh;
  background: var(--bg-gradient);
  font-family: var(--font-sans);
  color: #f8fafc;
  overflow-x: hidden;
  position: relative;
}

/* Snowfall Canvas */
#snow-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ----------------------------------
   CHRISTMAS LIGHTS (TOP)
   ---------------------------------- */
.lights-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: space-around;
  pointer-events: none;
  z-index: 100;
  list-style: none;
  padding: 0;
  margin: 0;
}

.lights-container li {
  position: relative;
  width: 12px;
  height: 28px;
  border-radius: 50%;
  margin: 0;
  padding: 0;
  background: #fff;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  animation-duration: 2s;
  box-shadow: 0px 4px 24px 3px rgba(255,255,255,0.5);
  top: -5px;
}

.lights-container li::before {
  content: "";
  position: absolute;
  background: #222;
  width: 10px;
  height: 6px;
  border-radius: 3px;
  top: -4px;
  left: 1px;
}

.lights-container li::after {
  content: "";
  position: absolute;
  top: -14px;
  left: 9px;
  width: 52px;
  height: 18px;
  border-bottom: solid #222 2px;
  border-radius: 50%;
}

.lights-container li:last-child::after {
  content: none;
}

/* Color patterns and blinking rates */
.lights-container li:nth-child(2n+1) {
  background: #ef4444;
  animation-name: lightRed;
  animation-duration: 1.5s;
}
.lights-container li:nth-child(4n+2) {
  background: #fbbf24;
  animation-name: lightGold;
  animation-duration: 2.2s;
}
.lights-container li:nth-child(4n+3) {
  background: #10b981;
  animation-name: lightGreen;
  animation-duration: 1.8s;
}
.lights-container li:nth-child(4n+4) {
  background: #3b82f6;
  animation-name: lightBlue;
  animation-duration: 2.5s;
}

@keyframes lightRed {
  0%, 100% { background: #ef4444; box-shadow: 0px 4px 24px 3px rgba(239, 68, 68, 0.8); }
  50% { background: #7f1d1d; box-shadow: 0px 4px 10px 0px rgba(239, 68, 68, 0.2); }
}
@keyframes lightGold {
  0%, 100% { background: #fbbf24; box-shadow: 0px 4px 24px 3px rgba(251, 191, 36, 0.8); }
  50% { background: #78350f; box-shadow: 0px 4px 10px 0px rgba(251, 191, 36, 0.2); }
}
@keyframes lightGreen {
  0%, 100% { background: #10b981; box-shadow: 0px 4px 24px 3px rgba(16, 185, 129, 0.8); }
  50% { background: #064e3b; box-shadow: 0px 4px 10px 0px rgba(16, 185, 129, 0.2); }
}
@keyframes lightBlue {
  0%, 100% { background: #3b82f6; box-shadow: 0px 4px 24px 3px rgba(59, 130, 246, 0.8); }
  50% { background: #1e3a8a; box-shadow: 0px 4px 10px 0px rgba(59, 130, 246, 0.2); }
}

/* ----------------------------------
   UTILITY & HEADER STYLES
   ---------------------------------- */
.header-controls {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 110;
  display: flex;
  gap: 15px;
}

.control-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}

.control-btn.active {
  background: rgba(251, 191, 36, 0.2);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* Main App Wrapper */
.app-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  z-index: 5;
  position: relative;
}

.screen {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}

.screen.active {
  position: relative;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}


/* ----------------------------------
   WELCOME SCREEN
   ---------------------------------- */
.welcome-card {
  background: rgba(15, 23, 42, 0.5);
  border: 2px solid var(--accent-gold);
  border-radius: 24px;
  padding: 50px 40px;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  max-width: 550px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.welcome-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.festive-title {
  font-family: var(--font-festive);
  font-size: 3.5rem;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2), 0 2px 5px rgba(0,0,0,0.5);
  line-height: 1.1;
  letter-spacing: 1px;
}

.highlight-text {
  color: var(--accent-gold);
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

.welcome-msg {
  font-size: 1.2rem;
  color: #e2e8f0;
  line-height: 1.6;
  max-width: 90%;
  font-weight: 300;
}

.btn-festive {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  border: 2px solid var(--accent-gold);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.25rem;
  padding: 16px 40px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.btn-festive:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 35px rgba(239, 68, 68, 0.6), 0 0 15px rgba(251, 191, 36, 0.3);
  background: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
}

.btn-festive:active {
  transform: translateY(-1px) scale(0.98);
}

/* ----------------------------------
   GIFT SELECTION ROOM
   ---------------------------------- */
.room-title {
  font-family: var(--font-festive);
  font-size: 3rem;
  margin-bottom: 8px;
  text-align: center;
  color: #fff;
}

.room-subtitle {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 300;
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  width: 100%;
  padding: 20px;
  justify-items: center;
  align-items: center;
}

@media (max-width: 768px) {
  .gift-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .festive-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 480px) {
  .gift-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .festive-title {
    font-size: 2.2rem;
  }
}

/* Individual Gift Slot */
.gift-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.gift-label {
  margin-top: 15px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #94a3b8;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  pointer-events: none;
}

/* 3D Gift Box Wrapper */
.gift-box-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  cursor: pointer;
  perspective: 600px;
  transition: all 0.3s ease;
}

/* The actual Box 3D design */
.box-body {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 85px;
  background: var(--box-color, var(--primary-red));
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), inset 0 -5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}

/* Vertical Ribbon */
.box-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 100%;
  background: var(--ribbon-color, var(--accent-gold));
  box-shadow: inset 0 0 5px rgba(0,0,0,0.15);
}

/* Horizontal Ribbon */
.box-body::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 20px;
  background: var(--ribbon-color, var(--accent-gold));
  box-shadow: inset 0 0 5px rgba(0,0,0,0.15);
}

/* Box Lid */
.box-lid {
  position: absolute;
  top: 18px;
  left: -5px;
  width: 130px;
  height: 25px;
  background: var(--lid-color, #ef4444);
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 5;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Lid Vertical Ribbon Ribbon */
.box-lid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 100%;
  background: var(--ribbon-color, var(--accent-gold));
}

/* Lid Bow */
.box-bow {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 20px;
  z-index: 6;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.box-bow::before, .box-bow::after {
  content: '';
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  border: 4px solid var(--ribbon-color, var(--accent-gold));
  border-radius: 50% 50% 0 50%;
}

.box-bow::before {
  left: -2px;
  transform: rotate(-45deg);
}

.box-bow::after {
  right: -2px;
  transform: rotate(45deg);
  border-radius: 50% 50% 50% 0;
}

/* ----------------------------------
   BOX HOVER INDIVIDUAL ANIMATIONS
   ---------------------------------- */

/* Box 1: Shake Rattle (horizontal wobble) */
.gift-box-wrapper.box-shake:hover .box-body {
  animation: shakeBody 0.6s infinite ease-in-out;
}
.gift-box-wrapper.box-shake:hover .box-lid {
  animation: shakeLid 0.6s infinite ease-in-out;
}

@keyframes shakeBody {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px) rotate(-2deg); }
  75% { transform: translateX(4px) rotate(2deg); }
}
@keyframes shakeLid {
  0%, 100% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(-5px) translateY(-1px) rotate(-3deg); }
  75% { transform: translateX(5px) translateY(-1px) rotate(3deg); }
}

/* Box 2: Bounce (vertical bounce and squish) */
.gift-box-wrapper.box-bounce:hover {
  animation: bounceSquish 0.8s infinite ease-in-out;
}

@keyframes bounceSquish {
  0%, 100% { transform: translateY(0) scaleY(1); }
  30% { transform: translateY(-12px) scaleY(1.05); }
  50% { transform: translateY(2px) scaleY(0.95); }
}

/* Box 3: Wobble (tilts/swings back and forth) */
.gift-box-wrapper.box-wobble:hover {
  animation: wobble 0.7s infinite ease-in-out;
}

@keyframes wobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}

/* Box 4: Sparkle/Pulse (pulses, scaling and outer glow) */
.gift-box-wrapper.box-pulse:hover {
  animation: pulseGlow 0.9s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0px var(--ribbon-color)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 15px var(--ribbon-color)); }
}

/* Box 5: Jiggle (quick rotational vibration) */
.gift-box-wrapper.box-jiggle:hover {
  animation: jiggle 0.4s infinite linear;
}

@keyframes jiggle {
  0% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(-2px, 1px) rotate(-1deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  60% { transform: translate(-1px, -1px) rotate(-1deg); }
  80% { transform: translate(2px, 1px) rotate(1deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* Box 6: Spin/Float (slowly floats up and spins slightly) */
.gift-box-wrapper.box-float:hover {
  animation: floatSpin 1.2s infinite ease-in-out;
}

@keyframes floatSpin {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

/* Opened Visual State */
.gift-slot.opened .gift-box-wrapper {
  opacity: 0.6;
  transform: scale(0.9);
}

.gift-slot.opened .gift-label {
  color: var(--accent-gold);
}

.gift-slot.opened .gift-label::after {
  content: " ✓";
  font-weight: bold;
}

/* ----------------------------------
   REVEAL / OPENING STATE
   ---------------------------------- */

/* Global fade out when selecting a gift */
.gift-grid.fade-out {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

/* Opening Scene Overlay */
.reveal-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.opening-box-container {
  position: relative;
  width: 180px;
  height: 180px;
  margin-bottom: 40px;
  z-index: 10;
  transition: all 0.5s ease;
}

.opening-box-container .box-body {
  height: 125px;
  width: 100%;
}

.opening-box-container .box-lid {
  top: 25px;
  left: -8px;
  width: 196px;
  height: 35px;
}

.opening-box-container .box-bow {
  top: -20px;
  width: 50px;
  height: 30px;
}

/* Flying Lid Animation on Open */
.opening-box-container.opening .box-lid {
  animation: flyOffLid 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.opening-box-container.opening .box-bow {
  animation: flyOffBow 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.opening-box-container.opening .box-body {
  animation: bodyOpen 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes flyOffLid {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  30% { transform: translateY(-40px) rotate(-15deg); opacity: 1; }
  100% { transform: translate(80px, -250px) rotate(145deg); opacity: 0; }
}

@keyframes flyOffBow {
  0% { transform: translate(-50%, 0) rotate(0deg); opacity: 1; }
  25% { transform: translate(-50%, -60px) rotate(-35deg); opacity: 1; }
  100% { transform: translate(120px, -290px) rotate(220deg); opacity: 0; }
}

@keyframes bodyOpen {
  0% { transform: scale(1); opacity: 1; }
  40% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 25px rgba(251,191,36,0.8)); }
  100% { transform: scale(0); opacity: 0; }
}

/* ----------------------------------
   GIFT CONTENT CARD
   ---------------------------------- */
.gift-card {
  width: 100%;
  max-width: 600px;
  background: rgba(15, 23, 42, 0.55);
  border: 2px solid var(--accent-gold);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.15);
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  z-index: 5;
}

.gift-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Image Frame */
.gift-media-frame {
  position: relative;
  width: 100%;
  max-height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.gift-media-frame img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
}

.gift-media-frame:hover img {
  transform: scale(1.04);
}

/* Multi-image setups (side-by-side or comparison) */
.gift-media-frame.double-frame {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  background: transparent;
  border: none;
  box-shadow: none;
  max-height: none;
}

.gift-media-frame.double-frame img {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0, 0, 0, 0.25);
  max-height: 220px;
}

.gift-text-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.gift-joke-title {
  font-family: var(--font-festive);
  font-size: 2.2rem;
  color: var(--accent-gold);
  letter-spacing: 0.5px;
}

.gift-joke-body {
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.6;
  font-weight: 300;
  max-width: 90%;
  margin: 0 auto;
}

.btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

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

/* ----------------------------------
   FLYING JETS TRANSITION OVERLAY
   ---------------------------------- */
.jet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1000;
  overflow: hidden;
}

.flying-jet {
  position: absolute;
  width: 250px;
  height: auto;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 20px 20px rgba(0,0,0,0.5));
}

.jet-left-to-right {
  top: 20%;
  left: -300px;
  transform: rotate(15deg) scaleX(-1);
}

.jet-right-to-left {
  bottom: 15%;
  right: -300px;
  transform: rotate(-15deg);
}

.jet-blue-angels {
  bottom: -300px;
  left: -500px;
  width: 450px;
  transform: rotate(-35deg);
}

.jet-left-to-right.fly {
  animation: flyL2R 3.5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.jet-right-to-left.fly {
  animation: flyR2L 3.5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  animation-delay: 0.8s;
}

.jet-blue-angels.fly {
  animation: flyBlue 5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  animation-delay: 3s;
}

@keyframes flyL2R {
  0% { left: -300px; top: 30%; opacity: 0; transform: rotate(15deg) scale(0.5) scaleX(-1); }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 110vw; top: 10%; opacity: 0; transform: rotate(5deg) scale(1.3) scaleX(-1); }
}

@keyframes flyR2L {
  0% { right: -300px; bottom: 10%; opacity: 0; transform: rotate(-20deg) scale(0.5); }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { right: 110vw; bottom: 40%; opacity: 0; transform: rotate(-5deg) scale(1.3); }
}

@keyframes flyBlue {
  0% { left: -500px; bottom: -300px; opacity: 0; transform: rotate(-35deg) scale(0.6); }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 110vw; bottom: 90vh; opacity: 0; transform: rotate(-25deg) scale(1.4); }
}

/* ----------------------------------
   BOX SPARKLES / HOVER EFFECT
   ---------------------------------- */
.sparkle {
  position: absolute;
  pointer-events: none;
  background: radial-gradient(circle, #fff 10%, rgba(251,191,36,0.8) 50%, transparent 100%);
  border-radius: 50%;
  z-index: 20;
  mix-blend-mode: screen;
  animation: sparkleAnim 0.8s ease-out forwards;
}

@keyframes sparkleAnim {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
  100% { transform: translate(-50%, -50%) translate(var(--dx), var(--dy)) scale(var(--scale)); opacity: 0; }
}

/* ----------------------------------
   PLAIN REVEAL OVERRIDES
   ---------------------------------- */
.gift-card.plain-reveal {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  padding: 10px;
}

.gift-card.plain-reveal .gift-text-container {
  display: none;
}

.gift-card.plain-reveal .gift-media-frame {
  background: transparent;
  border: none;
  box-shadow: none;
  max-height: none;
}

.gift-card.plain-reveal .gift-media-frame img {
  max-height: 420px;
  border-radius: 16px;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6));
}

/* ----------------------------------
   WELCOME CARD & RESPONSIVE LAYOUTS
   ---------------------------------- */
.welcome-decor-img {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.main-title {
  font-size: 2.8rem;
  line-height: 1.2;
}

.camp-title {
  font-size: 2rem;
  font-family: var(--font-sans);
  font-weight: 800;
  display: block;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.camp-slogan {
  font-weight: 600;
  color: var(--accent-gold);
  font-size: 1.25rem;
}

.camp-credits {
  margin-top: -10px;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Responsive constraints to keep layouts clean and mobile friendly */
@media (max-width: 600px) {
  .main-title {
    font-size: 2.2rem;
  }
  .camp-title {
    font-size: 1.6rem;
    letter-spacing: 1px;
  }
  .camp-slogan {
    font-size: 1.1rem;
  }
  .welcome-card {
    padding: 35px 20px;
  }
  .gift-card {
    padding: 25px 20px;
  }
  .gift-media-frame.double-frame {
    grid-template-columns: 1fr;
    max-height: none;
    gap: 10px;
  }
  .gift-media-frame.double-frame img {
    max-height: 180px;
    width: 100%;
  }
  /* Scale down plain-reveal image slightly on small screens */
  .gift-card.plain-reveal .gift-media-frame img {
    max-height: 280px;
  }
}

