.dashboard-view {
  padding: 4rem 0;
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}

.dashboard-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.welcome-message {
  color: var(--color-text);
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 0.5rem;
  animation: slideDown 0.6s ease-out forwards;
}

.birthday-greeting {
  color: #00D9C0;
  animation: slideDown 0.6s ease-out 0.2s forwards;
  opacity: 0;
  text-shadow: 0 4px 30px rgba(0, 217, 192, 0.3);
}

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

.section {
  margin-bottom: 6rem;
}

.section-title {
  color: #00D9C0;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #00D9C0, #2DD881);
  border-radius: 2px;
}

.map-container {
  background: rgba(27, 38, 59, 0.6);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(0, 217, 192, 0.3);
  border-radius: 24px;
  padding: 3rem 2rem;
  margin-bottom: 4rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.map-canvas {
  width: 100%;
  height: 400px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  position: relative;
}

.distance-info {
  text-align: center;
  margin-top: 3rem;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.distance-info p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-variation-settings: 'wght' 300, 'opsz' 12;
  line-height: 1.6;
}

.distance-info p:first-child {
  margin-bottom: 1rem;
}

.distance-info p:last-child {
  margin-top: 1rem;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  font-variation-settings: 'wght' 400, 'opsz' 14;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.distance-number {
  font-family: var(--font-display);
  font-size: 5rem;
  color: #FFB800;
  font-weight: 900;
  display: block;
  margin: 1rem auto;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 30px rgba(255, 184, 0, 0.4);
  font-variation-settings: 'wght' 900, 'opsz' 144;
}

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

.envelope-card {
  background: rgba(27, 38, 59, 0.6);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(0, 217, 192, 0.3);
  border-radius: 20px;
  padding: 2rem;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.envelope-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.05));
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.envelope-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.envelope-card:hover::before {
  opacity: 1;
}

.envelope-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
  transition: transform var(--transition-bounce);
}

.envelope-card:hover .envelope-icon {
  transform: rotateY(180deg);
}

.envelope-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.video-section {
  background: rgba(27, 38, 59, 0.6);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 107, 53, 0.3);
  border-radius: 24px;
  padding: 3rem 2rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  margin-top: 2rem;
}

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

.playlist-section {
  background: rgba(27, 38, 59, 0.6);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 184, 0, 0.3);
  border-radius: 24px;
  padding: 3rem 2rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.playlist-description {
  font-family: var(--font-handwriting);
  font-size: 1.75rem;
  color: #FFB800;
  text-align: center;
  margin-bottom: 2rem;
}

.playlist-embed {
  margin-top: 2rem;
  border-radius: 16px;
  overflow: hidden;
}

.song-list {
  list-style: none;
  margin-top: 2rem;
}

.song-item {
  background: rgba(255, 255, 255, 0.03);
  border-left: 4px solid #00D9C0;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  transition: all var(--transition-smooth);
}

.song-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(8px);
  border-left-color: #2DD881;
}

.song-title {
  font-weight: 700;
  color: var(--color-text);
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.song-artist {
  color: var(--color-text-dim);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.song-note {
  font-family: var(--font-handwriting);
  font-size: 1.125rem;
  color: #FFB800;
  font-style: italic;
}

@media (max-width: 768px) {
  .dashboard-view {
    padding: 2rem 0;
  }
  
  .section {
    margin-bottom: 4rem;
  }
  
  .envelopes-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .map-canvas {
    height: 300px;
  }
}