/* Christmas Theme - Adventure 2025 - Elegant & Romantic */
:root {
  --christmas-red: #c62828;
  --christmas-gold: #f9a825;
  --deep-blue: #1a237e;
  --navy-blue: #283593;
  --light-blue: #3949ab;
  --snow-white: #ffffff;
  --text-primary: #ffffff;
  --text-secondary: #e8eaf6;
  --text-light: #c5cae9;
  --glow-red: rgba(198, 40, 40, 0.6);
  --glow-gold: rgba(249, 168, 37, 0.7);
  --glow-blue: rgba(57, 73, 171, 0.4);
}

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

body {
  font-family: "Caveat", "Dancing Script", cursive, sans-serif;
  background: linear-gradient(135deg, #1a237e 0%, #283593 25%, #3949ab 50%, #5c6bc0 75%, #7986cb 100%);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
}

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

/* Main Layout */
main {
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 2rem;
}

.hero-content {
  max-width: 900px;
  animation: fadeInUp 1.5s ease-out;
  z-index: 2;
}

.christmas-tree {
  font-size: 5rem;
  margin-bottom: 1rem;
  animation: treeSway 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px var(--glow-gold)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-title {
  font-family: "Mountains of Christmas", cursive;
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--christmas-gold);
  margin-bottom: 1rem;
  text-shadow: 
    0 0 20px var(--glow-gold),
    0 0 40px var(--glow-gold),
    3px 3px 6px rgba(0, 0, 0, 0.5);
  animation: titleGlow 3s ease-in-out infinite alternate;
  font-weight: 700;
}

.hero-subtitle {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: var(--text-primary);
  margin-bottom: 3rem;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Countdown Timer */
.countdown-container {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 3rem;
  border: 3px solid var(--christmas-gold);
  box-shadow: 0 0 30px var(--glow-gold), 0 8px 32px rgba(0, 0, 0, 0.2);
}

.countdown-label {
  font-size: 1.3rem;
  color: var(--deep-blue);
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-shadow: none;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 15px;
  padding: 1.5rem 1rem;
  border: 3px solid var(--christmas-gold);
  box-shadow: 0 0 25px var(--glow-gold), 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.countdown-item:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 35px var(--glow-gold), 0 8px 24px rgba(0, 0, 0, 0.25);
}

.countdown-number {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--deep-blue);
  text-shadow: none;
  font-family: "Mountains of Christmas", cursive;
}

.countdown-label-small {
  font-size: 1rem;
  color: var(--navy-blue);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* CTA Button */
.cta-button {
  background: linear-gradient(135deg, var(--christmas-red), #d32f2f);
  border: 3px solid var(--christmas-gold);
  padding: 1.2rem 3rem;
  border-radius: 50px;
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px var(--glow-red), 0 4px 16px rgba(0, 0, 0, 0.3);
  font-family: "Dancing Script", cursive;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px var(--glow-red), 0 0 60px var(--glow-gold);
}

.button-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
}

.cta-button:hover .button-glow {
  left: 100%;
}

/* Floating Ornaments */
.ornaments-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.ornament {
  position: absolute;
  font-size: 2rem;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.ornament-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.ornament-2 {
  top: 20%;
  right: 15%;
  animation-delay: 1s;
}

.ornament-3 {
  top: 50%;
  left: 5%;
  animation-delay: 2s;
}

.ornament-4 {
  top: 60%;
  right: 10%;
  animation-delay: 1.5s;
}

.ornament-5 {
  top: 80%;
  left: 20%;
  animation-delay: 0.5s;
}

.ornament-6 {
  top: 30%;
  right: 5%;
  animation-delay: 2.5s;
}

/* Memory Section - Last Year's Adventure */
.memory-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.memory-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.memory-image-container {
  position: relative;
  max-width: 600px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 40px var(--glow-gold), 0 12px 40px rgba(0, 0, 0, 0.3);
  border: 3px solid var(--christmas-gold);
}

.memory-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.memory-image-container:hover .memory-image {
  transform: scale(1.05);
}

.memory-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(26, 35, 126, 0.95));
  padding: 2rem;
  color: var(--text-primary);
}

.memory-text {
  font-size: 1.3rem;
  line-height: 1.8;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Timeline Section */
.timeline-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 4rem;
  color: var(--christmas-gold);
  font-family: "Mountains of Christmas", cursive;
  text-shadow: 
    0 0 20px var(--glow-gold),
    0 0 40px var(--glow-gold),
    3px 3px 6px rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    to bottom,
    var(--christmas-gold),
    var(--christmas-red),
    var(--light-blue),
    var(--christmas-gold)
  );
  transform: translateX(-50%);
  box-shadow: 0 0 20px var(--glow-gold);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
  animation: fadeInUp 0.8s ease-out;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--christmas-red), var(--christmas-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 0 30px var(--glow-gold);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  animation: iconPulse 2s ease-in-out infinite;
}

