:root {
  --bg: #080808;
  --card: #1C1C1F;
  --card-soft: #202024;
  --border: #303036;
  --text: #F5F5F5;
  --muted: #A1A1AA;
  --accent: #8B5CF6;
  --accent-2: #A78BFA;
  --accent-hover: #7C3AED;
  --accent-soft: rgba(139, 92, 246, 0.08);
  --discord: #5865F2;
  --discord-hover: #454fbf;
  --radius-lg: 24px;
  --radius-pill: 100px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #080808;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  overflow-x: hidden;
  position: relative;
}

a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-hover); }

.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.04);
  filter: blur(90px);
  opacity: 0.7;
}
.blob-1 { width: 360px; height: 360px; left: -6%; top: -5%; }
.blob-2 { width: 300px; height: 300px; right: -2%; top: 8%; opacity: 0.5; }
.blob-3 { width: 260px; height: 260px; left: 8%; top: 42%; opacity: 0.38; }
.blob-4 { width: 320px; height: 320px; right: 10%; bottom: 6%; opacity: 0.42; }
.blob-5 { width: 240px; height: 240px; left: 22%; bottom: -8%; opacity: 0.34; }

.bg-noise {
  display: none;
}

.bg-grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.25;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 120px 120px;

  mix-blend-mode: color-dodge;
}

.bg-particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 420px;
  height: 420px;
  margin-left: -210px;
  margin-top: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,0.16), rgba(168,85,247,0) 70%);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
  will-change: transform;
}
.cursor-glow.active { opacity: 1; }

main, .navbar, .footer { position: relative; z-index: 10; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
.navbar { view-transition-name: site-navbar; }
.creator-tools-nav {
  width: min(1240px, 100%);
  margin: 0 auto 40px;
  color: var(--text);
  text-align: left;
  view-transition-name: creator-tools-nav;
}
.creator-tools-nav h2 {
  margin: 0 0 22px;
  color: var(--text);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.creator-tools-nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(22, 20, 30, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .8);
  scrollbar-width: none;
}
.creator-tools-nav-list::-webkit-scrollbar { display: none; }
.creator-tools-nav-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.creator-tools-nav-link:hover {
  background: var(--accent-soft);
  color: var(--text);
}
.creator-tools-nav-link:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}
.creator-tools-nav-link[aria-current="page"] {
  background: var(--accent);
  border-color: rgba(255, 255, 255, .08);
  color: #fff;
  box-shadow: 0 8px 22px -10px rgba(139, 92, 246, .8);
}
.creator-tools-nav-link.is-loading { opacity: .6; cursor: progress; }
.creator-tools-nav-icon {
  display: inline-grid;
  width: 18px;
  place-items: center;
  color: var(--accent-2);
  transition: color .2s ease;
}
.creator-tools-nav-link:hover .creator-tools-nav-icon,
.creator-tools-nav-link[aria-current="page"] .creator-tools-nav-icon {
  color: #fff;
}
.creator-tools-nav-price {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(245, 196, 81, .12);
  color: #f5c451;
  font-size: 11px;
  font-weight: 700;
}
@media (max-width: 600px) {
  .creator-tools-nav { margin-bottom: 28px; }
  .creator-tools-nav h2 { margin-bottom: 14px; }
  .creator-tools-nav-list { gap: 2px; padding: 5px; border-radius: 14px; }
  .creator-tools-nav-link { min-height: 42px; padding: 0 13px; font-size: 13px; border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

.legal-page { width: min(820px, calc(100% - 32px)); margin: 140px auto 0; }
.legal-head { margin-bottom: 28px; text-align: center; }
.legal-head h1 { margin: 14px 0 8px; font-size: clamp(34px, 6vw, 52px); font-weight: 800; line-height: 1.1; }
.legal-head p { margin: 0; color: var(--muted); font-size: 14px; }
.legal-card {
  padding: clamp(22px, 4vw, 40px);
  background: rgba(22, 20, 30, .78);
  border: 1px solid var(--border);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.legal-card section + section { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .06); }
.legal-card h2 { margin: 0 0 12px; font-size: 18px; font-weight: 700; }
.legal-card p, .legal-card li { color: #c9c9d1; font-size: 15px; line-height: 1.7; }
.legal-card p { margin: 0 0 10px; }
.legal-card ol, .legal-card ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.legal-card li::marker { color: var(--accent-2); font-weight: 700; }
.legal-card a, .auth-terms a, .products-head p a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 14px; margin-left: 14px; }
.footer-legal a { color: var(--muted); font-size: 14px; transition: color .2s; }
.footer-legal a:hover { color: var(--accent-2); }
.auth-terms { font-size: 12.5px; }

.nav-tools-btn { gap: 6px; border-color: rgba(168, 85, 247, .35); color: var(--accent-2); font-size: 13px; }
.nav-tools-btn:hover, .nav-tools-btn[aria-current="page"] { border-color: rgba(168, 85, 247, .7); background: var(--accent-soft); }
@media (max-width: 640px) { .navbar-right .nav-tools-btn { display: none; } }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s, background .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: scale(1.05); }

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left .65s ease;
  z-index: 1;
  pointer-events: none;
}
.btn:hover::before { left: 130%; }

