/* Year Selection Styles */

/* Hero Section */
.year-hero {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(236, 72, 153, 0.06));
  border-bottom: 1px solid rgb(var(--border));
  padding: 48px 0;
}

.yh-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.yh-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgb(var(--accent-start)), rgb(var(--accent-end)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.yh-subtitle {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.yh-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgb(var(--card));
  border: 1px solid rgb(var(--border));
  border-radius: 12px;
  box-shadow: var(--shadow);
}


/* Year Grid */
.year-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
}

.no-data {
  grid-column: span 3;
  height: 40vh; 
  display: flex;
  justify-content: center;
  align-items: center; 
  text-align: center;
  color: rgb(var(--muted)); 
  font-size: 1.5rem;
}


/* Year Cards */
.year-card {
  background: rgb(var(--card));
  border: 1px solid rgb(var(--border));
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: all 0.1s ease;
  position: relative;
  overflow: hidden;
  min-width: 80%;
}

.year-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, rgb(var(--accent-start)), rgb(var(--accent-end)));
  opacity: 0;
  transition: opacity 0.1s ease;
}

.year-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
}
.year-card:hover .btn {
    background: linear-gradient(120deg, rgb(var(--accent-start)), rgb(var(--accent-end)));
    transition: all 0.1s ease, color 0s ease;
    color: #fff;
    border: none;
}
.year-card:hover::before {
  opacity: 1;
}

.year-card.featured {
  border-color: rgba(139, 92, 246, 0.4);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.03));
}

.year-card.featured::before {
  opacity: 1;
}

/* Card Header */
.yc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.yc-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.1));
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.yc-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.yc-badge.current {
  background: linear-gradient(135deg, rgb(var(--accent-start)), rgb(var(--accent-end)));
  color: white;
}

/* Card Body */
.yc-body {
  margin-bottom: 24px;
}

.yc-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  color: rgb(var(--fg));
}

.yc-desc {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Statistics */
.yc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-item {
  text-align: center;
  padding: 12px;
  background: rgba(139, 92, 246, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.15);
}

.stat-number {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: rgb(var(--accent));
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-weight: 600;
}

/* Card Footer */
.yc-footer {
  margin-top: 24px;
}

.year-select-btn {
  width: 100%;
  padding: 14px 20px;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.year-select-btn:hover {
  transform: translateY(-2px);
}

/* Info Section */
.year-info {
  margin-top: 150px;
}

.info-card {
  background: rgb(var(--card));
  border: 1px solid rgb(var(--border));
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.info-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: rgb(var(--fg));
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  text-align: left;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(139, 92, 246, 0.06);
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.1);
}

.info-list li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgb(var(--accent-start)), rgb(var(--accent-end)));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 1000px) {
  .year-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
  }
}
@media (max-width: 768px) {
  .year-hero {
    padding: 32px 0;
  }

  .yh-title {
    font-size: 32px;
  }

  .year-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
    justify-items: center;
  }

  .year-card {
    padding: 20px;
  }

  .yc-stats {
    gap: 12px;
  }

  .info-card {
    padding: 24px;
    margin-top: 48px;
  }
}

@media (max-width: 480px) {
  .yh-breadcrumb {
    flex-direction: column;
    gap: 4px;
    align-items: center;
    text-align: center;
  }

  .yc-header {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .yc-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
}