.timeline-content {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  margin: 0 2rem;
  border: 3px solid var(--christmas-gold);
  box-shadow: 0 0 25px var(--glow-gold), 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 40px var(--glow-gold), 0 12px 40px rgba(0, 0, 0, 0.25);
}

.timeline-date {
  font-size: 1.2rem;
  color: var(--christmas-red);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-shadow: none;
}

.timeline-title {
  font-size: 2rem;
  color: var(--deep-blue);
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: "Dancing Script", cursive;
  text-shadow: none;
}

.timeline-description {
  color: var(--navy-blue);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 400;
}

.timeline-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.highlight {
  background: rgba(249, 168, 37, 0.2);
  border: 1px solid var(--christmas-gold);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1rem;
  color: var(--deep-blue);
  box-shadow: 0 0 10px var(--glow-gold);
  font-weight: 500;
}

/* Interactive Section */
.interactive-section {
  padding: 6rem 2rem;
  background: rgba(255, 255, 255, 0.15);
  text-align: center;
}

.interactive-content {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.snow-button,
.confetti-button,
.magic-button {
  background: linear-gradient(135deg, var(--christmas-red), #d32f2f);
  border: 3px solid var(--christmas-gold);
  padding: 1.5rem 2.5rem;
  border-radius: 50px;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px var(--glow-red), 0 4px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Dancing Script", cursive;
}

.snow-button:hover,
.confetti-button:hover,
.magic-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px var(--glow-red), 0 0 60px var(--glow-gold);
}

.button-icon {
  font-size: 1.5rem;
}

/* Footer */
.footer {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.1);
}

.footer-text {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  font-family: "Dancing Script", cursive;
  color: var(--text-primary);
  font-weight: 600;
}

.footer-subtext {
  font-size: 1.1rem;
  color: var(--text-secondary);
  opacity: 0.9;
  font-weight: 400;
}

.sparkle {
  animation: sparkle 2s ease-in-out infinite;
  display: inline-block;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleGlow {
  from {
    text-shadow: 
      0 0 20px var(--glow-gold),
      0 0 40px var(--glow-gold),
      3px 3px 6px rgba(0, 0, 0, 0.5);
  }
  to {
    text-shadow: 
      0 0 30px var(--glow-gold),
      0 0 60px var(--glow-gold),
      0 0 80px var(--glow-gold),
      3px 3px 6px rgba(0, 0, 0, 0.5);
  }
}

@keyframes treeSway {
  0%, 100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 30px var(--glow-gold);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 50px var(--glow-gold), 0 0 70px var(--glow-gold);
  }
}

@keyframes sparkle {
  0%, 100% {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
  50% {
    transform: rotate(180deg) scale(1.2);
    opacity: 0.8;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .timeline::before {
    left: 40px;
  }

  .timeline-item {
    flex-direction: row !important;
    padding-left: 80px;
  }

  .timeline-content {
    margin: 0;
    margin-left: 1rem;
  }

  .interactive-content {
    flex-direction: column;
    align-items: center;
  }

  .snow-button,
  .confetti-button,
  .magic-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .memory-image-container {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 1rem;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .countdown-number {
    font-size: 2rem;
  }

  .timeline-section,
  .interactive-section,
  .memory-section {
    padding: 3rem 1rem;
  }

  .timeline-content {
    padding: 1.5rem;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
