* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background-color: #111111;
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.5s ease;
}

.fade-in {
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.navbar {
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.nav-menu {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 20px 0;
}

.nav-menu li {
  margin: 0 20px;
}

.nav-menu a {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #cccccc;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #cccccc;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.music-player {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(30, 30, 30, 0.8);
  border-radius: 50px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  z-index: 99;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.music-player.hidden {
  display: none;
}

.music-info {
  margin-right: 15px;
  font-size: 14px;
  color: #dddddd;
}

.music-controls button {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  transition: all 0.2s ease;
}

.music-controls button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
  box-shadow: none;
}

#play-icon, #pause-icon {
  pointer-events: none;
}

#snow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.main-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 120px 30px 50px;
  min-height: 100vh;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.main-container.hidden {
  opacity: 0;
  display: none;
}

.card {
  width: 300px;
  height: 400px;
  perspective: 1000px;
  margin: 20px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-radius: 15px;
}

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

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  border-radius: 15px;
}

.card-front {
  background: linear-gradient(145deg, #222222, #333333);
  color: white;
}

.card-front h2 {
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.card-back {
  background: linear-gradient(145deg, #333333, #222222);
  color: white;
  transform: rotateY(180deg);
}

.card-back ul {
  list-style: none;
  margin-bottom: 20px;
  text-align: center;
}

.card-back li {
  margin: 10px 0;
  color: #dddddd;
}

.card-back a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.card-back a:hover {
  opacity: 0.8;
}

button {
  background-color: #ffffff;
  color: #111111;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 15px;
}

button:hover {
  background-color: #dddddd;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.section-container {
  display: none;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 120px 30px 50px;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.section-active {
  display: flex;
  opacity: 1;
}

.section-details {
  background: linear-gradient(145deg, #222222, #333333);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.section-details h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-details p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #dddddd;
}

.section-details ul {
  list-style: none;
  margin: 20px 0;
  text-align: left;
  padding-left: 20px;
}

.section-details li {
  margin: 10px 0;
  position: relative;
  padding-left: 25px;
  color: #cccccc;
}

.section-details li:before {
  content: '→';
  position: absolute;
  left: 0;
  color: #ffffff;
}

.back-btn {
  margin-top: 30px;
}

.snowflake {
  opacity: 0.4;
  background: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-menu li {
    margin: 10px 0;
  }
  
  .card {
    width: 280px;
    height: 380px;
  }
  
  .music-player {
    bottom: 10px;
    right: 10px;
    padding: 8px 15px;
  }
  
  .music-info {
    font-size: 12px;
  }
}