/* Festive Light Garland */
.festive-lights {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: clamp(0.6rem, 1.5vw, 1.2rem);
  padding: 0.75rem 1.75rem 1.4rem;
  z-index: 2000;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.festive-lights::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: clamp(0.5rem, 2vw, 2rem);
  right: clamp(0.5rem, 2vw, 2rem);
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(255, 215, 0, 0.45),
    rgba(220, 20, 60, 0.45),
    rgba(13, 93, 46, 0.5),
    rgba(255, 215, 0, 0.45)
  );
  border-radius: 999px;
  opacity: 0.85;
}

.light-bulb {
  --bulb-color: var(--christmas-gold);
  width: 18px;
  height: 24px;
  border-radius: 45% 45% 50% 50%;
  background: radial-gradient(
    circle at 30% 30%,
    #fff8d0 0%,
    var(--bulb-color) 65%
  );
  position: relative;
  transform: translateY(6px) rotate(-2deg);
  color: var(--bulb-color);
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.35),
    0 0 10px var(--bulb-color);
  animation:
    lightSway 4.2s ease-in-out infinite,
    lightGlow 2.6s ease-in-out infinite;
  animation-delay: var(--light-delay, 0s), var(--light-delay, 0s);
  opacity: 0.95;
}

.light-bulb::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 6px;
  background: #1f1f1f;
  border-radius: 3px 3px 2px 2px;
  transform: translateX(-50%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.light-bulb::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 2px;
  height: 10px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.4),
    rgba(0, 0, 0, 0.35)
  );
  opacity: 0.8;
}

.light-bulb:nth-child(2n) {
  --light-delay: 0.25s;
}

.light-bulb:nth-child(3n) {
  --light-delay: 0.55s;
}

.light-bulb:nth-child(4n) {
  --light-delay: 0.85s;
}

.bulb-red {
  --bulb-color: var(--christmas-red);
}

.bulb-green {
  --bulb-color: var(--christmas-green);
}

.bulb-gold {
  --bulb-color: var(--christmas-gold);
}

.bulb-blue {
  --bulb-color: #63c5ea;
}

body.silvester-theme .bulb-green {
  --bulb-color: #6be0ff;
}

body.silvester-theme .bulb-red {
  --bulb-color: #ffd36f;
}

body.silvester-theme .bulb-blue {
  --bulb-color: #8fd2ff;
}

.festive-lights-drop {
  animation: festiveLightDrop 1.2s cubic-bezier(0.25, 0.9, 0.35, 1) forwards;
  will-change: transform, opacity;
}

.festive-lights-drop .light-bulb {
  animation:
    lightSway 4.2s ease-in-out infinite,
    lightGlow 2.6s ease-in-out infinite,
    festiveLightBulbDrop 1.2s ease-in forwards;
  animation-delay: var(--light-delay, 0s), var(--light-delay, 0s), 0s;
}

@media (max-width: 768px) {
  .festive-lights {
    gap: 0.55rem;
    padding: 0.55rem 1.1rem 1.2rem;
  }

  .light-bulb {
    transform: translateY(4px) rotate(-2deg);
  }
}

/* Hero/Card Section */
.hero-section {
  text-align: center;
  padding: 3rem 1rem;
  margin-bottom: 3rem;
  margin-top: 0;
  opacity: 0;
  transform: translateY(50px) scale(0.9) rotate(-2deg);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    margin-top 0.6s ease;
}

.hero-section.revealed {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0deg);
  position: relative;
  z-index: 10;
  margin-top: -225px;
}

.hero-section.section-revealed {
  transform: translateY(0) scale(1) rotate(0deg) !important;
  margin-top: -225px !important;
}

.card {
  max-width: 500px;
  width: 100%;
  aspect-ratio: 1.586 / 1; /* Credit card aspect ratio (85.60mm × 53.98mm) */
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(220, 20, 60, 0.2),
    inset 0 0 20px rgba(255, 215, 0, 0.1);
  border: 2px solid rgba(255, 215, 0, 0.3);
  transform: perspective(1000px) rotateY(0deg);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 45%,
    rgba(255, 215, 0, 0.3) 50%,
    rgba(255, 255, 255, 0.1) 55%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

.card:hover {
  transform: perspective(1000px) rotateY(5deg) scale(1.05);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(220, 20, 60, 0.4),
    inset 0 0 30px rgba(255, 215, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.6);
}

.card-content {
  z-index: 2;
  margin-top: auto;
}

.card-chip {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.card-number {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.2rem;
  margin: 1.5rem 0;
  color: var(--text-color);
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.8),
    0 0 10px rgba(255, 215, 0, 0.4);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    text-shadow 0.2s ease;
}

.card-number:hover {
  transform: scale(1.1);
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.8),
    0 0 15px rgba(255, 215, 0, 0.6),
    0 0 25px rgba(255, 215, 0, 0.4);
}

