:root {
  --af-ink: #1a0f2e;
  --af-violet: #3d2466;
  --af-grape: #5b3a8c;
  --af-glow: #7ec8ff;
  --af-mint: #9be87a;
  --af-gold: #f0c14a;
  --af-gold-deep: #c9a227;
  --af-cream: #f7f1ff;
  --af-paper: rgba(255, 250, 255, 0.92);
  --af-line: rgba(255, 255, 255, 0.14);
  --af-muted: #c9bddc;
  --af-ok: #3dba7a;
  --af-bad: #e45858;
  --af-radius: 18px;
  --af-shadow: 0 18px 40px rgba(18, 8, 40, 0.35);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: #f8f4ff;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(126, 200, 255, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(240, 193, 74, 0.12), transparent 45%),
    linear-gradient(165deg, #1a0f2e 0%, #2a1548 42%, #3a1f5c 100%);
  min-height: 100vh;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--af-glow);
  text-decoration: none;
}

a:hover {
  color: var(--af-gold);
}

.af-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.af-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.af-mast {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(26, 15, 46, 0.82);
  border-bottom: 1px solid var(--af-line);
}

.af-mast-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.af-brand {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 10px;
  background: rgba(255, 248, 240, 0.94);
  border: 1px solid rgba(201, 162, 39, 0.45);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.af-brand img {
  width: 96px;
  height: auto;
}

.af-foot-brand img {
  width: 110px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 248, 240, 0.94);
  border: 1px solid rgba(201, 162, 39, 0.35);
}

.af-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--af-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}

.af-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.af-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--af-cream);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.af-link i {
  opacity: 0.85;
  font-size: 13px;
}

.af-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.af-link.is-on {
  background: rgba(126, 200, 255, 0.14);
  border-color: rgba(126, 200, 255, 0.35);
  color: #fff;
}

.af-link-shop {
  background: linear-gradient(135deg, #ffe08a, #f0b429 45%, #e09200);
  color: #2a1600 !important;
  border: 2px solid #fff3c4;
  box-shadow:
    0 0 0 2px rgba(240, 193, 74, 0.45),
    0 10px 24px rgba(240, 193, 74, 0.5);
  padding: 12px 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
}

.af-link-shop i {
  opacity: 1;
  color: #2a1600;
}

.af-link-shop:hover,
.af-link-shop.is-on {
  background: linear-gradient(135deg, #fff1a8, #ffc93a 45%, #f0a000);
  color: #2a1600 !important;
  border-color: #ffffff;
  box-shadow:
    0 0 0 3px rgba(255, 215, 90, 0.65),
    0 12px 28px rgba(240, 193, 74, 0.6);
  transform: translateY(-2px) scale(1.04);
}

.af-nav-shop .af-link-shop {
  animation: af-shop-pulse 1.8s ease-in-out infinite;
}

@keyframes af-shop-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 2px rgba(240, 193, 74, 0.45),
      0 10px 24px rgba(240, 193, 74, 0.5);
  }
  50% {
    box-shadow:
      0 0 0 5px rgba(255, 215, 90, 0.35),
      0 14px 30px rgba(240, 193, 74, 0.7);
  }
}

.af-nav-home .af-link-violet.is-on,
.af-nav-about .af-link-cyan.is-on,
.af-nav-game .af-link-lime.is-on,
.af-nav-contact .af-link-sky.is-on {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.af-content {
  flex: 1;
}

.af-banner {
  padding: 48px 0 28px;
  position: relative;
  overflow: hidden;
}

.af-banner::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 70%;
  background: radial-gradient(circle, rgba(155, 232, 122, 0.12), transparent 65%);
  pointer-events: none;
}

.af-banner-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.af-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--af-gold);
  margin-bottom: 12px;
}

.af-display {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  margin: 0 0 16px;
  font-weight: 700;
  color: #fff;
}

.af-lead {
  font-size: 1.05rem;
  color: var(--af-muted);
  margin: 0 0 22px;
  max-width: 38rem;
}

.af-banner-visual {
  position: relative;
}

