:root {
  --mint: #eaffef;
  --mint2: #f6fff8;
  --green: #049275;
  --green2: #0bb982;
  --lime: #8df13d;
  --ink: #0b0d0c;
  --muted: #666f6b;
  --line: #d9eadf;
  --soft: #f8fffa;
  --shadow: 0 24px 60px rgba(12, 110, 72, 0.1);
}

.hackathon-page {
  position: relative;
  z-index: 2;
  padding-bottom: 100px;
}

.hero-wrap {
  min-height: 710px;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-wrap:before {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  background:
    radial-gradient(
      75% 74% at 0% 91%,
      rgba(255, 255, 255, 0.3) 14%,
      rgba(255, 255, 255, 0) 100%
    ),
    linear-gradient(196deg, #c9fed3 30%, #eaffe5 61%, #ffffff 112%);
  opacity: 0.6;
}

.hero {
  width: 80%;
  max-width: 1535px;
  margin: 0 auto;
  padding: 74px 28px 92px;
  display: flex;
  align-items: center;
  gap: 62px;
  z-index: 2;
}

.hero-content {
  flex-grow: 1;
  width: 10%;
}

.hero h1 {
  font-family: "Montserrat-Bold";
  font-weight: bold;
  font-size: 56px;
  color: #000000;
}

.hero .sub-title {
  display: inline-block;
  font-family: "Montserrat-Medium";
  line-height: 50px;
  font-weight: 600;
  font-size: 32px;
  background:
    linear-gradient(113deg, #048a74 21%, rgba(4, 138, 116, 0) 51%),
    linear-gradient(175deg, #127d49 58%, #36b55c 75%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  line-height: 1.7;
  opacity: 0.7;
  font-size: 1.375rem;
  margin-bottom: 6px;
}

.tags {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 18px 0 14px;
}

.tag {
  background: #d9ffc7;
  color: #63805d;
  border-radius: 4px;
  padding: 9px 14px;
  font-size: 13px;
  line-height: 1;
}

.hero-btn {
  margin-top: 36px;
  display: inline-flex;
  padding: 12px 20px;
  color: #101412;
  font-size: 15px;
  background: linear-gradient(90deg, #4df77e 0%, #93fb7b 100%);
  border-radius: 50px 50px 50px 50px;
  font-weight: 600;
  font-size: 12px;
  color: #181818;
}

.hero-media img {
  display: inline-block;
  width: 29vw;
  max-width: 496px;
  object-fit: cover;
}

.section {
  padding: 64px 28px;
  width: 70%;
  margin: 0px auto;
  max-width: 1335px;
}

.section-head {
  text-align: center;
  margin-bottom: 42px;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 18px;
}

.label:before {
  content: "+";
  color: #18d857;
  font-weight: 950;
  font-size: 22px;
  line-height: 1;
}

.section h2 {
  font-size: 30px;
  line-height: 1.18;
  margin: 0;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.section-desc {
  margin: 18px auto 0;
  max-width: 650px;
  color: #7a7f7d;
  line-height: 1.75;
  font-size: 15px;
}

.two-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.three-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  min-height: 160px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  gap: 24px;
}

.info-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: #d9ffc7;
  display: grid;
  place-items: center;
  color: var(--green);
  font-weight: 950;
  font-size: 22px;
  flex: 0 0 auto;
}

.info-card h3 {
  font-size: 17px;
  margin: 0 0 10px;
  font-weight: 900;
}

.info-card p {
  margin: 0;
  color: #66716d;
  font-size: 14px;
  line-height: 1.65;
}

.flow-card {
  display: block;
  padding: 26px 26px 28px;
  min-height: 230px;
  position: relative;
  overflow: hidden;
}

.flow-card:before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -44px;
  top: -48px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(141, 241, 61, 0.45),
    rgba(4, 146, 117, 0.06)
  );
  pointer-events: none;
}

.flow-card .icon {
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  display: inline-block;
  color: rgba(0, 143, 115, 0.28);
  font-weight: 950;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
  position: relative;
}

.flow-card .icon:after {
  content: "";
  display: block;
  width: 30px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--lime));
  margin-top: 12px;
}

