/* Reset and base styles */
@import url("https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;500;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: "Roboto Condensed", sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #000000;
  min-height: 100vh;
  display: flex;
}

/* Burger menu styles */
.burger-menu {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2000;
  cursor: pointer;
}

.burger-icon {
  width: 30px;
  height: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

.burger-menu.active .burger-icon span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.burger-menu.active .burger-icon span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-icon span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* Sidebar styles */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 22rem;
  background: #000000;
  color: #ffffff;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  text-decoration: none;
  color: inherit;
  outline: none;
}

.logo:focus {
  outline: none;
}

.logo:focus-visible {
  outline: none;
}

.logo-img {
  width: 2.5rem;
  height: 2.5rem;
  display: block;
  margin: 0;
  padding: 0;
}

.logo h1 {
  font-family: "Share Tech Mono", monospace;
  font-size: 2.5rem;
  margin: 0;
  color: #ffffff;
  font-weight: 100;
  letter-spacing: 0.5px;
  line-height: 1;
}

.nav-links {
  list-style: none;
  /* margin-bottom: 2rem; */
}

.nav-links a {
  color: #ffffff99;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.5rem 0;
  display: block;
  transition: color 0.3s ease;
  font-weight: 400;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-links a::before,
.nav-links a::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-links a::before {
  content: ">";
  left: -20px;
}

.nav-links a::after {
  content: "<";
  right: -20px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-links a:hover::before,
.nav-links a:hover::after {
  opacity: 1;
}

.nav-links a.active::before,
.nav-links a.active::after {
  opacity: 1;
  animation: blink 1.5s infinite;
}

.nav-separator {
  height: 1px;
  /* background: rgba(255, 255, 255, 0.1); */
  border: 1px dashed #ffffff;
  opacity: 60%;
  margin: 1rem 0;
}



.nav-contact-button {
  background: none;
  color: #ffffff99;
  border: none;
  padding: 0.5rem 0;
  width: 100%;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.3s ease;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-align: left;
  position: relative;
}

.nav-contact-button:hover {
  color: #ffffff;
}

.nav-contact-button::before,
.nav-contact-button::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-contact-button::before {
  content: ">";
  left: -20px;
}

.nav-contact-button::after {
  content: "<";
  right: -20px;
}

.nav-contact-button:hover::before,
.nav-contact-button:hover::after {
  opacity: 1;
}


.nav-register-button {
  background: none;
  color: #996ffd;
  border: none;
  padding: 0.5rem 0;
  width: 100%;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.3s ease;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-align: left;
  position: relative;
}

.nav-register-button:hover {
  color: #ffffff;
}

.nav-register-button::before,
.nav-register-button::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-register-button::before {
  content: ">";
  left: -20px;
}

.nav-register-button::after {
  content: "<";
  right: -20px;
}

.nav-register-button:hover::before,
.nav-register-button:hover::after {
  opacity: 1;
}

/* Main content styles */
.main-content {
  margin-left: 22rem;
  flex: 1;
  background-color: #000000;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: calc(100% - 28rem);
}

.background-video {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  object-fit: cover;
  opacity: 0.5;
}

.hero-section {
  padding: 4rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  /* max-width: 600px; */
  width: 100%;
  text-align: right;
  position: relative;
  z-index: 1;
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
  margin-right: 2rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 110.00000000000001%;
}

.main-content .hero-content > *:not(:last-child) {
  margin-bottom: 3.5rem; /* или сколько тебе нужно */
}

.tagline {
  background-color: #733bd0;
  color: white;
  display: inline-block;
  font-family: "Roboto Mono", monospace;
  font-weight: 400;
  padding: 0.1rem 0.5rem;
  margin-bottom: 2rem;
  font-size: 32px;

  letter-spacing: 0%;
  line-height: 160%;
  letter-spacing: 0;
}

.hero-content .buttons {
  padding-top: 1rem;
}

.buttons .btn {
  margin-right: 1rem;
}

.buttons .btn:last-child {
  margin-right: 0;
}

.hero-content .btn {
  text-decoration: none;
  padding: 1rem 2rem;
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
  font-size: 1.12rem;
  display: inline-block;
  text-align: center;
}

.hero-content .btn.purple-outline {
  border: 2px dashed #a580ff;
  background-color: #302647;
  color: #733bd0;
}

.hero-content .btn.purple-outline:hover {
  background-color: #3a2e57;
  border-color: #733bd0;
  color: #733bd0;
}

.hero-content .btn.dark {
  background: #1a1a1a;
  border: 3px dashed #ffffff14;
  color: white;
}

.hero-content .btn.dark:hover {
  background: #2a2a2a;
  border-color: #ffffff33;
}

.hero-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #996ffd;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.cta-button {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  /* border-radius: 50px; */
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
}

.cta-button.primary {
  background: #996ffd;
  color: #ffffff;
}

.cta-button.secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #996ffd;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(153, 111, 253, 0.3);
}

