/* 2d-art.joukyuu.com homepage (index.php). Colours follow the app's demo artwork. */
:root {
  --bg: #0b0a1c;
  --bg-alt: #100e25;
  --surface: #17142f;
  --surface-2: #1e1a3c;
  --line: rgba(255, 255, 255, 0.09);
  --text: #eeecf8;
  --muted: #a6a3c2;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --cyan: #22d3ee;
  --grad: linear-gradient(120deg, #ec4899, #8b5cf6);
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.ic { width: 20px; height: 20px; flex: none; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(11, 10, 28, 0.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand img { border-radius: 7px; }
.nav nav { display: flex; gap: 24px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
.nav nav a:hover, .lang:hover { color: var(--text); }
.lang { font-size: 13.5px; color: var(--muted); padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 15.5px; border: 1px solid transparent; transition: transform 0.15s, box-shadow 0.15s, background 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 8px 28px rgba(236, 72, 153, 0.35); }
.btn.primary:hover { box-shadow: 0 10px 34px rgba(236, 72, 153, 0.5); }
.btn.ghost { border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.03); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* hero */
.hero { position: relative; padding: 84px 0 40px; text-align: center; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; pointer-events: none; }
.g1 { width: 560px; height: 560px; background: #6d28d9; top: -220px; left: -160px; }
.g2 { width: 480px; height: 480px; background: #be185d; top: -120px; right: -180px; opacity: 0.4; }
.hero-in { position: relative; }
.new { display: inline-flex; gap: 8px; align-items: center; margin: 0 0 14px; padding: 4px 14px 4px 4px; border-radius: 999px; font-size: 13.5px; color: var(--text); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }
.new b { padding: 2px 10px; border-radius: 999px; background: var(--grad); font-size: 12px; }
.new:hover { background: rgba(255, 255, 255, 0.1); }
.hero-in .new + .eyebrow { display: table; margin-left: auto; margin-right: auto; }
.release { margin: 18px 0 0; text-align: center; font-size: 14.5px; color: var(--text); }
.release a { color: #c4b5fd; }
.release a:hover { text-decoration: underline; }
.eyebrow { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border: 1px solid rgba(139, 92, 246, 0.45); border-radius: 999px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #c4b5fd; background: rgba(139, 92, 246, 0.1); }
.hero h1 { font-size: clamp(34px, 5.2vw, 62px); font-weight: 800; max-width: 1040px; text-wrap: balance; margin: 0 auto; background: linear-gradient(180deg, #fff 30%, #d8cffb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 720px; margin: 22px auto 0; font-size: clamp(16px, 1.6vw, 18.5px); color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.meta { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }

.shot-wrap { position: relative; margin-top: 56px; }
.shot { position: relative; z-index: 1; margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); background: #1b1b1f; box-shadow: 0 40px 120px rgba(76, 29, 149, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.4); }
.shot-bar { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; background: #26262c; border-bottom: 1px solid #111; }
.shot-bar i { width: 11px; height: 11px; border-radius: 50%; background: #48484f; }
.shot-bar i:nth-child(1) { background: #ff5f57; } .shot-bar i:nth-child(2) { background: #febc2e; } .shot-bar i:nth-child(3) { background: #28c840; }
.shot-bar span { margin: 0 auto; padding-right: 50px; font-size: 12px; color: #8b8b95; }
.deco { position: absolute; z-index: 2; pointer-events: none; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45)); animation: float 6s ease-in-out infinite; }
.witch { width: 200px; left: -120px; bottom: -50px; }
.slime { width: 130px; right: -30px; bottom: -30px; animation-delay: -2s; }
.robot { width: 150px; right: -40px; top: -70px; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .deco { animation: none; } html { scroll-behavior: auto; } }

/* sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; text-align: center; }
.sub { max-width: 640px; margin: 14px auto 0; text-align: center; color: var(--muted); }
.ver { font-size: 0.5em; font-weight: 600; vertical-align: middle; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: #c4b5fd; }
.links { margin: 26px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.links a { color: #c4b5fd; }
.links a:hover { text-decoration: underline; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 52px; }
.feature { padding: 26px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.2s, transform 0.2s; }
.feature:hover { border-color: rgba(139, 92, 246, 0.5); transform: translateY(-2px); }
.fi { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 11px; background: linear-gradient(135deg, rgba(236, 72, 153, 0.18), rgba(139, 92, 246, 0.22)); color: #f0abfc; }
.fi .ic { width: 22px; height: 22px; }
.feature h3 { margin-top: 18px; font-size: 17px; font-weight: 700; }
.feature p { margin: 8px 0 0; font-size: 14.5px; color: var(--muted); }

.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.dl { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.2s, background 0.2s; }
.dl:hover { border-color: rgba(236, 72, 153, 0.6); background: var(--surface-2); }
.dl:first-child { border-color: rgba(139, 92, 246, 0.55); }
.dl-ic .ic { width: 30px; height: 30px; }
.dl-txt { display: flex; flex-direction: column; min-width: 0; }
.dl-txt b { font-size: 16.5px; }
.dl-txt small { color: var(--muted); font-size: 13px; }
.nw { white-space: nowrap; }
.dl.off { opacity: 0.5; pointer-events: none; }
.notes { max-width: 760px; margin: 26px auto 0; }
.notes:first-of-type { margin-top: 26px; }
.dl-go { margin-left: auto; display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: var(--grad); color: #fff; flex: none; }
.dl-go .ic { width: 18px; height: 18px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; align-items: stretch; }
.plans.n1 { grid-template-columns: minmax(0, 380px); justify-content: center; }
.plans.n2 { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; }
.plans.n4 { grid-template-columns: repeat(4, 1fr); }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.plan.featured { border-color: transparent; background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 20px 60px rgba(139, 92, 246, 0.25); }
.badge { position: absolute; top: -12px; left: 26px; padding: 3px 12px; border-radius: 999px; background: var(--grad); font-size: 12px; font-weight: 700; }
.plan h3 { font-size: 18px; font-weight: 700; }
.price { margin: 12px 0 0; font-size: 34px; font-weight: 800; }
.note { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .ic { width: 18px; height: 18px; margin-top: 3px; color: #f472b6; }
.plan ul { margin-bottom: 26px; }
.plan .btn { margin-top: auto; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { counter-increment: step; position: relative; padding: 26px 22px 22px 74px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps li::before { content: counter(step); position: absolute; left: 22px; top: 24px; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.steps b { font-size: 16.5px; }
.steps p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; overflow-wrap: anywhere; }

details { margin-top: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
details:first-of-type { margin-top: 40px; }
summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: #c4b5fd; font-size: 20px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

.contact { background: radial-gradient(600px 300px at 50% 100%, rgba(139, 92, 246, 0.25), transparent); }
.contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

.foot { border-top: 1px solid var(--line); padding: 26px 0; font-size: 13.5px; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.foot-in span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.foot img { border-radius: 5px; }

@media (max-width: 1000px) {
  .features, .plans.n4 { grid-template-columns: repeat(2, 1fr); }
  .downloads, .plans, .plans.n2, .steps { grid-template-columns: 1fr; }
  .plans, .plans.n2 { max-width: 440px; margin-left: auto; margin-right: auto; }
  .witch { width: 150px; left: -30px; bottom: -30px; }
  .robot { width: 100px; right: -10px; top: -50px; }
  .slime { width: 90px; right: -10px; }
}
@media (max-width: 720px) {
  .nav nav { display: none; }
  .lang { margin-left: auto; }
  .hero { padding-top: 56px; }
  .section { padding: 68px 0; }
  .features { grid-template-columns: 1fr; }
  .witch, .robot { display: none; }
  .btn { width: 100%; }
  .cta { flex-direction: column; }
}
