@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Roboto:wght@400;500;700&display=swap');

:root {
  --bg: #081120;
  --bg-soft: #111d37;
  --surface: rgba(22, 33, 61, 0.86);
  --surface-2: rgba(29, 43, 78, 0.95);
  --surface-3: rgba(19, 28, 53, 0.9);
  --text: #edf4ff;
  --text-muted: #afbed8;
  --accent: #5eaaff;
  --accent-2: #8cecff;
  --accent-3: #ff8fc2;
  --pink: #f5b6d1;
  --border: rgba(118, 152, 216, 0.2);
  --border-strong: rgba(123, 230, 255, 0.42);
  --radius: 20px;
  --radius-sm: 16px;
  --shadow: 0 24px 60px rgba(5, 9, 24, 0.45);
  --glow: 0 0 30px rgba(94, 170, 255, 0.18);
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(123, 230, 255, 0.14), transparent 32%),
    radial-gradient(circle at top right, rgba(245, 182, 209, 0.16), transparent 28%),
    linear-gradient(180deg, #0c1630 0%, #081120 44%, #060d19 100%);
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  scroll-behavior: smooth;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 15%, rgba(94, 170, 255, 0.08), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(255, 143, 194, 0.08), transparent 24%);
  z-index: -1;
}

a {
  color: var(--accent-2);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: #d6fbff;
}

img {
  max-width: 100%;
  display: block;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 13, 27, 0.78);
  backdrop-filter: blur(18px);
}

.nav-wrap,
main,
.footer-wrap {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(214, 245, 255, 0.88));
  box-shadow: var(--glow);
}

.brand strong,
h1,
h2,
h3 {
  font-family: 'Montserrat', sans-serif;
}

.brand strong {
  letter-spacing: 0.01em;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

nav a {
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

nav a:hover,
nav a.active {
  color: var(--text);
  background: rgba(29, 43, 78, 0.8);
  border-color: var(--border);
  transform: translateY(-1px);
}

main {
  padding: 1.7rem 0 2.2rem;
}

main > section {
  opacity: 0;
  animation: fade-up 0.75s ease forwards;
}

main > section:nth-of-type(2) { animation-delay: 0.08s; }
main > section:nth-of-type(3) { animation-delay: 0.16s; }
main > section:nth-of-type(4) { animation-delay: 0.24s; }

section {
  margin: 0 0 1.25rem;
}

.hero,
.panel,
.price-card,
.gallery-item,
.social-card,
.link-card {
  position: relative;
  overflow: hidden;
}

.hero {
  margin-bottom: 1.5rem;
  background:
    linear-gradient(145deg, rgba(94, 170, 255, 0.16), rgba(255, 143, 194, 0.12)),
    rgba(15, 24, 46, 0.78);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
}

.hero::before,
.panel::before,
.social-card::before,
.link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.09), transparent 30%, transparent 70%, rgba(123, 230, 255, 0.08));
  opacity: 0.7;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 1.2rem;
  padding: 1.9rem;
}

.home-side {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1rem;
}

.hero h1,
h2,
h3 {
  margin-top: 0;
}

