* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; background-color: #0b1020; color: #f0f4ff; overflow-x: hidden; }

/* LOADING SCREEN */
#loading-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #050a15; display: flex; justify-content: center; align-items: center; z-index: 10000; transition: opacity 0.8s, visibility 0.8s; }
#loading-screen.loading-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-content { text-align: center; position: relative; }
.loading-planet { width: 60px; height: 60px; background: radial-gradient(circle at 35% 35%, #7aa2ff, #2a4a8a); border-radius: 50%; margin: 0 auto 1rem auto; box-shadow: 0 0 30px rgba(122, 162, 255, 0.4), 0 0 60px rgba(122, 162, 255, 0.2); animation: loadingFloat 2s ease-in-out infinite; }
.loading-ring { width: 100px; height: 25px; border: 2px solid rgba(122, 162, 255, 0.3); border-radius: 50%; position: absolute; top: 25px; left: 50%; transform: translateX(-50%) rotateX(75deg); animation: loadingRingSpin 3s linear infinite; }
@keyframes loadingFloat { 0% { transform: translateY(0); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0); } }
@keyframes loadingRingSpin { 0% { transform: translateX(-50%) rotateX(75deg) rotateZ(0deg); } 100% { transform: translateX(-50%) rotateX(75deg) rotateZ(360deg); } }
.loading-text { color: #7aa2ff; font-size: 1.5rem; margin-bottom: 1.5rem; animation: titleGlow 2s ease-in-out infinite alternate; }
.loading-bar-container { width: 200px; height: 4px; background-color: #1e2a4a; border-radius: 2px; margin: 0 auto 1rem auto; overflow: hidden; }
.loading-bar { width: 0%; height: 100%; background: linear-gradient(90deg, #7aa2ff, #a064ff); border-radius: 2px; transition: width 0.3s; box-shadow: 0 0 10px rgba(122, 162, 255, 0.5); }
.loading-sub { color: #555e7a; font-size: 0.9rem; font-style: italic; }

/* AURORA */
#aurora-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; }
.aurora { position: absolute; width: 200%; height: 300px; top: -50px; left: -50%; border-radius: 50%; filter: blur(80px); opacity: 0; animation: auroraFlow 8s ease-in-out infinite; }
.aurora-1 { background: radial-gradient(ellipse, rgba(0, 255, 128, 0.08), rgba(0, 200, 255, 0.05), transparent); animation-delay: 0s; animation-duration: 10s; }
.aurora-2 { background: radial-gradient(ellipse, rgba(100, 0, 255, 0.06), rgba(0, 150, 255, 0.04), transparent); animation-delay: 3s; animation-duration: 12s; top: -100px; }
.aurora-3 { background: radial-gradient(ellipse, rgba(0, 200, 100, 0.05), rgba(0, 100, 255, 0.03), transparent); animation-delay: 6s; animation-duration: 14s; top: 0px; }
@keyframes auroraFlow {
  0% { opacity: 0; transform: translateX(-30%) scaleY(0.8); }
  25% { opacity: 1; transform: translateX(-10%) scaleY(1.2); }
  50% { opacity: 0.7; transform: translateX(10%) scaleY(1); }
  75% { opacity: 1; transform: translateX(30%) scaleY(1.3); }
  100% { opacity: 0; transform: translateX(-30%) scaleY(0.8); }
}

/* PHOTO LOADING */
#photo-loading { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.9); justify-content: center; align-items: center; flex-direction: column; z-index: 998; gap: 1rem; }
#photo-loading p { color: #7aa2ff; font-size: 1rem; font-style: italic; }
.photo-loading-spinner { width: 40px; height: 40px; border: 3px solid #1e2a4a; border-top: 3px solid #7aa2ff; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* BACKGROUND STARS */
#stars-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.bg-star { position: absolute; background: white; border-radius: 50%; animation: twinkle 3s infinite alternate; opacity: 0; }
@keyframes twinkle { 0% { opacity: 0.1; } 50% { opacity: 0.8; } 100% { opacity: 0.2; } }

/* SHOOTING STARS */
#shooting-stars-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; }
.shooting-star { position: absolute; width: 100px; height: 2px; background: linear-gradient(90deg, #7aa2ff, transparent); border-radius: 50%; animation: shoot linear forwards; opacity: 0; transform: rotate(var(--angle)); box-shadow: 0 0 6px #7aa2ff, 0 0 15px #7aa2ff; }
@keyframes shoot { 0% { opacity: 1; transform: rotate(var(--angle)) translateX(0); } 70% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--angle)) translateX(500px); } }

/* METEOR CURSOR TRAIL */
.meteor-trail {
  position: fixed;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  background: radial-gradient(circle, #fff 20%, #7aa2ff 60%, transparent 100%);
  box-shadow: 0 0 6px #7aa2ff, 0 0 12px #7aa2ff, 0 0 2px #fff;
  animation: meteorFade 0.6s ease-out forwards;
}

@keyframes meteorFade {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--mx, -20px), var(--my, 20px)) scale(0.2);
  }
}

/* SPACE EVENTS */
#space-events-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; }
.space-event { position: absolute; }
.solar-eclipse { width: 40px; height: 40px; animation: eclipseFade 5s ease-in-out forwards; }
.eclipse-sun { position: absolute; width: 40px; height: 40px; background: radial-gradient(circle, #ffcc00, #ff8800); border-radius: 50%; box-shadow: 0 0 20px #ffcc00, 0 0 40px #ff8800, 0 0 60px #ff6600; }
.eclipse-moon { position: absolute; width: 40px; height: 40px; background: #0b1020; border-radius: 50%; animation: eclipseMove 5s ease-in-out forwards; left: -50px; top: 0; }
@keyframes eclipseMove { 0% { left: -50px; } 30% { left: 0px; } 70% { left: 0px; } 100% { left: 50px; } }
@keyframes eclipseFade { 0% { opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; } }
.supernova { width: 30px; height: 30px; animation: eclipseFade 5s ease-in-out forwards; }
.supernova::before { content: ""; position: absolute; width: 10px; height: 10px; background: white; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 15px white, 0 0 30px #7aa2ff; animation: supernovaPulse 0.5s ease-in-out infinite alternate; }
.supernova-ray { position: absolute; width: 2px; height: 25px; background: linear-gradient(180deg, white, transparent); top: 50%; left: 50%; transform-origin: center top; animation: rayGrow 2s ease-out forwards; opacity: 0; }
@keyframes supernovaPulse { 0% { box-shadow: 0 0 10px white, 0 0 20px #7aa2ff; } 100% { box-shadow: 0 0 20px white, 0 0 40px #7aa2ff, 0 0 60px #4477ff; } }
@keyframes rayGrow { 0% { height: 0; opacity: 0; } 50% { height: 30px; opacity: 1; } 100% { height: 40px; opacity: 0; } }
.nebula-burst { width: 60px; height: 60px; animation: eclipseFade 5s ease-in-out forwards; }
.nebula-cloud { position: absolute; width: 30px; height: 30px; border-radius: 50%; animation: nebulaExpand 3s ease-out forwards; opacity: 0; }
.nebula-cloud:nth-child(1) { background: radial-gradient(circle, rgba(122,162,255,0.4), transparent); top: 10px; left: 10px; }
.nebula-cloud:nth-child(2) { background: radial-gradient(circle, rgba(160,100,255,0.4), transparent); top: 5px; left: 20px; }
.nebula-cloud:nth-child(3) { background: radial-gradient(circle, rgba(255,100,150,0.3), transparent); top: 15px; left: 5px; }
@keyframes nebulaExpand { 0% { transform: scale(0); opacity: 0; } 30% { opacity: 0.8; } 100% { transform: scale(3); opacity: 0; } }
.comet { width: 100px; height: 20px; animation: cometFly 3s linear forwards; opacity: 0; }
.comet-head { position: absolute; width: 8px; height: 8px; background: #aac0ff; border-radius: 50%; right: 0; top: 50%; transform: translateY(-50%); box-shadow: 0 0 8px #7aa2ff, 0 0 15px #7aa2ff; }
.comet-tail { position: absolute; width: 80px; height: 3px; background: linear-gradient(90deg, transparent, #7aa2ff); right: 8px; top: 50%; transform: translateY(-50%); border-radius: 2px; }
@keyframes cometFly { 0% { opacity: 0; transform: translateX(0) translateY(0); } 10% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; transform: translateX(-300px) translateY(100px); } }
.planet { width: 25px; height: 25px; animation: eclipseFade 5s ease-in-out forwards; }
.planet::before { content: ""; position: absolute; width: 25px; height: 25px; background: var(--planet-color); border-radius: 50%; box-shadow: inset -5px -3px 8px rgba(0,0,0,0.4); animation: planetFloat 3s ease-in-out infinite; }
.planet-ring { position: absolute; width: 40px; height: 10px; border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; top: 8px; left: -7px; transform: rotateX(70deg); }
@keyframes planetFloat { 0% { transform: translateY(0); } 50% { transform: translateY(-5px); } 100% { transform: translateY(0); } }
.galaxy-spin { width: 40px; height: 40px; animation: eclipseFade 5s ease-in-out forwards; }
.galaxy-spin::before { content: ""; position: absolute; width: 40px; height: 40px; background: radial-gradient(ellipse, rgba(122,162,255,0.5), rgba(160,100,255,0.2), transparent); border-radius: 50%; animation: galaxyRotate 4s linear infinite; box-shadow: 0 0 15px rgba(122,162,255,0.2); }
.galaxy-spin::after { content: ""; position: absolute; width: 5px; height: 5px; background: white; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 8px white; }
@keyframes galaxyRotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.pulsar { width: 30px; height: 30px; animation: eclipseFade 5s ease-in-out forwards; }
.pulsar::before { content: ""; position: absolute; width: 6px; height: 6px; background: white; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 10px #7aa2ff; animation: supernovaPulse 0.3s ease-in-out infinite alternate; }
.pulsar-ring { position: absolute; width: 6px; height: 6px; border: 1px solid rgba(122,162,255,0.6); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); animation: pulsarExpand 1.5s ease-out infinite; opacity: 0; }
@keyframes pulsarExpand { 0% { width: 6px; height: 6px; opacity: 0.8; } 100% { width: 50px; height: 50px; opacity: 0; } }

/* CLICK STARS */
.click-star { position: fixed; background: #7aa2ff; border-radius: 50%; pointer-events: none; z-index: 9999; animation: shootStar 1s ease-out forwards; box-shadow: 0 0 6px #7aa2ff, 0 0 12px #7aa2ff; }
@keyframes shootStar { 0% { opacity: 1; transform: translate(0, 0) scale(1); } 100% { opacity: 0; transform: translate(var(--moveX), var(--moveY)) scale(0); } }

/* HEADER */
header { display: flex; justify-content: space-between; align-items: baseline; padding: 1.2rem 2rem; background-color: rgba(6, 10, 20, 0.9); position: sticky; top: 0; z-index: 100; }
header h1 { color: #7aa2ff; font-size: 1.4rem; }
.glow-title { animation: titleGlow 2s ease-in-out infinite alternate; }
@keyframes titleGlow {
  0% { text-shadow: 0 0 5px rgba(122, 162, 255, 0.3), 0 0 10px rgba(122, 162, 255, 0.1); }
  100% { text-shadow: 0 0 10px rgba(122, 162, 255, 0.6), 0 0 20px rgba(122, 162, 255, 0.3), 0 0 40px rgba(122, 162, 255, 0.1); }
}
nav a { color: #f0f4ff; text-decoration: none; margin-left: 1.5rem; transition: color 0.3s; }
nav a:hover { color: #7aa2ff; }

/* HERO */
.hero { text-align: center; padding: 6rem 2rem; background: linear-gradient(180deg, #0b1020, #1a2a4a); position: relative; z-index: 1; }
.hero h2 { font-size: 2.5rem; color: #7aa2ff; margin-bottom: 1rem; min-height: 3.5rem; border-right: 3px solid #7aa2ff; display: inline-block; padding-right: 5px; animation: blink 0.7s infinite; }
.hero h2.typing-done { border-right: none; animation: none; }
@keyframes blink { 0% { border-color: #7aa2ff; } 50% { border-color: transparent; } 100% { border-color: #7aa2ff; } }
.hero-sub { font-size: 1.2rem; color: #aac0ff; animation: fadeDown 1.5s ease-out; }
@keyframes fadeDown { 0% { opacity: 0; transform: translateY(-30px); } 100% { opacity: 1; transform: translateY(0); } }

/* BACK TO TOP ROCKET */
#rocket-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  cursor: pointer;
  z-index: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

#rocket-btn.rocket-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.rocket-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.rocket-icon {
  position: relative;
  z-index: 2;
  display: inline-block;
  font-size: 2rem;
  line-height: 1;
  transform: rotate(-45deg);
  filter: drop-shadow(0 0 8px rgba(122, 162, 255, 0.5));
  transition: transform 0.3s;
}

#rocket-btn:hover .rocket-icon {
  transform: rotate(-45deg) translateY(-3px);
}

.rocket-flame {
  position: absolute;
  z-index: 1;
  top: calc(100% - 8px);
  left: 50%;

  width: 30px;
  height: 32px;

  background: linear-gradient(
    180deg,
    #fff7a8 0%,
    #ffcc00 20%,
    #ff8800 45%,
    #ff4400 70%,
    transparent 100%
  );

  clip-path: polygon(
    5% 0%,
    95% 0%,
    75% 65%,
    60% 100%,
    50% 78%,
    40% 100%,
    25% 65%
  );

  transform: translateX(-50%) scaleY(0);
  transform-origin: top center;
  opacity: 0;

  filter:
    drop-shadow(0 0 6px #ff8800)
    drop-shadow(0 0 12px rgba(255, 68, 0, 0.7));

  transition: opacity 0.2s, transform 0.2s;
}

#rocket-btn:hover .rocket-flame {
  opacity: 1;
  animation: flicker 0.12s infinite alternate;
  transform: translateX(-50%) scaleY(1);
}

#rocket-btn.rocket-launch .rocket-body {
  animation: rocketFly 1.5s ease-in forwards;
}

#rocket-btn.rocket-launch .rocket-flame {
  width: 34px;
  height: 55px;
  opacity: 1;
  animation: launchFlicker 0.08s infinite alternate;
  transform: translateX(-50%) scaleY(1);
}

@keyframes flicker {
  from { transform: translateX(-50%) scaleX(0.9) scaleY(0.85); }
  to   { transform: translateX(-50%) scaleX(1.1) scaleY(1.1); }
}

@keyframes launchFlicker {
  from {
    transform: translateX(-50%) scaleX(0.9) scaleY(0.9);
    filter: drop-shadow(0 0 8px #ffcc00) drop-shadow(0 0 16px #ff4400);
  }
  to {
    transform: translateX(-50%) scaleX(1.15) scaleY(1.1);
    filter: drop-shadow(0 0 12px #ffcc00) drop-shadow(0 0 25px #ff2200);
  }
}

@keyframes rocketFly {
  0% { transform: translateY(0); opacity: 1; }
  10% { transform: translateY(5px); opacity: 1; }
  100% { transform: translateY(-600px); opacity: 0; }
}

/* GALLERY */
#gallery { padding: 4rem 2rem; max-width: 1100px; margin: auto; position: relative; z-index: 1; }
#gallery h2 { text-align: center; color: #7aa2ff; font-size: 2rem; margin-bottom: 2rem; }
.year-title { text-align: center; color: #aac0ff; font-size: 1.6rem; margin-top: 3rem; margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 2px solid #1e2a4a; max-width: 200px; margin-left: auto; margin-right: auto; letter-spacing: 0.1rem; }

/* SEARCH BAR */
.search-container { max-width: 600px; margin: 0 auto 2rem auto; text-align: center; }
.search-box { display: flex; align-items: center; background-color: #141a2f; border: 2px solid #1e2a4a; border-radius: 50px; padding: 0.8rem 1.5rem; transition: all 0.3s; }
.search-box:focus-within { border-color: #7aa2ff; box-shadow: 0 0 15px rgba(122, 162, 255, 0.2), 0 0 30px rgba(122, 162, 255, 0.1); }
.search-icon { font-size: 1.3rem; margin-right: 0.8rem; }
#search-input { background: none; border: none; color: #f0f4ff; font-size: 1.1rem; width: 100%; outline: none; font-family: Arial, sans-serif; }
#search-input::placeholder { color: #555e7a; }
.search-results { margin-top: 1rem; font-size: 1rem; font-style: italic; min-height: 1.5rem; }
.search-suggestions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1rem; }
.suggestion { background-color: #141a2f; color: #aac0ff; padding: 0.4rem 1rem; border-radius: 20px; border: 1px solid #1e2a4a; cursor: pointer; font-size: 0.9rem; transition: all 0.3s; }
.suggestion:hover { background-color: rgba(122, 162, 255, 0.15); border-color: #7aa2ff; color: #ffffff; box-shadow: 0 0 10px rgba(122, 162, 255, 0.2); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }

/* CARDS */
.card { background-color: #141a2f; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.4); opacity: 0; transform: translateY(30px); transition: transform 0.3s, box-shadow 0.3s, opacity 0.6s; }
.card.visible { opacity: 1; transform: translateY(0); }
.card:hover { transform: translateY(-8px); box-shadow: 0 8px 25px rgba(122, 162, 255, 0.3); }
.card img { width: 100%; height: 220px; object-fit: cover; display: block; cursor: pointer; transition: transform 0.3s; }
.card:hover img { transform: scale(1.05); }
.card p { text-align: center; padding: 0.8rem; color: #aac0ff; }

/* COMING SOON */
.coming-soon { text-align: center; padding: 5rem 2rem; background: linear-gradient(180deg, #0b1020, #141a2f); border-top: 1px solid #1e2a4a; border-bottom: 1px solid #1e2a4a; position: relative; z-index: 1; opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s; }
.coming-soon.visible { opacity: 1; transform: translateY(0); }
.coming-soon h2 { color: #7aa2ff; font-size: 2.5rem; margin-bottom: 1rem; }
.coming-soon p { color: #aac0ff; font-size: 1.2rem; font-style: italic; }

/* ABOUT */
#about { padding: 4rem 2rem; max-width: 700px; margin: auto; text-align: center; position: relative; z-index: 1; opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s; }
#about.visible { opacity: 1; transform: translateY(0); }
#about h2 { color: #7aa2ff; font-size: 2rem; margin-bottom: 1rem; }
#about p { color: #c0cfff; font-size: 1.05rem; line-height: 1.8; }

/* SOCIALS */
#socials { padding: 4rem 2rem; text-align: center; position: relative; z-index: 1; opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s; }
#socials.visible { opacity: 1; transform: translateY(0); }
#socials h2 { color: #7aa2ff; font-size: 2rem; margin-bottom: 2rem; }
.socials-container { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; max-width: 700px; margin: auto; }
.social-link { display: flex; flex-direction: column; align-items: center; text-decoration: none; padding: 1.5rem 2.5rem; border-radius: 15px; border: 1px solid #1e2a4a; background-color: #141a2f; transition: all 0.3s; min-width: 200px; }
.social-link:hover { transform: translateY(-5px); }
.social-link.instagram:hover { border-color: #e1306c; box-shadow: 0 0 20px rgba(225, 48, 108, 0.3), 0 0 40px rgba(225, 48, 108, 0.1); }
.social-link.tiktok:hover { border-color: #00f2ea; box-shadow: 0 0 20px rgba(0, 242, 234, 0.3), 0 0 40px rgba(0, 242, 234, 0.1); }
.social-icon { font-size: 2.5rem; margin-bottom: 0.8rem; }
.social-name { color: #f0f4ff; font-size: 1.2rem; font-weight: bold; margin-bottom: 0.3rem; }
.social-handle { color: #aac0ff; font-size: 0.95rem; }

/* CONTACT */
#contact { padding: 4rem 2rem; text-align: center; background-color: #0d1428; position: relative; z-index: 1; opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s; }
#contact.visible { opacity: 1; transform: translateY(0); }
#contact h2 { color: #7aa2ff; font-size: 2rem; margin-bottom: 1.5rem; }
.glow-link { display: block; color: #c0cfff; text-decoration: none; font-size: 1.2rem; padding: 1rem 2rem; border: 1px solid #7aa2ff; border-radius: 10px; max-width: 500px; margin-left: auto; margin-right: auto; margin-bottom: 1.2rem; transition: all 0.3s; animation: emailPulse 2s ease-in-out infinite alternate; }
.glow-link:hover { color: #ffffff; background-color: rgba(122, 162, 255, 0.15); box-shadow: 0 0 20px rgba(122, 162, 255, 0.5), 0 0 40px rgba(122, 162, 255, 0.2); transform: scale(1.05); }
@keyframes emailPulse {
  0% { box-shadow: 0 0 5px rgba(122, 162, 255, 0.1), 0 0 10px rgba(122, 162, 255, 0.05); transform: scale(1); }
  100% { box-shadow: 0 0 15px rgba(122, 162, 255, 0.4), 0 0 30px rgba(122, 162, 255, 0.2), 0 0 45px rgba(122, 162, 255, 0.1); transform: scale(1.02); }
}

/* WEATHER SECTION */
#weather-section { padding: 4rem 2rem; text-align: center; position: relative; z-index: 1; opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s; }
#weather-section.visible { opacity: 1; transform: translateY(0); }
#weather-section h2 { color: #7aa2ff; font-size: 2rem; margin-bottom: 0.5rem; }
.weather-subtitle { color: #aac0ff; font-size: 1rem; font-style: italic; margin-bottom: 2rem; }

/* WEATHER WIDGET */
.weather-widget { display: inline-block; background-color: rgba(20, 26, 47, 0.8); border: 1px solid #1e2a4a; border-radius: 15px; padding: 1.5rem 2rem; backdrop-filter: blur(10px); }
.weather-loading { color: #555e7a; font-style: italic; font-size: 0.9rem; }
.weather-error { color: #ff6b6b; font-style: italic; font-size: 0.9rem; }
.weather-content { text-align: center; }
.weather-main { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1rem; }
.weather-icon-big { font-size: 2.5rem; }
.weather-info { text-align: left; }
.weather-temp { color: #f0f4ff; font-size: 1.8rem; font-weight: bold; line-height: 1; }
.weather-name { color: #aac0ff; font-size: 0.95rem; margin-top: 0.2rem; }
.weather-details { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-bottom: 1rem; }
.weather-details span { color: #8899bb; font-size: 0.85rem; background-color: rgba(30, 42, 74, 0.5); padding: 0.3rem 0.7rem; border-radius: 8px; }
.astro-rating { font-size: 1rem; font-weight: bold; margin-bottom: 0.5rem; }
.weather-location { color: #555e7a; font-size: 0.8rem; }

/* STARGAZING CALENDAR */
#stargazing-calendar {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: auto;
  text-align: center;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s;
}

#stargazing-calendar.visible { opacity: 1; transform: translateY(0); }
#stargazing-calendar h2 { color: #7aa2ff; font-size: 2rem; margin-bottom: 0.5rem; }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.calendar-day {
  background-color: #141a2f;
  border: 1px solid #1e2a4a;
  border-radius: 12px;
  padding: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.calendar-day:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(122, 162, 255, 0.15);
}

.calendar-day .date { font-size: 0.95rem; color: #aac0ff; margin-bottom: 0.5rem; }
.calendar-day .moon { font-size: 2.2rem; margin: 0.5rem 0; display: block; }
.calendar-day .phase { font-size: 0.9rem; color: #f0f4ff; margin-bottom: 0.3rem; }
.calendar-day .illumination { font-size: 0.85rem; color: #8899bb; margin-bottom: 0.6rem; }
.calendar-day .rating { font-size: 0.9rem; font-weight: bold; padding: 0.3rem 0.6rem; border-radius: 20px; display: inline-block; }

.rating-great { background-color: rgba(107, 255, 107, 0.15); color: #6bff6b; }
.rating-good  { background-color: rgba(255, 204, 0, 0.15); color: #ffcc00; }
.rating-poor  { background-color: rgba(255, 107, 107, 0.15); color: #ff6b6b; }

.calendar-legend {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #8899bb;
}

.legend-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; }
.legend-dot.great { background-color: #6bff6b; }
.legend-dot.good  { background-color: #ffcc00; }
.legend-dot.poor  { background-color: #ff6b6b; }

/* UPCOMING EVENTS */

#astro-events {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: auto;
  text-align: center;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s;
}

#astro-events.visible {
  opacity: 1;
  transform: translateY(0);
}

#astro-events h2 {
  color: #7aa2ff;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.event-card {
  background-color: #141a2f;
  border: 1px solid #1e2a4a;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(122, 162, 255, 0.2);
  border-color: #7aa2ff;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.event-icon {
  font-size: 1.6rem;
}

.event-countdown {
  color: #7aa2ff;
  font-size: 0.8rem;
  font-weight: bold;
}

.event-title {
  font-size: 1.2rem;
  color: #f0f4ff;
  font-weight: bold;
  margin-bottom: 0.4rem;
}

.event-date {
  color: #7aa2ff;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.event-description {
  color: #aab7d8;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Mobile adjustment for events */
@media (max-width: 768px) {
  #astro-events {
    padding: 2.5rem 1.5rem;
  }
  #astro-events h2 {
    font-size: 1.6rem;
  }
  .events-grid {
    grid-template-columns: 1fr;
  }
}

/* FOOTER */
footer { text-align: center; padding: 1.5rem; background-color: #060a14; color: #555e7a; font-size: 0.9rem; position: relative; z-index: 1; }

/* LIGHTBOX */
#lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.9); justify-content: center; align-items: center; z-index: 999; }
#lightbox-img { max-width: 90%; max-height: 90%; border-radius: 10px; box-shadow: 0 0 30px rgba(122, 162, 255, 0.3); }
.zoom-in { animation: zoomIn 0.5s ease-out; }
@keyframes zoomIn { 0% { opacity: 0; transform: scale(0.5); } 100% { opacity: 1; transform: scale(1); } }
#close-btn { position: absolute; top: 20px; right: 30px; color: white; font-size: 3rem; cursor: pointer; }
#close-btn:hover { color: #7aa2ff; }

/* MOBILE */
@media (max-width: 768px) {
  header { flex-direction: column; text-align: center; gap: 1rem; padding: 1rem; }
  nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; padding: 0.5rem 0; }
  nav a { margin-left: 0; font-size: 0.9rem; padding: 0.3rem 0.5rem; letter-spacing: 0.03rem; }
  body { line-height: 1.9; }
  .hero { padding: 5rem 2rem; line-height: 2; }
  .hero h2 { font-size: 1.8rem; margin-bottom: 1.5rem; letter-spacing: 0.05rem; min-height: 2.5rem; }
  .hero-sub { font-size: 1rem; margin-top: 0.5rem; letter-spacing: 0.03rem; }
  #gallery { padding: 2rem 1rem; margin-bottom: 2rem; }
  #gallery h2 { font-size: 1.6rem; margin-bottom: 2.5rem; letter-spacing: 0.05rem; }
  .year-title { font-size: 1.4rem; margin-top: 2.5rem; }
  .grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .card { margin-bottom: 0.5rem; }
  .card img { height: 280px; }
  .card p { font-size: 1rem; padding: 1.2rem; letter-spacing: 0.03rem; line-height: 1.8; }
  .search-container { padding: 0 1rem; }
  .search-box { padding: 0.7rem 1rem; }
  #search-input { font-size: 1rem; }
  .search-suggestions { gap: 0.4rem; }
  .suggestion { font-size: 0.8rem; padding: 0.3rem 0.8rem; }
  .coming-soon { padding: 3rem 1.5rem; }
  .coming-soon h2 { font-size: 1.8rem; margin-bottom: 1.5rem; letter-spacing: 0.05rem; }
  .coming-soon p { font-size: 1rem; letter-spacing: 0.03rem; line-height: 2; }
  #about { padding: 2.5rem 1.5rem; margin-bottom: 2rem; }
  #about h2 { font-size: 1.6rem; margin-bottom: 1.5rem; }
  #about p { font-size: 1rem; line-height: 1.9; margin-top: 1rem; letter-spacing: 0.03rem; }
  #socials { padding: 2.5rem 1.5rem; }
  #socials h2 { font-size: 1.6rem; margin-bottom: 1.5rem; }
  .socials-container { flex-direction: column; align-items: center; gap: 1rem; }
  .social-link { width: 100%; max-width: 300px; padding: 1.2rem 2rem; }
  #contact { padding: 2.5rem 1.5rem; margin-bottom: 2rem; }
  #contact h2 { font-size: 1.6rem; margin-bottom: 2rem; }
  .glow-link { font-size: 1rem; padding: 0.9rem 1rem; margin-bottom: 1.5rem; letter-spacing: 0.03rem; }
  #weather-section { padding: 2.5rem 1.5rem; }
  #weather-section h2 { font-size: 1.6rem; }
  .weather-widget { padding: 1.2rem 1.5rem; width: 90%; }
  .weather-icon-big { font-size: 2rem; }
  .weather-temp { font-size: 1.5rem; }
  .weather-details { gap: 0.5rem; }
  .weather-details span { font-size: 0.8rem; padding: 0.2rem 0.5rem; }

  #stargazing-calendar { padding: 2.5rem 1.5rem; }
  #stargazing-calendar h2 { font-size: 1.6rem; }
  .calendar-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.8rem; }
  .calendar-day { padding: 0.8rem; }
  .calendar-day .moon { font-size: 1.8rem; }
  .calendar-legend { gap: 1rem; font-size: 0.8rem; }

  #rocket-btn { bottom: 20px; right: 20px; width: 45px; height: 60px; }
  .rocket-icon { font-size: 1.6rem; }
  #rocket-btn:hover .rocket-flame { height: 20px; }
  #rocket-btn.rocket-launch .rocket-flame { height: 40px; }

  .loading-text { font-size: 1.2rem; }
  .loading-planet { width: 45px; height: 45px; }
  .loading-ring { width: 75px; height: 20px; top: 18px; }
}

@media (max-width: 768px) {
  #rocket-btn:hover .rocket-flame {
    opacity: 0 !important;
    height: 0 !important;
  }
}