* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}
body {
  background: #2c2c2c;
  color: #d9d9d9;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}

.topbar {
  background: rgba(18, 18, 18, 0.72);
  color: #f9f9f9;
  display: flex;
  align-items: center;
  padding: 0 32px;
  min-height: 72px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.brand {
  display: inline-flex;
  align-items: center;
  color: #f9f9f9;
  text-decoration: none;
  margin-right: 34px;
  min-width: max-content;
}
.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin-right: 12px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.45));
}
.site-title {
  font-weight: 700;
  font-size: 18px;
  color: #f9f9f9;
}
nav.main-nav {
  display: flex;
  flex: 1;
  justify-content: flex-end;
}
nav.main-nav > ul {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-home {
  margin-right: 46px;
}
nav.main-nav > ul > li > a {
  color: #f9f9f9;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 27px 13px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  min-height: 72px;
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
nav.main-nav > ul > li > a:hover,
nav.main-nav > ul > li > a.is-active {
  color: #ffd24a;
  border-bottom-color: #ffd24a;
  background: rgba(255,255,255,0.04);
}

.banner {
  position: relative;
  width: 100%;
  height: 520px;
  background: url("assets/banner.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.46), rgba(0,0,0,0.62));
}
main.content {
  background: #2c2c2c;
  padding: 58px 24px 84px;
}
.rules-section {
  max-width: 1040px;
  margin: 0 auto;
  padding: 34px 0 10px;
  border-top: 1px solid #3f3f3f;
}
.rules-section + .rules-section {
  margin-top: 22px;
}
.home-page {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.home-page h2 {
  margin-bottom: 0;
}
.section-kicker {
  color: #ffd24a;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 8px;
}
.rules-section h2 {
  color: #ffffff;
  font-family: 'Roboto Slab', 'Times New Roman', serif;
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: 22px;
  letter-spacing: 0;
}
.rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.rule-card {
  background: #242424;
  border: 1px solid #3e3e3e;
  border-radius: 8px;
  padding: 20px;
  min-height: 150px;
}
.rule-card h3 {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 10px;
}
.rule-card p,
.rule-card li {
  color: #cccccc;
  font-size: 15px;
  line-height: 1.68;
}
.rule-card ul {
  padding-left: 18px;
}
.full-row {
  grid-column: 1 / -1;
}
.link-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.link-list a {
  color: #2b2618;
  background: #f3dd8a;
  font-weight: 700;
  text-decoration: none;
  padding: 11px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
}
.link-list a:hover,
.link-list a:focus {
  background: #fff0b5;
  outline: none;
}
.recruitment-empty {
  min-height: 320px;
}
.honeypot {
  display: none;
}
.recruitment-page {
  max-width: 860px;
}
.recruitment-landing {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  text-align: center;
}
.recruitment-landing p {
  max-width: 620px;
  color: #cccccc;
  font-size: 16px;
  line-height: 1.7;
}
.primary-btn,
.secondary-btn {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  min-height: 46px;
  padding: 0 22px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.primary-btn {
  background: #ffd24a;
  color: #1c1a12;
  box-shadow: 0 12px 28px rgba(0,0,0,0.24);
}
.primary-btn:hover,
.primary-btn:focus {
  background: #ffe38a;
  outline: none;
  transform: translateY(-1px);
}
.secondary-btn {
  background: #2a2a2a;
  color: #f5f5f5;
  border: 1px solid #474747;
}
.secondary-btn:hover,
.secondary-btn:focus {
  background: #333333;
  outline: none;
}
.primary-btn:disabled,
.secondary-btn:disabled {
  cursor: default;
  opacity: 0.45;
  transform: none;
}
.recruitment-start {
  min-width: 220px;
}
.recruitment-form {
  max-width: 760px;
  margin: 12px auto 0;
}
.form-progress {
  background: #242424;
  border: 1px solid #3e3e3e;
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 16px;
  color: #f4f4f4;
  font-weight: 700;
}
.progress-track {
  height: 8px;
  margin-top: 12px;
  background: #3b3b3b;
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  display: block;
  width: 25%;
  height: 100%;
  background: #ffd24a;
  border-radius: inherit;
  transition: width 0.24s ease;
}
.form-step {
  display: none;
}
.form-step.is-visible {
  display: block;
}
.form-card {
  position: relative;
  background: #242424;
  border: 1px solid #3e3e3e;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 16px;
  overflow: hidden;
}
.form-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: #ffd24a;
}
.form-card h3 {
  color: #ffffff;
  font-family: 'Roboto Slab', 'Times New Roman', serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
  margin: 4px 0 22px;
}
.form-card h4 {
  color: #f6f6f6;
  font-size: 19px;
  margin: 22px 0 10px;
}
.form-field {
  display: grid;
  gap: 9px;
  padding: 18px 0;
  border-top: 1px solid #3a3a3a;
}
.form-field:first-of-type {
  border-top: 0;
}
.form-field span {
  color: #f1f1f1;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  color: #f6f6f6;
  background: #1d1d1d;
  border: 1px solid #454545;
  border-radius: 6px;
  font: inherit;
  font-size: 15px;
  padding: 12px 13px;
  outline: none;
}
.form-field textarea {
  resize: vertical;
  min-height: 96px;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: #ffd24a;
  box-shadow: 0 0 0 3px rgba(255,210,74,0.14);
}
.form-field ::placeholder {
  color: #777777;
}
.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}
.form-confirmation {
  color: #ffe38a;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 18px;
}
.thanks-page {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
}
.thanks-page p {
  max-width: 560px;
  color: #cccccc;
  font-size: 16px;
  line-height: 1.7;
}
.thanks-page a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: #1c1a12;
  background: #ffd24a;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.thanks-page a:hover,
.thanks-page a:focus {
  background: #ffe38a;
  outline: none;
}

footer.gs-footer {
  background: #242424;
  border-top: 1px solid #3a3a3a;
  padding: 18px 32px;
  color: #9a9a9a;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 1100px) {
  .topbar {
    position: sticky;
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 20px 0;
  }
  .brand { margin: 0 0 8px; }
  nav.main-nav { width: 100%; justify-content: flex-end; overflow-x: auto; }
  nav.main-nav > ul { flex-wrap: nowrap; justify-content: flex-end; }
  .nav-home { margin-right: 30px; }
  nav.main-nav > ul > li > a {
    min-height: 48px;
    padding: 15px 12px;
    white-space: nowrap;
  }
  .banner { height: 420px; }
}
@media (max-width: 760px) {
  main.content { padding: 42px 16px 64px; }
  .rule-grid { grid-template-columns: 1fr; }
  .rule-card { min-height: 0; padding: 18px; }
  .banner { height: 340px; }
  .home-page { min-height: 220px; }
  .nav-home { margin-right: 20px; }
  .recruitment-landing { min-height: 280px; }
  .form-card { padding: 24px 18px; }
  .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  footer.gs-footer { padding: 18px 16px; }
}
