.tcgelements-interactive-hero-box {
  position: relative;
  color: #fff;
  overflow: hidden;
  z-index: 10;
  min-height: 100vh;
  padding: 120px 0 50px;
  .container{
    padding: 0 12px;
  }
  // Overlay
  &::before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: -1;
    opacity: 0.4;
  }

  // Container
  .container {
    position: relative;
    z-index: 2;
  }

  // Boxes Container
  .boxes {
    position: relative;
    z-index: 2;
  }

  // Individual Box Item
  .box-item {
    position: relative;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.33);
    margin: 20px 0;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 1s ease;
    color: inherit;
    text-decoration: none;

    &:hover,
    &.active {
      background-color: var(--color-primary);
      border-color: var(--color-primary);

      .date {
        color: rgba(255, 255, 255, 0.6);
      }
    }

    // Number
    .num {
      display: block;
      text-align: right;
      font-size: 14px;
    }

    // Info Container
    .info {
      .date {
        font-size: 12px;
        color: var(--color-primary);
        margin-bottom: 12px;
        transition: color 0.3s ease;
      }

      .card-title {
        font-size: 24px;
        font-weight: 600;
        line-height: 1.4;
        margin: 0;
        transition: color 0.3s ease;
      }
    }
  }

  // Background Images Container
  .boxes-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;

    .bg {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: -2;
      pointer-events: none;
      opacity: 0;
      filter: blur(10px);
      transition: opacity 1s ease, filter 1s ease, transform 1s ease;

      &.show {
        opacity: 1;
        filter: blur(0);
        transform: scale(1.5);
        transition: opacity 1s ease, filter 1s ease, transform 30s ease;
      }
    }
  }

  // Responsive Styles
  @media (max-width: 1199px) {
    padding: 100px 0 40px;

    .box-item {
      height: 250px;
      padding: 15px;

      .info {
        .card-title {
          font-size: 20px;
        }
      }
    }
  }

  @media (max-width: 991px) {
    padding: 80px 0 30px;

    .box-item {
      height: 220px;
      margin: 15px 0;

      .info {
        .card-title {
          font-size: 18px;
        }
      }
    }

    .boxes-bg .bg {
      &.show {
        transform: scale(1.2);
        transition: opacity 1s ease, filter 1s ease, transform 15s ease;
      }
    }
  }

  @media (max-width: 767px) {
    padding: 60px 0 20px;
    min-height: auto;

    .box-item {
      height: 200px;
      padding: 15px;
      margin: 10px 0;

      .num {
        font-size: 16px;
      }

      .info {
        .date {
          font-size: 11px;
          margin-bottom: 8px;
        }

        .card-title {
          font-size: 16px;
        }
      }
    }

    .boxes-bg .bg {
      &.show {
        transform: scale(1.1);
        transition: opacity 0.8s ease, filter 0.8s ease, transform 10s ease;
      }
    }
  }

  @media (max-width: 575px) {
    .box-item {
      height: 180px;
      padding: 12px;

      .info {
        .card-title {
          font-size: 14px;
        }
      }
    }
  }
}
// Dark Mode Support
@media (prefers-color-scheme: dark) {
  body.tcg-auto-mode .tcgelements-interactive-hero-box {
    &::before {
      opacity: 0.6;
    }
  }
}

body.tcg-dark-mode .tcgelements-interactive-hero-box {
  &::before {
    opacity: 0.6;
  }
}