#byb-about-page {
  font-family: Montserrat, sans-serif;
  background: #eee;
  background-attachment: unset;

  & cloudy-content-wrapper {
    flex-direction: column;

    & > * {
      padding: 2rem 0;
    }
  }

  & hero-section {
    display: block;
    margin-bottom: 2rem;
    text-align: center;
    color: #fff;
    min-height: calc(100vh - 63.5px);
    display: flex;
    justify-content: center;
    flex-direction: column;
    background: linear-gradient(#07112773, #07112773), url("https://asset7.net/GeniusNetwork/WinJoesVan/branded-background.png?10") center / cover no-repeat;

    & > content-container {
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    & spacing-wrapper {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    & icon-wrapper {
      display: flex;
      justify-content: center;
      padding: 1.5rem 0;

      & a {
        text-decoration: none;
      }

      & i {
        width: 3rem;
        height: 3rem;
        border: 2px solid #ffb525;
        color: #ffb525;
        border-radius: 100%;
        line-height: 3rem;
        text-align: center;
        font-size: 16pt;
      }
    }

    & h1 {
      font-size: 36pt;
      font-weight: 700;
      margin-bottom: 1rem;
    }

    & h2 {
      font-size: 22pt;
      margin-bottom: 1rem;
    }

    & button-wrapper {
      display: inline-flex;
      gap: 1rem;
      margin-bottom: 2rem;

      & > a.btn:first-child {
        border: 2px solid #ffb525;
        border-radius: 0;
        font-weight: 500;
        background-color: #ffb525;
        color: #071127;
        padding: .5rem 1rem;
        font-size: 1.25rem;
      }

      & > a.btn:last-child {
        color: #ffb525;
        background-color: #0000;
        border: 2px solid #ffb525;
        border-radius: 0;
        font-weight: 500;
        padding: .5rem 1rem;
        font-size: 1.25rem;

        &:hover {
          background-color: #ffb525;
          color: #071127;
        }
      }
    }

    & a {
      color: #fff;
    }

    & .bux-narrow-sm {
      & ul {
        padding-left: 0;
        list-style-type: none;
        display: grid;
        margin-bottom: 2rem;
        font-size: 14pt;

        & span.checkmark {
          color: #ffb525;
          font-weight: bold;
          margin-right: .5rem;
          font-size: 1.5em;
        }
      }
    }
  }

  & content-section {
    display: block;

    &#section-1 {
      & h3 {
        font-weight: 800;
        font-size: 2.5rem;
        margin-bottom: 2rem;
      }

      & h3 + p {
        margin-bottom: 2rem;

        & span {
          font-weight: bold;
        }
      }

      & grid-3 {
        & panel {
          background: #fffbf0;

          & content {
            & p {
              text-align: center;
              margin-bottom: 0;
              font-size: 1.5rem;
            }
          }
        }
      }

      & panel {
        border: 2px solid #ffb525;
        border-radius: 1rem;

        &#program-features {
          margin-top: 1rem;
          margin-bottom: 0;

          & content {
            padding: 2rem;

            & > p:first-child {
              margin-bottom: 2rem;
            }
          }

          & ul {
            list-style: none;
            padding-left: 0;
            margin-bottom: 0;

            & li {
              &:not(:last-child) {
                margin-bottom: 1.5rem;
              }
            }
          }
        }
      }
    }

    &#section-2 {
      & panel {
        background: #fffbf0;
        border: 2px solid #ffb525;
        border-radius: 1rem;
        margin-bottom: 0;

        & content {
          padding: 2rem;

          & h3 {
            font-weight: 800;
            font-size: 2.5rem;
            margin-bottom: 2rem;
            text-align: center;
          }
        }
      }
    }

    &#section-3 {
      padding: 4rem 0;

      & panel {
        background: radial-gradient(#5a5a5a 0%, #3a3a3a 100%);
        border-radius: 1rem;

        & content {
          padding: 3rem;

          & h3 {
            font-weight: 800;
            font-size: 2.5rem;
            margin-bottom: 2rem;
            text-align: center;
            color: #ffb525;
          }

          & h3 + p {
            background: linear-gradient(#ffb525 0%, #ff9500 100%);
            display: inline-block;
            margin: 0 auto;
            padding: .5rem 1.5rem;
            border-radius: 2rem;
            font-weight: 700;
            font-size: .875rem;
            margin-bottom: 1rem;
          }

          & h3 + p + p {
            margin-bottom: 2.5rem;
            color: #fff;
            font-size: .875rem;
            font-weight: 500;
          }

          & grid-3 {
            gap: 2rem;
            margin: 0;

            & > prize-detail {
              background: #ffffff14;
              border: 1px solid #fff3;
              border-radius: 1.25rem;
              padding: 2rem;

              & title {
                display: block;
                color: #fff;
                font-weight: 700;
                font-size: 1.1rem;
                margin-bottom: 1rem;
                text-transform: capitalize;
              }

              & p {
                color: #fff;
                font-size: .875rem;
                margin-bottom: 0;
              }
            }
          }
        }
      }
    }

    &#section-4 {
      & h3 {
        font-weight: 800;
        font-size: 2.5rem;
        margin-bottom: 2rem;
      }

      & panel.win-prizes-panel {
        background: #fffbf0;
        border: 2px solid #ffc766;
        border-radius: 1rem;
        margin-bottom: 0;

        & content {
          padding: 2rem;

          & panel {
            border-radius: 1rem;
            border-color: #fed7aa;

            & content {
              padding: 2rem;

              & h4 {
                color: #0d1e37;
                margin-bottom: 1rem;
                font-size: 1.25rem;
                text-decoration: underline;
              }

              & > :last-child {
                margin-bottom: 0;
              }
            }

            &:last-child {
              margin-bottom: 0;
            }
          }
        }
      }
    }

    &#section-5 {
      & h3 {
        font-weight: 800;
        font-size: 2.5rem;
        margin-bottom: 2rem;
      }

      & h3 + p {
        margin-bottom: 2rem;
      }

      & grid-3 {
        gap: 2rem;

        & > panel {
          margin-bottom: 0;
          border-radius: 1rem;
          border-color: #fed7aa;

          & content {
            padding: 2rem;

            & p {
              font-size: .875rem;

              & a {
                color: #000;
                text-decoration: underline;
              }
            }

            & > :last-child {
              margin-bottom: 0;
            }
          }
        }
      }

      & h4 {
        color: #0d1e37;
        margin-bottom: 1rem;

        & span {
          display: block;
          background: #ffb525;
          color: #071127;
          border-radius: 8px;
          width: 50px;
          height: 50px;
          line-height: 50px;
          text-align: center;
          font-weight: bold;
          margin-bottom: .5rem;
        }
      }

      & panel.prize-panel {
        background: linear-gradient(#ffb525 0%, #ff9500 100%);
        border-radius: 1rem;
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;

        & content {
          text-align: center;
          padding: 0;

          & img {
            max-width: 100%;
            height: auto;
          }
        }

        & p {
          margin-bottom: 1rem;
        }

        & h3 {
          color: #fff;
          font-size: 2rem;
          font-weight: 800;
          margin: 2rem 0 1rem;
        }

        & a.btn.lg {
          color: #fff;
          background-color: #0000;
          border: 2px solid #fff;
          border-radius: 0;
          font-weight: 500;
          padding: .5rem 1rem;
          font-size: 1.25rem;
          margin-top: 1rem;
        }
      }
    }

    &#section-6 {
      & h3 {
        font-weight: 800;
        font-size: 2.5rem;
        margin-bottom: 2rem;
      }

      & panel.choosing-winners {
        background: #fffbf0;
        border: 2px solid #ffc766;
        border-radius: 1rem;
        margin-bottom: 0;

        & content {
          padding: 2rem;

          & ol {
            display: grid;
            gap: 1.5rem;
            margin-bottom: 2rem;

            & li {
              line-height: 1.75;

              &::marker {
                font-weight: bold;
              }

              & > b {
                text-decoration: underline;
              }
            }
          }
        }

        & panel.important-note {
          border-radius: 1rem;
        }
      }
    }

    &#section-7 {
      & a.btn.lg {
        background-color: #ffb525;
        color: #071127;
        border: 2px solid #ffb525;
        border-radius: 0;
        font-weight: 500;
        padding: .5rem 1rem;
        font-size: 1.25rem;
      }
    }

    &#section-8 {
      & panel {
        background: #fffbf0;
        border: 2px solid #ffb525;
        border-radius: 1rem;

        & content {
          padding: 2rem;

          & h3 {
            font-weight: 800;
            font-size: 2rem;
            margin-bottom: 2rem;
            text-align: center;
          }
        }
      }
    }

    &#section-9 {
      & panel {
        background: #e8f1ff;
        border: 2px solid #c5deff;
        border-radius: 1rem;

        & content {
          padding: 2rem;

          & h3 {
            font-weight: 800;
            font-size: 2rem;
            margin-bottom: 2rem;
            text-align: center;
          }

          & p {
            &:last-of-type {
              margin-bottom: 0;
            }
          }
        }
      }
    }

    &#section-10 {
      & panel#dont-miss-your-chance {
        background: radial-gradient(#5a5a5a 0%, #3a3a3a 100%);
        border-radius: 1rem;
        margin-bottom: 0;
        color: #fff;

        & > content {
          padding: 3rem;

          & h3 {
            font-weight: 800;
            font-size: 2.5rem;
            margin-bottom: 2rem;
            text-align: center;
            color: #ffb525;
          }

          & panel.transparent-panel {
            background: #ffffff14;
            border: 1px solid #fff3;
            border-radius: 1.25rem;
            padding: 2rem;
            margin-bottom: 2rem;

            & > content {
              text-align: center;

              & > p {
                color: #fff;
              }

              & h4 {
                margin-bottom: 1rem;
                margin-top: 2rem;
                font-size: 14pt;
                font-weight: 600;
              }

              & > :last-child {
                margin-bottom: 0;
              }
            }
          }

          & div:has(a.btn.lg) {
            margin-bottom: 2rem;
          }

          & a.btn.lg {
            background-color: #ffb525;
            color: #071127;
            border: 2px solid #ffb525;
            border-radius: 0;
            font-weight: 500;
            padding: .5rem 1rem;
            font-size: 1.25rem;
          }

          & > :last-child {
            margin-bottom: 0;
          }
        }
      }
    }

    &#section-11 {
      padding-bottom: 4rem;

      & h3 {
        font-weight: 800;
        font-size: 2.5rem;
        margin-bottom: 2rem;
        text-align: center;
      }

      & h3 + p {
        margin-bottom: 2rem;
      }

      & a.btn.lg {
        background-color: #ffb525;
        color: #071127;
        border: 2px solid #ffb525;
        border-radius: 0;
        font-weight: 500;
        padding: .5rem 1rem;
        font-size: 1.25rem;
      }
    }

    &#section-12 {
      background-color: #080926;

      & h3 {
        font-weight: 800;
        font-size: 1.5rem;
        text-align: center;
        color: #ffb525;
      }

      & h3 + p {
        color: #fff;
        margin-bottom: 2rem;
      }

      & p.contact-info {
        color: #fff;
        text-align: center;
        margin-bottom: 0;
        margin-top: 3rem;

        & span {
          display: block;
          margin-bottom: .5rem;
          font-weight: 600;
        }
      }

      & panel {
        background: #ffffff14;
        border: 1px solid #fff3;
        border-radius: 1rem;

        & content {
          padding: 2rem;
          color: #fff;
          text-align: center;

          & h4 {
            margin-bottom: 1rem;
            font-size: 14pt;
            font-weight: 600;
          }

          & > :last-child {
            margin-bottom: 0;
          }
        }
      }
    }
  }
}

