@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Berkshire+Swash&family=Calligraffitti&family=Caveat+Brush&family=Indie+Flower&family=Kalnia:wght@100..700&family=Kaushan+Script&family=Michroma&family=Proza+Libre:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&display=swap');

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  background-color: rgba(12, 2, 22, 0.6);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
  max-width: 100%;
  width: 550px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "Kaushan Script", cursive;
  color: rgb(32, 242, 130);
}

h2 {
  margin: 10px 0;
}

.controls {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

button {
  padding: 5px 10px;
  border: none;
  background: #c3d707;
  border-radius: 8px;
  cursor: pointer;
  color: #000000;
  font-weight: bold;
  font-family: "Berkshire Swash", serif;
}

.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  
}

.day, .date {
  padding: 10px 0;
  border-radius: 10px;
  font-size: 14px;
  background: #0a232d;
}

.day {
  font-weight: bold;
  background-color: rgba(1, 3, 17, 0.993);
}

.date {
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease-in-out;
}

.date:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.holiday {
  color: red;
  font-weight: bold;
}

.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #222;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.6);
  z-index: 999;
}

.popup h3, .popup p {
  margin: 10px 0;
}

.close-btn {
  background-color: crimson;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
}

.toggle-mode {
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
  font-size: 20px;
}

.dark body {
  background: #111;
  color: #fff;
}

@media (max-width: 480px) {
  .container {
    width: 95%;
    padding: 15px;
  }

  .date, .day {
    font-size: 12px;
    padding: 8px 0;
  }
}