/* Dream Birthday Website - Enhanced Styles */

/* CSS Variables */
:root {
  --dream-green: #00ff41;
  --dream-yellow: #ffed4e;
  --dream-dark: #0a0a0a;
  --dream-light: #ffffff;
  --dream-gray: #333333;
  --dream-accent: #ff6b6b;
  --dream-purple: #9b59b6;
  --dream-blue: #3498db;
  --gradient-primary: linear-gradient(135deg, var(--dream-green) 0%, var(--dream-yellow) 100%);
  --gradient-secondary: linear-gradient(45deg, var(--dream-purple) 0%, var(--dream-blue) 100%);
  --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-heavy: 0 8px 40px rgba(0, 0, 0, 0.3);
  --border-radius: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--dream-dark);
  color: var(--dream-light);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Background Elements */
.background-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-icons {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-icons i,
.floating-icons .dream-icon {
  position: absolute;
  font-size: 2rem;
  opacity: 0.1;
  animation: float 8s ease-in-out infinite;
  color: var(--dream-green);
}

.floating-icons .dream-icon {
  font-size: 3rem;
}

.floating-icons i:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-icons i:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; }
.floating-icons i:nth-child(3) { top: 60%; left: 20%; animation-delay: 2s; }
.floating-icons i:nth-child(4) { bottom: 30%; right: 10%; animation-delay: 3s; }
.floating-icons i:nth-child(5) { bottom: 10%; left: 30%; animation-delay: 4s; }
.floating-icons .dream-icon:nth-child(6) { top: 40%; right: 25%; animation-delay: 5s; }
.floating-icons .dream-icon:nth-child(7) { bottom: 50%; left: 5%; animation-delay: 6s; }
.floating-icons .dream-icon:nth-child(8) { top: 80%; right: 30%; animation-delay: 7s; }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.1; }
  50% { transform: translateY(-30px) rotate(180deg); opacity: 0.3; }
}

/* Particles */
#particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
  33% { transform: translateY(-20px) translateX(10px) scale(1.2); }
  66% { transform: translateY(-10px) translateX(-10px) scale(0.8); }
}

/* Simple Realistic Rope Design - Attached to navbar bottom */
.pull-rope-container {
  position: absolute;
  top: 0px; /* Start from top of hero section (right below navbar) */
  right: 80px;
  z-index: 10001;
  cursor: grab;
  user-select: none;
  padding: 15px;
  transition: transform 0.1s ease, opacity 0.3s ease;
  display: block;
  opacity: 1;
}

.pull-rope-container:hover {
  transform: translateY(2px);
}

.pull-rope-container:active,
.pull-rope-container.pulling {
  cursor: grabbing;
}

.rope-string {
  width: 12px;
  height: 200px;
  background: #3b82f6;
  border-radius: 6px;
  position: relative;
  margin: 0 auto;
  box-shadow: 
    inset -2px 0 4px rgba(0,0,0,0.4),
    inset 2px 0 4px rgba(255,255,255,0.2),
    2px 0 6px rgba(59, 130, 246, 0.3);
}

/* Twisted rope texture pattern */
.rope-string::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent 0px,
    rgba(30, 58, 138, 0.3) 1px,
    transparent 2px,
    rgba(59, 130, 246, 0.2) 3px,
    transparent 4px,
    rgba(30, 58, 138, 0.2) 5px,
    transparent 6px
  );
  border-radius: 6px;
  mix-blend-mode: overlay;
}

/* Rope fiber strands */
.rope-string::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    135deg,
    transparent 0px,
    rgba(59, 130, 246, 0.4) 1px,
    transparent 2px,
    rgba(96, 165, 250, 0.3) 3px,
    transparent 4px
  );
  border-radius: 6px;
}

/* Rope end with frayed effect */
.rope-string .rope-end {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: #3b82f6;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.rope-string .rope-end::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 2px;
  right: 2px;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0px,
    #3b82f6 1px,
    transparent 2px
  );
}

