/*
================================================
|                                              |
|      DEBATE CLUB PAGE - REDESIGN V4          |
|      Theme: Intellectual, Formal,            |
|             Unconventional (Enhanced++)      |
|                                              |
================================================
*/

/* 1. THEME & ROOT VARIABLES
------------------------------------------------ */
:root {
  /* Core Theme */
  --club-bg-dark: #1C1C1C;
  --club-bg-light: #3D3D3D;
  --club-bg-offwhite: #f7f7f7;
  --club-accent-green: #28a745;
  --club-accent-white: #FFFFFF;
  --text-dark: #212529;
  --text-light: #f8f9fa;
  --border-color: #dee2e6;
  
  /* Font Families from Theme */
  --font-title: 'MADE Canvas', sans-serif;
  --font-body: 'Libre Baskerville', serif;
}

/* 2. GENERAL PAGE SETUP & ORIGINAL CURSOR
------------------------------------------------ */
body {
  background-color: var(--club-bg-offwhite);
  color: var(--text-dark);
  font-family: var(--font-body);
  margin: 0;
  padding-top: 80px;
  cursor: url('/cursors/debate-club-default.png'), auto; /* CURSOR REVERTED */
}
a, button, [role="button"] {
  cursor: url('/cursors/debate-club-hover.png'), pointer; /* CURSOR REVERTED */
}

.club-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem 2rem;
}

/* Hide elements for JS animation */
.js-anim-hidden {
  opacity: 0;
}
.js-anim-slide-up {
  opacity: 0;
  transform: translateY(30px);
}


/* 3. CLUB HEADER
------------------------------------------------ */
.club-header {
  text-align: center;
  padding: 5rem 2rem;
  margin-bottom: 4rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--club-bg-dark), var(--club-bg-light));
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  background-size: 150% 150%; /* For parallax effect */
}

.club-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.club-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--club-accent-green);
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.club-title {
  font-family: var(--font-title);
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--club-accent-white);
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.club-tagline, .club-description {
  /* Add this class in JS for animation */
}

/* 4. CONTENT SECTIONS
------------------------------------------------ */
.club-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 992px) {
  .club-content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.section-card {
  background-color: var(--club-accent-white);
  border: 1px solid var(--border-color);
  border-top: 5px solid var(--club-accent-green);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.section-card h2 {
  font-family: var(--font-title);
  font-size: 2rem;
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-card h2 > i { color: var(--club-accent-green); }
.section-card p { line-height: 1.8; margin-bottom: 1.5rem; font-size: 1.1rem; }

.features-list { list-style: none; padding: 0; margin: 2rem 0 0 0; display: flex; flex-direction: column; gap: 1rem; }
.features-list li { display: flex; align-items: center; gap: 0.75rem; }
.features-list li i { color: var(--club-accent-green); flex-shrink: 0; }

/* 5. DYNAMIC DEBATES SECTION STYLING
------------------------------------------------ */
.debates-list { list-style: none; padding: 0; margin-top: 1rem; }
.debates-list li {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border-radius: 8px;
  opacity: 0; /* Hide for animation */
  transform: translateY(20px); /* Hide for animation */
}
.debates-list li:hover {
  background-color: #f0fdf4; /* Light green tint on hover */
  transform: scale(1.03) translateY(0); /* Add a subtle pop */
}
.debates-list li:last-child { border-bottom: none; }
.debates-list .debate-event { font-family: var(--font-title); font-size: 1rem; color: var(--club-accent-green); }
.debates-list .debate-topic { font-weight: 700; font-size: 1.15rem; color: var(--text-dark); }
.debates-list .debate-date { font-style: italic; font-size: 0.9rem; color: var(--club-bg-light); padding-top: 0.25rem; }

/* 6. BUTTON STYLING
------------------------------------------------ */
.button-primary { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); font-weight: 700; text-decoration: none; padding: 0.8rem 1.8rem; border-radius: 8px; background-color: var(--club-accent-green); color: var(--club-accent-white); border: 2px solid var(--club-accent-green); transition: all 0.3s ease; }
.button-primary:hover { background-color: transparent; color: var(--club-accent-green); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2); }
.button-primary i { transition: transform 0.3s ease; }