.announcement {
  position: relative;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 1rem;

  width: 100%;

  padding: 1rem 1.15rem;

  margin-bottom: 1.25rem;

  border-radius: 16px;

  background:
    linear-gradient(
      180deg,
      rgba(37, 99, 235, 0.12) 0%,
      rgba(37, 99, 235, 0.07) 100%
    );

  border: 1px solid rgba(37, 99, 235, 0.18);

  backdrop-filter: blur(12px);

  overflow: hidden;

  transition: all 0.25s ease;

  &:hover {
    border-color: rgba(37, 99, 235, 0.28);

    background:
      linear-gradient(
        180deg,
        rgba(37, 99, 235, 0.16) 0%,
        rgba(37, 99, 235, 0.09) 100%
      );
  }

  &__glow {
    position: absolute;

    width: 220px;
    height: 220px;

    top: -100px;
    right: -80px;

    border-radius: 50%;

    background: rgba(37, 99, 235, 0.08);

    filter: blur(70px);

    pointer-events: none;
  }

  &__left {
    display: flex;
    align-items: flex-start;

    gap: 0.9rem;

    flex: 1;
    min-width: 0;
  }

  &__icon {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(37, 99, 235, 0.18);

    border: 1px solid rgba(37, 99, 235, 0.25);

    color: #60a5fa;
  }

  &__content {
    flex: 1;
    min-width: 0;

    p {
      margin: 0;

      color: rgba(255, 255, 255, 0.86);

      font-size: 0.85rem;

      line-height: 1.75;

      word-break: break-word;
    }
  }

  &__header {
    margin-bottom: 0.45rem;

    span {
      display: inline-flex;

      align-items: center;

      padding: 0.3rem 0.7rem;

      border-radius: 999px;

      background: rgba(37, 99, 235, 0.14);

      border: 1px solid rgba(37, 99, 235, 0.18);

      color: #93c5fd;

      font-size: 0.7rem;

      font-weight: 600;

      letter-spacing: 0.03em;

      text-transform: uppercase;
    }
  }

  &__close {
    width: 30px;
    height: 30px;

    flex-shrink: 0;

    border: none;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.05);

    color: rgba(255, 255, 255, 0.6);

    cursor: pointer;

    transition: all 0.2s ease;

    &:hover {
      background: rgba(255, 255, 255, 0.09);

      color: #ffffff;
    }
  }

  @media (max-width: 768px) {
    padding: 0.95rem;

    gap: 0.75rem;

    &__left {
      gap: 0.75rem;
    }

    &__icon {
      width: 34px;
      height: 34px;
    }

    &__content {
      p {
        font-size: 0.8rem;
        line-height: 1.7;
      }
    }

    &__header {
      span {
        font-size: 0.65rem;
      }
    }

    &__close {
      width: 28px;
      height: 28px;
    }
  }
}