.core-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #ffffff;
}

.purple-box {
  background: #733bd0;
  /* border: 1px solid #996ffd; */
  padding: 0.1rem 0.2rem;
  /* border-radius: 4px; */
  color:#FFFFFF;
}

/* Grid layouts */
.targets-grid,
.for-what-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.targets-item,
.for-what-item {
  /* background: rgba(255, 255, 255, 0.05); */
  padding: 1rem;
  /* border-radius: 10px; */
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.for-what-item.charity {
  background: linear-gradient(180deg, #eb4f3d90 0%, #852c2300 70%);

}

.for-what-item.credit {
  background: linear-gradient(180deg, #90a4f290 0%, #2548d000 70%);
}

.for-what-item.voting {
  background: linear-gradient(180deg, #48be6290 0%, #31693d00 70%);
}

.targets-item:hover,
.for-what-item:hover {
  transform: translateY(-5px);
  /* background: rgba(153, 111, 253, 0.1); */
}

.targets-item h3,
.for-what-item h3 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.targets-item p,
.for-what-item p {
  color: #ffffff99;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Responsive design */
@media (max-width: 768px) {
  .burger-menu {
    display: block;
  }

  .sidebar {
    width: 100%;
    transform: translateX(-100%);
    padding: 1rem;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
    width: 100%;
    padding-top: 4rem;
  }

  .hero-section,
  .hero-content,
  .targets-container,
  .for-what-grid,
  .main-target-content,
  .timeline,
  .faq-container,
  .footer,
  .footer-content,
  .footer-links,
  .buttons,
  .prizes-grid,
  .prize-item {
    width: 100%;
    max-width: 100vw;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }

  .buttons .dark{
    margin-top: 20px;
  }

  .hero-video,
  .targets-video,
  .background-video {
    width: 100vw;
    height: auto;
    object-fit: cover;
  }

  .hero-content {
    margin-right: 0;
    padding: 1rem; 
    width: 100%;
    overflow-x: hidden;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    word-wrap: break-word;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .tagline {
    font-size: 1.5rem;
    padding: 0.1rem 0.3rem;
  }

  .core-text {
    font-size: 1.5rem;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links li {
    margin-bottom: 0;
  }

  /* Targets section */
  .targets-container {
    display: flex;
    flex-direction: column;
  }
  .targets-media {
    order: -1;
  }
  .targets-content {
    order: 1;
  }

  .targets-content {
    padding: 1rem;
  }

  .targets-media {
    min-height: 300px;
  }

  .targets-list li {
    font-size: 1rem;
    padding-left: 2rem;
  }

  /* For what section */
  .for-what-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
    overflow-x: hidden;
  }

  .for-what-item {
    padding: 1rem;
  }

  .for-what-number {
    font-size: 3rem;
  }

  /* Main target section */
  .main-target-content {
    padding: 1rem;
    width: 100%;
    overflow-x: hidden;
  }

  .main-target-text {
    font-size: 1rem;
  }

  /* Why participate section */
  #why-participate .targets-list li {
    font-size: 1rem;
  }

  /* Prizes section */
  .prizes-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 1.5rem !important;
  }

  .prize-item {
    width: 100% !important;
    margin: 0 !important;
  }

  /* Timeline section */
  .timeline {
    /* padding: 0rem; */
    padding-left: 2rem;
    width: 100%;
    overflow-x: hidden;
  }

  .timeline-item {
    padding-left: 2rem;
  }

  .timeline-separator {
    left: -1rem;
    font-size: 1.5rem;
  }

  .datetime {
    font-size: 0.9rem;
    padding: 0.3rem 0.7rem;
  }

  .timeline-item h3 {
    font-size: 1.2rem;
  }

  .timeline-item .description {
    font-size: 0.9rem;
  }

  /* FAQ section */
  .faq-container {
    padding: 0 1rem;
    width: 100%;
    overflow-x: hidden;
  }

  .faq-question span {
    font-size: 0.9rem;
  }

  .faq-answer p {
    font-size: 0.9rem;
  }

  /* Footer */
  .footer {
    margin-left: 0;
    padding: 1rem;
    width: 100%;
    overflow-x: hidden;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 0 1rem;
    width: 100%;
    overflow-x: hidden;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
    overflow-x: hidden;
  }

  .telegram-button {
    width: 100%;
    justify-content: center;
  }

  /* Modal */
  .modal-content {
    width: 90%;
    max-width: none;
    margin: 1rem auto;
  }

  .modal-header h2 {
    font-size: 1.2rem;
  }

  .modal-body {
    padding: 1rem;
  }

  .modal-body h3 {
    font-size: 1.1rem;
  }

  .modal-body p {
    font-size: 0.9rem;
  }

  /* Form */
  .form-group input {
    font-size: 0.9rem;
  }

  .submit-button {
    width: 100%;
  }

  .buttons {
    width: 100%;
    overflow-x: hidden;
  }

  .buttons .btn {
    width: 100%;
    margin-right: 0;
  }

  .prizes-grid {
    width: 100%;
    overflow-x: hidden;
  }

  .prize-item {
    width: 100%;
    overflow-x: hidden;
  }

  .nav-links a::before,
  .nav-links a::after,
  .nav-register-button::before,
  .nav-register-button::after {
    display: none !important;
  }

  .nav-contact-button::before,
  .nav-contact-button::after {
    display: none !important;
  }
}

/* Additional mobile optimizations */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1.2rem;
    width: 100%;
    text-align: center;
  }

  .core-text {
    font-size: 1.2rem;
  }

  .buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .buttons .btn {
    width: 100%;
    text-align: center;
    margin-right: 0;
  }
}

@keyframes blink {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

#about {
  position: relative;
}

#about .hero-content {
  text-align: left;
  margin-right: auto;
  /* margin-left: 2rem; */
  align-self: center;
}

.targets-container {
  display: flex;
  width: 100%;
  height: 100%;
  /* gap: 4rem; */
  /* align-items: center; */
}

.targets-content {
  flex: 1;
  /* max-width: 600px; */
  padding-top: 3rem;
  padding-left: 3rem;
  padding-right: 1rem;
  background: linear-gradient(180deg, #0a0a0a 0%, #131313 100%);
  /* padding: 2rem; */
  /* border-radius: 20px; */
  /* backdrop-filter: blur(10px); */
}

.targets-content .description {
  font-family: "Roboto Mono", monospace;
  opacity: 0.6;
  letter-spacing: 0;
  line-height: 160%;
  font-weight: 400;
}

.targets-media {
  flex: 1;
  position: relative;
  height: 100%;
  min-height: 500px;
}

.targets-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border-radius: 20px; */
}

.targets-list {
  list-style: none;
  margin-top: 2rem;
}

.targets-list li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #ffffff;
}

