/*
================================================
|                                              |
|            ICT CLUB - REDESIGN V3            |
|       Theme: The Command Deck (Revised)      |
|                                              |
================================================
*/

:root {
  /* Font Strategy */
  --font-main-title: 'Azonix', sans-serif;
  --font-section-title: 'Iceberg', sans-serif;
  --font-body-mono: 'Yuruy', monospace;
  --font-deco: 'Blanka', sans-serif;

  /* Color Palette (Preserved) */
  --club-bg: #10041c;
  --club-surface: #1a0b2e;
  --club-primary: #ffbd59;
  --club-secondary: #ffa500;
  --club-text: #e0e0e0;
  --club-text-dark: #10041c;
  --club-border: rgba(255, 189, 89, 0.2);
  --club-border-hover: rgba(255, 165, 0, 0.7);

  /* Effects */
  --glow-shadow: 0 0 15px -5px var(--club-primary);
  --glow-shadow-hover: 0 0 25px -5px var(--club-secondary);
  --transition-smooth: 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --border-radius: 8px;
}

/* Base Styles */
body {
  background-color: var(--club-bg);
  color: var(--club-text);
  font-family: var(--font-body-mono);
  padding-top: 120px;
  overflow-x: hidden;
  position: relative; /* Required for pseudo-element */
  cursor: url('/cursors/ict-club-default.png'), pointer;
}
a, button, [role="button"] {
  cursor: url('/cursors/ict-club-hover.png'), pointer;
}

/* NEW: Animated Grid Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 189, 89, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 189, 89, 0.1) 1px, transparent 1px);
  background-size: 70px 70px;
  z-index: -2; /* Place it behind everything */
  animation: pulseGrid 8s infinite linear;
}

@keyframes pulseGrid {
  0% { opacity: 0.2; }
  50% { opacity: 0.6; }
  100% { opacity: 0.2; }
}


/* Club Page Layout */
.club-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
}

/* Decorative Background Text */
.deco-bg-text {
  font-family: var(--font-deco);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 25vw;
  color: rgba(255, 189, 89, 0.05);
  z-index: -1; /* Place it on top of the grid but behind content */
  pointer-events: none;
  text-transform: uppercase;
}

/* Header */
.club-header {
  text-align: center;
  margin-bottom: 8rem;
  position: relative;
}

.club-title {
  font-family: var(--font-main-title);
  font-size: clamp(3.5rem, 12vw, 7rem);
  color: var(--club-primary);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin: 0;
  text-shadow: 0 0 20px rgba(255, 189, 89, 0.7);
  position: relative;
}

.club-subtitle {
  font-family: var(--font-body-mono);
  font-size: 1.2rem;
  color: var(--club-text);
  margin-top: 1.5rem;
  opacity: 0.9;
  letter-spacing: 1px;
}

/* UI Panel Layout */
.ui-panel {
  background-color: var(--club-surface);
  border: 1px solid var(--club-border);
  border-radius: var(--border-radius);
  padding: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  position: relative;
}

/* Decorative Corner Brackets */
.ui-panel::before, .ui-panel::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  border-color: var(--club-primary);
  border-style: solid;
  transition: var(--transition-smooth);
}
.ui-panel::before {
  top: -1px; left: -1px;
  border-width: 2px 0 0 2px;
}
.ui-panel::after {
  bottom: -1px; right: -1px;
  border-width: 0 2px 2px 0;
}
.ui-panel:hover::before, .ui-panel:hover::after {
  width: 60px; height: 60px;
}

.panel-header {
  font-family: var(--font-section-title);
  font-size: 2.8rem;
  color: var(--club-text);
  margin: 0 0 2.5rem 0;
  letter-spacing: 2px;
}

.panel-header i {
  color: var(--club-primary);
  margin-right: 1rem;
  vertical-align: middle;
}

.ui-panel p {
  line-height: 1.9;
  font-size: 1.1rem;
  max-width: 850px;
  margin-bottom: 2rem;
}

/* Contributions Section */
.subsection-title {
    font-family: var(--font-section-title);
    font-size: 1.8rem;
    color: var(--club-secondary);
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--club-border);
    padding-bottom: 0.5rem;
}
.contribution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.contribution-list h4 {
    font-family: var(--font-body-mono);
    font-weight: 700;
    font-size: 1rem;
    color: var(--club-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 1rem 0;
}
.contribution-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.contribution-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.contribution-list i {
    color: var(--club-primary);
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.contribution-list i.feather-loader {
    animation: spin 2s linear infinite;
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-left: 2px solid var(--club-secondary);
  padding-left: 1rem;
}
.feature-list i {
  color: var(--club-secondary);
}

/* Action Links */
.action-links {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.action-link {
  font-family: var(--font-body-mono);
  font-weight: 600;
  text-decoration: none;
  color: var(--club-text-dark);
  background-color: var(--club-primary);
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}
.action-link:hover {
  background-color: var(--club-secondary);
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--glow-shadow-hover);
}