.pull-rope-container.pulling .rope-string {
  height: 220px;
  transition: height 0.3s ease;
  box-shadow: 
    inset -2px 0 4px rgba(0,0,0,0.4),
    inset 2px 0 4px rgba(255,255,255,0.2),
    2px 0 6px rgba(59, 130, 246, 0.5);
}


/* Tooltip for pull rope */
.pull-rope-container::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -50px;
  right: -100px;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10003;
}

.pull-rope-container:hover::after {
  opacity: 1;
}

/* Falling Blobs */
#blobs-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.blob:not(.dream-blob-image) {
  position: absolute;
  width: 40px;
  height: 40px;
  background: var(--dream-green);
  border-radius: 50% 40% 50% 40%;
  opacity: 0.4;
  animation: blobFall 10s linear infinite;
}

.dream-blob-image {
  position: absolute;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(0, 255, 65, 0.3));
  background: none !important;
  border-radius: 0 !important;
}

/* Blob Alert Message - Bold system font */
.blob-alert {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: #00ff41; /* Dream's signature green */
  text-shadow: 4px 4px 16px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 255, 65, 0.6); /* Strong shadow + green glow */
  z-index: 10002;
  animation: blobAlertAnimation 3s ease-in-out;
  pointer-events: none;
  letter-spacing: 2px; /* Better spacing */
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase; /* Make it more dramatic */
}

@keyframes blobAlertAnimation {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3) rotate(-10deg);
  }
  15% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2) rotate(5deg);
  }
  25% {
    transform: translate(-50%, -50%) scale(1.1) rotate(-2deg);
  }
  35% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  85% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8) rotate(2deg);
  }
}

/* Button tooltip */
.btn[data-tooltip] {
  position: relative;
}

.btn[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10002;
}

.btn[data-tooltip]:hover::after {
  opacity: 1;
}

/* Button hint text */
.btn-hint {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
  font-weight: 400;
  margin-top: 2px;
}

@keyframes blobFall {
  0% {
    transform: translateY(-60px) rotate(0deg) scale(0.3);
    opacity: 0;
  }
  5% {
    transform: translateY(-40px) rotate(45deg) scale(0.6);
    opacity: 0.8;
  }
  15% {
    transform: translateY(10vh) rotate(90deg) scale(0.9);
    opacity: 1;
  }
  40% {
    transform: translateY(40vh) rotate(180deg) scale(1);
    opacity: 0.9;
  }
  70% {
    transform: translateY(70vh) rotate(270deg) scale(1.1);
    opacity: 0.8;
  }
  90% {
    transform: translateY(95vh) rotate(320deg) scale(1.0);
    opacity: 0.6;
  }
  100% {
    transform: translateY(120vh) rotate(360deg) scale(0.8);
    opacity: 0;
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-icon svg,
.brand-icon img {
  transition: var(--transition);
}

.brand-icon:hover svg {
  transform: scale(1.1) rotate(5deg);
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--dream-light);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  background: rgba(0, 255, 65, 0.1);
  color: var(--dream-green);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--dream-green);
  transition: var(--transition);
  border-radius: 2px;
}

/* Hero Section */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, 
    var(--dream-green) 0%, 
    var(--dream-blue) 25%, 
    var(--dream-purple) 50%, 
    var(--dream-accent) 75%, 
    var(--dream-green) 100%);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(360deg) scale(1.1); }
}

.hero-content {
  text-align: center;
  z-index: 10;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-heavy);
  max-width: 800px;
  margin: 0 20px;
  animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-avatar {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 2rem;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid var(--dream-green);
  box-shadow: var(--shadow-heavy);
  animation: avatarBounce 3s ease-in-out infinite;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes avatarBounce {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.05) rotate(2deg); }
}

.avatar-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  background: conic-gradient(var(--dream-green), var(--dream-yellow), var(--dream-green));
  animation: avatarGlow 4s linear infinite;
  z-index: -1;
}

