@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;600&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

:root {
  --bg: #0a1f6b;
  --bg-deep: #040c3c;
  --card: rgba(12, 27, 80, 0.7);
  --accent: #35a2ff;
  --accent-strong: #6bd5ff;
  --glow: rgba(69, 166, 255, 0.4);
  --text: #e9f3ff;
  --muted: #9fb7e1;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, rgba(49, 120, 255, 0.25), transparent 35%),
              radial-gradient(circle at 80% 30%, rgba(13, 199, 255, 0.22), transparent 35%),
              linear-gradient(135deg, #081647 0%, #04103b 45%, #090f2c 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.floating-bg {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 12px),
              radial-gradient(circle at 50% 50%, rgba(30, 144, 255, 0.07), transparent 50%);
  mix-blend-mode: screen;
  opacity: 0.35;
  pointer-events: none;
  animation: drift 22s linear infinite;
}

/* 顶部封面图区域 */
.banner {
  width: 100vw;             /* 强制宽度为视口宽度的 100% */
  position: relative;
  left: 50%;                /* 定位到屏幕中间 */
  right: 50%;
  margin-left: -50vw;       /* 向左拉伸一半屏幕宽 */
  margin-right: -50vw;      /* 向右拉伸一半屏幕宽 */
  padding: 0;
}

.banner-image {
  width: 100%;              /* 这里的 100% 是相对于上面已经撑满屏幕的 banner */
  height: auto;             /* 高度自适应，保证图片不变形 */
  display: block;           /* 消除底部缝隙 */
  object-fit: cover;        /* 确保填充 */
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-80px, -60px, 0); }
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 64px;
  background: rgba(6, 18, 60, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-strong), var(--accent));
  color: #021135;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
  box-shadow: 0 0 25px var(--accent-strong);
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-sub {
  color: var(--muted);
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.3s ease;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(99, 173, 255, 0.15);
}

.nav-links .highlight {
  background: linear-gradient(135deg, #38c0ff, #6bd5ff);
  color: #021135;
  box-shadow: 0 0 16px rgba(80, 190, 255, 0.45);
}

.side-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 8px;
  background: rgba(4, 16, 60, 0.8);
  border: 1px solid rgba(83, 170, 255, 0.25);
  padding: 12px 10px;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

.side-nav.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateY(-40px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.side-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.side-nav a:hover,
.side-nav a:focus-visible {
  background: linear-gradient(135deg, rgba(58, 167, 255, 0.8), rgba(54, 109, 255, 0.7));
  color: #fff;
  transform: translateY(-2px);
}

main {
  max-width: 1380px;
  margin: 0 auto;
  padding: 40px 28px 96px;
}

.section {
  margin-top: 56px;
  position: relative;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 1px;
}

.divider {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.7;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, rgba(17, 75, 195, 0.8), rgba(6, 32, 115, 0.9));
  border-radius: 0 0 26px 26px;
  padding: 90px 90px 80px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  min-height: 92vh;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero::before {
  background: radial-gradient(circle at 25% 25%, rgba(92, 195, 255, 0.32), transparent 42%),
              radial-gradient(circle at 78% 70%, rgba(34, 125, 255, 0.25), transparent 45%),
              linear-gradient(120deg, rgba(77, 181, 255, 0.25), transparent 55%);
}

.hero::after {
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.06), transparent 60%);
  mix-blend-mode: screen;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-tag {
  font-family: 'Orbitron', sans-serif;
  font-size: 42px;
  color: var(--accent-strong);
  margin: 0 0 12px;
  text-shadow: 0 0 20px var(--glow);
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 54px;
  line-height: 1.1;
}

.hero-sub {
  margin: 0 0 18px;
  color: #dce9ff;
  font-size: 17px;
  line-height: 1.6;
  max-width: 620px;
}

.hero-meta {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 18px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-time {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(99, 173, 255, 0.4);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  font-weight: 600;
}

.hero-stats {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.stat {
  padding: 12px;
  border: 1px solid rgba(105, 185, 255, 0.35);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #8fd7ff;
}

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

.hero-graphic {
  position: relative;
  z-index: 1;
  height: 320px;
  display: grid;
  place-items: center;
}

.hero-graphic .ring {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(111, 196, 255, 0.7);
  box-shadow: 0 0 30px var(--glow), inset 0 0 20px rgba(99, 173, 255, 0.2);
  animation: pulse 5s ease-in-out infinite;
}

.hero-graphic .cityline {
  position: absolute;
  bottom: 10px;
  width: 78%;
  height: 110px;
  background: linear-gradient(180deg, rgba(108, 203, 255, 0.4), rgba(25, 89, 255, 0));
  clip-path: polygon(0 100%, 0 60%, 12% 65%, 20% 40%, 28% 70%, 36% 50%, 45% 80%, 55% 55%, 62% 85%, 72% 52%, 80% 68%, 88% 44%, 100% 60%, 100% 100%);
  filter: drop-shadow(0 10px 25px rgba(90, 180, 255, 0.35));
  animation: float 6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(0.98); opacity: 0.8; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(4px); }
  50% { transform: translateY(-8px); }
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* 竞赛公告 – 旌旗样式 */
.notice-flags {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.flag-card {
  position: relative;
  padding: 18px 18px 40px;
  background: linear-gradient(135deg, #1c5ed6, #1b84ff);
  border-radius: 18px 18px 26px 26px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  text-decoration: none;
  color: #e9f3ff;
  overflow: visible;
}

.flag-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -32px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 32px 120px 0 120px;
  border-color: #1b84ff transparent transparent transparent;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.4));
}

.flag-inner {
  background: #ffffff;
  border-radius: 8px;
  padding: 14px 16px 16px;
  text-align: center;
  min-height: 180px;
  overflow: hidden;
}

.flag-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #d40000;
}

.flag-meta {
  margin: 0 0 10px;
  font-size: 13px;
  color: #666;
}

.flag-thumb {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 4px;
}

.flag-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
}

.card {
  background: var(--card);
  border: 1px solid rgba(96, 170, 255, 0.25);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(55, 160, 255, 0.12), transparent);
  pointer-events: none;
}

.card-large {
  margin-top: 16px;
}

.tagline {
  margin-top: 10px;
  color: #8fd7ff;
  font-weight: 600;
}

.bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 15px;
}