.af-banner-visual img {
  width: 100%;
  border-radius: 28px 8px 28px 8px;
  box-shadow: var(--af-shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotate(-1.5deg);
}

.af-store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.af-store-badge img {
  height: 48px;
  width: auto;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.af-store-badge:hover img {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.06);
}

.af-band {
  padding: 36px 0 56px;
}

.af-panel {
  background: var(--af-paper);
  color: #2a1a44;
  border-radius: var(--af-radius);
  padding: 28px;
  box-shadow: var(--af-shadow);
}

.af-panel h2,
.af-panel h3 {
  font-family: var(--font-display);
  color: #24133f;
  margin-top: 0;
}

.af-panel p,
.af-panel li {
  color: #4a3a62;
}

.af-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.af-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--af-line);
  border-radius: 16px;
  padding: 18px;
}

.af-chip h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-family: var(--font-display);
}

.af-chip p {
  margin: 0;
  color: var(--af-muted);
  font-size: 0.95rem;
}

.af-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.af-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  min-height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.af-mosaic img:first-child {
  grid-row: span 2;
  min-height: 340px;
}

.af-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.af-split.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.af-split.reverse .af-panel:first-child {
  order: 2;
}

.af-page-head {
  padding: 40px 0 12px;
}

.af-page-head .af-display {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.af-feature-rail {
  display: grid;
  gap: 14px;
}

.af-feature {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--af-line);
}

.af-feature i {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(240, 193, 74, 0.25), rgba(126, 200, 255, 0.2));
  color: var(--af-gold);
  font-size: 20px;
}

.af-feature h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.af-feature p {
  margin: 0;
  color: var(--af-muted);
  font-size: 0.95rem;
}

.af-zigzag {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.af-zig {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
}

.af-zig:nth-child(even) {
  grid-template-columns: 1fr 120px;
}

.af-zig:nth-child(even) img {
  order: 2;
}

.af-zig img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 20px;
  border: 2px solid rgba(240, 193, 74, 0.45);
}

.af-contact-board {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.af-contact-cards {
  display: grid;
  gap: 12px;
}

.af-c-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--af-line);
}

.af-c-card i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #3d2466;
  flex-shrink: 0;
}

.af-c-card strong {
  display: block;
  margin-bottom: 4px;
}

.af-c-card a,
.af-c-card span {
  color: var(--af-muted);
  word-break: break-word;
}

.af-contact-board img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.af-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.af-btn:hover {
  transform: translateY(-1px);
}

.af-btn-gold {
  background: linear-gradient(135deg, #f5d76e, #e8a317);
  color: #2a1600;
}

.af-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid var(--af-line);
}

.af-btn-block {
  width: 100%;
}

.af-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.af-shop-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}

.af-notes {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.af-notes li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--af-line);
  color: var(--af-muted);
  font-size: 0.95rem;
}

.af-notes i {
  color: var(--af-gold);
  margin-top: 3px;
}

.af-money-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}

.af-money-btn {
  border: 1px solid var(--af-line);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 700;
  font-family: inherit;
}

.af-money-btn.is-on {
  background: rgba(240, 193, 74, 0.25);
  border-color: var(--af-gold);
  color: var(--af-gold);
}

.af-pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.af-pack {
  border: 1px solid var(--af-line);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.af-pack:hover {
  transform: translateY(-2px);
  border-color: rgba(126, 200, 255, 0.45);
}

.af-pack.is-on {
  border-color: var(--af-gold);
  background: rgba(240, 193, 74, 0.14);
  box-shadow: 0 0 0 1px rgba(240, 193, 74, 0.35);
}

.af-pack img {
  width: 42px;
  height: 42px;
  margin: 0 auto 8px;
}

.af-pack-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.af-pack-price {
  color: var(--af-gold);
  font-weight: 800;
}

.af-order-box {
  position: sticky;
  top: 88px;
  background: linear-gradient(160deg, rgba(255, 250, 255, 0.96), rgba(244, 236, 255, 0.94));
  color: #2a1a44;
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--af-shadow);
}

.af-order-box h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.af-field {
  margin-bottom: 14px;
}

.af-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #3d2a5c;
}

.af-field input[type="text"],
.af-field input[type="email"] {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid #d7cce8;
  font: inherit;
  background: #fff;
  color: #2a1a44;
}