@keyframes avatarGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.title-line {
  display: block;
  color: var(--dream-light);
  animation: titleSlideIn 1s ease-out 0.3s both;
}

.title-name {
  display: block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleSlideIn 1s ease-out 0.6s both;
  text-shadow: 0 0 50px rgba(0, 255, 65, 0.5);
}

@keyframes titleSlideIn {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--dream-light);
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out 1.2s both;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dream-yellow);
  text-shadow: 0 0 20px rgba(255, 237, 78, 0.5);
}

.stat-label {
  font-size: 1rem;
  color: var(--dream-light);
  opacity: 0.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 1.5s both;
}

.refresh-notice {
  margin-top: 2rem;
  text-align: center;
  animation: fadeInUp 1s ease-out 2s both;
}

.refresh-notice p {
  color: var(--dream-light);
  opacity: 0.7;
  font-size: 0.9rem;
}

.refresh-notice strong {
  color: var(--dream-green);
  font-weight: 600;
}

/* Loading animation */
@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

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

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: var(--dream-light);
  animation: bounce 2s infinite;
  cursor: pointer;
  opacity: 0.7;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Buttons */
.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: var(--transition);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--dream-dark);
  box-shadow: 0 6px 25px rgba(0, 255, 65, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(0, 255, 65, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--dream-light);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
}

/* Section Styles */
section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 4rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* About Section */
#about {
  background: linear-gradient(135deg, rgba(0, 255, 65, 0.05) 0%, rgba(255, 237, 78, 0.05) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.text-block {
  margin-bottom: 2rem;
  opacity: 0;
  animation: slideInLeft 1s ease-out forwards;
}

.text-block:nth-child(2) {
  animation-delay: 0.3s;
}

.text-block h3 {
  color: var(--dream-green);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.text-block p {
  color: var(--dream-light);
  opacity: 0.9;
  line-height: 1.8;
}

.dream-facts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: slideInLeft 1s ease-out 0.6s both;
}

.fact {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.fact i {
  color: var(--dream-yellow);
  font-size: 1.3rem;
}

/* Fact icon with smile images */
.fact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  padding: 5px;
}

.fact-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 50%;
}

/* Individual positioning adjustments for smile images */
.fact:nth-child(1) .fact-icon {
  transform: translateY(-3px); /* First smile up a bit */
}

.fact:nth-child(2) .fact-icon {
  transform: translateY(3px); /* Second smile down a bit */
}

/* Adjust individual smile positions - Born smile up, From smile right+down */
.fact:nth-child(1) .fact-icon img {
  transform: translateY(-5px); /* Born smile more up */
}

.fact:nth-child(2) .fact-icon img {
  transform: translate(2px, 3px); /* From smile right and down */
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  opacity: 0;
  animation: slideInRight 1s ease-out forwards;
}

.feature-card:nth-child(2) { animation-delay: 0.3s; }
.feature-card:nth-child(3) { animation-delay: 0.6s; }

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
}

.feature-card i,
.feature-card .feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card .feature-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 1rem;
  display: block;
}

.minecraft-card i { color: var(--dream-green); }
.music-card i { color: var(--dream-yellow); }
.community-card i { color: var(--dream-accent); }

.feature-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dream-light);
}

.feature-card p {
  color: var(--dream-light);
  opacity: 0.8;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Epic Achievements Journey */
#achievements {
  background: radial-gradient(ellipse at center, rgba(155, 89, 182, 0.1) 0%, transparent 70%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.journey-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Walking Path */
.walking-path {
  position: relative;
  width: 100%;
  height: 120px;
  margin: 2rem 0;
}

.path-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-primary);
  border-radius: 3px;
  transform: translateY(-50%);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.checkpoint {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkpoint[data-phase="1"] { left: 0%; }
.checkpoint[data-phase="2"] { left: 25%; }
.checkpoint[data-phase="3"] { left: 50%; }
.checkpoint[data-phase="4"] { left: 75%; }

.checkpoint-marker {
  width: 40px;
  height: 40px;
  background: var(--dream-yellow);
  border: 4px solid var(--dream-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dream-dark);
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
  transform: translateX(-50%);
}

.checkpoint-label {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--dream-light);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  opacity: 0.8;
}

.checkpoint:hover .checkpoint-marker {
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.8);
}

