/* -------------------------------------------------
   Fantasy GW-UI x Clean Anime Minimal (Violet/Green)
-------------------------------------------------- */

:root{
  --bg: #07070b;
  --text: rgba(255,255,255,0.90);
  --muted: rgba(255,255,255,0.66);

  --violet: #8B5CF6;
  --violetSoft: rgba(139,92,246,0.22);
  --green: #22C55E;
  --greenSoft: rgba(34,197,94,0.18);

  --panel: rgba(255,255,255,0.07);
  --panel2: rgba(255,255,255,0.10);
  --stroke: rgba(255,255,255,0.12);

  --shadow: 0 22px 65px rgba(0,0,0,0.58);
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* ---------- Background: clean anime wash + manga lines ---------- */
.bg{ position:fixed; inset:0; z-index:-1; }
.wash{
  position:absolute; inset:-120px;
  filter: blur(28px);
  opacity: 0.95;
}
.wash--violet{
  background: radial-gradient(900px 520px at 18% 20%, rgba(139,92,246,0.26), transparent 62%);
}
.wash--green{
  background: radial-gradient(760px 520px at 82% 75%, rgba(34,197,94,0.20), transparent 64%);
}

/* Subtle manga-style diagonal lines (very low contrast) */
.mangaLines{
  position:absolute; inset:0;
  background:
    repeating-linear-gradient(
      115deg,
      rgba(255,255,255,0.05) 0px,
      rgba(255,255,255,0.05) 1px,
      transparent 1px,
      transparent 18px
    );
  opacity: 0.12;
  mask-image: radial-gradient(ellipse at center, black 55%, transparent 78%);
}

/* Tiny stars / particles */
.stars{
  position:absolute; inset:0;
  background-image:
    radial-gradient(rgba(255,255,255,0.18) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 140px 140px, 220px 220px;
  background-position: 20px 40px, 90px 120px;
  opacity: 0.20;
  mask-image: radial-gradient(ellipse at center, black 60%, transparent 80%);
}

/* ---------- Layout ---------- */
.wrap{
  min-height: 100vh;
  display:grid;
  place-items:center;
  padding: 52px 18px;
}

/* Main panel: clean card, but with fantasy frame + corners */
.panel{
  width: min(980px, 100%);
  position: relative;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  padding: 22px 22px 18px;
  overflow: hidden;
}

/* Fantasy frame gradient border */
.panel::before{
  content:"";
  position:absolute; inset:-1px;
  border-radius: 26px;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(139,92,246,0.55),
    rgba(34,197,94,0.35),
    rgba(255,255,255,0.04) 65%,
    transparent 80%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events:none;
}

/* faint inner vignette (GW UI depth) */
.panel::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(800px 400px at 50% 10%, rgba(0,0,0,0.10), transparent 60%),
              radial-gradient(900px 520px at 50% 100%, rgba(0,0,0,0.22), transparent 55%);
  pointer-events:none;
}

/* ---------- Topbar ---------- */
.topbar{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 16px;
  padding: 6px 4px 14px;
  position: relative;
  z-index: 1;
}

.status{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.2px;
}

/* Sigil: small gem-like dot */
.sigil{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green), var(--violet));
  box-shadow:
    0 0 0 4px rgba(34,197,94,0.12),
    0 0 22px rgba(139,92,246,0.20);
}

/* Runes (fantasy flavor but minimal) */
.runes{
  display:flex;
  gap: 10px;
  color: rgba(255,255,255,0.38);
  font-size: 14px;
  letter-spacing: 2px;
  user-select:none;
}
.runes span{
  padding: 6px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

/* ---------- Hero ---------- */
.hero{ position: relative; z-index: 1; padding: 4px 6px 2px; }

.kicker{
  margin: 6px 0 10px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1{
  margin: 0 0 10px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.accent{
  background: linear-gradient(90deg, var(--violet), var(--green));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
  text-shadow: 0 0 18px rgba(139,92,246,0.12);
}

.sub{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 72ch;
}

/* Chips: clean, pill, minimal */
.chips{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 22px;
}
.chip{
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.80);
  font-size: 14px;
}

/* Card: clean anime minimal, with slight fantasy glow edge */
.card{
  border-radius: 18px;
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0.28), rgba(0,0,0,0.16));
  border: 1px solid rgba(255,255,255,0.10);
  position: relative;
  overflow: hidden;
}