.targets-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-image: url("li-plus.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.main-content h1 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  line-height: 110.00000000000001%;
  letter-spacing: 4%;
  font-size: 5rem;
}

#for-what {
  position: relative;
}

#for-what .hero-content {
  text-align: left;
  margin-right: auto;
  /* margin-left: 2rem; */
  align-self: flex-start;
  margin-top: 2rem;
}

#for-what .description-text {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  line-height: 110.00000000000001%;
  letter-spacing: 4%;
  font-size: 2.5rem;
  margin-top: 1rem;
}

#for-what .description-text .highlight {
  color: #ffffff;
}

#for-what .description-text .secondary {
  color: #ffffff66;
  opacity: 0.4;
}

.for-what-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.for-what-icon svg {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
}

.charity .for-what-icon svg path {
  stroke: #ff5c5c;
}
.credit .for-what-icon svg path {
  stroke: #aabaff;
}
.voting .for-what-icon svg path {
  stroke: #4cff8f;
}

.for-what-number {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 5rem;
  font-weight: 500;
  opacity: 0.18;
  margin-left: 1rem;
  letter-spacing: 0;
  line-height: 80px;
  /* min-width: 2.5rem; */
  text-align: right;
}

#main-target {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* z-index: 2; */
}

#main-target::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.8) 10%, rgba(0, 0, 0, 0.4) 0%),
    linear-gradient(to top, rgba(0, 0, 0, 0.6) 10%, transparent 0%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 10%, transparent 00%),
    url("coder.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(12px);
  opacity: 0.74;
  z-index: 0;
}

.main-target-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-target-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 3rem;
  display: block;
}

.yellow-tagline {
  background-color: #ffd037;
  color: rgb(0, 0, 0);
  display: inline-block;
  font-family: "Roboto Mono", monospace;
  font-weight: 400;
  padding: 0.1rem 0.5rem;
  margin-bottom: 2rem;
  font-size: 32px;

  letter-spacing: 0%;
  line-height: 160%;
  letter-spacing: 0;
}