.checkpoint.active .checkpoint-marker {
  background: var(--dream-green);
  animation: pulse 2s infinite;
}

/* Old walking character styles removed - now using progress bar version */

@keyframes walkBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 65, 0.5); }
  50% { box-shadow: 0 0 30px rgba(0, 255, 65, 1); }
}

/* Phase animations now use actual GIF files for smoother playback */

/* Birthday Glow Animation for Rope Pull Effect */
@keyframes birthdayGlow {
  0%, 100% { 
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
  }
  33% { 
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
  }
  66% { 
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.7);
  }
}

/* Phase Content */
.phase-content {
  margin: 0.5rem 0;
  position: relative;
  min-height: 450px; /* Increased from 300px to 450px (1.5x again) */
}

.phase-item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 3.5rem; /* Increased from 3rem to 3.5rem for taller text box */
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  min-height: 280px; /* Increased from 250px to 280px */
}

.phase-item.active {
  opacity: 1;
  transform: translateY(0);
  position: absolute;
}

.phase-item h3 {
  color: var(--dream-green);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.phase-item p {
  color: var(--dream-light);
  opacity: 0.9;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.phase-details {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.phase-year {
  background: var(--gradient-secondary);
  color: var(--dream-light);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.phase-achievement {
  color: var(--dream-yellow);
  font-weight: 600;
  font-size: 1rem;
}

.phase-example {
  color: var(--dream-accent);
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(255, 107, 107, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  display: inline-block;
  margin-left: 1rem;
}

/* Interactive Progress Bar */
.journey-progress {
  margin-top: -2rem; /* Adjusted to move progress bar further down */
  padding: 2rem;
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* Progress Bar (restored to original design) */
.progress-bar {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  margin: 5rem auto 1rem auto;
  cursor: pointer;
}

/* Checkpoint markers */
.checkpoint {
  position: absolute;
  top: -4px;
  width: 16px;
  height: 16px;
  background: var(--dream-green);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.checkpoint:hover {
  background: var(--dream-yellow);
  border-color: var(--dream-green);
  transform: translateX(-50%) scale(1.2);
}

.checkpoint.active {
  background: var(--dream-yellow);
  border-color: var(--dream-green);
  box-shadow: 0 0 20px rgba(255, 237, 78, 0.6);
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--gradient-primary);
  border-radius: 4px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-labels {
  position: relative;
  margin-top: 1rem;
  color: var(--dream-light);
  font-size: 0.9rem;
  font-weight: 600;
  height: 1.2rem;
}

.progress-labels span {
  position: absolute;
  white-space: nowrap;
  transform: translateX(-50%);
}

.progress-labels span:nth-child(1) { left: 0%; }      /* Phase 1 */
.progress-labels span:nth-child(2) { left: 16.67%; }  /* Phase 2 */
.progress-labels span:nth-child(3) { left: 33.33%; }  /* Phase 3 */
.progress-labels span:nth-child(4) { left: 50%; }     /* Phase 4 */
.progress-labels span:nth-child(5) { left: 66.67%; }  /* Phase 5 */
.progress-labels span:nth-child(6) { left: 83.33%; }  /* Phase 6 */
.progress-labels span:nth-child(7) { left: 100%; }    /* TBC */

/* Walking Character on Progress Bar */
.walking-character-progress {
  position: absolute;
  top: -160px;
  left: 0%;
  transform: translateX(-50%);
  transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  cursor: grab;
}

.walking-character-progress:active {
  cursor: grabbing;
}

.walking-dream-progress {
  width: 180px;
  height: 180px;
  border-radius: 0;
  border: none;
  box-shadow: none;
  background-image: url('../assets/phase1.gif'); /* Default to phase 1 */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* Phase-specific GIF animations */
.walking-dream-progress.phase-1 {
  background-image: url('../assets/phase1.gif') !important;
}

.walking-dream-progress.phase-2 {
  background-image: url('../assets/phase2.gif') !important;
}

.walking-dream-progress.phase-3 {
  background-image: url('../assets/phase3.gif') !important;
}

.walking-dream-progress.phase-4 {
  background-image: url('../assets/phase4.gif') !important;
}

.walking-dream-progress.phase-5 {
  background-image: url('../assets/phase5.gif') !important;
}

.walking-dream-progress.phase-6 {
  background-image: url('../assets/phase6.gif') !important;
}

.walking-dream-progress.phase-7 {
  background-image: url('../assets/phase6.gif') !important;
}

.progress-instruction {
  text-align: center;
  margin-top: 1rem;
}

.progress-instruction small {
  color: var(--dream-light);
  opacity: 0.7;
  font-style: italic;
}

/* Phase year inline with title */
.phase-year-inline {
  font-size: 0.8em;
  color: var(--dream-green);
  background: rgba(0, 255, 65, 0.1);
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  margin-left: 0.5rem;
  font-weight: 600;
}

/* Media Section */
#media {
  background: linear-gradient(45deg, rgba(52, 152, 219, 0.1) 0%, rgba(155, 89, 182, 0.1) 100%);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.media-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

.media-card:nth-child(2) { animation-delay: 0.3s; }
.media-card:nth-child(3) { animation-delay: 0.6s; }

.media-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
}

.media-card h3 {
  color: var(--dream-light);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
}

.audio-player {
  text-align: center;
  margin-bottom: 1rem;
}

.audio-player audio {
  width: 100%;
  border-radius: 10px;
}

.birthday-audio p {
  color: var(--dream-light);
  opacity: 0.8;
  text-align: center;
  font-style: italic;
}

/* Social Links */
#socials {
  background: radial-gradient(circle at center, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
}

.socials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.social-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  color: var(--dream-light);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: socialSlideIn 1s ease-out forwards;
}

.social-card:nth-child(2) { animation-delay: 0.1s; }
.social-card:nth-child(3) { animation-delay: 0.2s; }
.social-card:nth-child(4) { animation-delay: 0.3s; }
.social-card:nth-child(5) { animation-delay: 0.4s; }
.social-card:nth-child(6) { animation-delay: 0.5s; }

.social-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: var(--transition);
  z-index: -1;
}

.social-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-heavy);
  color: var(--dream-light);
}

.social-card:hover::before {
  left: 0;
}

.youtube::before { background: linear-gradient(135deg, #FF0000, #CC0000); }
.youtube-alt::before { background: linear-gradient(135deg, #FF6B6B, #FF3333); }
.twitter::before { background: linear-gradient(135deg, #1DA1F2, #0d8bd9); }
.twitch::before { background: linear-gradient(135deg, #9146FF, #772ce8); }
.instagram::before { background: linear-gradient(135deg, #E4405F, #C13584, #833AB4); }
.spotify::before { background: linear-gradient(135deg, #1DB954, #1ed760); }

.social-card i {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.social-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.social-card p {
  opacity: 0.9;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.follow-count {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
}

@keyframes socialSlideIn {
  from { opacity: 0; transform: translateY(30px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Birthday Wishes - Random Display */
#wishes {
  background: radial-gradient(circle at center, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
}

.wishes-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

/* Random Wish Display */
.random-wish-display {
  flex: 1;
  margin-bottom: 0;
}

.wish-spotlight {
  text-align: center;
  position: relative;
  min-height: 600px; /* Increased from 450px to 600px for taller text box */
}

.featured-wish {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  padding: 2rem 2rem 2rem 2rem;
  border-radius: var(--border-radius);
  border: 2px solid var(--dream-green);
  margin-bottom: 3rem; /* More space for fixed buttons */
  position: relative;
  transition: all 0.5s ease;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
  height: 350px; /* Fixed height for consistent size */
  overflow-y: auto; /* Enable scrolling when content overflows */
}

.featured-wish:hover {
  transform: scale(1.02);
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.5);
}

.featured-wish .wish-content p {
  color: var(--dream-light);
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-weight: 500;
}

.featured-wish .wish-content {
  padding-bottom: 0.2rem; /* Further reduced to bring text much closer to bottom */
}

.featured-wish .wish-author {
  color: var(--dream-green);
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.2rem; /* Reduced from 0.5rem to 0.2rem */
}

.wish-example {
  color: var(--dream-yellow);
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(255, 237, 78, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  display: inline-block;
}

.wish-controls {
  display: flex;
  gap: 1rem;
  justify-content: center;
  position: absolute;
  bottom: 7rem; /* Moved even further up from 2rem to 3rem */
  left: 0;
  right: 0;
  padding: 0.5rem 0; /* Reduced padding */
}

.wish-controls .btn {
  min-width: 180px;
}


/* Wishes Footer */
.wishes-footer {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.wishes-footer p {
  color: var(--dream-light);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-link {
  color: var(--dream-green);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--dream-yellow);
  text-shadow: 0 0 10px rgba(255, 237, 78, 0.5);
}

.wishes-stats {
  color: var(--dream-yellow);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Animation for wish changes */
.wish-changing {
  animation: wishFade 0.5s ease-in-out;
}

@keyframes wishFade {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1); }
}

/* Wishes Thumbnail Gallery */
.wishes-thumbnail-gallery {
  flex: 0 0 400px;
  margin-bottom: 0;
  position: relative;
}

.wishes-thumbnail-container {
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  scrollbar-width: thin;
  scrollbar-color: var(--dream-green) rgba(255, 255, 255, 0.1);
  max-height: 500px;
}

.wishes-thumbnail-container::-webkit-scrollbar {
  width: 8px;
}

.wishes-thumbnail-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.wishes-thumbnail-container::-webkit-scrollbar-thumb {
  background: var(--dream-green);
  border-radius: 4px;
  transition: var(--transition);
}

.wishes-thumbnail-container::-webkit-scrollbar-thumb:hover {
  background: var(--dream-yellow);
}

.wishes-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wish-item {
  flex: 0 0 auto;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.8rem;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wish-item:hover {
  border-color: var(--dream-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 255, 65, 0.3);
}

.wish-item.active {
  border-color: var(--dream-yellow);
  box-shadow: 0 4px 15px rgba(255, 237, 78, 0.5);
}

.wish-item-text {
  font-size: 0.85rem;
  color: var(--dream-light);
  line-height: 1.3;
  margin-bottom: 0.3rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.wish-item-author {
  font-size: 0.75rem;
  color: var(--dream-green);
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Artist Gallery */
#gallery {
  background: radial-gradient(ellipse at center, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
}

/* Thumbnail Gallery */
.thumbnail-gallery {
  margin-bottom: 3rem;
  position: relative;
}

.thumbnail-container {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  scrollbar-width: thin;
  scrollbar-color: var(--dream-green) rgba(255, 255, 255, 0.1);
}

.thumbnail-container::-webkit-scrollbar {
  height: 8px;
}

.thumbnail-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.thumbnail-container::-webkit-scrollbar-thumb {
  background: var(--dream-green);
  border-radius: 4px;
  transition: var(--transition);
}

.thumbnail-container::-webkit-scrollbar-thumb:hover {
  background: var(--dream-yellow);
}

.thumbnail-grid {
  display: flex;
  gap: 1rem;
  min-width: fit-content;
}

.thumbnail-item {
  flex: 0 0 200px;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.thumbnail-item:hover {
  border-color: var(--dream-green);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 255, 65, 0.3);
}

.thumbnail-item.active {
  border-color: var(--dream-yellow);
  box-shadow: 0 8px 25px rgba(255, 237, 78, 0.5);
}

.thumbnail-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.thumbnail-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}

/* Thumbnail loading states */
.thumbnail-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--dream-light);
  border-radius: 10px;
}

.thumbnail-loading i {
  font-size: 2rem;
  color: var(--dream-green);
  margin-bottom: 0.5rem;
}

.thumbnail-loading small {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Removed thumbnail navigation buttons - now uses scrollbar */

/* Enhanced artwork display */
.artwork-display {
  position: relative;
  width: 100%;
  height: 450px; /* Fixed height for consistent container size */
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.artwork-display img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-container {
  max-width: 900px;
  margin: 0 auto;
}

.gallery-description {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-description p {
  color: var(--dream-light);
  font-size: 1.1rem;
  opacity: 0.9;
}

.featured-artwork {
  margin-bottom: 3rem;
}

.artwork-frame {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.5s ease;
  width: 100%;
  max-width: 800px;
  min-height: 600px; /* Fixed minimum height instead of aspect-ratio */
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.artwork-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}


.artwork-display:hover {
  transform: scale(1.02);
}

.artwork-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--dream-green) 0%, var(--dream-blue) 50%, var(--dream-purple) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.placeholder-content {
  text-align: center;
  color: var(--dream-light);
}

.placeholder-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.placeholder-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.artwork-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--dream-yellow);
  color: var(--dream-dark);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
}

.artwork-info {
  text-align: center;
}

.artwork-info h4 {
  color: var(--dream-light);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.artwork-info p {
  color: var(--dream-light);
  opacity: 0.8;
  margin-bottom: 1rem;
  font-size: 1rem;
}

#artworkDescription {
  max-height: 4.5em;
  line-height: 1.5em;
  overflow-y: auto;
  overflow-x: hidden;
}

.artist-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.artist-info span {
  color: var(--dream-green);
  font-weight: 600;
}

.artist-link {
  color: var(--dream-green);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.artist-link:hover {
  color: var(--dream-yellow);
  text-shadow: 0 0 10px rgba(255, 237, 78, 0.5);
}

.artist-handle {
  color: var(--dream-blue) !important;
  font-size: 0.9rem;
  opacity: 0.8;
}

.gallery-controls {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.gallery-controls .btn {
  min-width: 180px;
}

.gallery-footer {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-footer p {
  color: var(--dream-light);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.gallery-stats {
  color: var(--dream-blue);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Artwork transition animation */
.artwork-changing {
  animation: artworkFade 0.6s ease-in-out;
}

@keyframes artworkFade {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--dream-dark) 0%, #1a1a1a 100%);
  padding: 3rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  color: var(--dream-light);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--dream-light);
  opacity: 0.7;
}

.footer-brand .contact-info {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-brand .contact-info .contact-link {
  color: var(--dream-green);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.footer-brand .contact-info .contact-link:hover {
  color: var(--dream-yellow);
  text-shadow: 0 0 10px rgba(255, 237, 78, 0.5);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--dream-light);
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--dream-green);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 1rem; /* Added bottom padding to bring closer to edge */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--dream-light);
  opacity: 0.6;
}

/* Birthday Dream Text Animation */
@keyframes birthdayTextGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes birthdayTextFloat {
  0%, 100% { transform: translateX(-50%) translateY(0px) scale(1); }
  50% { transform: translateX(-50%) translateY(-10px) scale(1.05); }
}

/* Balloon Animation Enhancements */
.balloon-blob-animation {
  filter: drop-shadow(0 4px 12px rgba(255, 107, 107, 0.4));
  animation: balloonFloat 4s ease-in-out;
}

@keyframes balloonFloat {
  0% { transform: translateX(-50%) rotate(0deg); }
  25% { transform: translateX(-50%) rotate(-3deg); }
  50% { transform: translateX(-50%) rotate(2deg); }
  75% { transform: translateX(-50%) rotate(-1deg); }
  100% { transform: translateX(-50%) rotate(5deg) scale(1.1); }
}

/* Confetti */
#confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  opacity: 0.8;
  animation: confettiFall 3s linear infinite;
}

@keyframes confettiFall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(120vh) rotate(720deg);
    opacity: 0;
  }
}

/* Hidden Blob Easter Eggs */
.hidden-blob {
  position: absolute;
  z-index: 50;
  cursor: pointer;
  opacity: 0.6; /* More visible by default */
  transform: scale(0.8) rotate(-15deg);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: auto;
  width: 360px; /* 3x larger than before */
  height: 360px;
}

.hidden-blob:hover {
  opacity: 0.9;
  transform: scale(0.85) rotate(-10deg);
}

.hidden-blob.visible {
  opacity: 1;
  transform: scale(1.0) rotate(5deg) !important;
  z-index: 100;
}

/* When visible, move blobs to fully visible positions */
.hidden-blob[data-blob="sapnap"].visible {
  top: 50px !important;
  right: 50px !important;
}

.hidden-blob[data-blob="gogy"].visible {
  top: 50px !important;
  left: 50px !important;
}

.hidden-blob[data-blob="horn"].visible {
  bottom: 50px !important;
  right: 50px !important;
}

.hidden-blob[data-blob="cake"].visible {
  bottom: 50px !important;
  left: 50px !important;
}

.hidden-blob.retracting {
  opacity: 0.6;
  transform: scale(0.8) rotate(-15deg);
  transition: all 0.6s ease-in;
}

/* When retracting, move back to original hidden positions */
.hidden-blob[data-blob="sapnap"].retracting {
  top: -200px !important;
  right: -200px !important;
  transform: scale(0.8) rotate(-25deg) !important;
}

.hidden-blob[data-blob="gogy"].retracting {
  top: -200px !important;
  left: -200px !important;
  transform: scale(0.8) rotate(25deg) !important;
}

.hidden-blob[data-blob="horn"].retracting {
  bottom: -200px !important;
  right: -200px !important;
  transform: scale(0.8) rotate(15deg) !important;
}

.hidden-blob[data-blob="cake"].retracting {
  bottom: -200px !important;
  left: -200px !important;
  transform: scale(0.8) rotate(-30deg) !important;
}

.hidden-blob img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 255, 65, 0.4));
}

/* Clear and visible when clicked */
.hidden-blob.visible img {
  filter: none; /* Remove shadow and blur when fully visible */
}

/* Position different blobs in corners - more visible edges */
.hidden-blob[data-blob="sapnap"] {
  top: -200px;
  right: -200px;
  transform: scale(0.8) rotate(-25deg);
}

.hidden-blob[data-blob="gogy"] {
  top: -200px;
  left: -200px;
  transform: scale(0.8) rotate(25deg);
}

.hidden-blob[data-blob="horn"] {
  bottom: -200px;
  right: -200px;
  transform: scale(0.8) rotate(15deg);
}

.hidden-blob[data-blob="cake"] {
  bottom: -200px;
  left: -200px;
  transform: scale(0.8) rotate(-30deg);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .about-grid,
  .wishes-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px !important;
  }
  
  .timeline-item::before {
    left: 20px;
    transform: none;
  }
  
  .socials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .wishes-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .wishes-thumbnail-gallery {
    flex: none;
  }
  
  .wishes-thumbnail-container {
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 2rem 1rem;
    margin: 0 10px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .media-grid {
    grid-template-columns: 1fr;
  }
  
  .wishes-container {
    flex-direction: column;
    gap: 2rem;
  }
  
  .wishes-thumbnail-gallery {
    flex: none;
  }
  
  .wishes-thumbnail-container {
    max-height: 250px;
  }
}