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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  padding: 20px;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: #4d3b78;
  text-align: center;
  letter-spacing: -0.5px;
}

/* Main */
.main {
  flex: 1;
  padding: 60px 0;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 80px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: white;
  margin-bottom: 24px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
}

.hero-description {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Years Grid */
.years-grid {
  margin-bottom: 60px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.year-card {
  background: white;
  border-radius: 16px;
  padding: 40px 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.year-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4d3b78, #667eea);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.year-card:hover::before {
  transform: scaleX(1);
}

.year-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.year-card:active {
  transform: translateY(-4px);
}

.year-card-content {
  text-align: center;
  width: 100%;
}

.year-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #4d3b78;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.year-icon {
  color: #667eea;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.year-card:hover .year-icon {
  opacity: 1;
  transform: scale(1.1);
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  color: white;
  text-align: center;
  padding: 24px 0;
  margin-top: auto;
}

.footer-text {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  
  .header .container {
    padding: 16px;
  }
  
  .logo {
    font-size: 1.6rem;
  }
  
  .main {
    padding: 40px 0;
  }
  
  .hero {
    margin-bottom: 60px;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .year-card {
    padding: 32px 20px;
    min-height: 160px;
  }
  
  .year-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .year-card {
    padding: 24px 16px;
    min-height: 140px;
  }
  
  .year-title {
    font-size: 1.3rem;
  }
  
  .year-icon svg {
    width: 36px;
    height: 36px;
  }
}

/* Focus states for accessibility */
.year-card:focus {
  outline: 3px solid #667eea;
  outline-offset: 2px;
}

.year-card:focus:not(:focus-visible) {
  outline: none;
}

/* Animation for page load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.year-card {
  animation: fadeInUp 0.6s ease forwards;
}

.year-card:nth-child(1) { animation-delay: 0.1s; }
.year-card:nth-child(2) { animation-delay: 0.2s; }
.year-card:nth-child(3) { animation-delay: 0.3s; }
.year-card:nth-child(4) { animation-delay: 0.4s; }
