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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  background: #0a0a0a;
  color: #fff;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }

/* ============ NAVBAR ============ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(6px, 2.5vw, 28px);
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: top 0.4s ease;
}

nav button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-family: inherit;
  font-weight: 400;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.3s;
  border-bottom: 2px solid transparent;
}

nav button.active {
  color: #fff;
  font-weight: 600;
  border-bottom-color: currentColor;
}

/* ============ BIOMES ============ */
.biome {
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
}

.biome-content {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
}

.three-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.section-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  opacity: 0.7;
  max-width: 550px;
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* ============ MUSTARD FIELDS ============ */
.mustard-bg {
  background: linear-gradient(180deg, #0f0d06 0%, #1a1a0a 20%, #2d2d15 40%, #4a3d1c 65%, #6b5e2a 85%, #8b7e3a 100%);
}

#hero-name {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #f4d03f, #e8c336, #d4ac0d, #f4d03f);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

#typewriter {
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: #f5e6a3;
  min-height: 2em;
  margin-bottom: 14px;
}

#hero-summary {
  max-width: 600px;
  color: rgba(255,255,255,0.7);
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  line-height: 1.7;
  margin: 0 auto 22px;
}

#hero-tags {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.tag {
  padding: 7px 18px;
  border-radius: 20px;
  font-size: 0.82rem;
}

.tag-gold {
  background: rgba(244,208,63,0.12);
  border: 1px solid rgba(244,208,63,0.25);
  color: #f4d03f;
}

.tag-white {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
}

#scroll-indicator {
  width: 22px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 11px;
  margin: 36px auto 0;
  position: relative;
}

#scroll-dot {
  width: 4px;
  height: 8px;
  background: #f4d03f;
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

/* ============ TULIP GARDEN ============ */
.tulip-bg {
  background: linear-gradient(180deg, #0d0510 0%, #1a0a1a 20%, #2d1520 45%, #3a1530 70%, #2d1520 85%, #1a0a1a 100%);
}

.tulip-title {
  background: linear-gradient(135deg, #e74c3c, #8e44ad, #f39c12, #e74c3c);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tulip-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(10px, 2vw, 26px);
  max-width: 800px;
  margin: 0 auto;
}

.tulip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s, filter 0.3s;
  perspective: 400px;
}

.tulip-item:hover {
  transform: scale(1.2) rotateY(10deg);
  z-index: 20;
  filter: drop-shadow(0 8px 20px rgba(255,200,50,0.3));
}

.tulip-svg {
  width: clamp(48px, 6.5vw, 76px);
  height: clamp(58px, 8vw, 96px);
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.3));
}

.tulip-label {
  margin-top: 5px;
  font-size: clamp(0.55rem, 0.75vw, 0.78rem);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-align: center;
  max-width: 85px;
  line-height: 1.15;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* ============ WATERFALL ============ */
.waterfall-bg {
  background: linear-gradient(180deg, #040a18 0%, #050e1e 20%, #0a1628 45%, #071a2a 70%, #0a1628 85%, #050e1e 100%);
}

.waterfall-title {
  background: linear-gradient(135deg, #1abc9c, #2980b9, #1abc9c);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.exp-card {
  background: rgba(255,255,255,0.035);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(26,188,156,0.12);
  border-radius: 16px;
  padding: clamp(16px, 2.5vw, 28px);
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* ============ SEA BEACH ============ */
.beach-bg {
  background: linear-gradient(180deg, #040a16 0%, #060d1a 15%, #0d1a2e 35%, #1a2a40 55%, #2c3e50 75%, #3d4a5c 100%);
}

.beach-title {
  background: linear-gradient(135deg, #f39c12, #e67e22, #d35400);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#badge {
  display: inline-block;
  background: linear-gradient(135deg, #f39c12, #e74c3c);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  box-shadow: 0 8px 35px rgba(243,156,18,0.3);
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,0.08);
}

.contact-link {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 12px 26px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.contact-link:hover {
  background: rgba(243,156,18,0.15);
  border-color: #f39c12;
  box-shadow: 0 4px 20px rgba(243,156,18,0.15);
}

#footer-text {
  margin-top: 28px;
  text-align: center;
  color: rgba(255,255,255,0.2);
  font-size: clamp(0.65rem, 0.9vw, 0.8rem);
}

/* ============ BEACH GRID ============ */
.glow-card {
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ============ ANIMATIONS ============ */
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes scrollWheel { 0%,100% { opacity: 1; top: 8px; } 50% { opacity: 0.3; top: 22px; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(35px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.fade-up { animation: fadeUp 0.9s forwards; opacity: 0; }
.fade-in { animation: fadeIn 1s forwards; opacity: 0; }

/* ============ RESPONSIVE ============ */
@media (max-width: 640px) {
  nav button span:last-child { display: none !important; }
}