.btn span, .btn svg { position: relative; z-index: 2; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(139, 92, 246, 0);
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 8px 22px -10px rgba(139, 92, 246, 0.7); }

.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-discord:hover {
  background: var(--discord);
  border-color: transparent;
  box-shadow: 0 8px 24px -8px rgba(88,101,242,0.7);
}
.btn-youtube:hover {
  background: #ff0000;
  border-color: transparent;
  box-shadow: 0 8px 24px -8px rgba(255,0,0,0.7);
}

.btn-discord-solid {
  background: var(--discord);
  color: #fff;
  display: inline-flex;
}
.btn-discord-solid:hover { background: var(--discord-hover); }

.btn-panel {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 0 0 0 rgba(139, 92, 246, 0.24);
  animation: panelGlow 3.2s ease-in-out infinite;
}
.btn-panel:hover { animation-play-state: paused; }

@keyframes panelGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 0 0 0 rgba(139, 92, 246, 0.24); }
  50% { box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 0 14px 2px rgba(139, 92, 246, 0.28); }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 22px 24px;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0px);
  transition: padding .4s ease, background .4s ease, border-color .4s ease, box-shadow .4s ease, backdrop-filter .4s ease;
}
@media (min-width: 1024px) { .navbar { padding: 28px 64px; } }
@media (min-width: 1400px) { .navbar { padding: 32px 160px; } }

.navbar.scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(15, 15, 17, 0.82);
  border-color: var(--border);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,0.6);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo { display: flex; align-items: center; gap: 10px; transition: transform .3s; flex-shrink: 0; }
.logo:hover { transform: rotate(8deg); }
.logo-text { font-weight: 700; font-size: 18px; white-space: nowrap; }
.logo-text em { font-style: normal; color: var(--accent-2); }

