/* AstroTune web — the app's look: true black, system font, Astro pink, liquid glass. */
:root { --bg: #000; --s1: #141316; --s2: #1f1e22; --s3: #2a292d; --fg: #f4eff4; --mu: #c9c4ca; --mu2: #8f8a90; --ac: #ff0aa0; --ac2: #aa00ff;
  --pri: color-mix(in srgb, var(--ac) 45%, #fff); --on-pri: color-mix(in srgb, var(--ac) 35%, #000); color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.55 Roboto, "Google Sans Text", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 22px; height: 22px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.glass { position: relative; isolation: isolate; background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03) 45%, rgba(255,255,255,.05)), rgba(24,24,28,.38);
  backdrop-filter: blur(18px) saturate(1.9); -webkit-backdrop-filter: blur(18px) saturate(1.9); border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px .5px rgba(255,255,255,.5), inset 0 -1px 1px rgba(255,255,255,.1), 0 14px 44px rgba(0,0,0,.45); }
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; background: radial-gradient(260px circle at var(--mx, 30%) var(--my, -30%), rgba(255,255,255,.2), transparent 62%); mix-blend-mode: soft-light; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 500; font-size: 16px; border: 0; cursor: pointer; transition: transform .15s, filter .2s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); } .btn:active { transform: scale(.98); }
.btn.white { background: var(--fg); color: #000; }
.btn.tonal { background: rgba(255,255,255,.12); color: var(--fg); }
.btn.discord { background: #5865f2; color: #fff; }
.btn.danger { background: #ff4d5e; color: #fff; }
.btn svg { width: 20px; height: 20px; }

/* top bar */
.top { position: fixed; z-index: 20; top: 14px; left: 50%; transform: translateX(-50%); width: min(1140px, calc(100% - 28px)); border-radius: 999px; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .02em; font-size: 18px; }
.brand svg, .brand img { width: 30px; height: 30px; }
.top nav { display: flex; gap: 4px; margin-left: auto; }
.top nav a { padding: 10px 14px; border-radius: 999px; color: var(--mu); font-weight: 500; font-size: 14.5px; }
.top nav a:hover { color: var(--fg); background: rgba(255,255,255,.07); }
.top .btn { height: 44px; padding: 0 18px; font-size: 14.5px; }
@media (max-width: 760px) { .top nav { display: none; } .top .btn.tonal { display: none; } .top { gap: 8px; } .top .brand { margin-right: auto; } }

/* hero */
.bgfx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bgfx i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.bgfx i:nth-child(1) { width: 60vw; height: 60vw; left: -18vw; top: -22vw; background: radial-gradient(circle, #ff0aa0, transparent 65%); }
.bgfx i:nth-child(2) { width: 55vw; height: 55vw; right: -20vw; top: 10vh; background: radial-gradient(circle, #7a00ff, transparent 65%); animation-delay: -8s; }
.bgfx i:nth-child(3) { width: 45vw; height: 45vw; left: 25vw; bottom: -30vw; background: radial-gradient(circle, #d900e6, transparent 65%); animation-delay: -14s; opacity: .35; }
@keyframes drift { to { transform: translate3d(6vw, 5vh, 0) scale(1.12); } }
.hero { min-height: min(100vh, 920px); display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; padding-top: 110px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(46px, 7vw, 88px); line-height: 1; margin: 0 0 18px; font-weight: 800; letter-spacing: -.02em; }
.hero h1 span { background: linear-gradient(100deg, #fff 10%, #ffb0dd 45%, #c58bff 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(18px, 2vw, 21px); color: var(--mu); max-width: 34em; margin: 0 0 28px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); font-size: 13.5px; color: var(--mu); }
.badge svg { width: 16px; height: 16px; color: var(--pri); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.shots { position: relative; height: min(76vh, 640px); }
.shots img { position: absolute; border-radius: 22px; box-shadow: 0 40px 100px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); }
.shots .pc { width: 100%; right: -6%; top: 8%; transform: perspective(1400px) rotateY(-10deg) rotateX(4deg); }
.shots .ph1 { width: 34%; left: -4%; bottom: 2%; border-radius: 26px; }
.shots .ph2 { width: 30%; right: -2%; bottom: -4%; border-radius: 26px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; text-align: left; } .shots { height: 92vw; } }

section { padding: 90px 0; }
h2.big { font-size: clamp(32px, 4.5vw, 52px); line-height: 1.08; margin: 0 0 12px; font-weight: 700; letter-spacing: -.01em; }
p.sub { color: var(--mu); font-size: 18px; max-width: 40em; margin: 0 0 40px; }
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .feat { grid-template-columns: 1fr; } }
.card { border-radius: 26px; padding: 24px; background: var(--s1); border: 1px solid rgba(255,255,255,.06); transition: transform .2s, background .2s; }
.card:hover { transform: translateY(-3px); background: var(--s2); }
.card .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--pri); color: var(--on-pri); display: grid; place-items: center; margin-bottom: 16px; }
.card h3 { margin: 0 0 6px; font-size: 19px; font-weight: 500; } .card p { margin: 0; color: var(--mu); font-size: 15px; }
.gallery { display: flex; gap: 18px; overflow-x: auto; padding: 6px 22px 22px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { height: min(62vh, 560px); width: auto; border-radius: 22px; scroll-snap-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.07); }
.plats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.plat { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 22px; background: var(--s1); border: 1px solid rgba(255,255,255,.06); }
.plat:hover { background: var(--s2); } .plat b { display: block; font-weight: 500; } .plat span { color: var(--mu); font-size: 13.5px; }
.priv { border-radius: 34px; padding: clamp(28px, 5vw, 56px); background: linear-gradient(135deg, color-mix(in srgb, var(--ac) 30%, #120612), #12081f); border: 1px solid rgba(255,255,255,.08); }
.priv ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
@media (max-width: 700px) { .priv ul { grid-template-columns: 1fr; } }
.priv li { display: flex; gap: 12px; color: #f0e6f0; } .priv li svg { flex: none; color: var(--pri); margin-top: 2px; }
.login { text-align: center; } .login .glass { border-radius: 34px; padding: clamp(30px, 5vw, 56px); max-width: 640px; margin: 0 auto; }
footer { color: var(--mu2); font-size: 13.5px; padding: 40px 0 60px; text-align: center; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s cubic-bezier(.2,.8,.2,1); } .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .bgfx i { animation: none; } }

/* small pages: denied, admin */
.page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.panel { width: min(860px, 100%); border-radius: 32px; padding: clamp(22px, 4vw, 40px); }
.panel h1 { margin: 0 0 6px; font-size: 32px; } .panel p { color: var(--mu); margin: 0 0 18px; }
.field { height: 52px; border-radius: 16px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); color: var(--fg); padding: 0 16px; font: inherit; outline: 0; min-width: 0; }
.field:focus { border-color: var(--pri); }
.addrow { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 10px; margin: 18px 0 26px; }
@media (max-width: 640px) { .addrow { grid-template-columns: 1fr; } }
.mem { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 18px; background: var(--s1); margin-bottom: 8px; }
.mem img, .mem .av { width: 48px; height: 48px; border-radius: 50%; background: var(--s3); display: grid; place-items: center; object-fit: cover; color: var(--mu); }
.mem b { font-weight: 500; display: block; } .mem small { color: var(--mu); display: block; font-size: 13px; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--pri); color: var(--on-pri); font-size: 11.5px; font-weight: 600; margin-left: 6px; vertical-align: middle; }
.muted { color: var(--mu); } .err { color: #ff8090; min-height: 1.4em; }
.iconbtn { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); border: 0; color: var(--fg); display: grid; place-items: center; cursor: pointer; }
.iconbtn:hover { background: #ff4d5e; }

pre.code { background: #0c0b0e; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 14px 16px; overflow-x: auto; font: 13px/1.5 ui-monospace, "Cascadia Code", Consolas, monospace; color: #eadfea; white-space: pre; }
.keybox { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 14px; border-radius: 18px; background: color-mix(in srgb, var(--ac) 18%, var(--s1)); border: 1px solid color-mix(in srgb, var(--pri) 40%, transparent); margin-bottom: 12px; }
.keybox code { font: 14px ui-monospace, Consolas, monospace; word-break: break-all; }
/* Gallery controls: arrows, drag, autoplay */
#capturas { position: relative; }
.gwrap { position: relative; }
.gallery { cursor: grab; user-select: none; }
.gallery.drag { cursor: grabbing; scroll-snap-type: none; }
.gallery img { pointer-events: none; -webkit-user-drag: none; }
.garrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); background: rgba(20,8,24,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s, opacity .2s; }
.garrow:hover { background: rgba(60,20,70,.75); transform: translateY(-50%) scale(1.06); }
.garrow svg { width: 22px; height: 22px; }
.garrow.prev { left: 18px; } .garrow.next { right: 18px; }
.gdots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
.gdots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; border: 0; background: rgba(255,255,255,.25); cursor: pointer; transition: width .25s, background .25s; }
.gdots button.on { width: 26px; background: var(--ac, #e040fb); }
@media (max-width: 700px) { .garrow { display: none; } }
