@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  /* https://kilianvalkhof.com/2022/css-html/your-css-reset-needs-text-size-adjust-probably/ */
  html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
  }

  body,
  h1,
  h2,
  h3,
  h4,
  p,
  figure,
  blockquote,
  dl,
  dd {
    margin: 0;
  }

  /* https://www.scottohara.me/blog/2019/01/12/lists-and-safari.html */
  ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  body {
    min-block-size: 100vh;
    line-height: 1.6;
  }

  h1,
  h2,
  h3,
  button,
  input,
  label {
    line-height: 1.1;
    font-size: 1.6em;
  }

  h1,
  h2,
  h3,
  h4 {
    font-optical-sizing: auto;
    font-style: normal;
  }

  p,
  li {
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 1rem;
    margin: 1rem 0;
  }

  img,
  picture {
    max-inline-size: 100%;
    display: block;
  }
}

@layer base {
  :root {
    --primary: #b8a28f;
    --secondary: #333333;
    --accent: #e8dccf;
    --background: #faf8f5;
    --surface: #ede7e1;
    --highlight: #c9b08a;

    --heading: #2b2521;
    --text: #5f5751;
    --border: #d8cec4;
    --hover: #9c8572;
    --success: #7a8d77;
    --warning: #c89a5a;

    --black: var(--heading);
    --white: var(--background);
    --dark-gray: var(--text);
    --gray: var(--border);
    --light-gray: var(--surface);
    --light-primary: var(--accent);

    --gradient-primary: linear-gradient(135deg, var(--primary), var(--highlight));
    --gradient-secondary: linear-gradient(135deg, var(--surface), var(--accent));

    --border-radius-1: 0.5rem;
    --border-radius-2: 1.25rem;
    --border-radius-3: 2rem;
    --border-radius-4: 3rem;
  }

  @view-transition {
    navigation: auto;
  }

  @media (prefers-reduced-motion: no-preference) {
    html {
      scroll-behavior: smooth;
    }
  }

  html {
    scroll-padding: 2rem;
    overflow-x: hidden;
  }

  body {
    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    line-height: 1.3;
    color: var(--text);
    background: var(--background);
    position: relative;
    line-height: normal;
    width: 100%;
    overflow-x: hidden;
  }

  h1 {
    font-family: "DM Sans", sans-serif;
    font-size: 4em;
    font-weight: 400;
    margin: 0;

    span {
      color: var(--primary);
    }

    strong {
      font-weight: 500;
    }

    @media screen and (max-width: 767px) {
      font-size: 2.5rem;
    }
  }

  h2 {
    font-family: "DM Sans", sans-serif;
    font-size: 2.5rem;
    font-weight: 200;
    margin: 0;

    @media screen and (max-width: 767px) {
      font-size: 2rem;
    }

    span {
      color: var(--primary);
    }
  }

  h3 {
    font-family: "DM Sans", sans-serif;
    font-size: 2rem;
    font-weight: 300;
    margin: 0;

    @media screen and (max-width: 767px) {
      font-size: 1.5rem;
    }
  }

  a {
    color: var(--primary);
    text-decoration: none;
    font-size: 1rem;
  }

  .btn {
    font-weight: 500;
    color: var(--black);
    background-color: transparent;
    border-radius: var(--border-radius-1);
    border: 1.5px solid var(--black);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    transition: all 0.2s ease-out;
    width: fit-content;
    min-width: 240px;
    text-transform: uppercase;

    &:hover {
      transform: scale(1.1);
    }

    &.large {
      margin: 0;
      font-size: 2rem;
      padding: 1.25rem 3rem;
    }

    &.btn-secondary {
      background: var(--light-gray);
      color: var(--primary);
      font-weight: 500;
      font-size: 1rem;
      border: none;
      padding: 0.5rem 1.5rem;
      min-width: fit-content;
    }
  }

  .btn-img {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: var(--border-radius-2);
    overflow: hidden;
    transition: 0.2s ease-in-out;

    &:hover {
      transform: scale(1.05);
    }
  }

  .subtitle {
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1.25rem;
  }
}

@layer layout {
  .wrapper {
    --wrapper-max-width: 1280px;
    --wrapper-padding: 1rem;

    max-width: var(--wrapper-max-width);
    margin-inline: auto;
    padding-inline: var(--wrapper-padding);

    /* helps to match the Figma file */
    box-sizing: border-box;
    width: 100%;
  }

  .wrapper[data-width="narrow"] {
    --wrapper-max-width: 720px;
  }

  .wrapper[data-width="medium"] {
    --wrapper-max-width: 900px;
  }

  .wrapper[data-width="large"] {
    --wrapper-max-width: 1440px;
  }

  .section {
    padding-block: 4rem;

    @media (max-width: 767px) {
      padding-block: 3rem;
    }

    + .section {
      padding-top: 0;
    }

    &.background-light {
      padding-top: 4rem;

      @media (max-width: 767px) {
        padding-top: 3rem;
      }

      + .section {
        padding-block: 4rem;

        @media (max-width: 767px) {
          padding-top: 3rem;
        }
      }
    }
  }
}

