:root {
  --bg: #0f1724;
  --card: #0b1220;
  --muted: #9aa6b2;
  --accent: #ff6b6b;
  --accent2: #7c3aed;
  --glass: rgba(255,255,255,0.03);
  --radius: 14px;
  --gap: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui;
  background: linear-gradient(180deg,#061028 0%, #071226 100%);
  color: #e6eef8;
  line-height: 1.45;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(5,8,15,0.6);
  backdrop-filter: blur(6px);
  z-index: 30;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.main-nav {
  display: none;
  gap: 12px;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px;
  border-radius: 8px;
}

.main-nav a:hover {
  background: var(--glass);
  color: #fff;
}

.main-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 64px;
  right: 16px;
  background: rgba(8,12,20,0.9);
  padding: 12px;
  border-radius: 8px;
}

/* Nav toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #cbd5e1;
  border-radius: 2px;
}

/* Sections */
.section-inner {
  padding: 28px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.muted {
  color: var(--muted);
}

.hero {
  padding: 36px 0;
}

/* Hero grid */
.hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero-left,
.hero-right {
  flex: 1;
}

.hero-right {
  display: flex;
  justify-content: center;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.hero .btn {
  flex: 1 1 auto;
  min-width: 140px;
  text-align: center;
}

.btn.small {
  font-size: 14px;
  padding: 6px 10px;
}

/* Awards */
.awards-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.awards-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.awards-container li {
  background: var(--card);
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 12px;
}

/* Committee */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  justify-items: center;
}

.member {
  background: var(--card);
  padding: 12px;
  border-radius: 10px;
  text-align: center;
}

.member-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 8px;
  border: 2px solid var(--accent);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
}

/* Buttons */
.btn {
  background: linear-gradient(90deg,var(--accent),var(--accent2));
  border: none;
  padding: 10px 14px;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
}

/* Footer */
.site-footer {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: var(--muted);
}

/* Scrollable rows */
.scroll-container {
  position: relative;
  width: 100%;
}

.scroll-row {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
}

.scroll-row::-webkit-scrollbar {
  display: none;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 22px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.scroll-btn.left {
  left: 6px;
}

.scroll-btn.right {
  right: 6px;
}

/* Event & magazine cards */
.event-card,
.mag-card {
  flex: 0 0 auto;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  width: clamp(220px, 28%, 300px);
}

.event-card img,
.mag-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero card content */
.hero-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-card-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
}

/* Responsive */
@media (max-width: 992px) {
  .container {
    padding: 12px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .event-card,
  .mag-card {
    width: clamp(200px, 45%, 260px);
  }

  .committee-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    flex-direction: column;
    text-align: center;
  }

  .hero-left {
    order: 1;
  }

  .hero-right {
    order: 2;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .hero {
    text-align: center;
    padding: 24px 12px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero .btn {
    width: 80%;
  }

  .event-card,
  .mag-card {
    width: 85%;
    margin: 0 auto;
  }

  .scroll-btn {
    font-size: 18px;
    width: 28px;
    height: 28px;
  }

  .committee-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-card-content {
    position: static;
    padding: 12px;
    background: var(--card);
    text-align: center;
  }

  .hero-card {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 400px) {
  .committee-grid {
    grid-template-columns: 1fr;
  }

  .event-card,
  .mag-card {
    width: 95%;
  }
}
