:root {
  --bg: #0c0614;
  --bg-alt: #140a21;
  --accent: #d743ff;
  --accent-soft: #ff8edc;
  --text: #f3e9ff;
  --muted: #c7b9d6;
  --card: rgba(24, 14, 41, 0.85);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(215, 67, 255, 0.15), transparent 40%), var(--bg);
  color: var(--text);
  font-size: 18px;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-soft);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: white;
}

.container {
  width: min(1400px, 92vw);
  margin: 0 auto;
}

main {
  padding-bottom: 80px;
}

.error-main {
  min-height: calc(100vh - 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
}

.error-card {
  text-align: center;
  max-width: 640px;
}

.error-status {
  font-size: clamp(3rem, 10vw, 5rem);
  font-weight: 800;
  color: var(--accent-soft);
  margin-bottom: 0.5rem;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.outline-link {
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.outline-link:hover,
.outline-link:focus-visible {
  border-color: var(--accent-soft);
  color: white;
}

section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

section > * {
  margin-left: auto;
  margin-right: auto;
  width: min(1200px, 100%);
}

section h1,
section h2 {
  color: white;
  font-weight: 700;
  margin-bottom: 1rem;
}

section p,
section ul {
  color: var(--muted);
}

ul {
  padding-left: 1.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 2, 14, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: white;
}

.brand img {
  width: 120px;
  height: 60px;
  object-fit: contain;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-soft);
}

.cta-link {
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--accent), var(--accent-soft));
  color: #110515;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.cta-link:hover {
  opacity: 0.9;
}

.promo-banner {
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.promo-banner figure {
  margin: 0;
}

.promo-banner img {
  width: 100%;
  height: clamp(260px, 60vw, 420px);
  object-fit: cover;
  transition: opacity 0.5s ease-in-out;
}

.first-banner {
  margin: 3rem auto 1rem;
  width: min(1000px, 92vw);
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.mid-banner {
  margin: 3rem auto;
  width: min(1000px, 92vw);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.mid-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.section-grid {
  display: grid;
  gap: 1.75rem;
}

.faq p {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px solid var(--border);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #07020d;
  padding: 3rem 0 8rem;
}

.footer-inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-brand,
.footer-copy {
  color: var(--muted);
}

.footer-brand a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-weight: 600;
}

.footer-brand p {
  margin-top: 0.5rem;
}

.footer-disclaimer {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 1rem;
}

.footer-brand img {
  width: 120px;
  height: 60px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: white;
}

.footer-copy {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.footer-copy a {
  color: var(--muted);
}

.footer-copy a:hover {
  color: white;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 110px;
  z-index: 100;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #1b0524;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 425px) {
    .back-to-top {
        bottom: 160px;
    }
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top span {
  line-height: 1;
}

.celebrate-banner {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 120%);
  width: min(600px, 92vw);
  background: linear-gradient(115deg, rgba(215, 67, 255, 0.9), rgba(255, 142, 220, 0.95));
  color: #1b0524;
  border-radius: 26px 26px 0 0;
  padding: 1.25rem 1.75rem;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease;
  z-index: 90;
}

.celebrate-banner.visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.celebrate-banner p {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
}

.celebrate-banner .celebrate-cta {
  flex-shrink: 0;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: #1b0524;
  color: var(--accent-soft);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

@media (max-width: 600px) {
  .celebrate-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .footer-copy {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .cta-link {
    display: inline-block;
  }
}