.flow-card h3 {
  font-size: 19px;
  line-height: 1.28;
  margin: 0 0 13px;
  font-weight: 950;
  letter-spacing: -0.025em;
  position: relative;
}

.flow-card p {
  margin: 0;
  color: #66716d;
  font-size: 14px;
  line-height: 1.68;
  position: relative;
}

.flow-card p + p {
  margin-top: 8px;
}

.three-cards .flow-card:first-child {
  background: linear-gradient(180deg, #fff 0%, #fbfffc 100%);
}

.prize-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.prize {
  min-height: 230px;
  border-radius: 22px;
  padding: 38px 24px;
  text-align: center;
  background: url(../images/hackathon/bg_news_prizes.6cc78e5c.svg) no-repeat center
    center;
  background-size: cover;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.03);
}

.prize:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(0, 146, 117, 0.18) 1px,
    transparent 1px
  );
  background-size: 12px 12px;
  mask-image: linear-gradient(
    135deg,
    transparent 0%,
    #000 45%,
    transparent 92%
  );
  opacity: 0.55;
}

.prize > * {
  position: relative;
}

.prize .bigicon {
  font-size: 44px;
  color: var(--green);
  height: 58px;
}

.prize small {
  display: block;
  color: #53605c;
  margin: 12px 0;
}

.prize strong {
  font-size: 30px;
  display: block;
  line-height: 1.15;
}

.rules-shell {
  width: 70%;
  max-width: 1335px;
  margin: 0 auto 80px;
  padding: 0 28px;
}

.rules-card {
  background: #fff;
  border: 1px solid #e0e6e3;
  border-radius: 22px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.rule-row {
  display: grid;
  grid-template-columns: 130px 1fr 120px;
  gap: 26px;
  align-items: center;
  padding: 25px 6px;
  border-bottom: 1px solid #e7eeea;
}

.rule-row:last-child {
  border-bottom: 0;
}

.rule-no {
  display: flex;
  gap: 18px;
  align-items: center;
  font-weight: 900;
}

.tri {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 10px solid var(--lime);
}

.rule-row b {
  font-size: 16px;
}

.rule-row p {
  margin: 7px 0 0;
  color: #6f7774;
  line-height: 1.55;
}

.pill {
  justify-self: end;
  background: #f1fff4;
  color: #08765f;
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 850;
  font-size: 13px;
}

.cta {
  width: 70%;
  max-width: 1335px;
  margin: 6px auto 96px;
  padding: 0 28px;
  text-align: center;
}

.cta h2 {
  font-size: 32px;
  margin: 0 0 18px;
}

.cta p {
  color: #5f6d67;
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 1300px) {
  .hero h1 {
    font-size: 3.5vw;
  }
  .hero .sub-title {
    font-size: 2.5vw;
  }
}
@media (max-width: 900px) {
  .hero {
    padding-top: 84px;
  }

  .hero p {
    font-size: 16px;
  }

  .two-cards,
  .three-cards,
  .prize-grid {
    grid-template-columns: 1fr;
  }

  .rule-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pill {
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .hero {
    width: 100%;
    display: block;
    margin-bottom: 100px;
  }
  .hero-content {
    width: 100%;
  }
  .hero h1 {
    font-size: 4.5vw;
  }
  .hero .sub-title {
    font-size: 3.5vw;
  }
  .hero-media {
    margin-top: 40px;
    text-align: center;
  }
  .hero-media img {
    width: 100%;
    max-width: 400px;
  }

  .section,
  .rules-shell,
  .cta {
    width: 90%;
  }
}

@media (max-width: 500px) {
  .hero h1 {
    font-size: 30px;
  }
  .hero .sub-title {
    font-size: 24px;
  }
  .section,
  .rules-shell,
  .cta {
    width: 100%;
  }
}
