@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --bg: #0b1119;
  --bg-2: #101827;
  --text: #f5f7fb;
  --muted: rgba(245, 247, 251, 0.7);
  --accent: #f05a28;
  --accent-bright: #ff6b33;
  --line: rgba(255, 255, 255, 0.12);
  --card: rgba(255, 255, 255, 0.04);
  --shadow: 0 26px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #0b1119 0%, #0c131d 40%, #0a1018 100%);
  min-height: 100vh;
  letter-spacing: 0.02em;
}

a { color: inherit; text-decoration: none; }

.hero {
  position: relative;
  min-height: calc(100vw * 6 / 11);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px 0 70px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("images/background.png") center top / 100% auto no-repeat;
  z-index: 0;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero::before {
  background:
    linear-gradient(115deg, rgba(40, 45, 52, 0.78) 0%, rgba(40, 45, 52, 0.42) 54%, rgba(40, 45, 52, 0) 65%),
    radial-gradient(circle at 18% 75%, rgba(224, 66, 32, 0.3), transparent 45%);
  clip-path: polygon(0 0, 62% 0, 45% 100%, 0 100%);
}

.hero::after {
  background:
    linear-gradient(245deg, rgba(5, 32, 56, 0.25) 0%, rgba(5, 32, 56, 0.55) 55%, rgba(5, 32, 56, 0.75) 100%),
    radial-gradient(circle at 75% 20%, rgba(110, 208, 255, 0.25), transparent 50%);
  clip-path: polygon(62% 0, 100% 0, 100% 100%, 45% 100%);
}

.hero__line {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(120deg, rgba(255,255,255,0) 48%, rgba(255,255,255,0.45) 50%, rgba(255,255,255,0) 52%);
  mix-blend-mode: screen;
  opacity: 0.4;
  pointer-events: none;
}

.nav {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 150px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45));
}

.menu-wrap {
  position: relative;
}

.menu-btn {
  width: 36px;
  height: 24px;
  display: grid;
  gap: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 999px;
}

.menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 220px;
  font-family: "Oswald", "Manrope", sans-serif;
  background: rgba(10, 16, 24, 0.95);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  backdrop-filter: blur(10px);
}

.menu-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.menu-panel a:hover,
.menu-panel a:focus {
  background: rgba(255,255,255,0.08);
}

.menu-wrap.open .menu-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: min(880px, 90vw);
  padding-top: 40px;
}

.hero__title {
  margin: 0 0 28px;
  font-family: "Oswald", "Manrope", sans-serif;
  font-weight: 700;
  font-size: clamp(42px, 6.6vw, 92px);
  letter-spacing: 0.06em;
  line-height: 0.95;
  text-transform: uppercase;
  text-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 15px;
  box-shadow: 0 14px 30px rgba(240, 90, 40, 0.4);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(240, 90, 40, 0.55);
}

.hero__sub {
  margin-top: 18px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 70px 6vw;
}

.section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section--dark {
  background: linear-gradient(180deg, rgba(10, 16, 24, 0.98), rgba(8, 12, 20, 0.98));
}

.section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.section__header h2 {
  margin: 0;
  font-family: "Oswald", "Manrope", sans-serif;
  font-size: clamp(26px, 4vw, 38px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section__header p {
  margin: 0;
  color: var(--muted);
  max-width: 560px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.stat {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 140px;
}

.stat span {
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

.stat strong {
  display: block;
  font-size: 28px;
  margin-top: 12px;
}

.progress {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: rgba(8, 12, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
  margin-top: 12px;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.6);
}

.progress span {
  position: relative;
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff7a3c 0%, var(--accent-bright) 45%, var(--accent) 100%);
  transition: width 240ms ease;
  box-shadow: 0 0 18px rgba(255, 107, 51, 0.5);
}

.progress span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffe1cf;
  border: 2px solid #ff7a3c;
  box-shadow: 0 0 14px rgba(255, 107, 51, 0.8);
}

.progress--spaced {
  margin-bottom: 18px;
}

.progress--vertical {
  width: 100%;
  height: 100%;
  margin: 0;
  flex: 1;
  border-radius: 16px;
  background: rgba(8, 12, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.65);
}

.progress--vertical span {
  position: absolute;
  width: 100%;
  height: 0%;
  bottom: 0;
  left: 0;
  border-radius: 12px 12px 14px 14px;
  background: linear-gradient(0deg, var(--accent) 0%, var(--accent-bright) 60%, #ffb58e 100%);
  box-shadow: 0 0 24px rgba(255, 107, 51, 0.55);
  transition: height 240ms ease;
}

.progress--vertical span::after {
  display: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  min-height: 180px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.step {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
}

.step strong {
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.cta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  align-items: center;
  background: linear-gradient(120deg, rgba(240, 90, 40, 0.12), rgba(34, 85, 130, 0.2));
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;
  padding: 26px 28px;
  box-shadow: var(--shadow);
}

.cta h3 {
  margin: 0 0 8px;
  font-family: "Oswald", "Manrope", sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cta p {
  margin: 0;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 13px;
  background: rgba(255,255,255,0.05);
}

footer {
  padding: 36px 6vw 60px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.page-hero {
  position: relative;
  min-height: calc(100vw * 6 / 11);
  padding: 120px 6vw 70px;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: url("images/background.png") center top / 100% auto no-repeat;
  filter: saturate(0.9) contrast(1.05) brightness(0.7);
  z-index: 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.4) 0%, rgba(8, 12, 20, 0.85) 80%);
  z-index: 1;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.page-hero__content h1 {
  margin: 0 0 12px;
  font-family: "Oswald", "Manrope", sans-serif;
  font-size: clamp(34px, 6vw, 64px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-hero__content p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
}

.vote-form {
  display: grid;
  gap: 18px;
  max-width: 820px;
}

.vote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: stretch;
}

.vote-layout__side {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 14px;
  align-items: stretch;
  text-align: center;
}

.vote-stats {
  display: grid;
  gap: 6px;
}

.check-field {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.8);
}

.check-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent-bright);
}

.check-field span {
  display: block;
}

.form-field {
  display: grid;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.form-field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  outline: none;
}

.form-field input:focus {
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 3px rgba(255, 107, 51, 0.2);
}

.vote-options {
  display: grid;
  gap: 12px;
}

.vote-option {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
}

.vote-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-bright);
}

