@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --deep: #0a1e2c;
  --panel: #10293b;
  --panel-2: #143349;
  --line: #24506a;
  --suicune: #7fb4cc;
  --aurora: #9c8bd1;
  --crystal: #e7c46a;
    --foam: #eaf3f1;
  --mist: #9fb8be;
  --mist-dim: #6f8a91;
  --entei: #ff5f5e;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; height: 100%; }

body {
  background: var(--deep);
  color: var(--foam);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  background-image:
    radial-gradient(ellipse at 15% -10%, rgba(127,180,204,0.09), transparent 45%),
    radial-gradient(ellipse at 90% 0%, rgba(156,139,209,0.08), transparent 40%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

a { color: var(--suicune); text-decoration: none; }
a:hover { color: var(--crystal); }
a:focus-visible { outline: 2px solid var(--crystal); outline-offset: 2px; }

h1, h2 { font-family: var(--serif); font-weight: 600; color: var(--foam); margin: 0; }

/* ---------- Container ---------- */

#container {
  max-width: 620px;
  width: 100%;
  margin: 30px auto;
  padding: 0 16px;
}

/* ---------- Header / hero banner ---------- */

#header {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  clip-path: polygon(0 12px, 12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px));
  background: linear-gradient(120deg, #0a1e2c, #12314a, #1c2f4d, #0a1e2c);
  background-size: 320% 320%;
  animation: driftAurora 26s ease-in-out infinite;
  padding: 42px 34px 34px;
  text-align: center;
}

@keyframes driftAurora {
  0%   { background-position: 0% 30%; }
  50%  { background-position: 100% 70%; }
  100% { background-position: 0% 30%; }
}

@media (prefers-reduced-motion: reduce) {
  #header { animation: none; }
}

#header .glyph-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

#header .glyph-row .diamond {
  width: 7px; height: 7px;
  background: var(--suicune);
  transform: rotate(45deg);
}

.title {
  font-size: 2.5rem;
  letter-spacing: 0.02em;
  margin: 0;
  position: relative;
  z-index: 2;
}

.tagline {
  color: var(--mist);
  font-size: 0.98rem;
  margin: 12px auto 0;
  max-width: 42ch;
  position: relative;
  z-index: 2;
}

#header .ripple {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
}

/* ---------- About box ---------- */

.box {
  margin-top: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  clip-path: polygon(0 8px, 8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px));
}

.box-title {
  text-align: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  padding: 10px 10px 9px;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
  color: var(--foam);
}

.box-content { padding: 18px 22px; }

.box-content p { color: var(--mist); margin: 0 0 12px; font-size: 0.93rem; }
.box-content p:last-child { margin-bottom: 0; }
.box-content strong { color: var(--foam); }

/* ---------- Social links ---------- */

.social-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 22px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--foam);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.social-link:hover {
  border-color: var(--crystal);
  color: var(--foam);
  transform: translateX(3px);
}

.social-link .dot {
  width: 6px; height: 6px;
  background: var(--crystal);
  transform: rotate(45deg);
  flex: none;
}

.social-link .platform { color: var(--foam); font-weight: 500; }
.social-link .handle { color: var(--mist-dim); font-size: 0.85rem; margin-left: auto; }

/* per-platform accent on the dot */
.social-link.bluesky .dot { background: var(--suicune); }
.social-link.twitch .dot { background: var(--aurora); }
.social-link.youtube .dot { background: var(--entei); }

/* ---------- Divider ---------- */

.divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: var(--mist-dim);
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.divider .diamond { width: 6px; height: 6px; background: var(--crystal); transform: rotate(45deg); flex: none; }

/* ---------- Footer ---------- */

#footer {
  text-align: center;
  margin-top: 22px;
  font-size: 0.8rem;
  color: var(--mist-dim);
}
#footer a { color: var(--mist); }

@media (max-width: 480px) {
  .title { font-size: 2rem; }
  #header { padding: 32px 22px 26px; }
}
