/* From Uiverse.io by iconicchandu - Adapted for Ocean Theme */
/* MIT License: Copyright - 2025 iconicchandu */

.animated-card {
  --white: #ffffff;
  --black: #001a33;
  /* Ocean Dark */
  --paragraph: rgba(255, 255, 255, 0.7);
  --line: rgba(255, 255, 255, 0.1);
  --primary: #003366;
  /* Ocean Blue */
  --accent: #004d99;

  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  /* Very tight gap */
  padding: 2rem;
  /* Minimal padding */
  width: 100%;
  max-width: 900px;
  /* Rectangular landscape */
  margin: 0 auto 3rem auto;
  align-items: center;
  text-align: center;

  background-color: var(--black);
  background-image: radial-gradient(at 88% 40%,
      hsla(210, 100%, 8%, 1) 0px,
      transparent 85%),
    radial-gradient(at 49% 30%, hsla(210, 100%, 8%, 1) 0px, transparent 85%),
    radial-gradient(at 14% 26%, hsla(210, 100%, 8%, 1) 0px, transparent 85%),
    radial-gradient(at 0% 64%, #3399ff 0px, transparent 85%),
    radial-gradient(at 41% 94%, #00ffff 0px, transparent 85%),
    radial-gradient(at 100% 99%, #3399ff 0px, transparent 85%);

  border-radius: 1.5rem;
  box-shadow: 0px -16px 24px 0px rgba(0, 51, 102, 0.15) inset;
}

.animated-card .card__border {
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: -10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  background-image: linear-gradient(0deg,
      hsla(0, 0%, 100%, 0.1) -50%,
      hsla(0, 0%, 100%, 0.5) 100%);
  border-radius: 1.5rem;
}

.animated-card .card__border::before {
  content: "";
  pointer-events: none;
  position: fixed;
  z-index: 200;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center;
  width: 200%;
  height: 50rem;
  background-image: linear-gradient(0deg,
      hsla(0, 0%, 100%, 0) 0%,
      #00ffff 45%,
      /* Neon Cyan */
      #0080ff 55%,
      /* Electric Blue */
      hsla(0, 0%, 40%, 0) 100%);
  animation: rotate 4s linear infinite;
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes textShimmer {
  to {
    background-position: 200% center;
  }
}

/* Logo Styling */
.animated-card .card-logo {
  height: 180px;
  /* Maximized logo */
  margin-bottom: 0.5rem;
  /* Tight spacing */
  object-fit: contain;
}

.animated-card .card_title__container .card_title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;

  /* Shimmer Effect */
  color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(110deg,
      #ffffff 30%,
      rgba(255, 255, 255, 0.5) 45%,
      rgba(255, 255, 255, 0.5) 55%,
      #ffffff 70%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 4s linear infinite;
}

.animated-card .card_title__container .card_paragraph {
  margin-top: 0.4rem;
  width: 100%;
  font-size: 1rem;
  color: var(--paragraph);
}

.animated-card .line {
  width: 100%;
  height: 1px;
  background-color: var(--line);
  border: none;
  margin: 0.5rem 0;
  /* Tight spacing */
}

/* RESTORED LIST STYLES */
.animated-card .card__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  width: 100%;
}

.animated-card .card__list .card__list_item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.animated-card .card__list .card__list_item .check {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1.4rem;
  height: 1.4rem;
  background-color: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.animated-card .card__list .card__list_item .check .check_svg {
  width: 0.8rem;
  height: 0.8rem;
  fill: var(--white);
}

.animated-card .card__list .card__list_item .list_text {
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.animated-card .button {
  cursor: pointer;
  padding: 0.8rem 2rem;
  width: 100%;
  max-width: 250px;
  background-image: linear-gradient(0deg,
      var(--primary),
      #002244 100%);
  font-size: 0.95rem;
  color: var(--white);
  border: 0;
  border-radius: 9999px;
  box-shadow: inset 0 -2px 25px -4px rgba(255, 255, 255, 0.2);
  font-weight: 600;
  margin-top: 0.8rem;
  /* Tight spacing */
  transition: transform 0.2s ease;
}

.animated-card .button:hover {
  transform: scale(1.02);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .animated-card .card-logo {
    height: 70px;
  }

  .animated-card .card_title__container .card_title {
    font-size: 1.4rem;
  }

  .animated-card .card__list .card__list_item .list_text {
    font-size: 0.95rem;
  }
}