.bullet-list li::before {
  content: "▶";
  color: var(--accent-strong);
  margin-right: 10px;
  font-size: 12px;
}

.pill-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.pill {
  border: 1px solid rgba(99, 173, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pill:hover {
  transform: translateY(-2px);
  background: rgba(99, 173, 255, 0.12);
}

.pill.active {
  background: linear-gradient(135deg, rgba(71, 171, 255, 0.6), rgba(55, 116, 255, 0.7));
  border-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(99, 173, 255, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(99, 173, 255, 0.2);
}

.btn.primary {
  background: linear-gradient(135deg, #3fb7ff, #6bd5ff);
  color: #04103b;
  border: none;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(96, 170, 255, 0.35);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow);
}

.info-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(73, 170, 255, 0.7), rgba(52, 106, 255, 0.7));
  position: relative;
  box-shadow: 0 10px 25px rgba(73, 170, 255, 0.25);
}

.info-icon.clock::after,
.info-icon.location::after {
  content: "";
  position: absolute;
  inset: 50%;
  width: 26px;
  height: 26px;
  border: 3px solid #eaf3ff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.info-icon.clock::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 12px;
  background: #eaf3ff;
  transform: translate(-50%, -50%) rotate(25deg);
  transform-origin: bottom center;
}

.info-icon.location::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 28%;
  width: 12px;
  height: 12px;
  background: #eaf3ff;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 14px 18px rgba(0, 0, 0, 0.35);
}

.info-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.info-text {
  color: var(--muted);
  font-size: 14px;
}

.grid {
  display: grid;
  gap: 12px;
}

.grid-item {
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(93, 166, 255, 0.25);
}

.grid-label {
  font-weight: 700;
  margin-bottom: 6px;
}

.grid-text {
  color: var(--muted);
  line-height: 1.5;
}

.register-box {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: center;
  background: linear-gradient(135deg, rgba(38, 140, 255, 0.3), rgba(25, 65, 170, 0.65));
  border: 1px solid rgba(96, 170, 255, 0.4);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.register-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.signup-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 8px;
}

.signup-tab {
  border: 1px solid rgba(99, 173, 255, 0.45);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.signup-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(99, 173, 255, 0.18);
}