winjoesvan-countdown-timer {
  --timer-bg: linear-gradient(145deg,
      #0f172a,
      #1e293b);
  --timer-border: #ffb52566;
  --timer-digit-bg: linear-gradient(180deg,
      #020617 0%,
      #0f172a 50%,
      #020617 100%);
  --timer-digit-color: #ffb525;
  --timer-digit-shadow: 0 0 12px #ffb5258c, 0 0 2px #ffb525e6;
  --timer-label-color: #cbd5e1;
  --timer-heading-color: #f8fafc;
  --timer-separator-color: #ffb525;
  display: block;
  background: var(--timer-bg);
  border: 1px solid var(--timer-border);
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 10px 25px -10px #02061773, inset 0 1px #ffffff0a;
  text-align: center;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  & countdown-heading {
    display: block;
    color: var(--timer-heading-color);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 1rem;
  }

  & countdown-clock {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: .4rem;
  }

  & countdown-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    flex: 2 1 0;
    min-width: 0;

    &[data-unit="days"] {
      flex: 3 1 0;
    }
  }

  & countdown-digits {
    display: flex;
    gap: .25rem;
    justify-content: center;
    width: 100%;
  }

  & countdown-digit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    aspect-ratio: 3 / 4;
    max-width: 3rem;
    background: var(--timer-digit-bg);
    border: 1px solid #ffb52540;
    border-radius: .5rem;
    color: var(--timer-digit-color);
    font-family: Courier New, ui-monospace, monospace;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 700;
    text-shadow: var(--timer-digit-shadow);
    box-shadow: inset 0 1px #ffffff0d, inset 0 -2px 6px #00000080, 0 1px 2px #0006;
    position: relative;
    overflow: hidden;
    transition: transform .12s ease-out;

    &:after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(#ffffff14 0%, #0000 50%, #00000040 100%);
      pointer-events: none;
    }

    &.tick {
      transform: scale(1.05);
    }
  }

  & countdown-label {
    display: block;
    color: var(--timer-label-color);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
  }

  & countdown-separator {
    display: flex;
    align-items: center;
    color: var(--timer-separator-color);
    font-family: Courier New, ui-monospace, monospace;
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 700;
    padding-bottom: 1.5rem;
    opacity: .7;
    animation: 1s steps(2, end) infinite winjoesvan-countdown-blink;
  }

  &[data-variant="hero"] {
    --timer-bg: linear-gradient(145deg,
        #071127d9,
        #020617e6);
    --timer-border: #ffb525a6;
    backdrop-filter: blur(6px);
    max-width: 38rem;
    margin: 0 auto 2rem;
  }

  &[data-state="expired"] {
    & countdown-separator {
      animation: none;
    }

    & countdown-digit {
      color: #64748b;
      text-shadow: none;
      border-color: #64748b40;
    }
  }
}

@keyframes winjoesvan-countdown-blink {
  0% {
    opacity: .8;
  }

  50% {
    opacity: .25;
  }

  100% {
    opacity: .8;
  }
}
