body {
  background: linear-gradient(145deg, #121212 0%, #1E1E1E 50%, #2B2B2B 100%);





  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: 'Cinzel', serif;
}

.clock-container {
  display: flex;
  flex-direction: column; /* stack vertically */
  align-items: center;    /* center horizontally */
  justify-content: center;/* center vertically */
  gap: 40px; /* space between clock and time box */
  text-align: center;
}


.clock {
  position: relative;
  width: 350px;
  height: 350px;
  border: 4px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(255, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(0deg);
  border-radius: 2px;
}

.hour {
  width: 6px;
  height: 90px;
  background: #ffb347;
}

.minute {
  width: 4px;
  height: 120px;
  background: #ffffff;
}

.second {
  width: 2px;
  height: 140px;
  background: #ff4d4d;
}

.center-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 💎 The Time Box (Digital) */
#time {
  height: 70px;
  width: 300px;
  border-radius: 10px;

  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);

  box-shadow:
    0 0 20px rgba(255, 0, 0, 0.25),
    inset 0 0 15px rgba(255, 255, 255, 0.05);

  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  letter-spacing: 3px;
  color: #E0E0E0;
  transform: perspective(500px) rotateX(5deg);
  transition: all 0.3s ease;
}

#time:hover {
  box-shadow:
    0 0 30px rgba(255, 50, 50, 0.5),
    inset 0 0 25px rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
  color: #fff;
}

#infi {
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);

  
  /* Glassmorphic background */
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
  backdrop-filter: blur(10px);
  
  /* Soft glowing edges */
  box-shadow:
    0 0 10px rgba(255, 0, 0, 0.2),
    inset 0 0 10px rgba(255, 255, 255, 0.05);

  /* Text style */
  color: #E0E0E0;
  letter-spacing: 1px;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  
  /* Optional: 3D perspective pop */
  transform: perspective(600px) rotateX(4deg);
}

/* ✨ Hover: Light Pulse Effect */
#infi:hover {
  box-shadow:
    0 0 25px rgba(255, 0, 0, 0.4),
    inset 0 0 15px rgba(255, 255, 255, 0.1);
  color: white;
  transform: scale(1.05);
}

/* 🔘 Active/Pressed State */
#infi:active {
  transform: scale(0.97);
  box-shadow:
    0 0 15px rgba(255, 0, 0, 0.3),
    inset 0 0 25px rgba(255, 255, 255, 0.15);
}

.theme-selector {
  position: absolute;
  top: 30px;
  right: 40px;
  z-index: 9999;  /* Ensures it sits above everything else */
  overflow: visible; /* lets the dropdown expand freely */
}

body, html {
  overflow: visible;
}

#themeDropdown {
  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  backdrop-filter: blur(12px);
  color: #E0E0E0;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 10px 45px 10px 15px;
  font-family: 'Cinzel', serif;
  font-size: 15px;
  letter-spacing: 1px;
  cursor: pointer;
  appearance: none;
  outline: none;
  box-shadow:
    0 0 15px rgba(255, 0, 0, 0.2),
    inset 0 0 10px rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

/* Hover / focus */
#themeDropdown:hover, #themeDropdown:focus {
  box-shadow:
    0 0 25px rgba(255, 50, 50, 0.4),
    inset 0 0 15px rgba(255, 255, 255, 0.1);
  color: white;
  transform: scale(1.02);
}

/* Add a down arrow manually (looks classy) */
#themeDropdown::after {
  content: "▼";
  position: absolute;
  right: 15px;
  color: #FFD700;
  pointer-events: none;
  font-size: 12px;
  top: 50%;
  transform: translateY(-50%);
}

#l{
  text-decoration: none;
  color: white;
}

#timer {
  height: 350px;
  width: 750px;
  border-radius: 10px;

  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);

  box-shadow:
    0 0 20px rgba(255, 0, 0, 0.25),
    inset 0 0 15px rgba(255, 255, 255, 0.05);

  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  letter-spacing: 3px;
  color: #E0E0E0;
  /* transform: perspective(500px) rotateX(5deg); */
  transition: all 0.3s ease;
}

#timer:hover {
  box-shadow:
    0 0 30px rgba(255, 50, 50, 0.5),
    inset 0 0 25px rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
  color: #fff;
}