:root {
  --navy: #0d1b2a;
  --navy-mid: #162336;
  --navy-card: #1a2d42;
  --gold: #f0b429;
  --gold-soft: #f8e2aa;
  --white: #f4f6f8;
  --muted: #8a9bb0;
  --border: rgba(255, 255, 255, 0.1);
  --radius: 12px;
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --font-mono: "Space Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-nav-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--white);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  padding: 10px 0;
}

.mobile-menu a {
  padding: 10px 0;
  color: var(--muted);
}

.mobile-menu a.active,
.mobile-menu a:hover {
  color: var(--white);
}

.hero {
  background: linear-gradient(110deg, rgba(13, 27, 42, 0.95), rgba(13, 27, 42, 0.7)), url("knust.jpg") center / cover;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  min-height: 72vh;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  padding: 40px 0;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  margin-bottom: 12px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  line-height: 1;
}

h1 {
  font-size: clamp(44px, 7vw, 78px);
}

.highlight {
  color: var(--gold);
}

.lead {
  color: rgba(244, 246, 248, 0.85);
  max-width: 700px;
  margin: 16px 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--white);
  background: transparent;
}

.card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.next-card {
  padding: 18px;
}

.next-card .kicker {
  font-size: 11px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.8px;
}

.next-card h3 {
  margin-top: 6px;
  margin-bottom: 8px;
  font-size: 30px;
}

.next-card .meta {
  color: var(--muted);
  font-size: 14px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  text-align: center;
  padding: 18px 8px;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: none;
}

.stat .num {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--gold);
}

.section {
  padding: 40px 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section h2 {
  font-size: clamp(32px, 4vw, 54px);
}

.muted {
  color: var(--muted);
}

.pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.pill-sports { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.pill-academic { background: rgba(59, 130, 246, 0.2); color: #93c5fd; }
.pill-cultural { background: rgba(147, 51, 234, 0.2); color: #d8b4fe; }
.pill-religious { background: rgba(34, 197, 94, 0.2); color: #86efac; }
.pill-general { background: rgba(240, 180, 41, 0.15); color: var(--gold); }

.event-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.event-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.event-thumb-wrap {
  position: relative;
  display: block;
  overflow: hidden;
}

.event-thumb {
  width: 100%;
  height: 180px;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  border: 0;
  transition: transform 0.35s ease;
}

.event-row:hover .event-thumb {
  transform: scale(1.04);
}

.event-thumb-overlay {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(13, 27, 42, 0.85);
  border: 1px solid rgba(240, 180, 41, 0.45);
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  backdrop-filter: blur(4px);
}

.event-row-body {
  padding: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.event-row-top {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.event-date {
  background: linear-gradient(160deg, #0b1624, #24364f);
  border-radius: 8px;
  text-align: center;
  padding: 8px;
}

.event-day {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 0.9;
}

.event-month {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold-soft);
}

.event-title {
  font-size: 26px;
}

.event-actions {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.event-actions .btn {
  width: auto;
  min-width: 150px;
  min-height: 40px;
}

.event-time {
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
}

.search-sort {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 14px;
}

input,
select {
  width: 100%;
  background: #f8fbff;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  color: #1a2d42;
}

.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.chip {
  border: 1px solid var(--border);
  color: var(--muted);
  background: transparent;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}

.chip.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  font-weight: 700;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
}

.stack {
  display: grid;
  gap: 14px;
}

.box {
  padding: 18px;
}

.detail-hero {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #11263c, #0d1b2a);
}

.detail-banner {
  margin-top: 14px;
  width: 100%;
  height: 380px;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, #0f2135, #0b1624);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.breadcrumbs {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
}

.schedule-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.detail-title {
  font-size: clamp(44px, 6vw, 70px);
  line-height: 0.95;
}

.detail-meta {
  font-size: 17px;
  margin-bottom: 8px;
}

.detail-info-label {
  font-size: 13px;
  color: var(--muted);
}

.detail-info-value {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
}

.detail-list {
  margin-left: 18px;
  display: grid;
  gap: 8px;
}

.detail-list li {
  color: rgba(244, 246, 248, 0.9);
}

#detailSchedule .schedule-row:first-child {
  padding-top: 2px;
}

.schedule-row:last-child {
  border-bottom: none;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.team-card {
  text-align: center;
  padding: 14px;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ecf2ff;
  margin: 0 auto 8px;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.about-gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.about-feature-list {
  display: grid;
  gap: 10px;
}

.about-feature-item {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 3px;
}

.team-role-block {
  margin-top: 12px;
}

.team-role-block h4 {
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
  margin-bottom: 8px;
}

.team-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.team-member-chip {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(20, 42, 66, 0.95), rgba(12, 28, 46, 0.95));
  display: grid;
  gap: 2px;
}

.team-member-chip strong {
  font-size: 14px;
  line-height: 1.3;
}

.team-member-chip span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
}

footer {
  border-top: 1px solid var(--border);
  margin-top: 30px;
  padding: 28px 0 20px;
  background: var(--navy-mid);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  padding-top: 14px;
}

@media (max-width: 980px) {
  .container {
    width: min(1200px, calc(100% - 28px));
  }

  .hero-inner,
  .layout,
  .detail-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .event-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .detail-banner {
    height: 300px;
    padding: 10px;
  }

  .layout {
    gap: 14px;
  }

  .event-actions .btn {
    min-width: 130px;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block;
    color: var(--white);
    font-size: 22px;
  }

  .mobile-menu.open {
    display: flex;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .search-sort {
    grid-template-columns: 1fr;
  }

  .detail-title {
    font-size: clamp(36px, 10vw, 54px);
  }

  .detail-meta {
    font-size: 15px;
  }

  .detail-info-value {
    font-size: 18px;
  }

  .event-list {
    grid-template-columns: 1fr;
  }

  .event-thumb {
    height: 210px;
  }

  .event-row-body {
    padding: 12px;
  }

  .event-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .event-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .event-time {
    display: block;
    text-align: right;
  }

  .box {
    padding: 14px;
  }

  .event-title {
    font-size: 22px;
  }

  .detail-banner {
    height: 240px;
  }

  .team-role-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-inner {
    min-height: 60vh;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .stat:last-child {
    border-bottom: none;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .about-gallery {
    grid-template-columns: 1fr;
  }

  .detail-title {
    font-size: 40px;
  }

  .detail-banner {
    height: 210px;
    border-radius: 10px;
  }

  .detail-info-value {
    font-size: 18px;
  }
}
