.notice-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.premium-modal-wrapper {
  background-color: white;
  border-radius: 8px;
  // box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 1000;
  margin: 15px;
  padding: 50px;
  position: relative;

  button.premium-modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    border: none;
    background: none;

    i.fa-times {
      font-size: 18px;
      color: #666;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      line-height: 1;
      display: block;
      cursor: pointer;
    }

    // Hover state
    &:hover {
      background: rgba(119, 44, 216, 0.1);
      transform: scale(1.1);

      i.fa-times {
        color: #4f46e5;
        transform: rotate(90deg);
      }
    }

    // Active/Click state
    &:active {
      transform: scale(0.95);
      background: rgba(191, 48, 219, 0.15);

      i.fa-times {
        transform: rotate(90deg) scale(0.9);
      }
    }

    // Focus state for accessibility
    &:focus {
      outline: none;
      box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
    }

    &:focus:not(:focus-visible) {
      box-shadow: none;
    }

    &:focus-visible {
      box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
    }
  }
}

.premium-header {
  text-align: center;
  margin-bottom: 20px;

  .premium-crown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    margin-bottom: 10px;

    svg {
      font-size: 24px;
      color: #4f46e5;
    }
  }

  h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.2;
    color: #1a1a1a;
  }

  p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    color: #4a4a4a;

    strong {
      font-weight: 600;
      color: #4f46e5;
    }
  }
}

.premium-offer {
  background: rgba(79, 70, 229, 0.08);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid rgba(79, 70, 229, 0.15);

  &__badge {
    gap: 6px;
    background: rgba(79, 70, 229, 0.15);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    color: #4f46e5;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    width: fit-content;
    max-width: 70%;
    margin: 0 auto 12px;

    svg {
      font-size: 16px;
      color: #4f46e5;
    }
  }

  &__text {
    margin: 12px 0 0 0;
    font-size: 15px;
    text-align: center;
    color: #1a1a1a;

    strong {
      color: #4f46e5;
      font-weight: 700;
      font-size: 16px;
    }
  }
}

.premium-countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(79, 70, 229, 0.1);
  padding: 8px 10px;
  border-radius: 6px;
  min-width: 52px;
}

.countdown-number {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 3px;
  color: #4f46e5;
}

.countdown-label {
  font-size: 10px;
  color: #6b6b6b;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.countdown-separator {
  font-size: 18px;
  font-weight: 700;
  color: #4f46e5;
  padding: 0 2px;
}

.premium-cta {
  width: 100%;
  background: #4f46e5;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.25);

  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(79, 70, 229, 0.35);
    background: #4338ca;
  }

  &:active {
    transform: translateY(0);
  }

  svg {
    font-size: 18px;
    transition: transform 0.3s ease;
  }

  &:hover svg {
    transform: translateX(4px);
  }
}

.premium-basic-offer {
  background: rgba(79, 70, 229, 0.08);
  border-radius: 10px;
  padding: 20px 16px;
  margin-bottom: 20px;
  border: 1px solid rgba(79, 70, 229, 0.15);

  .premium-value-props {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
  }

  .value-prop {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(79, 70, 229, 0.1);

    .value-icon {
      font-size: 24px;
      color: #4f46e5;
      margin-top: 2px;
      flex-shrink: 0;
    }

    .value-content {
      flex: 1;

      h4 {
        font-size: 15px;
        font-weight: 600;
        margin: 0 0 4px 0;
        color: #1a1a1a;
        line-height: 1.3;
      }

      p {
        font-size: 13px;
        margin: 0;
        color: #4a4a4a;
        line-height: 1.4;
      }
    }
  }

  .premium-offer-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(79, 70, 229, 0.15);
    padding: 10px 16px;
    border-radius: 8px;
    margin-top: 12px;

    .offer-badge {
      font-size: 12px;
      font-weight: 500;
      color: #4f46e5;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .offer-text {
      font-size: 16px;
      font-weight: 700;
      color: #4f46e5;
    }
  }
}

.premium-highlights {
  display: flex;
  justify-content: space-around;
  margin-bottom: 16px;
  gap: 12px;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;

  svg {
    font-size: 22px;
    color: #4f46e5;
  }

  span {
    font-size: 11px;
    text-align: center;
    color: #4a4a4a;
    line-height: 1.3;
  }
}

@media (max-width: 600px) {
  .premium-modal-container {
    padding: 16px 12px;
    max-width: 95%;
  }

  .premium-header {
    margin-bottom: 16px;

    .premium-crown {
      width: 40px;
      height: 40px;
      margin-bottom: 8px;

      svg {
        font-size: 20px;
      }
    }

    h2 {
      font-size: 20px;
    }

    p {
      font-size: 13px;
    }
  }

  .premium-offer {
    padding: 14px;
    margin-bottom: 16px;

    &__badge {
      font-size: 11px;
      padding: 5px 10px;
      max-width: 80%;

      svg {
        font-size: 14px;
      }
    }

    &__text {
      font-size: 14px;

      strong {
        font-size: 15px;
      }
    }
  }

  .premium-basic-offer {
    padding: 16px 12px;
    margin-bottom: 16px;

    .premium-value-props {
      gap: 12px;
      margin-bottom: 12px;
    }

    .value-prop {
      gap: 10px;
      padding: 10px;

      .value-icon {
        font-size: 20px;
      }

      .value-content {
        h4 {
          font-size: 14px;
        }

        p {
          font-size: 12px;
        }
      }
    }

    .premium-offer-highlight {
      padding: 8px 12px;
      gap: 6px;

      .offer-badge {
        font-size: 11px;
      }

      .offer-text {
        font-size: 15px;
      }
    }
  }

  .countdown-item {
    min-width: 48px;
    padding: 6px 8px;
  }

  .countdown-number {
    font-size: 18px;
  }

  .countdown-label {
    font-size: 9px;
  }

  .countdown-separator {
    font-size: 16px;
  }

  .premium-cta {
    padding: 12px 20px;
    font-size: 15px;
    margin-bottom: 16px;

    svg {
      font-size: 16px;
    }
  }

  .premium-highlights {
    gap: 8px;
    margin-bottom: 12px;
  }

  .highlight-item {
    gap: 4px;

    svg {
      font-size: 20px;
    }

    span {
      font-size: 10px;
    }
  }
}

@media (max-width: 400px) {
  .premium-modal-container {
    padding: 14px 10px;
  }

  .premium-header h2 {
    font-size: 18px;
  }

  .countdown-item {
    min-width: 42px;
    padding: 5px 6px;
  }

  .countdown-number {
    font-size: 16px;
  }

  .countdown-separator {
    font-size: 14px;
    padding: 0 1px;
  }

  .premium-cta {
    font-size: 14px;
    padding: 11px 18px;
  }

  .highlight-item svg {
    font-size: 18px;
  }

  .premium-basic-offer {
    padding: 12px 8px;

    .value-prop {
      gap: 8px;
      padding: 8px;

      .value-icon {
        font-size: 18px;
      }

      .value-content {
        h4 {
          font-size: 13px;
        }

        p {
          font-size: 11px;
        }
      }
    }

    .premium-offer-highlight {
      padding: 6px 10px;
      gap: 4px;

      .offer-badge {
        font-size: 10px;
      }

      .offer-text {
        font-size: 14px;
      }
    }
  }
}