/* Base layout shares consistent background and typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #190127;
  color: #f4f1ff;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 2rem;
}

.hero {
  width: 100%;
}

.hero-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.hero-link:focus-visible {
  outline: 2px solid #f4f1ff;
  outline-offset: 4px;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

.seo-text {
  padding: 2.5rem 1.5rem;
  max-width: 720px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  color: #d6c8ff;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.seo-text p {
  text-align: center;
}

.seo-article {
  text-align: left;
  color: #f4f1ff;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.seo-article h1 {
  font-size: 1.65rem;
  font-weight: 600;
  color: #ffffff;
}

.seo-article h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #e9dcff;
}

.seo-article p {
  margin: 0;
}

.seo-article ol,
.seo-article ul {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.seo-article li {
  list-style-position: outside;
}

.seo-article hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 0.5rem 0;
}

.floating-banner {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translate(-50%, calc(100% + 2rem));
  background: rgba(41, 13, 66, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  padding: 1rem 1.25rem;
  width: calc(100% - 2.5rem);
  max-width: 560px;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(14, 2, 25, 0.45);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.floating-banner--visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.floating-banner__content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}

.floating-banner__text {
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  color: #f5ecff;
}

.floating-banner__cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.65rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  background: linear-gradient(135deg, #ff3898, #ff8a3b);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(255, 90, 170, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-banner__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(255, 90, 170, 0.55);
}

.floating-banner__cta:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .floating-banner {
    transition: none;
  }

  .floating-banner__cta {
    transition: none;
  }
}

footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: #a18dd6;
}

@media (min-width: 768px) {
  .seo-text {
    font-size: 1.05rem;
    padding: 3rem 1.5rem 2.5rem;
    gap: 2rem;
  }

  .seo-article h1 {
    font-size: 1.9rem;
  }

  .seo-article h2 {
    font-size: 1.3rem;
  }

  footer {
    font-size: 0.8rem;
  }

  .floating-banner__content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .floating-banner__text {
    text-align: left;
    font-size: 1.05rem;
  }
}