@layer components {
  /* Navigation  */
  .top_bar {
    display: flex;
    padding: 0.5rem 2.5rem;
    justify-content: space-between;
    background: var(--primary);
    gap: 1.5rem;
    align-items: center;

    @media screen and (max-width: 767px) {
      padding: 0.5rem 1rem;
      gap: 0;
    }

    @media screen and (max-width: 374px) {
      flex-direction: column;
    }

    a {
      color: var(--white);
      font-size: 1rem;
      letter-spacing: -0.5px;
      line-height: 1.4;
      font-weight: 600;
    }

    .support-icon {
      width: 25px;
      height: 25px;
    }
  }

  .site_header {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 2.5rem;
    align-items: center;
    position: relative;
    z-index: 999;

    @media screen and (max-width: 1199px) {
      padding: 1rem;
    }

    .logo_header {
      max-width: 200px;
      width: 100%;
    }
  }
  .icon_support {
    width: 40px;

    &:hover {
      transform: scale(1.1);
    }
  }

  .header-right {
    position: relative;
    display: flex;
    gap: 1rem;
    align-items: center;

    li {
      list-style: none;
    }

    .dropdown-trigger {
      display: flex;
      flex-direction: column;
      gap: 4px;
      background: none;
      border: none;
      padding: 5px;
      cursor: pointer;
      justify-content: center;
    }

    a {
      font-weight: 600;
    }

    .dropdown-menu {
      position: fixed;
      top: 0;
      right: -110%;
      height: 100vh;
      background:
        radial-gradient(circle at 16% 14%, rgba(201, 176, 138, 0.18), transparent 35%),
        radial-gradient(circle at 82% 82%, rgba(184, 162, 143, 0.14), transparent 40%),
        linear-gradient(165deg, #2b2521 0%, #333333 55%, #26211d 100%);
      width: 25%;
      padding: 5.25rem 1.25rem 2rem;
      transition:
        right 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
        box-shadow 0.3s ease;
      box-shadow: -18px 0 50px rgba(0, 0, 0, 0.35);
      overflow-y: auto;
      z-index: 9;
      border-left: 1px solid rgba(232, 220, 207, 0.2);

      &::before {
        content: "Menu";
        position: absolute;
        top: 1.5rem;
        left: 1.35rem;
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.18em;
        color: rgba(232, 220, 207, 0.8);
        font-weight: 700;
      }

      &::after {
        content: "";
        position: absolute;
        top: 2.8rem;
        left: 1.35rem;
        width: 56px;
        height: 1px;
        background: linear-gradient(90deg, var(--highlight), rgba(201, 176, 138, 0));
      }

      @media screen and (min-width: 768px) and (max-width: 1199px) {
        width: 60%;
      }

      @media screen and (max-width: 767px) {
        width: 85%;
      }

      &.active {
        right: 0;
      }

      ul {
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
        margin: 0;
        padding: 0;

        li {
          margin: 0;
          list-style: none;

          a {
            display: block;
            padding: 0.75rem 0.85rem;
            font-size: 1rem;
            font-weight: 600;
            letter-spacing: 0.02em;
            color: rgba(250, 248, 245, 0.9);
            border: 1px solid rgba(232, 220, 207, 0.16);
            border-radius: 12px;
            transition:
              color 0.25s ease,
              background-color 0.25s ease,
              border-color 0.25s ease,
              transform 0.25s ease;
            background: rgba(250, 248, 245, 0.03) !important;
            backdrop-filter: unset;

            &:hover {
              color: var(--accent);
              background: rgba(232, 220, 207, 0.08) !important;
              border-color: rgba(201, 176, 138, 0.55);
              transform: translateX(4px);
            }
          }

          &:last-child a {
            margin-top: 0.45rem;
            border-color: rgba(201, 176, 138, 0.42);
            background: rgba(201, 176, 138, 0.09) !important;
          }
        }
      }
    }
  }

  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0;
    background: linear-gradient(145deg, rgba(250, 248, 245, 0.96), rgba(232, 220, 207, 0.92));
    border: 1px solid rgba(201, 176, 138, 0.55);
    border-radius: 999px;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    box-shadow:
      0 10px 20px rgba(43, 37, 33, 0.16),
      inset 0 1px 0 rgba(250, 248, 245, 0.9);
    z-index: 10;
    position: relative;
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      border-color 0.25s ease;

    &::before {
      content: "";
      position: absolute;
      inset: 4px;
      border-radius: 999px;
      border: 1px solid rgba(201, 176, 138, 0.45);
      pointer-events: none;
    }

    &:hover {
      transform: translateY(-1px);
      border-color: rgba(201, 176, 138, 0.8);
      box-shadow:
        0 14px 24px rgba(43, 37, 33, 0.2),
        inset 0 1px 0 rgba(250, 248, 245, 0.9);
    }

    span {
      display: block;
      width: 21px;
      height: 2px;
      background: linear-gradient(90deg, var(--primary), var(--highlight));
      border-radius: 999px;
      box-shadow: 0 0 8px rgba(201, 176, 138, 0.35);
      transform-origin: center;
      transition:
        transform 0.3s ease,
        opacity 0.25s ease,
        width 0.25s ease;

      &:nth-child(2) {
        width: 15px;
      }

      &:nth-child(3) {
        width: 18px;
      }
    }

    &:is(.active, [aria-expanded="true"]) {
      position: fixed;
      right: 40px;
      gap: 0;
      background: linear-gradient(145deg, rgba(232, 220, 207, 0.98), rgba(250, 248, 245, 0.94));

      @media screen and (max-width: 767px) {
        right: 10px;
        top: 15px;
      }

      span:first-child {
        width: 20px;
        transform: translateY(1px) rotate(45deg);
      }

      span:nth-child(2) {
        opacity: 0;
        width: 0;
      }

      span:last-child {
        width: 20px;
        transform: translateY(-1px) rotate(-45deg);
      }
    }

    @media screen and (max-width: 767px) {
      display: flex;
    }
  }
}

/* Hero Section */

.page_hero {
  position: relative;
  padding: 5rem 3rem;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-3);

  @media screen and (max-width: 1199px) {
    padding: 3rem 1rem;
  }

  .hero-bck {
    position: absolute;
    right: 5%;
    height: 105%;
    top: -2.5%;
    z-index: 0;
    object-fit: contain;

    @media screen and (max-width: 1199px) {
      margin-top: 20px;
      height: fit-content;
      position: relative;
      right: inherit;
      transform: translateX(-50%);
      left: 50%;
      width: 80%;
      top: 0;
    }
  }

  .hero-content {
    text-align: left;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: var(--white);

    @media (min-width: 768px) and (max-width: 1199px) {
      align-items: center;
      text-align: center;
      min-height: auto;
    }

    @media screen and (max-width: 767px) {
      align-items: center;
      text-align: center;
      min-height: auto;
    }

    span {
      font-size: 1rem;
    }

    h1 {
      font-size: 2rem;
      font-weight: 600;

      @media screen and (max-width: 1199px) {
        font-size: 4rem;
      }

      @media screen and (max-width: 767px) {
        font-size: 2.5rem;
      }
    }

    p {
      font-size: 1.25rem;
      margin: 0;
      max-width: 500px;
    }

    .btn {
      background: var(--white);
      color: var(--primary);
      font-weight: 600;
      font-size: 1.25rem;
      border: none;
      padding: 1rem 3rem;
      margin-top: 20px;
    }
  }

  &.login {
    min-height: 460px;
    overflow: hidden;
    display: grid;
    place-items: center;
    text-align: center;
    background:
      radial-gradient(circle at 18% 20%, rgba(201, 176, 138, 0.2), transparent 45%),
      radial-gradient(circle at 82% 78%, rgba(184, 162, 143, 0.3), transparent 50%),
      linear-gradient(135deg, var(--surface), var(--background));

    @media screen and (max-width: 767px) {
      min-height: 400px;
    }

    .hero-content {
      align-items: center;
      text-align: center;
      max-width: 760px;
      margin: 0 auto;
      gap: 1rem;
      color: var(--heading);

      span {
        color: var(--primary);
        text-transform: uppercase;
        letter-spacing: 0.16em;
        font-weight: 600;
        font-size: 0.85rem;
      }

      h1 {
        font-size: clamp(2rem, 4vw, 3.5rem);
        line-height: 1.12;
        max-width: 18ch;
        margin: 0 auto;
      }

      p {
        color: var(--text);
        max-width: 54ch;
        margin: 0 auto;
        font-size: 1.05rem;
        line-height: 1.65;
      }

      .btn {
        margin-top: 1rem;
        border: none;
        min-width: 230px;
        background: var(--secondary);
        color: var(--white);
        box-shadow: 0 14px 34px rgba(43, 37, 33, 0.25);

        &:hover {
          background: var(--hover);
          transform: translateY(-3px);
        }
      }
    }

    .brand-medallion {
      width: clamp(110px, 15vw, 160px);
      aspect-ratio: 1;
      border-radius: 50%;
      padding: 0.85rem;
      display: grid;
      place-items: center;
      background: linear-gradient(160deg, rgba(250, 248, 245, 0.95), rgba(232, 220, 207, 0.95)), var(--white);
      border: 1px solid rgba(216, 206, 196, 0.75);
      box-shadow:
        inset 0 0 0 6px rgba(201, 176, 138, 0.2),
        0 20px 35px rgba(43, 37, 33, 0.18);
      animation: medallionFloat 6s ease-in-out infinite;
    }

    .hero-brand-icon {
      width: 100%;
      height: 100%;
      object-fit: contain;
      border-radius: 50%;
    }

    .hero-orb {
      position: absolute;
      pointer-events: none;
      border-radius: 50%;
      filter: blur(2px);
      z-index: 0;
    }

    .hero-orb-left {
      width: clamp(160px, 24vw, 320px);
      aspect-ratio: 1;
      left: -4%;
      top: 12%;
      background: radial-gradient(circle, rgba(201, 176, 138, 0.34), rgba(201, 176, 138, 0));
      animation: orbDriftLeft 10s ease-in-out infinite;
    }

    .hero-orb-right {
      width: clamp(130px, 18vw, 260px);
      aspect-ratio: 1;
      right: -2%;
      bottom: 10%;
      background: radial-gradient(circle, rgba(184, 162, 143, 0.34), rgba(184, 162, 143, 0));
      animation: orbDriftRight 11s ease-in-out infinite;
    }

    .hero-content,
    .brand-medallion {
      position: relative;
      z-index: 1;
    }
  }
}