.vote-option__title {
  font-family: "Oswald", "Manrope", sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vote-option__desc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
}

.vote-status {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(10, 16, 24, 0.6);
  color: #fff;
  font-size: 14px;
}

.vote-meta {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.list {
  display: grid;
  gap: 12px;
}

.list-item {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}

@media (max-width: 860px) {
  .hero {
    padding: 32px 0 52px;
  }

  .nav {
    padding: 0 6vw;
  }

  .brand img {
    width: 110px;
  }

  .vote-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .vote-layout__side {
    order: -1;
    align-items: stretch;
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
  }

  .progress--vertical {
    width: 100%;
    height: 220px;
    margin-top: 12px;
    border-radius: 14px;
    flex: 0 0 auto;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding: 76px 6vw 40px;
  }

  .progress--vertical {
    height: 10px;
    border-radius: 999px;
    margin-top: 10px;
    flex: 0 0 auto;
  }

  .progress--vertical span {
    position: relative;
    width: 0%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff7a3c 0%, var(--accent-bright) 45%, var(--accent) 100%);
    box-shadow: 0 0 12px rgba(255, 107, 51, 0.45);
    bottom: auto;
    left: auto;
  }

  .hero {
    padding: 20px 0 32px;
    align-items: center;
  }

  .hero__title {
    font-size: clamp(20px, 6.6vw, 34px);
    margin-bottom: 14px;
    line-height: 1.05;
    letter-spacing: 0.03em;
  }

  .hero__cta {
    padding: 14px 26px;
    font-size: 14px;
  }

  .hero__cta--main {
    padding: 12px 22px;
    font-size: 13px;
  }

  .hero__sub {
    margin-top: 10px;
    font-size: 12px;
  }

  .hero__content {
    padding-top: 68px;
  }

  .page-hero__content h1 {
    font-size: clamp(26px, 7vw, 46px);
  }

  .page-hero__content p {
    font-size: 13px;
    line-height: 1.4;
  }

  .brand img {
    width: 90px;
  }

  .menu-btn {
    width: 32px;
  }

  .menu-panel {
    position: fixed;
    inset: 0;
    min-width: 0;
    height: 100vh;
    z-index: 1000;
    border-radius: 0;
    padding: 104px 24px 32px;
    background: #0b1119;
    display: grid;
    gap: 12px;
    align-content: start;
    transform: translateY(-8px);
    backdrop-filter: blur(8px);
  }

  .menu-close {
    display: inline-flex;
    position: absolute;
    top: 28px;
    right: 24px;
  }

  .menu-panel a {
    font-size: 18px;
    padding: 14px 16px;
    border-radius: 12px;
  }

  .menu-wrap.open .menu-panel {
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 64px 6vw 32px;
  }

  .page-hero__content h1 {
    font-size: clamp(22px, 7vw, 38px);
  }

  .hero {
    padding: 20px 0 28px;
  }

  .hero__title {
    font-size: clamp(18px, 6vw, 28px);
    margin-bottom: 12px;
  }

  .hero__cta {
    padding: 12px 22px;
    font-size: 13px;
  }

  .hero__cta--main {
    padding: 10px 18px;
    font-size: 12px;
  }

  .hero__sub {
    display: none;
  }

  .hero__content {
    padding-top: 60px;
  }
}