p,
li {
  color: var(--text-muted);
  line-height: 1.65;
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lead {
  margin-top: 0;
  color: var(--text);
  font-size: 1.05rem;
}

.button-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button.primary {
  color: #04152e;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 28px rgba(94, 170, 255, 0.24);
}

.button.secondary {
  color: var(--text);
  background: rgba(22, 33, 61, 0.94);
  border-color: var(--border);
}

.button:hover,
button:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.panel {
  padding: 1.3rem;
  background: linear-gradient(180deg, rgba(24, 36, 67, 0.96), rgba(16, 25, 47, 0.92));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.compact-panel {
  padding: 1.15rem 1.2rem;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
}

.detail-list li {
  margin: 0;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(123, 230, 255, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(8, 17, 32, 0.3);
  color: var(--text);
}

.feature-list {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.feature-list li + li {
  margin-top: 0.45rem;
}

.link-stack {
  display: grid;
  gap: 0.78rem;
  margin-top: 0.9rem;
}

.link-card {
  display: block;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(123, 230, 255, 0.16);
  background: linear-gradient(180deg, rgba(19, 28, 53, 0.96), rgba(12, 19, 37, 0.92));
  box-shadow: 0 12px 24px rgba(4, 8, 19, 0.24);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.link-card:hover,
.link-card:focus {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 28px rgba(5, 12, 25, 0.32), var(--glow);
  color: var(--text);
}

.link-card span {
  display: block;
  color: var(--text);
  font-weight: 700;
}

.link-card small {
  display: block;
  margin-top: 0.3rem;
  color: var(--text-muted);
}

.grid-2,
.grid-3,
.price-grid,
.social-grid {
  display: grid;
  gap: 1rem;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  margin-bottom: 0.8rem;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.gallery-item:hover > img {
  transform: scale(1.02);
  filter: saturate(1.06);
}

.nsfw-wrap {
  position: relative;
  display: block;
  cursor: pointer;
  margin-bottom: 0.8rem;
  border-radius: 14px;
  overflow: hidden;
}

.nsfw-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  margin-bottom: 0;
  filter: blur(18px);
  transition: filter 0.35s ease, transform 0.25s ease;
}

.nsfw-wrap.unblurred img {
  filter: saturate(1.06);
}

.nsfw-wrap:hover img {
  transform: scale(1.02);
}

.nsfw-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nsfw-hint span {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(8, 17, 32, 0.82);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}

.nsfw-wrap.unblurred .nsfw-hint {
  opacity: 0;
}

.gallery-item strong,
.gallery-item h3 {
  display: block;
  margin-bottom: 0.3rem;
}

.listing-buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.discord-note {
  width: 100%;
  color: var(--pink);
  font-size: 0.8rem;
  font-weight: 600;
}

.price-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(31, 46, 82, 0.96), rgba(19, 29, 53, 0.96));
}

.price-card .price {
  margin: 0.15rem 0 0.55rem;
  color: var(--accent-2);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
}

iframe {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.form-frame { min-height: 900px; }
.tool-frame { min-height: 820px; }

.hero-mascot {
  width: 142px;
  height: 142px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(221, 245, 255, 0.9));
  box-shadow: 0 20px 45px rgba(8, 15, 33, 0.4), 0 0 30px rgba(255, 143, 194, 0.24);
  animation: float 6s ease-in-out infinite;
}

.sprite-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(12, 19, 37, 0.58);
}

.sprite-banner p {
  margin: 0.22rem 0 0;
}

.sprite-banner strong,
.discord-handle,
.social-card strong {
  color: var(--text);
}

.sprite {
  width: 78px;
  height: 78px;
  object-fit: contain;
  flex-shrink: 0;
}

.discord-handle {
  margin: 0.55rem 0;
  font-size: 1.05rem;
}

.social-spotlight {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.spotlight-list {
  margin: 0;
  padding-left: 1.1rem;
}

.social-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.social-card {
  display: block;
  min-height: 100%;
  padding: 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(255, 143, 194, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(24, 36, 67, 0.98), rgba(13, 21, 39, 0.96));
  box-shadow: var(--shadow);
  color: var(--text);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.social-card:hover,
.social-card:focus {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 40px rgba(5, 12, 25, 0.34), var(--glow);
  color: var(--text);
}

.social-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
}

.social-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(123, 230, 255, 0.2);
  background: rgba(10, 16, 35, 0.5);
  color: var(--accent-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid rgba(123, 230, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-2);
  font-size: 1.18rem;
  line-height: 1;
  box-shadow: inset 0 0 18px rgba(123, 230, 255, 0.08);
}

.social-card p {
  margin: 0.45rem 0 0.9rem;
}

.social-card span {
  color: var(--pink);
  font-size: 0.88rem;
  font-weight: 600;
}

footer {
  margin-top: 1rem;
  border-top: 1px solid var(--border);
  background: rgba(4, 9, 20, 0.88);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 1.8rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-copy {
  margin: 0;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  border: 1px solid rgba(123, 230, 255, 0.22);
  background: rgba(17, 29, 55, 0.88);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(5, 12, 25, 0.25);
}

.footer-social-link:hover,
.footer-social-link:focus {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(24, 36, 67, 0.96);
}

.footer-social-link svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 930px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .profile-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }

  .brand strong {
    font-size: 0.96rem;
  }

  nav {
    justify-content: flex-start;
  }

  .form-frame {
    min-height: 1000px;
  }
}

@media (max-width: 620px) {
  .nav-wrap,
  main,
  .footer-wrap {
    width: min(1120px, 94vw);
  }

  .hero-grid,
  .panel {
    padding: 1.15rem;
  }

  .button-row,
  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-mascot {
    width: 120px;
    height: 120px;
  }

  .sprite-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  body {
    scroll-behavior: auto;
  }

  main > section,
  .hero-mascot {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .button:hover,
  button:hover,
  nav a:hover,
  nav a.active,
  .social-card:hover,
  .social-card:focus,
  .link-card:hover,
  .link-card:focus,
  .gallery-item:hover img {
    transform: none;
  }
}
