/* Texas Science Bowl - simple static site */

:root {
  --bg: #0b0e14;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-2: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --border: rgba(255, 255, 255, 0.16);
  --shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
  /* UT Austin inspired */
  --accent: #bf5700; /* burnt orange */
  --accent-2: #ffb347; /* warm highlight */
  --link: #d6790a;
  --link-hover: #e0891a;

  --radius: 16px;
  --radius-sm: 12px;

  --container: 1120px;
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(900px 520px at 18% 10%, rgba(191, 87, 0, 0.30), transparent 62%),
    radial-gradient(820px 460px at 82% 22%, rgba(255, 179, 71, 0.18), transparent 60%),
    radial-gradient(1100px 700px at 45% 92%, rgba(191, 87, 0, 0.16), transparent 65%),
    linear-gradient(180deg, rgba(191, 87, 0, 0.08), transparent 55%, rgba(255, 179, 71, 0.06)),
    var(--bg);
  background-attachment: fixed;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--link-hover);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 14, 20, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  color: var(--text);
  text-decoration: none;
}
.brand:hover {
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.10);
}

.brand span {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link,
.nav-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--text);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.nav-link[aria-current="page"] {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
}

.nav-link:hover,
.nav-button:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.14);
}

.caret {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-right: 2px solid rgba(255, 255, 255, 0.75);
  border-bottom: 2px solid rgba(255, 255, 255, 0.75);
  transform: rotate(45deg);
  margin-top: -2px;
}

.dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 320px;
  background: rgba(14, 18, 26, 0.98);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  display: none;
}

.dropdown[data-open="true"] .dropdown-panel {
  display: block;
}

.dropdown-panel .group {
  padding: 10px;
  border-radius: 12px;
}

.dropdown-panel .group + .group {
  margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.dropdown-panel h4 {
  margin: 0 0 8px 0;
  font-size: 13px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--muted);
}

.dropdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.dropdown-item:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.14);
}

.dropdown-item.is-disabled {
  cursor: not-allowed;
  opacity: 0.7;
  user-select: none;
}

.pill {
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--muted);
}

.pill.tba {
  border-color: rgba(255, 179, 71, 0.4);
  color: rgba(255, 215, 161, 0.95);
  background: rgba(191, 87, 0, 0.24);
}

/* Main layout */
main {
  padding: 44px 0 70px 0;
}

.hero {
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, rgba(18, 22, 32, 0.85), rgba(14, 18, 26, 0.9));
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(560px 240px at 18% 18%, rgba(191, 87, 0, 0.22), transparent 62%),
    radial-gradient(560px 280px at 78% 12%, rgba(255, 179, 71, 0.16), transparent 60%);
  pointer-events: none;
}

.hero > * {
  position: relative;
}

.hero h1 {
  margin: 0 0 10px 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 70ch;
}

.tagline {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.80);
  font-style: italic;
}

.tagline .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(191, 87, 0, 0.14);
}

.hero--center {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero--center .cta-row {
  justify-content: center;
}

.tagline-only {
  margin: 0;
  color: rgba(255, 255, 255, 0.80);
  font-size: 18px;
  line-height: 1.6;
  max-width: 70ch;
}

.hero--center .tagline-only {
  margin-left: auto;
  margin-right: auto;
}

.cta-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-weight: 600;
}

.button.primary {
  border-color: rgba(255, 179, 71, 0.45);
  background: linear-gradient(135deg, rgba(191, 87, 0, 0.42), rgba(255, 179, 71, 0.32));
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.card {
  grid-column: span 6;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(18, 22, 32, 0.75);
}

.card h3 {
  margin: 0 0 6px 0;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.page-title {
  margin: 0 0 8px 0;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
}

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

.content {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(18, 22, 32, 0.82);
}

.content h2 {
  margin: 22px 0 10px 0;
  font-size: 20px;
}

.content h2:first-child {
  margin-top: 0;
}

.content p,
.content li {
  color: var(--muted);
  line-height: 1.7;
}

.content ul {
  margin: 10px 0 0 20px;
}

.note {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 179, 71, 0.28);
  background: rgba(191, 87, 0, 0.22);
  color: rgba(255, 255, 255, 0.88);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  color: var(--muted);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 860px) {
  .brand {
    min-width: auto;
  }

  .dropdown-panel {
    width: min(360px, calc(100vw - 40px));
  }

  .card {
    grid-column: span 12;
  }
}

