:root {
  color-scheme: light;
  --ink: #12263a;
  --muted: #66768a;
  --line: #e5ebef;
  --paper: #ffffff;
  --canvas: #f5f8f7;
  --green-900: #073f38;
  --green-800: #07584b;
  --green-700: #08715e;
  --green-500: #17b978;
  --green-400: #24d18b;
  --yellow: #ffd45a;
  --shadow: 0 18px 50px rgb(8 59 52 / 10%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgb(255 255 255 / 94%);
  border-bottom: 1px solid rgb(229 235 239 / 70%);
  backdrop-filter: blur(16px);
}

.header-content {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--green-400), var(--green-800));
  border-radius: 14px 14px 14px 5px;
  font-size: 22px;
  font-weight: 800;
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand strong {
  color: var(--green-900);
  font-size: 19px;
  letter-spacing: -0.6px;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.2px;
}

.main-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  position: relative;
  display: grid;
  height: 100%;
  place-items: center;
  color: #526376;
  font-size: 13px;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--green-700);
}

.main-nav a.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--green-500);
  border-radius: 3px 3px 0 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.button,
.icon-button,
.filter-button {
  border: 0;
  cursor: pointer;
  transition: 180ms ease;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--green-500);
  box-shadow: 0 10px 22px rgb(23 185 120 / 20%);
}

.button-primary:hover {
  background: #0fae6e;
  box-shadow: 0 12px 28px rgb(23 185 120 / 28%);
}

.button-ghost {
  color: var(--green-700);
  background: transparent;
}

.button-light {
  color: var(--green-900);
  background: #fff;
  box-shadow: 0 15px 30px rgb(1 48 40 / 24%);
}

.button-secondary {
  color: #5b6978;
  background: #edf1f2;
  box-shadow: none;
}

.button-large {
  min-height: 52px;
  padding-inline: 23px;
  border-radius: 13px;
}

.icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--green-700);
  background: #e9f7f1;
  border-radius: 50%;
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(112deg, rgb(3 72 62 / 97%), rgb(5 113 91 / 95%)),
    repeating-linear-gradient(45deg, transparent 0 30px, rgb(255 255 255 / 4%) 30px 31px);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: -160px;
  left: 0;
  height: 260px;
  content: "";
  background: linear-gradient(90deg, transparent, rgb(34 209 139 / 18%), transparent);
  filter: blur(40px);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 475px;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 74px;
  padding-block: 65px 72px;
}

.hero-copy {
  max-width: 590px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9bf6ce;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  content: "";
  background: currentColor;
}

.hero h1 {
  max-width: 600px;
  margin: 16px 0 19px;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: -3.6px;
}

.hero h1 em {
  position: relative;
  color: var(--yellow);
  font-style: normal;
}

.hero h1 em::after {
  position: absolute;
  right: 2px;
  bottom: -2px;
  left: 2px;
  height: 7px;
  content: "";
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='8' viewBox='0 0 220 8'%3E%3Cpath d='M2 6C56 1 145 1 218 5' fill='none' stroke='%23ffd45a' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.hero-copy > p {
  max-width: 530px;
  margin: 0 0 30px;
  color: #d1ebe5;
  font-size: 16px;
  line-height: 1.75;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.hero-orb-left {
  top: -160px;
  left: -170px;
  width: 390px;
  height: 390px;
  border: 1px solid rgb(104 231 188 / 15%);
  box-shadow: 0 0 0 70px rgb(28 176 133 / 4%);
}

.hero-orb-right {
  right: -120px;
  bottom: -140px;
  width: 420px;
  height: 420px;
  background: rgb(17 169 124 / 16%);
  box-shadow: 0 0 0 80px rgb(28 176 133 / 5%);
}

.hero-showcase {
  position: relative;
  width: min(100%, 430px);
  margin-left: auto;
  transform: rotate(1deg);
}

.showcase-card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 22px;
  box-shadow: 0 32px 65px rgb(0 42 34 / 28%);
}

.showcase-card-back {
  position: absolute;
  z-index: 1;
  inset: 28px -26px -24px 31px;
  background: rgb(255 255 255 / 17%);
  transform: rotate(5deg);
  backdrop-filter: blur(6px);
}

.showcase-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  color: #7b8894;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  color: #2d6253;
  background: rgb(255 255 255 / 90%);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.status i {
  width: 6px;
  height: 6px;
  background: var(--green-400);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgb(36 209 139 / 19%);
}

.showcase-visual {
  position: relative;
  display: grid;
  min-height: 220px;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 72% 22%, rgb(255 220 93 / 70%), transparent 22%),
    linear-gradient(145deg, #2fd898, #08725f 65%, #03463d);
  border-radius: 15px;
}

.showcase-visual::before,
.showcase-visual::after {
  position: absolute;
  content: "";
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 50%;
}

.showcase-visual::before {
  width: 260px;
  height: 260px;
  transform: translate(-155px, 80px);
}

.showcase-visual::after {
  width: 170px;
  height: 170px;
  transform: translate(150px, -90px);
}

.showcase-ticket {
  position: absolute;
  top: 25px;
  right: 28px;
  font-size: 39px;
}

.showcase-prize {
  position: relative;
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -3px;
  text-shadow: 0 10px 30px rgb(0 58 45 / 25%);
}

.showcase-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 6px 4px;
}