.signup-tab.active {
  background: linear-gradient(135deg, #3fb7ff, #6bd5ff);
  color: #04103b;
  border: none;
}

.signup-panels {
  margin-top: 8px;
}

.signup-panel {
  display: none;
  padding: 14px 0 6px;
  color: var(--muted);
  line-height: 1.6;
}

.signup-panel.active {
  display: block;
}

.qr-group {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.qr {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(96, 170, 255, 0.6);
  display: grid;
  place-items: center;
  position: relative;
}

.qr::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 14px;
  border: 1px solid rgba(99, 173, 255, 0.2);
}

.qr-placeholder {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* schedule / format / prizes */
.section-subtitle {
  margin: 4px 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.schedule-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(99, 173, 255, 0.35);
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}

.schedule-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(99, 173, 255, 0.12);
  border-radius: 12px;
  pointer-events: none;
}

.schedule-title {
  font-size: 22px;
  font-weight: 700;
  margin: 6px 0;
}

.schedule-time {
  font-family: 'Orbitron', sans-serif;
  color: #9cd8ff;
  margin: 0 0 6px;
}

.schedule-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.format-card {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(96, 170, 255, 0.25);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.prize-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 14px;
  text-align: center;
}

.prize-item {
  padding: 14px 10px;
  border-radius: 14px;
  border: 1px solid rgba(99, 173, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow);
}

.medal {
  width: 72px;
  height: 90px;
  margin: 0 auto 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #04103b;
  font-weight: 700;
  font-size: 22px;
}

/* 上方绶带 */
.medal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 32px;
  background:
    linear-gradient(135deg, #b42424 0 20%, #e3a020 20% 40%, #b42424 40% 60%, #e3a020 60% 80%, #b42424 80% 100%);
  border-radius: 4px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

/* 下方圆形奖牌 */
.medal::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.4),
    inset 0 0 0 3px rgba(255, 255, 255, 0.28);
}

.medal.gold::after { background: linear-gradient(135deg, #ffcf56, #f5a623); }
.medal.silver::after { background: linear-gradient(135deg, #cfe8ff, #9cc7ff); }
.medal.bronze::after { background: linear-gradient(135deg, #f1c7a1, #d8914f); }
.medal.blue::after { background: linear-gradient(135deg, #7cd0ff, #4d9bff); }

.prize-title { font-weight: 700; margin: 6px 0 4px; }
.prize-desc { color: var(--muted); font-size: 14px; line-height: 1.4; }

/* signup form */
.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.form-row label {
  font-weight: 600;
  color: var(--text);
}

.form-row input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(99, 173, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(99, 173, 255, 0.2);
}

.form-row.inline {
  flex-direction: row;
  align-items: center;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 500;
}

.btn.full {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

.teammates {
  display: grid;
  gap: 12px;
  margin: 12px 0;
}

.teammate-card {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(99, 173, 255, 0.25);
  background: rgba(255, 255, 255, 0.03);
}

.teammate-title {
  font-weight: 700;
  margin-bottom: 8px;
  color: #9cd8ff;
}

.teammate-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 6px;
}

.add-row {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

/* modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 30, 0.78);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal {
  width: min(520px, 92vw);
  background: linear-gradient(135deg, rgba(16, 54, 140, 0.95), rgba(6, 26, 95, 0.95));
  border: 1px solid rgba(99, 173, 255, 0.35);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(99, 173, 255, 0.2);
}

.modal-title {
  font-weight: 700;
  font-size: 18px;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}

.modal-body {
  padding: 16px;
}

/* 确认弹窗样式 */
.confirm-info {
  margin-bottom: 20px;
}

.confirm-section {
  display: flex;
  margin-bottom: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(99, 173, 255, 0.15);
}

.confirm-label {
  font-weight: 600;
  color: var(--muted);
  min-width: 100px;
  flex-shrink: 0;
}

.confirm-value {
  color: var(--text);
  flex: 1;
  word-break: break-word;
}

.confirm-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
}

.confirm-actions .btn {
  min-width: 120px;
  margin-top: 0;
}

.confirm-actions .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.footer {
  text-align: center;
  padding: 24px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 6, 35, 0.75);
}

.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  main { max-width: 960px; }
  .top-bar { padding: 12px 28px; flex-wrap: wrap; gap: 10px; }
  .nav-links { flex-wrap: wrap; justify-content: flex-end; }
  .side-nav { right: 12px; }
  .hero { grid-template-columns: 1fr; padding: 40px; min-height: 80vh; }
  .hero-graphic { order: -1; }
  .register-box { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .top-bar { position: sticky; padding: 12px 16px; }
  .nav-links { gap: 8px; }
  .side-nav { display: none; }
  .hero h1 { font-size: 34px; }
  .hero-tag { font-size: 26px; }
  .qr-group { justify-content: flex-start; }
}