#main-target .yellow-tagline {
  margin-bottom: 2rem;
  text-align: center;
}

.main-target-text {
  font-family: "Roboto Mono", monospace;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 0%;
  font-size: 1.2rem;
  color: #ffffff;
  text-align: center;
}

#main-target > * {
  position: relative;
  z-index: 1;
}

#why-participate {
  position: relative;
}

#why-participate .hero-content {
  text-align: left;
  margin-right: auto;
  /* margin-left: 2rem; */
  align-self: flex-start;
  margin-top: 2rem;
}

#why-participate h1 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  line-height: 110.00000000000001%;
  letter-spacing: 4%;
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 3rem;
}

#why-participate .targets-list {
  margin-top: 2rem;
  max-width: 800px;
}

#why-participate .targets-list li {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

#why-participate .targets-list li:last-child {
  margin-bottom: 0;
}

.opacity-40 {
  opacity: 0.4;
}

#prizes {
  position: relative;
}

#prizes .hero-content {
  text-align: left;
  margin-right: auto;
  /* margin-left: 2rem; */
  align-self: flex-start;
  margin-top: 2rem;
}

#prizes h1 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  line-height: 110.00000000000001%;
  letter-spacing: 4%;
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 3rem;
}

.prizes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
}

.prize-item {
  text-align: center;
}

.prize-item .prize-number {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #ffffff;
  line-height: 160%;
  letter-spacing: 0;
  opacity: 60%;
}

.prize-item .yellow-tagline {
  margin-bottom: 0;
  font-size: 2.5rem;
}

@media (min-width: 1405px) and (max-width: 1462px) {
  .prize-item .tagline {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    line-height: 1;
  }
}

#timeline {
  position: relative;
}

#timeline .hero-content {
  text-align: right;
  margin-left: auto;
  margin-right: 2rem;
  align-self: flex-start;
  margin-top: 2rem;
  /* width: 28rem; */
}

#timeline h1 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  line-height: 110.00000000000001%;
  letter-spacing: 4%;
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 3rem;
}

.timeline {
  background: none;
  padding-right: 0;
}

.timeline-item {
  background-image: url('./icons/timeline-border.svg');
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 24px 100%;
  padding-right: 50px;
  padding-bottom: 70px;
  box-sizing: border-box;
  position: relative;
}

.timeline-separator {
  font-family: "Roboto Condensed", sans-serif;
  line-height: 110.00000000000001%;
  letter-spacing: 0%;
  opacity: 0.4;
  position: absolute;
  left: -2rem;
  top: 0;
  font-size: 2rem;
  /* transform: translateY(calc(100% + 0.5rem)); */
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.datetime {
  background-color: rgba(153, 111, 253, 0.15);
  color: #996ffd;
  display: inline-block;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  font-family: "Roboto Mono", monospace;
  font-weight: 400;
  position: relative;
}

.timeline-item h3 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  line-height: 110.00000000000001%;
  letter-spacing: 0%;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.timeline-item .description {
  font-family: "Roboto Mono", monospace;
  font-weight: 400;
  letter-spacing: 0%;
  line-height: 160%;
  color: #ffffff;
  text-align: right;
  opacity: 0.6;
}

#faq {
  position: relative;
}

#faq .hero-content {
  text-align: left;
  margin-right: auto;
  /* margin-left: 2rem; */
  align-self: flex-start;
  margin-top: 2rem;
}

#faq h1 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  line-height: 110.00000000000001%;
  letter-spacing: 4%;
  font-size: clamp(2rem, 5vw, 4rem);
  color: #ffffff;
}

#faq h1.opacity-40 {
  opacity: 0.4;
}

.faq-container {
  max-width: 800px;
  margin-top: 2rem;
}