@keyframes medallionFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes orbDriftLeft {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(16px, -10px, 0);
  }
}

@keyframes orbDriftRight {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-12px, 12px, 0);
  }
}

.login-text {
  h2 {
    font-size: 2.5rem;
    font-weight: 200;
    margin: 0 0 30px;

    @media screen and (max-width: 767px) {
      font-size: 2rem;
    }

    span {
      font-size: 1.25rem;
      margin-bottom: 10px;
      color: var(--primary);
      text-transform: uppercase;
      display: block;
    }
  }
}

.login-luxury-intro {
  padding-top: 5rem;
}

.login-luxury-copy {
  max-width: 760px;
  margin: 0 auto;

  h2 {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--heading);
    margin: 0.5rem 0 1rem;
  }

  p {
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 62ch;
  }
}

.luxury-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.85rem;
}

.login-luxury-values {
  padding-top: 1rem;
}

.luxury-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;

  @media screen and (max-width: 991px) {
    grid-template-columns: 1fr;
  }
}

.luxury-card {
  background: linear-gradient(145deg, rgba(250, 248, 245, 0.95), rgba(237, 231, 225, 0.95));
  border: 1px solid rgba(216, 206, 196, 0.85);
  border-radius: var(--border-radius-2);
  padding: 2rem 1.75rem;
  box-shadow: 0 14px 30px rgba(43, 37, 33, 0.08);
  animation: loginReveal 0.6s ease both;

  &:nth-child(2) {
    animation-delay: 0.15s;
  }

  &:nth-child(3) {
    animation-delay: 0.3s;
  }

  h3 {
    font-size: 1.45rem;
    font-weight: 500;
    color: var(--heading);
    margin: 0 0 0.75rem;
  }

  p {
    margin: 0;
    color: var(--text);
    line-height: 1.7;
    font-size: 1rem;
  }
}

.login-luxury-closing {
  padding-top: 2.5rem;
}

.login-luxury-benefits {
  padding-top: 1rem;
}

.luxury-note {
  background: linear-gradient(145deg, rgba(250, 248, 245, 0.92), rgba(237, 231, 225, 0.92));
  border: 1px solid rgba(216, 206, 196, 0.85);
  border-radius: var(--border-radius-2);
  padding: 2rem;

  h3 {
    margin: 0.6rem 0 0.9rem;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 400;
    color: var(--heading);
    line-height: 1.3;
  }
}

.luxury-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;

  li {
    margin: 0;
    list-style: none;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.7;
    border-bottom: 1px solid rgba(216, 206, 196, 0.6);
    padding-bottom: 0.65rem;

    &:last-child {
      border-bottom: 0;
      padding-bottom: 0;
    }
  }
}

.luxury-quote {
  margin: 1.1rem 0 0;
  color: var(--heading);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.55;
  font-weight: 300;
}

.luxury-quote-author {
  margin: 1rem 0 0;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
}

.login-luxury-steps {
  padding-top: 1rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;

  @media screen and (max-width: 767px) {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: var(--white);
  border: 1px solid rgba(216, 206, 196, 0.8);
  border-radius: var(--border-radius-2);
  padding: 1.5rem 1.25rem;
  box-shadow: 0 10px 20px rgba(43, 37, 33, 0.06);

  span {
    color: var(--highlight);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.06em;
  }

  h3 {
    margin: 0.4rem 0 0.5rem;
    color: var(--heading);
    font-size: 1.2rem;
    font-weight: 500;
  }

  p {
    margin: 0;
    color: var(--text);
    line-height: 1.65;
    font-size: 0.96rem;
  }
}

.closing-panel {
  background: linear-gradient(135deg, var(--surface), var(--accent));
  border: 1px solid rgba(216, 206, 196, 0.9);
  border-radius: var(--border-radius-3);
  padding: 3rem 1.5rem;

  span {
    display: inline-block;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
    font-weight: 600;
  }

  h2 {
    margin: 0.75rem 0 1rem;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    color: var(--heading);
    font-weight: 300;
  }

  p {
    margin: 0 auto;
    color: var(--text);
    max-width: 48ch;
    line-height: 1.7;
  }

  .btn {
    margin-top: 1.5rem;
    background: var(--secondary);
    color: var(--white);
    border: none;

    &:hover {
      background: var(--hover);
      transform: translateY(-2px);
    }
  }
}

@keyframes loginReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  margin-top: 30px;

  li {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--light-gray);
    font-size: 1.25rem;
    font-weight: 500;
    padding-bottom: 20px;
    margin: 0 0 20px;

    span {
      color: var(--primary);
      font-size: 1.5rem;
      font-weight: 600;
    }
  }
}

.banner {
  .banner-text {
    text-align: center;
    font-size: 3.25rem;
    font-family: "DM Sans", sans-serif;
    font-weight: 300;

    @media screen and (max-width: 1199px) {
      font-size: 2.5rem;
    }

    @media screen and (max-width: 767px) {
      font-size: 2rem;
    }

    span {
      display: block;
      font-size: 4rem;
      color: var(--primary);
      font-weight: 200;

      @media screen and (max-width: 1199px) {
        font-size: 3.5rem;
      }

      @media screen and (max-width: 767px) {
        font-size: 3rem;
      }
    }
  }
}

.banner-section {
  background: var(--gradient-secondary);
  padding-block: 8rem;
  position: relative;

  @media screen and (max-width: 767px) {
    padding-block: 5rem 0;
  }

  .banner-content {
    color: var(--black);
    position: relative;
    z-index: 1;

    @media screen and (max-width: 1199px) {
      text-align: center;
      margin-inline: auto;
    }

    span {
      font-size: 1.25rem;
      font-weight: 500;
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 10px;
      display: block;
    }

    h3 {
      font-size: 3rem;
      font-weight: 600;

      @media screen and (max-width: 1199px) {
        font-size: 2.5rem;
      }

      @media screen and (max-width: 767px) {
        font-size: 1.75rem;
      }
    }

    p {
      font-size: 1.125rem;
      margin-top: 1.5rem;
      max-width: 600px;
    }

    .btn {
      border: none;
      background: var(--white);
      font-weight: 600;
      color: var(--secondary);
    }
  }

  img {
    position: absolute;
    z-index: 0;
    right: 0;
    bottom: 0;
    height: 105%;
    width: auto;

    @media screen and (min-width: 767px) and (max-width: 1199px) {
      display: none;
    }

    @media screen and (max-width: 767px) {
      position: relative;
      width: 100%;
      height: auto;
      margin-top: 30px;
    }
  }
}

/* Hero Payment  */

