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

body {
  font-family: 'Poppins', sans-serif;
  background: #000;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  overflow-x: hidden;
}

/* Loading Animation */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader {
  border: 5px solid #ffd700;
  border-top: 5px solid #000;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Main Container */
.container {
  background: rgba(0, 0, 0, 0.8);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
  max-width: 90%;
  margin: 0 auto;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ffd700;
}

.subtitle {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #ccc;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.countdown-item {
  background: #111;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
  text-align: center;
  min-width: 80px;
}

.countdown-item span {
  font-size: 2rem;
  font-weight: 600;
  color: #ffd700;
}

.countdown-item p {
  font-size: 0.9rem;
  color: #ccc;
}

/* Images */
.birthday-image, .bottom-image, .gif {
  margin: 1.5rem auto;
  max-width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.birthday-image img, .bottom-image img, .gif img {
  width: 100%;
  border-radius: 10px;
}

/* GitHub Attribution */
.github {
  margin-top: 2rem;
}

.github a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd700;
  text-decoration: none;
}

.github img {
  width: 30px;
  margin-right: 10px;
}

.github p {
  font-size: 1rem;
  color: #ccc;
}

/* Birthday Cake Icon */
.cake-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