/* subtle "magic slash" highlight */
.card::before{
  content:"";
  position:absolute;
  width: 420px; height: 420px;
  left: -240px; top: -260px;
  background: radial-gradient(circle at 30% 30%, rgba(139,92,246,0.28), transparent 62%);
  filter: blur(6px);
  opacity: 0.85;
}
.card::after{
  content:"";
  position:absolute;
  width: 420px; height: 420px;
  right: -240px; bottom: -280px;
  background: radial-gradient(circle at 40% 40%, rgba(34,197,94,0.20), transparent 62%);
  filter: blur(6px);
  opacity: 0.75;
}

.card > *{ position: relative; z-index: 1; }

.card h2{
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.card ul{
  margin: 0 0 16px 18px;
  padding: 0;
  color: var(--muted);
  line-height: 1.75;
}
.card strong{ color: rgba(255,255,255,0.88); }

/* CTAs */
.ctaRow{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items:center;
}

.btn{
  height: 44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 0 16px;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  user-select:none;
}
.btn:active{ transform: translateY(1px); }

.btn--primary{
  color: #07110a;
  background: linear-gradient(90deg, rgba(139,92,246,0.95), rgba(34,197,94,0.86));
  box-shadow:
    0 14px 36px rgba(139,92,246,0.15),
    0 14px 32px rgba(34,197,94,0.10);
}
.btn--primary:hover{
  box-shadow:
    0 18px 48px rgba(139,92,246,0.18),
    0 18px 44px rgba(34,197,94,0.14);
}

.btn--ghost{
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.86);
}
.btn--ghost:hover{ background: rgba(255,255,255,0.06); }

.fine{
  margin: 12px 0 0;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* ---------- Footer ---------- */
.footer{
  margin-top: 16px;
  display:flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 6px 0;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  position: relative;
  z-index: 1;
}

.footerLeft{
  display:flex;
  align-items:center;
  gap: 10px;
}

.divider{
  width: 34px; height: 2px;
  background: linear-gradient(90deg, rgba(139,92,246,0.9), rgba(34,197,94,0.7));
  border-radius: 999px;
  opacity: 0.8;
}

.footerRight a{
  color: rgba(255,255,255,0.68);
  text-decoration:none;
  border-bottom: 1px dashed rgba(255,255,255,0.20);
}
.footerRight a:hover{
  color: rgba(255,255,255,0.85);
  border-bottom-color: rgba(34,197,94,0.45);
}
.sep{ opacity: 0.45; padding: 0 6px; }

/* ---------- GW-like corner ornaments ---------- */
.corner{
  position:absolute;
  width: 22px; height: 22px;
  border: 1px solid rgba(255,255,255,0.14);
  opacity: 0.85;
  z-index: 0;
  background: rgba(0,0,0,0.10);
  box-shadow: 0 0 24px rgba(139,92,246,0.10);
}
.corner--tl{ top: 14px; left: 14px; border-right: none; border-bottom: none; border-radius: 10px 0 0 0; }
.corner--tr{ top: 14px; right: 14px; border-left: none; border-bottom: none; border-radius: 0 10px 0 0; }
.corner--bl{ bottom: 14px; left: 14px; border-right: none; border-top: none; border-radius: 0 0 0 10px; }
.corner--br{ bottom: 14px; right: 14px; border-left: none; border-top: none; border-radius: 0 0 10px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 560px){
  .panel{ padding: 18px 16px 16px; }
  .sub{ font-size: 15px; }
  .runes{ display:none; } /* keep minimal on small screens */
}

@media (prefers-reduced-motion: reduce){
  .btn{ transition: none; }
}