.hero_payment {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  /* Price Cards Payment  */

  .price_cards {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: 40px 0 60px;

    h1 {
      font-size: 24px;
      font-weight: 600;
      margin-bottom: 0px;
      text-transform: uppercase;
    }

    .pricing-toggle {
      display: flex;
      justify-content: center;
      width: 100%;
      width: 90%;
      max-width: 720px;
      margin: 0 auto;
      overflow: hidden;
      gap: 10px;

      .pricing-option {
        background-color: transparent;
        padding: 20px 30px;
        cursor: pointer;
        transition:
          background-color 0.3s,
          color 0.3s;
        border-radius: 8px;
        border: solid 1px var(--light-gray);
        background: var(--light-gray);
        flex: 1;
        color: var(--black);
        justify-content: space-between;
        gap: 20px;

        @media screen and (max-width: 767px) {
          padding: 15px;
          gap: 30px;
        }

        .pricing-price {
          text-align: right;
        }

        .plan-name {
          font-family: "Nunito", sans-serif;
          line-height: 30px;
          text-align: left;
          font-size: 24px;
          font-weight: 600;
          margin-bottom: 5px;

          @media screen and (max-width: 767px) {
            font-size: 21px;
          }
        }

        .price {
          font-family: "Nunito", sans-serif;
          line-height: 30px;
          font-size: 28px;
          font-weight: 800;
          margin-bottom: 5px;

          @media screen and (max-width: 767px) {
            font-size: 24px;
          }
        }

        .duration {
          font-size: 15px;
          font-weight: 600;
          text-transform: uppercase;
          line-height: normal;
          margin-bottom: 0;
        }

        .details {
          font-size: 14px;
          line-height: normal;
          margin-bottom: 0;
        }

        &.active {
          border: solid 1px var(--primary);
          background-color: var(--primary);
          color: var(--white);
        }
      }
    }
  }

  .headpart {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: var(--light-gray);
    padding: 60px 0;

    h1 {
      font-size: 1.5rem;
      font-weight: 500;
      margin-bottom: 30px;
      text-align: center;
    }

    .flex-container-col {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }

    .checkbox-group {
      margin-bottom: 15px;
      position: relative;
      display: flex;
      align-items: flex-start;
      justify-content: flex-start;

      .checkbox-group input[type="checkbox"] {
        margin-top: 5px;
      }

      label {
        font-size: 14px;
        line-height: 1.5;
        display: block;
        margin-left: 10px;
        position: relative;
      }
    }

    .btn {
      padding: 18px;
      font-size: 30px;
      font-weight: 700;
      line-height: 30px;
      margin: 30px auto;
      display: block;
      width: 100%;
      max-width: 360px;
      background: var(--white);

      &:disabled {
        border: none;
        cursor: not-allowed;
        box-shadow: none;
        opacity: 0.5;

        &:hover {
          transform: none;
        }
      }
    }
  }
}

/* Slider  */

/* CONTAINER */
.slider {
  width: 100%;
  max-width: 1440px;
  margin: auto;
  overflow: hidden;
  position: relative;
  aspect-ratio: 2 / 1;
  border-radius: var(--border-radius-3);

  @media (max-width: 767px) {
    min-height: 70vh;
    border-radius: var(--border-radius-2);
  }

  .slides {
    display: flex;
    height: 100%;
    transition: transform 0.8s ease-in-out;

    /* Safari fix */
    will-change: transform;
    transform: translate3d(0, 0, 0);

    .slide {
      flex: 0 0 100%;
      height: 100%;
      position: relative;
      overflow: hidden;

      &::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 1;
      }

      .content {
        position: absolute;
        z-index: 2;
        top: 50%;
        left: 10%;
        transform: translateY(-50%);
        color: var(--white);
        max-width: 600px;
        width: 80%;

        @media (max-width: 767px) {
          left: 5%;
        }

        h1 {
          font-size: 3rem;
          margin-bottom: 10px;

          @media (max-width: 767px) {
            font-size: 2rem;
          }
        }

        p {
          font-size: 1.1rem;
          margin-bottom: 20px;
          line-height: 1.5;

          @media (max-width: 1199px) {
            font-size: 1rem;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;
            overflow: hidden;
          }
        }

        .btn {
          background: var(--white);
          color: var(--black);
          padding: 10px 20px;
          text-decoration: none;
          font-weight: bold;
        }
      }

      .bg {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* fills nicely */
        object-position: center;
        display: block;

        /* Safari rendering fix */
        transform: scale(1.01);
      }
    }
  }

  .dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;

    .dot {
      width: 12px;
      height: 12px;
      background: var(--white);
      opacity: 0.5;
      border-radius: 50%;
      cursor: pointer;

      &.active {
        opacity: 1;
      }
    }
  }
}

.home-video-content {
  &.home-feature-grid {
    align-items: center;
  }

  .home-text-container {
    max-width: 420px;
  }

  .category_card {
    position: relative;
    max-width: 100%;

    @media screen and (max-width: 1199px) {
      max-width: 162px;
    }

    &::before {
      content: "";
      background: url(../images/icons/icon-play.svg) center center no-repeat;
      background-size: cover;
      position: absolute;
      top: calc(50% - 22px);
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 1;
      width: 60px;
      height: 60px;
      display: block;
    }

    img {
      height: 280px;
      object-fit: cover;
      max-width: 100%;

      @media screen and (max-width: 1199px) {
        height: 180px;
      }
    }
  }
}

.home-redesign {
  .home-text-container {
    h2 {
      font-size: clamp(1.8rem, 2.8vw, 2.7rem);
      line-height: 1.15;
      font-weight: 500;
      color: var(--heading);
    }

    p {
      line-height: 1.75;
      color: var(--text);
      max-width: 60ch;
    }
  }
}

.home-intro-block {
  align-items: stretch;
  background: linear-gradient(145deg, rgba(250, 248, 245, 0.96), rgba(237, 231, 225, 0.92));
  border: 1px solid rgba(216, 206, 196, 0.85);
  border-radius: var(--border-radius-3);
  padding: clamp(1.4rem, 3vw, 2.5rem);
  margin-bottom: 3rem;

  .home-intro-copy {
    flex: 1;

    h2 {
      margin-top: 0.6rem;
    }
  }

  .home-highlight-points {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;

    @media screen and (max-width: 991px) {
      grid-template-columns: 1fr;
    }
  }

  .highlight-card {
    background: var(--white);
    border: 1px solid rgba(216, 206, 196, 0.75);
    border-radius: var(--border-radius-2);
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    img {
      width: 42px;
      height: 42px;
      object-fit: contain;
      margin-bottom: 0.8rem;
    }

    h3 {
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--heading);
      margin-bottom: 0.4rem;
    }

    p {
      font-size: 0.92rem;
      margin: 0;
      color: var(--text);
      line-height: 1.65;
    }
  }
}

.home-knowledge-columns {
  .home-knowledge-panel {
    flex: 1;
    background: linear-gradient(150deg, rgba(250, 248, 245, 0.95), rgba(237, 231, 225, 0.95));
    border: 1px solid rgba(216, 206, 196, 0.8);
    border-radius: var(--border-radius-3);
    padding: clamp(1.2rem, 2.5vw, 2rem);
  }
}

.home-cta-banner {
  .banner-content {
    max-width: 760px;

    h3 {
      max-width: 16ch;
      line-height: 1.1;
      font-size: clamp(2rem, 4vw, 3.4rem);
    }

    p {
      line-height: 1.8;
    }
  }
}

.home-audio-content {
  .home-text-container {
    max-width: 800px;
  }

  .category_card {
    position: relative;
    max-width: 100%;

    &::before {
      content: "";
      background: url(../images/icons/icon-audio-white.svg) center center no-repeat;
      background-size: cover;
      position: absolute;
      top: calc(50% - 22px);
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 1;
      width: 60px;
      height: 60px;
      display: block;
    }

    img {
      height: 300px;
      object-fit: cover;
      max-width: 100%;

      @media screen and (max-width: 1199px) {
        height: 180px;
      }
    }
  }
}

/* Fix for category cards layout */

.audio-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--light-gray);

  h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin: 0;
    color: var(--black);
  }
}

.audio-image-container {
  max-width: 360px;
  height: auto;

  img {
    border-radius: var(--border-radius-3);
  }
}