.showcase-details div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.showcase-details small {
  color: var(--muted);
  font-size: 10px;
}

.showcase-details strong {
  font-size: 15px;
}

.round-arrow {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  color: #fff;
  background: var(--green-500);
  border-radius: 50%;
  font-weight: 800;
}

.trust-strip {
  position: relative;
  z-index: 4;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 48px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trust-item strong {
  font-size: 12px;
}

.trust-item small {
  color: var(--muted);
  font-size: 10px;
}

.trust-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--green-700);
  background: #eaf8f2;
  border-radius: 11px;
  font-size: 16px;
  font-weight: 800;
}

.catalog {
  padding-block: 78px 92px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 9px 0 8px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -2px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.eyebrow-dark {
  color: var(--green-700);
}

.search-box {
  display: flex;
  width: min(100%, 285px);
  min-height: 46px;
  align-items: center;
  gap: 9px;
  padding-inline: 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgb(16 54 48 / 4%);
}

.search-box span {
  color: var(--green-700);
  font-size: 21px;
}

.search-box input {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 12px;
}

.search-box:focus-within {
  border-color: #79cbb0;
  box-shadow: 0 0 0 3px rgb(23 185 120 / 10%);
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
}

.filter-button {
  min-height: 37px;
  padding-inline: 15px;
  color: #71808f;
  background: #e9efed;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
}

.filter-button:hover,
.filter-button.active {
  color: #fff;
  background: var(--green-700);
}

.result-count {
  margin-left: auto;
  color: #81909d;
  font-size: 11px;
}

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

.campaign-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 32px rgb(11 72 62 / 6%);
  transition: 220ms ease;
}

