.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

section { padding-block: var(--space-8); }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
  margin-bottom: var(--space-6);
}
.section-title--light { color: var(--color-text-light); }
.section-title-img { display: block; width: min(100%, 420px); aspect-ratio: 569 / 56; margin: 0 auto var(--space-6); }

.section-divider {
  display: block;
  width: min(100%, 900px);
  aspect-ratio: 1882 / 3;
  margin-inline: auto;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--color-blue-400);
  background: var(--color-navy-btn);
  color: var(--color-text-light);
  box-shadow:
    0 0 6px var(--color-blue-400),
    0 0 14px var(--color-blue-400),
    0 0 26px rgba(59, 125, 255, 0.55);
  transition: box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Traveling highlight: a masked ring exactly on the border stroke, so the
   base blue neon border stays fully visible while a bright streak orbits it.
   The gradient's angle is animated (not the element's transform) — the pill
   shape isn't rotationally symmetric, so rotating the whole element would
   swing the ring mask out of alignment with the actual border for most of
   the animation. */
@property --beam-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--beam-angle),
    transparent 0deg,
    transparent 280deg,
    rgba(255, 255, 255, 0) 305deg,
    #ffffff 330deg,
    rgba(255, 255, 255, 0) 355deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: btn-beam 3s linear infinite;
  pointer-events: none;
}
.btn:hover, .btn:focus-visible {
  box-shadow:
    0 0 10px var(--color-blue-400),
    0 0 22px var(--color-blue-400),
    0 0 38px rgba(59, 125, 255, 0.7);
  transform: translateY(-2px);
}
.btn:hover::before, .btn:focus-visible::before {
  animation-duration: 1.4s;
}

@keyframes btn-beam {
  to { --beam-angle: 360deg; }
}

.card {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(10, 14, 44, 0.08);
  padding: var(--space-4);
}

.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  width: 100%;
  height: var(--ph-h, 220px);
  background: var(--color-bg-light-alt);
  border: 2px dashed var(--color-silver-400);
  border-radius: var(--radius-lg);
  color: var(--color-silver-400);
  font-size: 0.8rem;
  text-align: center;
  padding: var(--space-2);
}
.img-placeholder__icon { font-size: 2rem; line-height: 1; }
.img-placeholder__label { font-family: monospace; word-break: break-all; }

.img-placeholder--logo {
  background: transparent;
  border-style: solid;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}
