/* ===========================
   RESET
=========================== */


.no-events {
  text-align: center;
  padding: 80px 20px;
  color: #666;
}

.no-events h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.recruitment-empty-state {
  text-align: center;
  padding: 40px 10px;
  color: #777;
  font-size: 0.95rem;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #f6f7f8;
  color: #111;
  line-height: 1.6;
}

/* ===========================
   BACKGROUND
=========================== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1562774053-701939374585?q=80&w=2000")
    center / cover no-repeat;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.94);
  z-index: -1;
}

/* ===========================
   HEADER
=========================== */
.logo-container {
  position: fixed;
  top: 24px;
  right: 32px;
  z-index: 1000;
}

.logo {
  height: 56px;
}

/* ===========================
   WRAPPER
=========================== */
.page-wrapper {
  padding: 100px 20px 80px;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===========================
   HERO
=========================== */
.hero-section {
  text-align: center;
  margin-bottom: 64px;
}

.main-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1rem;
  color: #666;
}

/* ===========================
   LAYOUT
=========================== */
.layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 36px;
}

/* ===========================
   RECRUITMENT
=========================== */
.recruitment-rail {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.rail-title {
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.recruitment-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recruitment-group:empty {
  padding: 40px 10px;
  text-align: center;
  color: #777;
  font-size: 0.95rem;
}

.recruitment-card {
  background: #fafafa;
  border-radius: 14px;
  padding: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  transition: 0.2s ease;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.4s ease forwards;
}

.recruitment-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.recruitment-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.recruitment-card p {
  font-size: 0.9rem;
  color: #555;
}

.recruitment-card a {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.85rem;
}

.recruitment-card a:hover {
  background: #222;
}

/* ===========================
   EVENTS
=========================== */
.events-section {
  display: flex;
  flex-direction: column;
}

.today-section {
  margin-bottom: 40px;
}

.section-heading {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.today-container,
.events-container {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.today-section .event-card {
  border: 1px solid rgba(0,0,0,0.15);
  background: #fff;
}

/* Event Card */
.event-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 6px 20px rgba(0,0,0,0.03);
  transition: 0.25s ease;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.4s ease forwards;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.08);
}

.date-heading {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  margin-top: 10px;
}

.event-name {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.event-club {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 8px;
}

.event-description {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 18px;
}

.event-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 16px;
  gap: 16px;
}

.event-meta {
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
  color: #444;
}

.event-actions {
  display: flex;
  gap: 10px;
}

.register-btn,
.calendar-btn {
  padding: 9px 18px;
  border-radius: 10px;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s ease;
}

.register-btn {
  background: #000;
  color: #fff;
  text-decoration: none;
}

.register-btn:hover {
  background: #222;
}

.calendar-btn {
  background: #f2f2f2;
}

.calendar-btn:hover {
  background: #e6e6e6;
}

.register-btn:active,
.calendar-btn:active {
  transform: scale(0.97);
}

/* ===========================
   LOADING
=========================== */
.loading-state {
  padding: 60px 20px;
  text-align: center;
  color: #777;
  font-size: 0.95rem;
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  margin-top: 80px;
  padding: 30px 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}

/* ===========================
   ANIMATION
=========================== */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   UTILITIES
=========================== */
.visually-hidden {
  position: absolute;
  left: -9999px;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 950px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .logo-container {
    position: absolute;
  }

  .event-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-actions {
    width: 100%;
  }
}