.af-field input:focus {
  outline: 2px solid rgba(93, 58, 140, 0.35);
  border-color: #5b3a8c;
}

.af-picked {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: #efe6ff;
  font-weight: 700;
}

.af-picked-price {
  color: #9a6b00;
}

.af-pay-list {
  display: grid;
  gap: 8px;
}

.af-pay {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #d7cce8;
  background: #fff;
  cursor: pointer;
}

.af-pay.is-on {
  border-color: #5b3a8c;
  background: #f3ebff;
}

.af-pay.is-display {
  opacity: 0.55;
  cursor: default;
}

.af-pay input {
  margin: 0;
}

.af-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: #4a3a62;
  line-height: 1.4;
}

.af-check input {
  margin-top: 3px;
}

.af-err {
  display: block;
  color: var(--af-bad);
  font-size: 13px;
  margin-top: 6px;
  min-height: 0;
}

.af-alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(228, 88, 88, 0.15);
  border: 1px solid rgba(228, 88, 88, 0.4);
  color: #ffd4d4;
  margin-bottom: 16px;
}

.af-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.af-load,
.af-empty {
  padding: 20px;
  text-align: center;
  color: var(--af-muted);
}

.af-invoice {
  max-width: 560px;
  margin: 0 auto;
  background: var(--af-paper);
  color: #2a1a44;
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--af-shadow);
}

.af-invoice h1 {
  font-family: var(--font-display);
  margin: 0 0 8px;
}

.af-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
}

.af-table th,
.af-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid #e6daf5;
  vertical-align: top;
}

.af-table th {
  width: 38%;
  color: #6a5a82;
  font-weight: 600;
}

.af-total {
  font-weight: 800;
  color: #9a6b00;
}

.af-count {
  font-size: 2.4rem;
  font-weight: 800;
  text-align: center;
  color: #5b3a8c;
  margin: 8px 0 16px;
}

.af-result {
  max-width: 560px;
  margin: 40px auto;
  text-align: center;
  padding: 36px 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--af-line);
}

.af-result i {
  font-size: 48px;
  margin-bottom: 12px;
}

.af-result.ok i {
  color: var(--af-ok);
}

.af-result.bad i {
  color: var(--af-bad);
}

.af-result h1 {
  font-family: var(--font-display);
  margin: 0 0 10px;
}

.af-result p {
  color: var(--af-muted);
}

.af-foot {
  margin-top: 40px;
  border-top: 1px solid var(--af-line);
  background: rgba(12, 6, 24, 0.55);
  padding: 28px 0 36px;
}

.af-foot-grid {
  display: grid;
  gap: 18px;
}

.af-foot-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.af-foot-brand strong {
  display: block;
}

.af-foot-brand span {
  display: block;
  color: var(--af-muted);
  font-size: 0.9rem;
}

.af-foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.af-foot-nav a {
  color: var(--af-cream);
  font-size: 0.9rem;
}

.af-foot-copy {
  margin: 0;
  color: #9b8bb4;
  font-size: 0.85rem;
}

.af-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-weight: 700;
}

@media (max-width: 920px) {
  .af-banner-grid,
  .af-split,
  .af-split.reverse,
  .af-contact-board,
  .af-shop-layout,
  .af-strip {
    grid-template-columns: 1fr;
  }

  .af-split.reverse .af-panel:first-child {
    order: 0;
  }

  .af-mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .af-mosaic img:first-child {
    grid-row: auto;
    min-height: 180px;
  }

  .af-order-box {
    position: static;
  }
}

@media (max-width: 760px) {
  .af-burger {
    display: inline-grid;
    place-items: center;
  }

  .af-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    background: rgba(26, 15, 46, 0.97);
    border: 1px solid var(--af-line);
    border-radius: 16px;
    padding: 12px;
    box-shadow: var(--af-shadow);
  }

  .af-nav.is-open {
    display: block;
  }

  .af-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .af-link {
    width: 100%;
    justify-content: flex-start;
  }

  .af-zig,
  .af-zig:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .af-zig:nth-child(even) img {
    order: 0;
  }

  .af-zig img {
    width: 100%;
    height: 180px;
  }
}