.article-item {
  max-width: 100%;

  .article-img-container {
    width: 120px;
    min-width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: var(--border-radius-2);

    @media (max-width: 767px) {
      width: 100%;
    }

    img {
      min-width: 100%;
      min-height: 100%;
      object-fit: cover;
    }
  }

  .article-content {
    max-width: 100%;
    min-width: 0;

    h3 {
      font-size: 1.25rem;
      font-weight: 500;
      margin: 0;
      color: var(--black);
      overflow: hidden;
      white-space: nowrap;
      /* Don't forget this one */
      text-overflow: ellipsis;
    }

    .btn {
      padding: 0.5rem 1.5rem;
      color: var(--primary);
      font-weight: 500;
      font-size: 0.85rem;
      border: none;
      background: var(--light-gray);
      min-width: 180px;
    }
  }

  .excerpt {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    h1,
    h2,
    h3,
    h4,
    p,
    ul li,
    ol,
    li {
      font-size: 0.9rem;
      color: var(--dark-gray);
      margin: 0;
    }
  }
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.category_card:hover .video-overlay {
  opacity: 1;
}

.card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Button transition effects */

.see-more-btn,
.see-less-btn {
  transition: all 0.3s ease;
  border: 2px solid var(--gray);
  color: var(--primary);
  background: transparent;
  padding: 0.75rem 2rem;
  margin-block: 20px;
}

.see-more-btn:hover,
.see-less-btn:hover {
  transform: translateY(-3px);
}

.hidden-items:empty {
  display: none !important;
}

/* Item appear animation */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Category Cards */

.category_card {
  width: 100%;
  min-width: 150px;
  transition: transform 0.3s ease-in-out;
  margin: 0;
  max-width: 162px;

  @media screen and (max-width: 1199px) {
    margin-inline: auto;
  }

  &:hover {
    transform: translateY(-4px);

    img {
      filter: brightness(1) grayscale(0) contrast(1);
    }
  }

  img {
    width: 100%;
    height: 210px;
    overflow: hidden;
    border-radius: var(--border-radius-3);
    object-fit: cover;
    transition: all 0.3s ease-in-out;
    filter: brightness(0.5) grayscale(0.25) contrast(1.1);
  }

  .cardsTitle {
    padding-top: 1rem;
    font-weight: 600;
    color: var(--black);
    width: 80%;
    font-size: 0.8rem;
    z-index: 2;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

.app-section,
#app-section {
  display: flex;
  gap: 1rem;
  justify-items: center;
  overflow-x: auto;
  padding-bottom: 20px;
  flex-wrap: wrap;
}

.pic-container {
  max-width: 360px;
  height: auto;

  img {
    border-radius: var(--border-radius-3);
  }
}

/* Categorie Pills  */

.features-bar {
  margin: 0;
  flex-wrap: wrap;

  @media screen and (max-width: 767px) {
    justify-content: center;
  }

  .labels {
    .item-label {
      display: inline-block;
      padding: 5px 10px;
      background: var(--primary);
      color: var(--black);
      font-weight: 600;
      font-family: "DM Sans", sans-serif;
      border-radius: 5px;
      max-height: fit-content;
      overflow: hidden;
      white-space: nowrap;
      /* Don't forget this one */
      text-overflow: ellipsis;
    }
  }

  .rating {
    display: flex;
    align-items: center;
    gap: 5px;

    > img {
      width: 15px;
    }

    > span {
      font-size: 1.5em;
    }
  }
}

/* Scrollbar  */

/* width */
::-webkit-scrollbar {
  width: 15px;
  height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgba(128, 128, 128, 0.329);
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #2c2c2c;
  border-radius: 10px;
}

/* Section Picker */

.section_picker {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  max-width: 100%;

  @media screen and (max-width: 767px) {
    flex-direction: column;
  }

  button {
    padding: 30px;
    background: transparent;
    width: 100%;
    transition: 0.2s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.2s ease-out;
    border-radius: var(--border-radius-2);
    text-align: left;
    background: var(--secondary);
    border: none;
    color: var(--white);

    @media screen and (max-width: 767px) {
      background-size: 50% !important;
    }

    &:hover {
      transform: scale(1.05);
      background: var(--primary);
    }

    &.active {
      cursor: default;
      transform: none !important;
    }

    span {
      font-weight: 600;
      font-size: 1.25rem;
    }

    p {
      font-size: 1.5rem;
      font-weight: 100 !important;
      margin: 0 0 10px;
      max-width: 80%;
      color: var(--white);

      @media screen and (max-width: 767px) {
        max-width: 100%;
      }
    }

    .btn {
      font-size: 1.25rem;
      background: var(--black);
    }

    &:nth-of-type(1) {
      background: var(--secondary) url(../images/picker-bck-recipes.png) no-repeat bottom right;
      background-size: 33.33%;

      &.active {
        background: var(--primary) url(../images/picker-bck-recipes.png) no-repeat bottom right;
      }
    }

    &:nth-of-type(2) {
      background: var(--secondary) url(../images/picker-bck-videos.png) no-repeat bottom right;
      background-size: 33.33%;

      &.active {
        background: var(--primary) url(../images/picker-bck-videos.png) no-repeat bottom right;
      }
    }

    &:nth-of-type(3) {
      background: var(--secondary) url(../images/picker-bck-tips.png) no-repeat bottom right;
      background-size: 33.33%;

      &.active {
        background: var(--primary) url(../images/picker-bck-tips.png) no-repeat bottom right;
      }
    }
  }
}

/* Game Modal Styles */
.featured-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);

  .modal-content {
    position: relative;
    background-color: var(--heading);
    margin: 2% auto;
    padding: 0;
    width: 80%;
    max-width: 900px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.4s;
    border-radius: 8px;
    overflow: hidden;

    @media (max-width: 767px) {
      width: 95%;
      margin: 10% auto;
    }
  }

  .close {
    position: absolute;
    right: 15px;
    top: 15px;
    color: var(--white);
    font-size: 28px;
    font-weight: bold;
    z-index: 10;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
  }

  .close:hover {
    background-color: rgba(156, 133, 114, 0.85);
  }

  .modal-header {
    width: 100%;
    position: relative;
    overflow: hidden;
  }

  .video-container {
    width: 100%;
    background-color: #000;
  }

  .video-container video,
  .video-container iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
  }

  .modal-body {
    padding: 20px;
    color: var(--white);
  }

  .info h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 24px;
    color: var(--white);
  }

  .featured-screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;

    @media (max-width: 767px) {
      grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
  }

  .screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .screenshot img:hover {
    transform: scale(1.03);
  }

  .modal-footer {
    margin-top: 20px;
    text-align: center;
  }

  .btn-view-details {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .btn-view-details:hover {
    background-color: var(--hover);
  }

  .btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-left: 10px;
    transition: background-color 0.3s ease;
  }

  .btn-secondary:hover {
    background-color: var(--hover);
  }

  .description {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;

    h3 {
      color: var(--white);
      margin-top: 20px;
      margin-bottom: 10px;
      font-size: 18px;
    }

    ul {
      padding-left: 20px;
      margin-bottom: 15px;
    }

    li {
      margin-bottom: 5px;
    }

    p {
      margin-bottom: 15px;
    }
  }

  .screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 15px;
  }

  .featured-screenshots h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 20px;
  }
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Support pages  */

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 60%;
  font-size: 1rem;
  line-height: 1.3;

  h2,
  h3 {
    font-size: 1.25rem;
    margin-top: 1rem;
    margin-bottom: 0;
  }

  p,
  ul li {
    margin-bottom: 1rem;
  }

  a {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1rem;
  }

  @media screen and (max-width: 767px) {
    width: 100%;
    margin-top: 0;
    gap: 0.5rem;

    &label {
      font-size: 0.75rem;
    }
  }
}

.title-section {
  h1 {
    padding: 3rem 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--border-radius-3);

    @media screen and (max-width: 767px) {
      padding: 2rem 1rem;
    }
  }
}

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

  @media screen and (max-width: 767px) {
    margin-top: 0;
    width: 100%;
  }

  p {
    font-size: 0.875rem;
    text-align: center;
  }

  a {
    color: var(--primary);
  }

  label {
    display: flex;
    flex-direction: column;
  }

  input,
  textarea {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius-2);
    background: var(--light-gray);
    font-size: 1rem;
    color: var(--black);
  }

  .btn {
    width: 100%;
  }
}

