body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #000000 0%, #111111 100%);
  background-attachment: fixed;
  color: #ffffff;
  line-height: 1.6;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 20%, rgba(46, 164, 97, 0.1) 0%, transparent 50%),
                    radial-gradient(circle at 80% 80%, rgba(46, 164, 97, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

header {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #2ea461 0%, #248a52 100%);
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  z-index: 1;
}

header > * {
  position: relative;
  z-index: 2;
}

header h1 {
  margin: 0 0 0.5rem 0;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

header p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-top: 0.5rem;
  font-weight: 400;
  opacity: 0.95;
  letter-spacing: 0.02em;
}

/* Navigation buttons above the calendar */
.calendar-nav {
  text-align: center;
  margin: 2rem 0;
}

.calendar-nav button {
  background: linear-gradient(135deg, #2ea461 0%, #248a52 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  margin: 0 1rem;
  font-size: 1.2rem;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: 0 4px 16px rgba(46, 164, 97, 0.3);
}

.calendar-nav button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.calendar-nav button:hover::before {
  left: 100%;
}

.calendar-nav button:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 32px rgba(46, 164, 97, 0.5);
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #37FF8B 0%, #2ea461 100%);
}

/* Calendar grid */
.calendar {
  max-width: 800px;
  margin: 2rem auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
  user-select: none;
  padding: 2rem;
  background: linear-gradient(145deg, #0a0a0a 0%, #1a1a1a 100%);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(46, 164, 97, 0.2);
}

.day-header {
  text-align: center;
  font-weight: 700;
  padding: 1rem;
  background: linear-gradient(135deg, #2ea461 0%, #248a52 100%);
  border-radius: 12px;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  box-shadow: 0 2px 8px rgba(46, 164, 97, 0.3);
}

.day {
  position: relative;
  text-align: center;
  padding: 1.5rem 0;
  background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
  font-size: 1.1rem;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.day:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 24px rgba(46, 164, 97, 0.4);
  border-color: rgba(46, 164, 97, 0.5);
  background: linear-gradient(145deg, #2a2a2a 0%, #3a3a3a 100%);
}

.no-day {
  background: transparent;
  cursor: default;
  border: none;
}

.no-day:hover {
  transform: none;
  box-shadow: none;
  border: none;
  background: transparent;
}

.dot {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #2ea461 0%, #37FF8B 100%);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(46, 164, 97, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 8px rgba(46, 164, 97, 0.6); }
  50% { box-shadow: 0 0 16px rgba(46, 164, 97, 0.8); }
  100% { box-shadow: 0 0 8px rgba(46, 164, 97, 0.6); }
}

/* Ensure links take up the full cell */
a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  transition: all 0.3s ease;
}

a:hover {
  color: #2ea461;
  background: rgba(46, 164, 97, 0.1);
}

footer {
  text-align: center;
  padding: 2rem 0;
  margin-top: 4rem;
  background: linear-gradient(135deg, #000000 0%, #111111 100%);
  border-top: 1px solid rgba(46, 164, 97, 0.3);
}

footer p {
  margin: 0.5rem 0;
  color: #999999;
  font-size: 0.9rem;
}

/* Navigation Button in footer */
.nav-button {
  display: inline-block;
  padding: 1rem 2rem;
  margin: 0.5rem;
  background: linear-gradient(135deg, #2ea461 0%, #248a52 100%);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: 0 4px 16px rgba(46, 164, 97, 0.3);
}

.nav-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.nav-button:hover::before {
  left: 100%;
}

.nav-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 32px rgba(46, 164, 97, 0.5);
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #37FF8B 0%, #2ea461 100%);
}

.nav-button:active {
  transform: translateY(-2px) scale(1.02);
  transition: all 0.1s ease;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .calendar {
    max-width: 95%;
    padding: 1rem;
    gap: 0.5rem;
  }
  
  .day {
    padding: 1rem 0;
    min-height: 50px;
    font-size: 1rem;
  }
  
  .calendar-nav button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  header {
    padding: 2rem 1rem;
  }
}

/* Hovering Left Navigation Tab */
.nav-tab {
  position: fixed;
  top: 50%;
  left: -250px;
  transform: translateY(-50%);
  width: 280px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border: 1px solid rgba(46, 164, 97, 0.3);
  border-left: none;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.nav-tab:hover {
  left: 0;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
  border-color: rgba(46, 164, 97, 0.5);
}

.nav-tab-trigger {
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 80px;
  background: linear-gradient(135deg, #2ea461 0%, #248a52 100%);
  border: 1px solid rgba(46, 164, 97, 0.3);
  border-left: none;
  border-radius: 0 8px 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-tab:hover .nav-tab-trigger {
  background: linear-gradient(135deg, #37FF8B 0%, #2ea461 100%);
  border-color: rgba(46, 164, 97, 0.7);
}

.nav-tab-trigger::before {
  content: '▶';
  color: white;
  font-size: 0.8rem;
  transform: rotate(90deg);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-tab-content {
  padding: 1.5rem;
  color: white;
}

.nav-tab-header {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(46, 164, 97, 0.3);
}

.nav-tab-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2ea461;
  margin: 0;
  letter-spacing: 0.02em;
}

.nav-tab-location {
  font-size: 0.9rem;
  color: #cccccc;
  margin: 0.3rem 0 0 0;
  font-style: italic;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(46, 164, 97, 0.1), transparent);
  transition: left 0.3s ease;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover {
  background: rgba(46, 164, 97, 0.15);
  border-color: rgba(46, 164, 97, 0.3);
  transform: translateX(5px);
}

.nav-link.active {
  background: linear-gradient(135deg, #2ea461 0%, #248a52 100%);
  border-color: rgba(46, 164, 97, 0.5);
  box-shadow: 0 2px 8px rgba(46, 164, 97, 0.3);
}

.nav-link.active:hover {
  background: linear-gradient(135deg, #37FF8B 0%, #2ea461 100%);
  transform: translateX(3px);
}

.nav-link-icon {
  margin-right: 0.8rem;
  font-size: 1rem;
  opacity: 0.8;
}

.nav-link-text {
  flex: 1;
}

.nav-link-arrow {
  font-size: 0.7rem;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.nav-link:hover .nav-link-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* Responsive adjustments for nav-tab */
@media screen and (max-width: 768px) {
  .nav-tab {
    left: -240px;
    width: 260px;
  }
  
  .nav-tab-trigger {
    right: -25px;
    width: 25px;
    height: 70px;
  }
  
  .nav-tab-content {
    padding: 1rem;
  }
  
  .nav-link {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
}

