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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  background: linear-gradient(135deg, #0f0f1e 0%, #1a1626 50%, #13101f 100%);
  color: #e8e8f0;
  min-height: 100vh;
  overflow-x: hidden;
}

.navbar {
  background: rgba(15, 15, 30, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

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

.nav-brand {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-brand span {
  background: linear-gradient(135deg, #e8a8d8 0%, #d99ec9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-link {
  color: #aaa;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #ff6b9d;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff6b9d, #c06c84);
}

.home-container {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 2rem;
  text-align: center;
}

.hero {
  margin-bottom: 4rem;
  animation: fadeInDown 0.8s ease;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #e8a8d8 0%, #d99ec9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #aaa;
  font-style: italic;
}

.story-section {
  margin: 4rem 0;
  animation: fadeInUp 0.8s ease 0.2s backwards;
  padding: 2.5rem 2rem;
  background: rgba(232, 168, 216, 0.05);
  border: 1px solid rgba(217, 158, 201, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.story-paragraph {
  font-size: 1.15rem;
  color: #d0d0d8;
  line-height: 2;
  margin-bottom: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.story-paragraph:last-child {
  margin-bottom: 0;
}

.content-section {
  margin: 3rem 0;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.intro-text {
  font-size: 1.1rem;
  color: #b8b8c8;
  line-height: 1.8;
}

.audio-section {
  margin: 3rem 0;
  padding: 2rem;
  background: rgba(232, 168, 216, 0.08);
  border: 1px solid rgba(217, 158, 201, 0.2);
  border-radius: 15px;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.audio-label {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #e8a8d8;
  font-weight: 600;
}

.audio-player {
  display: flex;
  justify-content: center;
}

.audio-player audio {
  width: 100%;
  max-width: 400px;
  height: 45px;
  border-radius: 10px;
}

.audio-player audio::-webkit-media-controls-panel {
  background-color: rgba(26, 26, 46, 0.8);
}

.audio-player audio::-webkit-media-controls-mute-button,
.audio-player audio::-webkit-media-controls-play-button,
.audio-player audio::-webkit-media-controls-timeline {
  accent-color: #ff6b9d;
}

.gallery-button {
  display: inline-block;
  margin-top: 3rem;
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #e8a8d8 0%, #d99ec9 100%);
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(232, 168, 216, 0.25);
  animation: fadeInUp 0.8s ease 0.6s backwards;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(232, 168, 216, 0.4);
  background: linear-gradient(135deg, #f0b5e0 0%, #e1abd2 100%);
}

.button-arrow {
  margin-left: 0.5rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.gallery-button:hover .button-arrow {
  transform: translateX(5px);
}

/* Heart animation */
.heart {
  position: fixed;
  color: #e8a8d8;
  font-size: 2rem;
  pointer-events: none;
  z-index: 999;
  animation: float-up 3s ease-in forwards;
  opacity: 0.85;
}

@keyframes float-up {
  0% {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-100vh) translateX(100px) rotate(360deg);
  }
}

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

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

@media (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
  }

  .nav-brand {
    font-size: 1.1rem;
  }

  .nav-logo {
    width: 32px;
    height: 32px;
  }

  .nav-brand span {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .home-container {
    margin: 2rem auto;
    padding: 0 1rem;
  }

  .hero {
    margin-bottom: 2rem;
  }

  .content-section {
    margin: 2rem 0;
  }

  .intro-text {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .audio-section {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: 10px;
  }

  .audio-label {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .audio-player audio {
    max-width: 100%;
    height: 40px;
  }

  .gallery-button {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    margin-top: 2rem;
    width: 90%;
    max-width: 300px;
  }

  .button-arrow {
    margin-left: 0.3rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .navbar {
    padding: 0.75rem 0;
  }

  .nav-container {
    padding: 0 0.75rem;
  }

  .nav-brand {
    font-size: 1rem;
    gap: 0.5rem;
  }

  .nav-logo {
    width: 28px;
    height: 28px;
  }

  .hero-title {
    font-size: 1.6rem;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .home-container {
    margin: 1.5rem auto;
    padding: 0 0.75rem;
  }

  .hero {
    margin-bottom: 1.5rem;
  }

  .content-section {
    margin: 1.5rem 0;
  }

  .intro-text {
    font-size: 0.9rem;
  }

  .audio-section {
    margin: 1.5rem 0;
    padding: 1rem;
  }

  .audio-label {
    font-size: 0.9rem;
  }

  .audio-player audio {
    height: 36px;
  }

  .gallery-button {
    padding: 0.9rem 1.2rem;
    font-size: 0.9rem;
    margin-top: 1.5rem;
  }

  .heart {
    font-size: 1.5rem;
  }
}
