/*************************************************************************
 * MCMI Workshop Series Homepage
 * Clean, minimal design matching MCMI2026 style
 *************************************************************************/

:root {
  /* Color palette from MCMI2026 */
  --primary-color: #004aac;
  --primary-light: #1a5fbd;
  --primary-dark: #003a8c;
  --accent-color: #ff3130;
  
  --bg-color: #fafafa;
  --content-bg: #ffffff;
  --text-color: #18181b;
  --text-secondary: #52525b;
  --text-muted: #a1a1aa;
  --border-color: #e4e4e7;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  text-align: center;
  padding: 60px 30px 40px;
  background: linear-gradient(135deg, rgba(0, 74, 172, 0.02), rgba(255, 49, 48, 0.02));
}

.header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Main Content */
.main {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Edition Cards */
.edition-card {
  position: relative;
  display: block;
  width: 100%;
  min-height: 280px;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.card-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.edition-card:hover .card-background {
  transform: scale(1.02);
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 74, 172, 0.90), rgba(26, 95, 189, 0.86), rgba(255, 49, 48, 0.82));
  transition: background 0.2s ease;
}

.edition-card.past .card-overlay {
  background: linear-gradient(135deg, rgba(0, 74, 172, 0.80), rgba(26, 95, 189, 0.76), rgba(39, 39, 42, 0.75));
}

.edition-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.edition-card:hover .card-overlay {
  background: linear-gradient(135deg, rgba(0, 74, 172, 0.93), rgba(26, 95, 189, 0.89), rgba(255, 49, 48, 0.85));
}

.edition-card.past:hover .card-overlay {
  background: linear-gradient(135deg, rgba(0, 74, 172, 0.83), rgba(26, 95, 189, 0.79), rgba(39, 39, 42, 0.78));
}

.card-content {
  position: relative;
  z-index: 1;
  padding: 40px 35px;
  color: white;
}

.edition-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 16px;
  background: rgba(255, 49, 48, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.3px;
}

.card-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.edition-meta {
  font-size: 1rem;
  opacity: 0.95;
  font-weight: 400;
  line-height: 1.6;
}

/* Footer */
.footer {
  text-align: center;
  padding: 30px;
  background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
  color: #a1a1aa;
  font-size: 14px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }
  
  .card-content {
    padding: 30px 25px;
  }
  
  .card-content h2 {
    font-size: 1.8rem;
  }
  
  .edition-card {
    min-height: 240px;
  }
}

@media screen and (max-width: 480px) {
  .header h1 {
    font-size: 1.6rem;
  }
  
  .card-content h2 {
    font-size: 1.5rem;
  }
  
  .edition-meta {
    font-size: 0.9rem;
  }
}