.campaign-card:hover {
  border-color: #cae0d9;
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.campaign-cover {
  position: relative;
  min-height: 185px;
  overflow: hidden;
  color: #fff;
}

.cover-home { background: linear-gradient(145deg, #efb347, #da673f 68%, #973f3f); }
.cover-travel { background: linear-gradient(145deg, #48b9df, #3667bc 68%, #393b8a); }
.cover-tech { background: linear-gradient(145deg, #794fe5, #552ab3 65%, #321777); }
.cover-pets { background: linear-gradient(145deg, #f78786, #e44c6d 64%, #aa2854); }
.cover-music { background: linear-gradient(145deg, #42c6a5, #128a7c 64%, #086158); }
.cover-sport { background: linear-gradient(145deg, #8a9ba9, #536678 64%, #344656); }

.cover-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.36;
  background:
    radial-gradient(circle at 72% 34%, rgb(255 255 255 / 32%) 0 3%, transparent 3.5%),
    radial-gradient(circle at 20% 105%, transparent 0 34%, rgb(255 255 255 / 18%) 34.5% 35%, transparent 35.5%),
    linear-gradient(135deg, transparent 45%, rgb(255 255 255 / 12%) 45.5% 46%, transparent 46.5%);
}

.campaign-cover .status {
  position: absolute;
  top: 14px;
  left: 14px;
}

.status-soon i {
  background: #ffbd45;
  box-shadow: 0 0 0 3px rgb(255 189 69 / 20%);
}

.status-finished i {
  background: #8a96a2;
  box-shadow: 0 0 0 3px rgb(138 150 162 / 18%);
}

.featured-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 10px;
  color: #6c4e00;
  background: var(--yellow);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.campaign-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  color: rgb(255 255 255 / 94%);
  background: rgb(255 255 255 / 14%);
  border: 1px solid rgb(255 255 255 / 34%);
  border-radius: 25px;
  font-size: 43px;
  font-weight: 800;
  transform: translate(-50%, -43%) rotate(-4deg);
  backdrop-filter: blur(5px);
  text-shadow: 0 8px 20px rgb(0 0 0 / 15%);
}

.campaign-category {
  position: absolute;
  bottom: 13px;
  left: 14px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.campaign-body {
  padding: 19px 18px 18px;
}

.organization {
  color: var(--green-700);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.campaign-body h3 {
  margin: 6px 0 18px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.prize-row,
.progress-label,
.card-footer,
.ticket-price {
  display: flex;
}

.prize-row {
  align-items: end;
  justify-content: space-between;
  padding: 12px 13px;
  background: #f3f7f6;
  border-radius: 10px;
}

.prize-row span {
  color: var(--muted);
  font-size: 9px;
}

.prize-row strong {
  color: var(--green-800);
  font-size: 17px;
  letter-spacing: -0.5px;
}

.progress-label {
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  color: #778694;
  font-size: 9px;
}

.progress-label strong {
  color: var(--green-700);
  font-size: 10px;
}

.progress-track {
  height: 6px;
  margin-top: 7px;
  overflow: hidden;
  background: #e7edeb;
  border-radius: 999px;
}

.progress-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green-500), var(--green-400));
  border-radius: inherit;
}

.card-footer {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.ticket-price {
  flex-direction: column;
  gap: 2px;
}

.ticket-price small {
  color: var(--muted);
  font-size: 8px;
}

.ticket-price strong {
  font-size: 14px;
}

.card-footer .button {
  min-height: 39px;
  padding-inline: 16px;
  font-size: 11px;
}

.campaign-card-muted .campaign-cover {
  filter: saturate(0.55);
}

.empty-state {
  padding: 75px 20px;
  color: var(--muted);
  text-align: center;
  background: #fff;
  border: 1px dashed #cfdad7;
  border-radius: 18px;
}

.empty-state > span {
  display: block;
  color: var(--green-700);
  font-size: 38px;
}

.empty-state h3 {
  margin-bottom: 6px;
  color: var(--ink);
}

.empty-state p {
  margin: 0;
  font-size: 12px;
}

.skeleton-card {
  pointer-events: none;
}

.skeleton {
  background: linear-gradient(100deg, #edf2f0 30%, #f8faf9 50%, #edf2f0 70%);
  background-size: 220% 100%;
  animation: skeleton-loading 1.4s ease-in-out infinite;
}

.skeleton-cover {
  min-height: 185px;
}

.skeleton-line {
  height: 10px;
  margin-bottom: 12px;
  border-radius: 6px;
}

.skeleton-short {
  width: 38%;
}

.skeleton-title {
  width: 68%;
  height: 20px;
}

.skeleton-prize {
  height: 52px;
  margin-block: 18px;
  border-radius: 10px;
}

@keyframes skeleton-loading {
  to {
    background-position-x: -220%;
  }
}

.integration-demo {
  padding-block: 82px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgb(35 210 139 / 20%), transparent 30%),
    linear-gradient(135deg, #063f38, #075f51);
}

.integration-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: 90px;
}

.integration-copy .eyebrow {
  color: #8deac2;
}

.integration-copy h2 {
  max-width: 540px;
  margin: 12px 0 17px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -2.5px;
}

.integration-copy > p {
  max-width: 570px;
  margin: 0 0 27px;
  color: #c8e4dd;
  font-size: 13px;
  line-height: 1.75;
}

.integration-copy pre {
  max-width: 620px;
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  color: #c8ffe7;
  background: rgb(1 29 26 / 46%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 13px;
  font: 11px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.integration-preview {
  position: relative;
  width: min(100%, 380px);
  margin-left: auto;
  padding-top: 30px;
}

.integration-preview::before {
  position: absolute;
  z-index: 0;
  content: "";
  inset: 50px -24px -24px 28px;
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 22px;
  transform: rotate(4deg);
}

.integration-preview campaign-card {
  position: relative;
  z-index: 1;
}

.preview-label {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  color: #8deac2;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.how-it-works {
  padding-block: 78px 86px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.section-heading.centered {
  justify-content: center;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
}

.steps-grid article {
  position: relative;
  padding: 28px;
  overflow: hidden;
  background: #f5f9f7;
  border: 1px solid #e8efec;
  border-radius: 16px;
}

.steps-grid article > span {
  position: absolute;
  top: 12px;
  right: 18px;
  color: rgb(8 113 94 / 9%);
  font-size: 54px;
  font-weight: 800;
}

.steps-grid h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.steps-grid p {
  max-width: 240px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.site-footer {
  color: #cce1dc;
  background: var(--green-900);
}

.footer-content {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-footer strong,
.brand-footer small {
  color: #fff;
}

.footer-content p {
  margin: 0;
  font-size: 10px;
}

.footer-content > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

@media (max-width: 940px) {
  .main-nav {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr 0.82fr;
    gap: 35px;
  }

  .campaign-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .integration-grid {
    gap: 45px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 30px, 1180px);
  }

  .header-content {
    min-height: 68px;
  }

  .header-actions .icon-button,
  .header-actions .button-ghost {
    display: none;
  }

  .hero-content {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 50px;
    padding-block: 58px 70px;
  }

  .hero-showcase {
    width: 92%;
    margin-inline: auto;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .trust-item {
    justify-content: start;
    padding-block: 6px;
    padding-left: 18%;
    border-right: 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .search-box {
    width: 100%;
  }

  .filter-row {
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .result-count {
    display: none;
  }

  .campaign-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .integration-grid {
    grid-template-columns: 1fr;
  }

  .integration-preview {
    width: 92%;
    margin: 15px auto 0;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 28px;
  }
}

@media (max-width: 420px) {
  .brand small {
    display: none;
  }

  .header-actions .button {
    min-height: 38px;
    padding-inline: 13px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .showcase-card-back {
    right: -12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