/* Single Items  */
.single-item,
.single-movie {
  h1 {
    font-size: 30px;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: left;
    text-wrap: inherit;

    @media screen and (max-width: 767px) {
      font-size: 24px;
      text-align: center;
    }
  }

  h2 {
    font-size: 19px;
    line-height: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
  }

  .img-radial {
    width: 100%;
    max-width: 150px;
    height: 100%;
    max-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: var(--border-radius-2);
    overflow: hidden;

    @media screen and (max-width: 767px) {
      max-width: 240px;
      max-height: 240px;
      margin: 0 auto;
    }

    &.large {
      max-width: 100%;

      @media screen and (max-width: 767px) {
        max-height: 200px;
      }
    }

    img {
      width: auto;
      min-height: 150px;
      min-width: 100%;
      border-radius: var(--border-radius-2);
      object-fit: cover;
      filter: brightness(0.7) grayscale(0.5);

      @media screen and (max-width: 767px) {
        min-height: 240px;
      }
    }
  }

  video {
    max-height: 450px;
    max-width: 100%;
    border-radius: var(--border-radius-2);
    overflow: hidden;
  }

  .single-video-player {
    width: 100%;
    max-width: 100%;
    border-radius: var(--border-radius-2);
    overflow: hidden;
    background: #000;
  }

  .single-item-info {
    width: 100%;
    padding: 0;
    line-height: 24px;
    margin: 0 0 20px !important;
    background: none !important;
    font-size: 16px !important;

    @media screen and (max-width: 767px) {
      width: 100%;
    }

    p,
    ul li,
    ol li {
      line-height: 24px;
      margin: 0 0 20px !important;
      background: none !important;
      font-size: 16px !important;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      background: none !important;
    }

    h2 {
      font-size: 1.75rem;
      font-weight: 600;
      margin-block: 30px 10px;
    }

    h3 {
      font-size: 1.5rem;
      font-weight: 600;
      margin-block: 30px 10px;
    }

    video {
      width: 100%;
      height: auto;
      object-fit: cover;
    }

    table {
      width: 100% !important;
      font-size: 15px;
      margin: 20px 0;

      @media screen and (max-width: 767px) {
        display: block;
        /* allows overflow */
        overflow-x: auto;
        /* enable horizontal scroll */
        white-space: nowrap;
        /* prevent cells from breaking */
        width: 100%;
        /* make it responsive */
        -webkit-overflow-scrolling: touch;
        /* smooth scroll on iOS */
      }

      tr {
        td {
          padding: 0.5rem 1rem;
          text-align: left !important;
        }
      }
    }
  }

  .btn {
    @media screen and (max-width: 767px) {
      margin: 0 auto;
    }
  }
}

.blog,
article {
  .single-item,
  .single-movie {
    .img-radial {
      max-width: 100%;
      min-height: 300px;

      img {
        width: 100%;
        object-fit: cover;
      }
    }
  }
}

.single-movie .single-item-info {
  width: 100%;
}

.unsub-container {
  border: 2px solid var(--primary);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  border-radius: var(--border-radius-2);
  margin: 0 auto;

  @media screen and (max-width: 767px) {
    width: 100%;
    padding: 2rem 1rem;
  }

  form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 420px;

    .form-group {
      padding: 0;
    }

    input {
      padding: 0.75rem 1rem;
      border: 1px solid var(--gray);
      border-radius: var(--border-radius-2);
      width: 100%;
      background: var(--light-gray);
      color: var(--black);
    }

    .btn {
      width: 100%;
    }
  }

  #errorMsg {
    color: var(--gray);
    font-size: 0.875rem;
  }
}

.h-captcha {
  overflow: auto;
  max-width: 100%;
}

/* Alert styles */
.alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert p {
  margin: 0;
}

/* Support page */

.support-page {
  .wrapper[data-width="medium"] {
    --wrapper-max-width: 900px;
  }

  h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin: 0;

    @media (max-width: 767px) {
      text-align: center;
    }
  }

  h2 {
    font-size: 3rem;
    font-weight: 200;
    margin: 0;

    @media (max-width: 767px) {
      font-size: 2rem;
    }
  }

  a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    /* Don't forget this one */
    text-overflow: ellipsis;
  }

  .text-large {
    color: var(--gray);
    font-size: 2.125rem;
    font-weight: 300;
    line-height: 1.3;

    @media (max-width: 767px) {
      font-size: 1.75rem;
      text-align: center;
    }
  }

  .tablet-column {
    @media (max-width: 1199px) {
      flex-direction: column;
    }
  }

  .support-video {
    width: 100%;
    height: 100%;
    border-radius: 25px;
  }

  .support-container {
    background: var(--dark-gray);
    position: relative;
    padding: 50px;
    border-radius: 25px;

    @media (max-width: 767px) {
      padding: 30px 20px;
      text-align: center !important;
    }

    &.email-frame {
      text-align: left;
      max-width: 680px;

      img {
        left: auto;
        right: 0;
        top: -20px;
      }

      a {
        font-size: 1.5rem;
        color: var(--white);
        line-height: normal;
        text-decoration: none;
      }
    }

    > .d-flex {
      position: relative;
      z-index: 1;
    }

    > img {
      position: absolute;
      left: 0;
      top: -40px;
      height: 100%;
      width: auto;
      z-index: 0;
      object-fit: contain;
      object-position: top;
      max-width: 280px;
      filter: grayscale(0.75) brightness(1.5);

      @media (max-width: 767px) {
        display: none;
      }
    }

    .support-number {
      font-size: 4rem;
      line-height: 1.25;
      font-weight: 800;
      display: block;
      color: var(--white);
      text-decoration: none;

      @media (max-width: 767px) {
        font-size: 10vw;
      }
    }

    @supports (-webkit-touch-callout: none) {
      @media screen and (max-device-width: 767px) and (-webkit-min-device-pixel-ratio: 2) {
        .support-number {
          color: var(--white) !important;
          text-decoration: none !important;

          a {
            color: var(--white) !important;
            text-decoration: none !important;
          }
        }
      }
    }

    .support-text {
      color: var(--gray);
      display: block;
      font-size: 0.9rem;
    }
  }

  .contact_form {
    padding: 0;
    background: transparent;
    max-width: 100%;

    .form-group {
      width: 100%;
      margin: 0;

      input,
      textarea {
        padding: 15px;
        background: var(--dark-gray) !important;
        color: var(--white);
        border: none !important;
        border-radius: 25px;
        font-family: "Inrter", sans-serif;

        &::placeholder {
          color: var(--gray);
        }
      }
    }
  }

  .accordion {
    width: 100%;
    margin: auto;
    overflow: hidden;

    .accordion-item {
      background: transparent;
      border: none;
      border-bottom: 1px solid var(--gray);
      border-radius: 0 !important;

      .accordion-header {
        cursor: pointer;
        padding: 25px 0 10px;
        font-weight: bold;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .arrow {
          color: var(--white);
          transition: transform 0.3s ease;
          margin-right: 10px;
          font-size: 18px;
        }

        span {
          font-size: 1.5rem;
          line-height: 1.3;
          color: var(--white);
          font-weight: 600;
          flex-grow: 1;
          padding-right: 20px;

          @media (max-width: 767px) {
            font-size: 1.25rem;
          }
        }
      }

      .accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0 0 15px;
        color: var(--gray);

        p {
          margin: 15px 0;
        }
      }

      &.active {
        .accordion-content {
          max-height: 450px;
          /* adjust if answers are long */
          overflow-y: auto;
        }

        .arrow {
          transform: rotate(90deg);
          /* arrow points down when open */
        }
      }
    }
  }
}