.card-details {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.card-holder,
.card-expiry {
  display: flex;
  flex-direction: column;
}

.card-holder {
  text-align: left;
}

.card-expiry {
  text-align: right;
}

.label {
  font-size: 0.7rem;
  opacity: 0.7;
  margin-bottom: 0.3rem;
}

.value {
  font-weight: 700;
  font-size: 1.1rem;
}

/* .card-holder .value {
  font-family: "Playfair Display", serif;
} */

.card-logo {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2.5rem;
  z-index: 3;
}

.card-message {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.9;
  font-style: italic;
  color: var(--text-color);
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

/* Instructions Section */
.scroll-hint {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(245, 245, 245, 0.6);
  font-style: italic;
  margin-top: 2rem;
  padding: 1rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.scroll-hint:hover {
  opacity: 1;
}

.instructions-section {
  padding: 2rem 1rem;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(50px) scale(0.9) rotate(-2deg);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.instructions-section.revealed {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0deg);
}

.instructions-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
  text-shadow:
    0 0 10px rgba(255, 215, 0, 0.5),
    0 0 20px rgba(255, 215, 0, 0.3);
}

.instructions {
  max-width: 700px;
  margin: 0 auto;
}

.instruction-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(13, 93, 46, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 10px;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.instruction-item:hover {
  transform: translateX(10px);
  background: rgba(13, 93, 46, 0.3);
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow:
    0 4px 12px rgba(255, 215, 0, 0.2),
    0 0 15px rgba(255, 215, 0, 0.1);
}

.instruction-number {
  font-size: 2rem;
  margin-right: 1rem;
}

.instruction-item p {
  font-size: 1.1rem;
  line-height: 1.6;
  flex: 1;
}

/* Spending Ideas Section */
.spending-ideas-section {
  padding: 2rem 1rem;
  margin-bottom: 3rem;
  margin-top: 0;
  opacity: 0;
  transform: translateY(50px) scale(0.9) rotate(-2deg);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    margin-top 0.6s ease;
}

.spending-ideas-section.revealed {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0deg);
}

/* Add margin-top when message-section has a revealed gift card to prevent overlap */
.message-section.revealed:has(.card.card-revealed)
  ~ .spending-ideas-section.revealed {
  margin-top: 300px; /* Space for gift card overflow */
}

.spending-ideas-section h2 {
  font-family: "Comic Neue", "Comic Sans MS", cursive;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
  text-shadow:
    0 0 10px rgba(255, 215, 0, 0.5),
    0 0 20px rgba(255, 215, 0, 0.3);
}

.spending-ideas-section h3 {
  text-align: center;
}

.spending-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.spending-item {
  background: rgba(13, 93, 46, 0.15);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 215, 0, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.spending-logo {
  max-width: 80px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.spending-item:hover .spending-logo {
  transform: scale(1.1);
}

/* Hide text by default when logo is present, show as tooltip */
.spending-item span {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
  background: linear-gradient(135deg, var(--primary-color) 0%, #ffed4e 100%);
  color: var(--background-color);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  margin-bottom: 0.5rem;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(255, 215, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.5);
  z-index: 1000;
  display: block;
}

.spending-item:hover span {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.spending-item:hover {
  background: rgba(13, 93, 46, 0.3);
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(255, 215, 0, 0.3),
    inset 0 0 15px rgba(255, 215, 0, 0.1);
}

/* Runaway Button Styles */
.runaway-button {
  position: relative;
  transition: transform 0.1s ease-out !important;
}

.runaway-button.escaping {
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
}

/* Love Section */
.love-section {
  text-align: center;
  padding: 3rem 1rem;
  margin-bottom: 3rem;
  background: rgba(13, 93, 46, 0.15);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.4),
    inset 0 0 30px rgba(255, 215, 0, 0.05);
}

.love-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.8),
    0 0 15px rgba(255, 215, 0, 0.6),
    0 0 30px rgba(255, 215, 0, 0.4);
}

.love-messages {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.love-text {
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--text-color);
  font-weight: 500;
}

/* Easter Eggs Section */
.easter-eggs-section {
  text-align: center;
  padding: 2rem 1rem;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(50px) scale(0.9) rotate(-2deg);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.easter-eggs-section.revealed {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0deg);
}

.easter-egg-button {
  background: linear-gradient(135deg, var(--accent-color) 0%, #a0172e 100%);
  color: white;
  border: 2px solid rgba(255, 215, 0, 0.3);
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 25px;
  cursor: pointer;
  margin: 0.5rem;
  transition: all 0.3s ease;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(220, 20, 60, 0.3);
  position: relative;
}

.easter-egg-button:hover {
  background: linear-gradient(135deg, var(--primary-color) 0%, #ffed4e 100%);
  color: var(--background-color);
  transform: scale(1.05);
  border-color: var(--primary-color);
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.4),
    0 0 25px rgba(255, 215, 0, 0.5);
}

/* Styled Pop-up Messages */
.styled-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #1a3d2e 0%, #0f2a1f 100%);
  padding: 2rem 3rem;
  border-radius: 20px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(255, 215, 0, 0.3),
    inset 0 0 20px rgba(255, 215, 0, 0.1);
  text-align: center;
  transition: opacity 0.5s ease;
  border: 3px solid rgba(255, 215, 0, 0.5);
  max-width: 90%;
  line-height: 1.5;
  white-space: pre-line;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.styled-popup.show {
  opacity: 1;
  pointer-events: auto;
}

.styled-popup .close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-color);
  opacity: 0.7;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.styled-popup .close-button:hover {
  opacity: 1;
  transform: scale(1.1);
  background: rgba(255, 215, 0, 0.2);
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

/* Scroll Slip Message (uses styled-popup) */
.scroll-slip-message {
  /* Inherits from .styled-popup */
}

/* Utility classes for JavaScript style management */
.debug-settings-visible {
  display: block !important;
}

.stamp-clickable {
  cursor: pointer !important;
}

.letter-clone-reset {
  position: relative !important;
  opacity: 1 !important;
  display: block !important;
  margin: 0 !important;
}

.card-clone-reset {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  transform: none !important;
  opacity: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.section-hidden {
  display: none !important;
  opacity: 0 !important;
  transform: translateY(50px) scale(0.9) rotate(-2deg) !important;
}

.section-revealed {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0) scale(1) rotate(0deg) !important;
}

.message-section-revealed {
  display: block !important;
  opacity: 1 !important;
  cursor: pointer !important;
}

.message-section-unfolded-reset {
  clip-path: none !important;
  max-height: none !important;
  transform: none !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

.envelope-front-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: rotate(-1deg) rotateY(90deg) !important;
  transition:
    opacity 0.3s ease,
    transform 0.8s ease !important;
}

.envelope-back-visible {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translate(-50%, -50%) rotate(1deg) rotateY(0deg) !important;
  animation: none !important;
}

.envelope-back-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translate(-50%, -50%) rotate(1deg) rotateY(-90deg) !important;
  animation: none !important;
}

.envelope-front-flip-prep {
  transform: rotate(-1deg) rotateY(90deg) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.envelope-front-flip-reset {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
}

.envelope-flap-reset-state {
  transform: none !important;
  animation: none !important;
}

.body-scroll-locked {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  --scroll-top: 0px;
  top: var(--scroll-top) !important;
}

.body-scroll-unlocked {
  overflow: auto !important;
  position: static !important;
  width: auto !important;
  top: auto !important;
}

/* Dynamic transforms using CSS variables */
.runaway-button-escape {
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
}

.position-switch-transition {
  transition: transform 0.3s ease !important;
}

.position-switch-reset {
  transition: none !important;
}

.snow-particle-fade {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease !important;
  opacity: 0 !important;
  transform: translateY(-20px) !important;
}

.snow-particle-fade-scroll {
  --fade-duration: 400ms;
  transition:
    opacity var(--fade-duration) ease-out,
    transform var(--fade-duration) ease-out !important;
  opacity: 0 !important;
  transform: translateY(-30px) scale(0.8) !important;
}

.snow-flake-fade {
  --fade-duration: 300ms;
  transition: opacity var(--fade-duration) ease-out !important;
  opacity: 0 !important;
}

.snow-accumulation-fade {
  --fade-duration: 800ms;
  transition: opacity var(--fade-duration) ease-out !important;
  opacity: 0 !important;
}

.spending-item-dropped {
  position: fixed !important;
  top: auto !important;
  bottom: 20px !important;
  transform: translateY(0) rotate(0deg) !important;
}

/* CSS variables for dynamic values */
.runaway-button-escape {
  --escape-x: 0px;
  --escape-y: 0px;
  transform: translate(var(--escape-x), var(--escape-y)) !important;
}

/* Cursor Follower CSS Variables - Removed */

.envelope-slide-prep {
  --slide-top: 0px;
  --slide-left: 0px;
  --slide-width: auto;
  top: var(--slide-top) !important;
  left: var(--slide-left) !important;
  width: var(--slide-width) !important;
}

.snow-particle {
  --particle-x: 0px;
  --particle-y: 0px;
  left: var(--particle-x) !important;
  top: var(--particle-y) !important;
}

.spending-item-drop-prep {
  --drop-left: 0px;
  --drop-top: 0px;
  position: fixed !important;
  left: var(--drop-left) !important;
  top: var(--drop-top) !important;
}

.love-message-unfold {
  --unfold-top: 0px;
  transform-origin: center top !important;
  position: absolute !important;
  top: var(--unfold-top) !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 2 !important;
  backface-visibility: hidden !important;
}

.appendix-unfold {
  --unfold-top: 0px;
  --unfold-move: 0px;
  position: absolute !important;
  top: var(--unfold-top) !important;
  left: 0 !important;
  right: 0 !important;
  transform: translateY(var(--unfold-move, 0)) rotateX(0deg) !important;
  transform-origin: center center !important;
  z-index: 1 !important;
}

.static-snowflake {
  --snowflake-left: 0%;
  --snowflake-top: 0%;
  --snowflake-size: 15px;
  --snowflake-opacity: 0.8;
  left: var(--snowflake-left) !important;
  top: var(--snowflake-top) !important;
  font-size: var(--snowflake-size) !important;
  opacity: var(--snowflake-opacity) !important;
}

/* Footer */
.site-footer {
  position: relative;
  width: 100%;
  padding: 3rem 2rem;
  margin-top: 4rem;
  background: linear-gradient(
    to top,
    rgba(10, 14, 15, 0.95) 0%,
    rgba(10, 14, 15, 0.8) 50%,
    transparent 100%
  );
  border-top: 2px solid rgba(255, 215, 0, 0.2);
  z-index: 10;
  backdrop-filter: blur(10px);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1.2rem;
}

.footer-label {
  font-family: "Comic Neue", sans-serif;
  color: rgba(245, 245, 245, 0.6);
  font-weight: 400;
  font-style: italic;
  text-transform: lowercase;
}

.footer-name {
  font-family: "Playfair Display", serif;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: lowercase;
  text-shadow:
    0 0 10px rgba(255, 215, 0, 0.5),
    0 0 20px rgba(255, 215, 0, 0.3);
  letter-spacing: 0.1rem;
  transition: all 0.3s ease;
}

.footer-name:hover {
  text-shadow:
    0 0 15px rgba(255, 215, 0, 0.8),
    0 0 30px rgba(255, 215, 0, 0.5);
  transform: scale(1.05);
}

.footer-divider {
  width: 200px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 215, 0, 0.3) 50%,
    transparent 100%
  );
  margin: 0.5rem 0;
  position: relative;
}

.footer-divider::before,
.footer-divider::after {
  content: "❄";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 0.8rem;
  opacity: 0.6;
}

.footer-divider::before {
  left: -15px;
}

.footer-divider::after {
  right: -15px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-link {
  font-family: "Comic Neue", sans-serif;
  color: rgba(245, 245, 245, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  position: relative;
  text-transform: lowercase;
  cursor: none !important;
}

.footer-link::before {
  content: "✨";
  margin-right: 0.5rem;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  display: inline-block;
  transform: translateX(-10px);
}

.footer-link:hover::before {
  opacity: 1;
  transform: translateX(0) rotate(15deg);
}

.footer-link:hover {
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.footer-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
  transition: transform 0.3s ease;
}

.footer-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Silvester Theme Footer */
body.silvester-theme .site-footer {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.8) 50%,
    transparent 100%
  );
  border-top-color: rgba(255, 215, 0, 0.3);
}

body.silvester-theme .footer-divider::before,
body.silvester-theme .footer-divider::after {
  content: "✨";
}

/* Responsive Footer */
@media (max-width: 768px) {
  .site-footer {
    padding: 2rem 1rem;
    margin-top: 3rem;
  }

  .footer-line {
    font-size: 1rem;
    gap: 0.75rem;
  }

  .footer-name {
    font-size: 1.2rem;
  }

  .footer-link {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }

  .footer-divider {
    width: 150px;
  }
}