@media (max-width: 480px) {
  .logo-text { display: none; }
  .btn-panel { padding: 10px 16px; font-size: 14px; }
  .panel-text-full { display: none; }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a { position: relative; z-index: 1; color: var(--muted); transition: color .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

.nav-indicator {
  position: absolute;
  bottom: -10px;
  left: 0;
  height: 2px;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: left .45s cubic-bezier(.65,0,.35,1), width .45s cubic-bezier(.65,0,.35,1), opacity .3s;
  opacity: 0;
}
.nav-indicator.ready { opacity: 1; }

.navbar-right { display: flex; align-items: center; gap: 14px; }

.burger { display: flex; padding: 4px; }
@media (min-width: 768px) { .burger { display: none; } }

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  font-size: 17px;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu a { color: var(--muted); }
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { color: var(--accent); }
@media (min-width: 768px) { .mobile-menu { display: none; } }

.hero {
  position: relative;
  margin-top: 150px;
  padding: 40px 20px 0;
  display: flex;
  justify-content: center;
  text-align: center;
}
@media (min-width: 768px) { .hero { margin-top: 240px; } }

.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; max-width: 720px; }

.hero-float-icons { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.float-icon {
  position: absolute;
  color: var(--accent-2);
  opacity: 0.22;
  animation: iconFloat 9s ease-in-out infinite;
}
.float-icon svg { width: 100%; height: 100%; }
.fi-1 { width: 36px; height: 36px; left: 10%; top: 18%; animation-duration: 10s; }
.fi-2 { width: 26px; height: 26px; left: 82%; top: 14%; animation-duration: 8s; animation-delay: 1.2s; }
.fi-3 { width: 30px; height: 30px; left: 88%; top: 62%; animation-duration: 11s; animation-delay: 2.4s; }
.fi-4 { width: 22px; height: 22px; left: 6%; top: 68%; animation-duration: 9s; animation-delay: .6s; }

@keyframes iconFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(10px, -16px) rotate(6deg); }
  50% { transform: translate(-6px, -28px) rotate(-4deg); }
  75% { transform: translate(-14px, -10px) rotate(3deg); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-2);
  background: var(--accent-soft);
  border: 1px solid rgba(139, 92, 246, 0.22);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.gradient-text {
  background: linear-gradient(to bottom, #ffffff, #d8cdee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  margin: 0;
}

.hero h1.gradient-text { font-size: 42px; margin-top: 20px; }
@media (min-width: 768px) { .hero h1.gradient-text { font-size: 58px; } }

.hero-underline {
  display: block;
  width: min(86%, 400px);
  height: 12px;
  margin: 0 auto 10px;
  overflow: visible;
  filter: drop-shadow(0 0 6px rgba(167, 139, 250, .55));
}
@media (min-width: 768px) { .hero-underline { width: 480px; height: 14px; } }
.hero-underline path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: heroUnderlineDraw .9s .35s cubic-bezier(.65, 0, .35, 1) forwards;
}
@keyframes heroUnderlineDraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-underline path { animation: none; stroke-dashoffset: 0; }
}

.gradient-text-shine {
  background-image: linear-gradient(100deg, #ffffff 30%, var(--accent-2) 45%, #ffffff 60%);
  background-size: 250% auto;
  animation: textShine 5s linear infinite;
}
@keyframes textShine {
  0% { background-position: 0% 50%; }
  100% { background-position: -250% 50%; }
}

.marquee {
  position: relative;
  z-index: 10;
  margin-top: 56px;
  overflow: hidden;
  padding: 16px 0;
  opacity: 0.45;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 20px;
  animation: marqueeScroll 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; letter-spacing: 0.03em; }
.marquee-dot { color: var(--accent); opacity: 0.4; font-size: 8px; }
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-sub {
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  max-width: 540px;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 320px;
}
@media (min-width: 600px) {
  .hero-actions { flex-direction: row; max-width: none; gap: 22px; }
}
.hero-actions .btn { width: 100%; }
@media (min-width: 600px) { .hero-actions .btn { width: auto; } }

.section {
  max-width: var(--container);
  margin: 100px auto 0;
  padding: 0 20px;
  scroll-margin-top: 110px;
}
@media (min-width: 1024px) { .section { margin-top: 160px; } }

.section-head { max-width: 640px; }
.section-title { display: flex; align-items: center; gap: 12px; }
.section-title h2 { font-size: 26px; margin: 0; }
@media (min-width: 768px) { .section-title h2 { font-size: 32px; } }

.section-desc { margin-top: 14px; color: var(--muted); font-size: 16px; font-weight: 500; }

.dot-ping { position: relative; display: inline-flex; width: 12px; height: 12px; align-items: center; justify-content: center; }
.dot-ping span:first-child {
  position: absolute; inset: 0; border-radius: 50%; background: var(--accent);
  opacity: .75; animation: ping 1.8s cubic-bezier(0,0,.2,1) infinite;
}
.dot-ping span:last-child { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
@keyframes ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }

.cards-grid { display: grid; gap: 22px; margin-top: 48px; grid-template-columns: 1fr; perspective: 1200px; }
.cards-grid-6, .cards-grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-grid-6, .cards-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cards-grid-6 { grid-template-columns: repeat(3, 1fr); } .cards-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.cards-grid-3 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cards-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(0,0,0,0)), var(--card);
  padding: 26px;
  transform-style: preserve-3d;
  transition: border-color .25s, transform .15s ease-out;
}
.card:hover { border-color: rgba(139, 92, 246, 0.35); }