/* Footer  */

.backToTopBtn {
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(20, 20, 20);
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 0px 4px var(--primary);
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
  position: fixed;
}

#backToTop {
  opacity: 0;
  visibility: hidden;

  &.visible {
    opacity: 1;
    visibility: visible;
  }
}

.svgIcon {
  width: 12px;
  transition-duration: 0.3s;
}

.svgIcon path {
  fill: var(--white);
}

.backToTopBtn:hover {
  width: 140px;
  border-radius: 50px;
  transition-duration: 0.3s;
  background-color: var(--light-primary);
  align-items: center;
}

.backToTopBtn:hover .svgIcon {
  transition-duration: 0.3s;
  transform: translateY(-200%);
}

.backToTopBtn::before {
  position: absolute;
  bottom: -20px;
  content: "Back to Top";
  color: var(--black);
  font-size: 0px;
}

.backToTopBtn:hover::before {
  font-size: 13px;
  opacity: 1;
  bottom: unset;
  transition-duration: 0.3s;
}

.site_footer {
  padding-block: 3.125rem;

  a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease-out;

    &:hover,
    &:focus-visible {
      color: var(--primary);
    }
  }

  p {
    font-size: 15px;
    line-height: 18px;
    text-align: center;
    margin-bottom: 1rem;
  }

  .logos img {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }

  @media screen and (max-width: 767px) {
    .footer_link ul {
      flex-direction: column;
      gap: 0.8rem !important;
    }

    .copyrights {
      font-size: 0.875rem;
    }
  }

  .logo_footer {
    max-width: 90px;
    height: auto;
  }

  .disclaimer {
    font-size: 15px;
    line-height: 1.4;
  }
}

.premium-footer {
  border-top: 1px solid rgba(201, 176, 138, 0.35);
  background:
    radial-gradient(circle at 12% 10%, rgba(201, 176, 138, 0.14), transparent 32%),
    radial-gradient(circle at 85% 85%, rgba(184, 162, 143, 0.14), transparent 34%), var(--secondary);

  .premium-footer-layout {
    padding-block: 4rem 2.5rem;
    display: grid;
    gap: 2rem;
  }

  .premium-footer-top {
    display: grid;
    justify-items: center;
    gap: 1rem;
    text-align: center;
  }

  .logo_footer {
    max-width: 76px;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
  }

  .premium-footer-tagline {
    margin: 0;
    max-width: 56ch;
    color: rgba(250, 248, 245, 0.9);
    font-size: 1rem;
    line-height: 1.65;
  }

  .premium-footer-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;

    @media screen and (max-width: 767px) {
      grid-template-columns: 1fr;
      text-align: center;
    }
  }

  .footer-group {
    background: rgba(250, 248, 245, 0.06);
    border: 1px solid rgba(232, 220, 207, 0.2);
    border-radius: 14px;
    padding: 1rem 1rem 0.85rem;

    h4 {
      margin: 0 0 0.75rem;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-size: 0.75rem;
      font-weight: 700;
    }

    ul {
      margin: 0;
      padding: 0;
      display: grid;
      gap: 0.5rem;
    }

    li {
      margin: 0;
      list-style: none;
    }

    a {
      color: var(--white);
      font-size: 0.95rem;
      font-weight: 500;

      &:hover,
      &:focus-visible {
        color: var(--highlight);
      }
    }
  }

  .premium-footer-disclaimer {
    margin: 0;
    color: rgba(250, 248, 245, 0.75);
    text-align: center;
    font-size: 0.86rem;
    line-height: 1.6;
    padding-top: 0.5rem;
  }

  .premium-footer-logos {
    margin: 0;

    img {
      border-radius: 6px;
      padding: 4px;
      background: rgba(250, 248, 245, 0.9);
      width: 42px;
      height: 42px;
    }
  }

  .premium-footer-bottom {
    border-top: 1px solid rgba(232, 220, 207, 0.22);
    padding-top: 1rem;

    p {
      margin: 0;
      color: rgba(250, 248, 245, 0.8);
      font-size: 0.85rem;
      letter-spacing: 0.02em;
    }
  }
}

/* Modals  */
.otp-modal,
.login-modal,
.unsub-modal,
.sign-up-modal {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow-y: auto;
  padding: 2rem;

  @media screen and (max-width: 767px) {
    padding: 1rem;
  }

  .close {
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary);
    line-height: 20px;

    @media screen and (max-width: 767px) {
      right: 1rem;
      top: 1rem;
    }
  }

  form {
    width: 100%;

    .checkbox-group {
      label {
        font-size: 0.875rem;
        display: inline;
      }

      input[type="checkbox"] {
        accent-color: var(--primary);
        min-height: auto !important;
      }
    }

    .checkbox-group {
      &:first-of-type {
        margin-top: 10px;
      }

      label {
        display: inline;
        font-size: 0.875rem;
      }
    }

    input {
      padding: 0.5rem;
      border: 1px solid var(--gray);
      border-radius: var(--border-radius-2);
    }

    .btn {
      width: 100%;
      margin-top: 1rem;
      padding: 0.75rem;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      padding: 3rem 6rem;

      p {
        font-size: 0.875rem;
        text-align: center;

        &:empty {
          display: none;
        }
      }

      a {
        color: var(--primary);
      }

      @media screen and (max-width: 767px) {
        margin-top: 0;
        padding: 2rem 1rem;
        max-width: 100%;

        &label {
          font-size: 0.75rem;
        }
      }
    }
  }

  h2 {
    @media screen and (max-width: 767px) {
      font-size: 1.5rem;
      text-align: center;
      margin: 10px auto;
    }
  }

  .modal-content {
    background: var(--white);
    border-radius: var(--border-radius-2);
    border: 2px solid var(--primary);
    width: 100%;
    overflow: auto;
    max-inline-size: 600px;
    position: relative;

    @media screen and (max-width: 767px) {
      width: 100%;
      margin-top: 2rem;
    }

    .form-group input {
      background: var(--light-gray);
      border: 2px solid var(--gray) !important;
      border: none;
      padding: 0.5rem 1rem;
      min-height: 50px;
      color: var(--black);

      &:focus-visible {
        outline: none;
        border: 2px solid var(--primary) !important;
      }

      &::placeholder {
        color: var(--dark-gray);
      }
    }
  }

  .modal-bck {
    background: url(../images/modal-image.jpg) center no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;

    @media (max-width: 767px) {
      display: none;
    }
  }
}

/* Payment modal  */

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(255, 255, 255, 0.9);
  align-items: center;
  justify-content: center;
  padding: 30px 0;
}

/* Payment Modal Styles */

#paymentModal .modal-content {
  background: var(--white);
  border-radius: var(--border-radius-2);
  border: 2px solid var(--primary);
  padding: var(--border-radius-2);
  max-width: 480px;
  width: 90%;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  height: auto;
  position: relative;

  @media screen and (max-width: 479px) {
    padding: 20px;
    height: 90%;
    overflow-y: scroll;
  }

  h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
  }

  .form-group {
    margin-bottom: 20px;
    gap: 8px;

    @media screen and (max-width: 767px) {
      padding: 0;
    }
  }

  label {
    display: block;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-gray);
  }

  input {
    width: 100%;
    padding: 8px 15px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    color: var(--black);

    &:focus {
      border-color: var(--primary);
      outline: none;
    }
  }

  .d-flex {
    display: flex;
    gap: 15px;

    .form-group {
      flex: 1;
    }
  }

  button[type="submit"] {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    border: none;
    border-radius: 30px;
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;

    &:hover {
      background: var(--primary);
      transform: translateY(-1px);
      box-shadow: 0 5px 15px rgba(26, 47, 163, 0.2);
    }
  }

  .close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    color: var(--primary);
    cursor: pointer;
    transition: color 0.3s ease;

    @media screen and (max-width: 479px) {
      right: 10px;
      top: 10px;
    }

    &:hover {
      color: var(--primary);
    }
  }
}