.faq-item {
  margin-bottom: 1rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  cursor: pointer;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.faq-question span {
  font-family: "Roboto Mono", monospace;
  font-weight: 500;
  letter-spacing: 0%;
  color: #ffffff;
}

.faq-arrow {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1rem;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 1rem;
}

.faq-answer p {
  color: rgba(255, 255, 255, 0.7);
  font-family: "Roboto Mono", monospace;
  font-weight: 400;
  line-height: 1.6;
}

/* Footer styles */
.footer {
  background: #000000;
  padding: 20px;
  padding-bottom: 2rem;
  /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  outline: none;
}

.footer-logo:focus {
  outline: none;
}

.footer-logo:focus-visible {
  outline: none;
}

.footer-logo-img {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
  margin: 0;
  padding: 0;
}

.footer-logo h2 {
  font-family: "Share Tech Mono", monospace;
  font-size: 1.25rem;
  margin: 0;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1;
}

.telegram-button {
  border: 3px dashed #229ed9;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #229ed929;
  opacity: 16;
  color: #229ed9;
  padding: 0.7rem 1.2rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.telegram-button img {
  width: 20px;
  height: 20px;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: flex-start;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-links button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-family: "Roboto Mono", monospace;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links button:hover {
  color: #ffffff;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  overflow-y: auto;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #121212;
  width: 90%;
  max-width: 600px;
  margin: 2rem auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.5rem;
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 4%;
  line-height: 110.00000000000001%;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close img {
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease;
}

.modal-close:hover img {
  opacity: 0.7;
}

.modal-body {
  padding: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.modal-body h3 {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.2rem;
  color: #ffffff;
  margin: 1.5rem 0 1rem;
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body p {
  margin-bottom: 1rem;
  line-height: 1.6;
  font-family: "Roboto Mono", monospace;
}

#faq.hero-section {
  margin-bottom: 0;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: "Roboto Mono", monospace;
  color: #ffffff;
  opacity: 60%;
  font-size: 1rem;
  line-height: 140%;
  letter-spacing: 0%;
}

.form-group input {
  background: #121212;
  border: 1px solid #fcfcfc0a;
  padding: 0.8rem 1rem;
  color: #ffffff;
  font-family: "Roboto Mono", monospace;
  font-size: 1rem;
  line-height: 160%;
  letter-spacing: 0%;
  width: 100%;
}

.form-group input:focus {
  outline: none;
  border-color: #733bd0;
}

.submit-button {
  background: #302647;
  color: #996ffd;
  border: 1px dashed #996ffd;
  padding: 1rem 2rem;
  font-family: "Roboto Mono", monospace;
  font-size: 1rem;
  line-height: 140%;
  letter-spacing: 0%;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.submit-button:hover {
  background: #3a2e57;
  border-color: #733bd0;
  color: #733bd0;
}

.nav-telegram-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #229ed929;
  border: 2px dashed #229ed9;
  padding: 0.7rem;
  margin-top: 3rem;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  margin-left: 0;
  margin-right: auto;
}

.nav-telegram-button img {
  width: 20px;
  height: 20px;
}

.nav-telegram-button:hover {
  background: #229ed940;
}

/* Custom Alert Styles */
.custom-alert {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 2rem;
  border-radius: 4px;
  color: #ffffff;
  font-family: "Roboto Mono", monospace;
  font-size: 1rem;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateX(120%);
  transition: transform 0.3s ease;
  max-width: 400px;
}

.custom-alert.show {
  transform: translateX(0);
}

.custom-alert.success {
  background: #302647;
  border: 1px dashed #996ffd;
}

.custom-alert.error {
  background: #472630;
  border: 1px dashed #fd6f6f;
}

.custom-alert-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.custom-alert-message {
  flex-grow: 1;
}

@media (max-width: 768px) {
  .custom-alert {
    left: 20px;
    right: 20px;
    transform: translateY(-120%);
  }
  
  .custom-alert.show {
    transform: translateY(0);
  }
}

@media (max-width:  px) {
  .hero-content h1 {
    font-size: 4.5rem;
  }
}

@media (max-width: 338px) {
  .hero-content h1 {
    font-size: 4.4rem;
  }
}

@media (max-width: 332px) {
  .hero-content h1 {
    font-size: 4.3rem;
  }
}

#evaluation {
  position: relative;
}

#evaluation .hero-content {
  text-align: left;
  margin-right: auto;
  margin-left: 0;
  align-self: flex-start;
  margin-top: 2rem;
}

#evaluation h1 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  line-height: 110.00000000000001%;
  letter-spacing: 4%;
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 3rem;
  text-align: left;
}

.evaluation-content {
  max-width: 800px;
  margin-left: 0;
}

.evaluation-content .core-text {
  margin-bottom: 2rem;
}

.evaluation-content .core-text:last-child {
  margin-bottom: 0;
}

#map {
  position: relative;
}

#map .hero-content {
  text-align: left;
  margin-right: auto;
  margin-left: 0;
  align-self: flex-start;
  margin-top: 2rem;
}

#map h1 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  line-height: 110.00000000000001%;
  letter-spacing: 4%;
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1rem;
  text-align: left;
}

#map .address {
  font-family: "Roboto Mono", monospace;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.4;
}

.map-container {
  width: 100%;
  max-width: 936px;
  height: 604px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .map-container {
    height: 400px;
  }
}