.card-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent-2);
}
.card-icon svg { width: 24px; height: 24px; }

.card h3 { margin: 20px 0 0; font-size: 18px; font-weight: 700; }
.card p { margin: 8px 0 0; color: var(--muted); font-size: 14px; font-weight: 500; }

.product-card {
  position: relative;
  height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(0,0,0,0)), var(--card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: border-color .25s, transform .15s ease-out;
}
.product-card:hover { border-color: rgba(139, 92, 246, 0.35); }

.badge {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  z-index: 2;
}
.badge-best { background: var(--accent); color: #fff; }
.badge-new { background: #22c55e; color: #06210f; }

.product-thumb {
  height: 130px;
  border-radius: 16px;
  margin-bottom: 18px;
  background-size: cover;
}
.product-thumb-1 { background: linear-gradient(135deg, #7c3aed, #3b0764); }
.product-thumb-2 { background: linear-gradient(135deg, #a855f7, #4c1d95); }
.product-thumb-3 { background: linear-gradient(135deg, #c084fc, #6d28d9); }
.product-thumb-4 { background: linear-gradient(135deg, #9333ea, #1e0a3c); }

.product-card h3 { margin: 0; font-size: 17px; font-weight: 700; }
.product-card p { margin: 8px 0 0; color: var(--muted); font-size: 13.5px; font-weight: 500; flex-grow: 1; }

.product-footer { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; }
.price { font-weight: 700; color: var(--accent-2); font-size: 15px; }

.shop-cta {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card-soft);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}
@media (min-width: 700px) { .shop-cta { flex-direction: row; justify-content: space-between; text-align: left; } }
.shop-cta p { margin: 0; color: var(--muted); font-size: 15px; font-weight: 500; max-width: 480px; }
.shop-cta .btn { flex-shrink: 0; }

.portfolio-tile {
  position: relative;
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  transform-style: preserve-3d;
  transition: transform .15s ease-out, border-color .25s;
}
.portfolio-tile:hover { border-color: rgba(139, 92, 246, 0.35); }
.portfolio-tile span { font-weight: 700; font-size: 15px; position: relative; z-index: 2; }
.portfolio-tile::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255, var(--spot,0)), transparent 60%),
    linear-gradient(180deg, transparent 30%, rgba(0,0,0,.65) 100%);
  z-index: 1;
  transition: background .1s;
}
.tile-1 { background: linear-gradient(135deg, #6d28d9, #1e1b4b); }
.tile-2 { background: linear-gradient(135deg, #9333ea, #312e81); }
.tile-3 { background: linear-gradient(135deg, #4c1d95, #0f0a1f); }
.tile-4 { background: linear-gradient(135deg, #a855f7, #581c87); }
.tile-5 { background: linear-gradient(135deg, #7e22ce, #1e1033); }
.tile-6 { background: linear-gradient(135deg, #c084fc, #4c1d95); }

.faq-section {
  display: flex;
  flex-direction: column-reverse;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .faq-section { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 60px; }
}

.faq-list { width: 100%; max-width: 640px; display: flex; flex-direction: column; gap: 22px; }

.faq-item { border-bottom: 1px solid var(--border); padding-bottom: 22px; }
.faq-q { display: flex; width: 100%; align-items: center; justify-content: space-between; text-align: left; gap: 16px; }
.faq-q span { font-size: 15.5px; font-weight: 600; color: var(--muted); transition: color .25s; }
.faq-item.open .faq-q span { color: var(--text); }
.faq-q svg { flex-shrink: 0; transition: transform .3s; color: var(--text); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }

.faq-a { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .3s ease, opacity .3s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; opacity: 1; }
.faq-a > p { overflow: hidden; margin: 0; padding-top: 18px; color: var(--muted); font-size: 14.5px; font-weight: 500; }

.faq-side { display: flex; flex-direction: column; align-items: center; text-align: center; }
@media (min-width: 1024px) { .faq-side { align-items: flex-end; text-align: right; } }
.faq-side-title { justify-content: center; }
@media (min-width: 1024px) { .faq-side-title { justify-content: flex-end; } }
.faq-discord-btn { margin-top: 28px; }

.footer {
  max-width: var(--container);
  margin: 120px auto 0;
  padding: 0 20px 60px;
}
@media (min-width: 1024px) { .footer { margin-top: 180px; } }

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: relative;
}
@media (min-width: 768px) { .footer-top { flex-direction: row; justify-content: space-between; } }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 500;
  order: 3;
}
@media (min-width: 768px) {
  .footer-nav {
    order: 0;
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    gap: 26px;
  }
}
.footer-nav a { color: var(--muted); transition: color .25s; }
.footer-nav a:hover { color: var(--accent); }

.footer hr { margin: 36px 0; border: none; border-top: 1px solid var(--border); }

.footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 22px; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom p { margin: 0; color: var(--muted); font-size: 15px; font-weight: 500; text-align: center; }

.socials { display: flex; align-items: center; gap: 22px; }
.socials a { color: var(--muted); transition: color .25s; }
.socials a:hover { color: var(--text); }

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.9);
  transition: opacity .3s, transform .3s, visibility .3s, border-color .25s, background .25s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.back-to-top:hover { background: var(--accent); border-color: transparent; transform: translateY(-3px) scale(1.05); }

@keyframes popIn {
  0%   { opacity: 0; transform: translateY(32px) scale(0.88); }
  60%  { opacity: 1; transform: translateY(-5px) scale(1.03); }
  80%  { transform: translateY(2px) scale(0.99); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.reveal {
  opacity: 0;
}
.reveal.is-visible {
  animation: popIn .7s cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: var(--d, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .blob, .float-icon, .marquee-track, .btn-panel, .gradient-text-shine, .dot-ping span:first-child {
    animation: none !important;
  }
  .reveal { transition-duration: .3s; filter: none; transform: none; }
  .cursor-glow, .bg-particles { display: none !important; }
}

.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.portfolio-modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 19, 0.85);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

.portfolio-modal.open .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card-soft);
  color: var(--text);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  z-index: 10;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.modal-gallery {
  padding: 40px 20px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-gallery img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.stats-section {
  margin-top: 100px;
}
@media (min-width: 1024px) { .stats-section { margin-top: 140px; } }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (min-width: 900px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.stat-card:hover {
  border-color: rgba(168,85,247,0.45);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(168,85,247,0.1);
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(168,85,247,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.stat-card-accent {
  background: linear-gradient(135deg, rgba(168,85,247,0.12) 0%, var(--card) 60%);
  border-color: rgba(168,85,247,0.3);
}
.stat-card-accent .stat-value { color: var(--accent-2); }

.stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-icon svg { width: 24px; height: 24px; }

.stat-value {
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff 30%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.stat-sub {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
}

html.loader-active, html.loader-active body {
  overflow: hidden !important;
  height: 100vh;
}

.page-loader {
  position: fixed;
  inset: 0;
  background-color: #080808;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1),
              visibility 0.6s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05) translateY(-10px);
}

.loader-bg-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, rgba(0,0,0,0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wobble-logo-container {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wobble-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: logoWobble 1.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.wobble-logo-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.35) 0%, rgba(168,85,247,0) 70%);
  filter: blur(10px);
  z-index: -1;
  border-radius: 50%;
  animation: logoGlowPulse 1.8s ease-in-out forwards;
}

@keyframes logoWobble {
  0% { transform: rotate(0deg) scale(0.6); opacity: 0; }
  15% { transform: rotate(0deg) scale(1.1); opacity: 1; }
  32% { transform: rotate(-14deg) scale(1.1); }
  50% { transform: rotate(14deg) scale(1.1); }
  68% { transform: rotate(-8deg) scale(1.1); }
  82% { transform: rotate(8deg) scale(1.1); }
  92% { transform: rotate(0deg) scale(1.15); opacity: 1; }
  100% { transform: scale(0.7); opacity: 0; }
}

@keyframes logoGlowPulse {
  0% { transform: scale(0.6); opacity: 0; }
  15% { transform: scale(1); opacity: 0.6; }
  92% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(0.7); opacity: 0; }
}