/* Input placeholder styling */
input::placeholder {
  color: var(--dark-gray);
}

/* Error state */
input.error {
  border-color: var(--warning);
}

/* Success state */
input.success {
  border-color: var(--success);
}

/* Custom Audio Player Styling */
audio {
  width: 100%;
  height: 50px;
  border-radius: var(--border-radius-3);
}

/* Webkit (Chrome, Safari, newer versions of Opera) */
audio::-webkit-media-controls-panel {
  background-color: var(--light-gray);
  border-radius: var(--border-radius-3);
}

audio::-webkit-media-controls-play-button {
  background-color: var(--primary);
  border-radius: 50%;
  color: var(--white);
}

audio::-webkit-media-controls-play-button:hover {
  background-color: var(--light-primary);
}

audio::-webkit-media-controls-timeline {
  background-color: var(--gray);
  border-radius: 25px;
  margin: 0 10px;
}

audio::-webkit-media-controls-timeline:hover {
  background-color: var(--primary);
}

audio::-webkit-media-controls-volume-slider {
  background-color: var(--gray);
  border-radius: 25px;
  padding: 0 5px;
}

audio::-webkit-media-controls-volume-slider:hover {
  background-color: var(--primary);
}

/* Audio player container - for additional styling */
.audio-player-container {
  background: linear-gradient(135deg, var(--white) 0%, var(--light-primary) 100%);
  padding: 1.25rem;
  border-radius: var(--border-radius-2);
  box-shadow: 0px 0px 1rem rgba(184, 162, 143, 0.3);
  margin: 1rem 0;
  width: 100%;
}

/* Table  */

.blog table {
  width: 100% !important;
  margin: 20px auto;
  font-size: 0.875rem;

  td {
    padding: 10px 5px;
  }
}

.blog table tr:first-child th,
.blog table tr:first-child td {
  background: var(--primary);
  color: var(--white);
}

/* Legals Pages  */

.legals {
  font-size: 16px;
  line-height: 1.4;

  h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  h4 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
  }

  p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  ul {
    list-style: disc;
    padding-left: 20px;

    li {
      margin-bottom: 0.5rem;
    }
  }
}

@layer pages {
  .page {
    p {
      margin: 15px 0;
    }

    h1,
    h2 {
      margin-top: 30px;
    }

    .info-frame {
      background: var(--secondary);
      background-size: cover;
      padding: 30px;
      border-radius: var(--border-radius-2);
      gap: 10px;

      h2 {
        color: var(--white);
        margin: 0;
      }

      p {
        margin: 0;
      }

      .text-xl {
        font-size: 1.5rem;
        font-weight: 700;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;

        @media screen and (max-width: 991px) {
          font-size: 1.2rem;
        }
      }
    }

    ul,
    ol {
      li {
        margin: 15px;
      }
    }
  }

  .btn.primary {
    padding: 12px 40px;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    transition: 0.25s ease-out;

    &:hover {
      transform: scale(1.1);
    }
  }

  .account_page {
    @media screen and (max-width: 750px) {
      flex-direction: column;
    }
  }
}

@layer utilites {
  .background-dark {
    background-color: var(--black);
  }

  .background-primary {
    background-color: var(--primary);
  }

  .background-light {
    background-color: var(--light-gray);
  }

  .intro-text {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.8em;
    line-height: normal;
  }

  .d-none,
  .hidden {
    display: none !important;
  }

  .d-flex {
    display: flex;

    .flex-1 {
      flex: 1;
      min-width: 0;
    }
  }

  .flex-wrap {
    flex-wrap: wrap;
  }

  .flex-column {
    flex-direction: column;
  }

  .flex-row {
    flex-direction: row;
  }

  .d-flex .column {
    flex-basis: 50%;
    flex-grow: 1;
  }

  .justify-center {
    justify-content: center;
  }

  .justify-between {
    justify-content: space-between;
  }

  .align-center {
    align-items: center;
  }

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

  .text-white {
    color: var(--white);
  }

  .text-black {
    color: var(--black);
  }

  .m-auto {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ml-auto {
    margin-left: auto !important;
  }

  .xs-hide {
    @media screen and (max-width: 767px) {
      display: none;
    }
  }

  .md-hide {
    @media screen and (min-width: 768px) and (max-width: 1199px) {
      display: none;
    }
  }

  .arrow-right {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
  }

  .mt-0 {
    margin-top: 0 !important;
  }

  .mt-1 {
    margin-top: 1rem;
  }

  .mt-2 {
    margin-top: 1.25rem;
  }

  .mt-3 {
    margin-top: 1.5rem;
  }

  .mt-4 {
    margin-top: 2rem;
  }

  .mt-5 {
    margin-top: 2.5rem;
  }

  .mb-1 {
    margin-bottom: 1rem;
  }

  .mb-2 {
    margin-bottom: 1.25rem;
  }

  .mb-3 {
    margin-bottom: 1.5rem;
  }

  .mb-4 {
    margin-bottom: 2rem;
  }

  .mb-5 {
    margin-bottom: 2.5rem;
  }

  .pt-0 {
    padding-top: 0 !important;
  }

  .pt-1 {
    padding-top: 1rem;
  }

  .pt-2 {
    padding-top: 1.25rem;
  }

  .pt-3 {
    padding-top: 1.5rem;
  }

  .pt-4 {
    padding-top: 2rem;
  }

  .pt-5 {
    padding-top: 2.5rem;
  }

  .pb-1 {
    padding-bottom: 1rem;
  }

  .pb-2 {
    padding-bottom: 1.25rem;
  }

  .pb-3 {
    padding-bottom: 1.5rem;
  }

  .pb-4 {
    padding-bottom: 2rem;
  }

  .pb-5 {
    padding-bottom: 2.5rem;
  }

  .no-padding-top {
    padding-top: 0 !important;
  }

  .no-padding-bottom {
    padding-bottom: 0 !important;
  }

  .col-4 {
    width: 35%;

    @media screen and (min-width: 768px) and (max-width: 1199px) {
      width: 45%;
    }

    @media screen and (max-width: 767px) {
      width: 100%;
    }
  }

  .col-7 {
    width: 60%;

    @media screen and (min-width: 768px) and (max-width: 1199px) {
      width: 50%;
    }

    @media screen and (max-width: 767px) {
      width: 100%;
    }
  }

  .col-6 {
    width: 50%;

    @media screen and (max-width: 767px) {
      width: 100%;
    }
  }

  .gap-1 {
    gap: 0.5rem;
  }

  .gap-2 {
    gap: 0.625rem;
  }

  .gap-3 {
    gap: 1rem;
  }

  .gap-20 {
    gap: 20px;
  }

  .gap-30 {
    gap: 30px;
  }

  .gap-50 {
    gap: 50px;
  }

  .gap-100 {
    gap: 100px;

    @media screen and (max-width: 1199px) {
      gap: 50px;
    }
  }

  .w-100 {
    width: 100%;
  }

  .border-bottom {
    border-bottom: 1px solid var(--light-gray);
  }

  .mobile-column {
    @media screen and (max-width: 767px) {
      flex-direction: column;
    }
  }

  .tablet-column {
    @media screen and (min-width: 768px) and (max-width: 1199px) {
      flex-direction: column;
    }
  }

  .reverse-mobile {
    @media screen and (max-width: 767px) {
      flex-direction: column-reverse;
    }
  }
}
