@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Space+Grotesk:wght@400;500;700&display=swap');

:root {
  --momiji: #e8453c;
  --momiji-dark: #c0312a;
  --momiji-soft: rgba(232,69,60,0.1);
  --bg: #0d0d0f;
  --surface: #17171b;
  --surface2: #1f1f25;
  --surface3: #26262e;
  --border: rgba(255,255,255,0.07);
  --text: #f0f0f0;
  --text-muted: #888;
  --text-dim: #555;
  --radius: 16px;
  --radius-sm: 10px;
}

[data-theme="light"] {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface2: #f0f0f2;
  --surface3: #e5e5ea;
  --border: rgba(0,0,0,0.08);
  --text: #1a1a1a;
  --text-muted: #555;
  --text-dim: #999;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding: 60px 20px 80px;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 20%, rgba(232,69,60,0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.container { max-width: 560px; margin: 0 auto; position: relative; z-index: 1; }

.nav-header { margin-bottom: 28px; }
.back-link { color: var(--text-dim); text-decoration: none; font-size: 13px; font-weight: 500; transition: color 0.2s; }
.back-link:hover { color: var(--momiji); }

/* PROFILE CARD */
.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  margin-bottom: 20px;
}

.profile-avatar {
  width: 90px; height: 90px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--momiji);
  box-shadow: 0 0 0 4px rgba(232,69,60,0.15);
}

.avatar-img { width: 100%; height: 100%; object-fit: cover; display: block; }

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.tagline { color: var(--text-dim); font-size: 13px; font-style: italic; }

/* INFO BOXES */
.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--momiji);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 14px;
}
.border-blue { border-top-color: #0ea5e9; }
.border-green { border-top-color: #10b981; }
.border-orange { border-top-color: #f59e0b; }

.info-box h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.info-box p { font-size: 14px; line-height: 1.7; color: var(--text-muted); }
.info-box strong { color: var(--text); }
.info-box ul { padding-left: 20px; margin-top: 10px; color: var(--text-muted); font-size: 14px; line-height: 1.8; }

/* NAV */
.menu-icon {
  position: fixed; top: 20px; left: 20px;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 50%; font-size: 18px; cursor: pointer; z-index: 1000;
  color: var(--text-muted); transition: all 0.2s;
}
.menu-icon:hover { border-color: var(--momiji); color: var(--text); }

.nav-menu {
  position: fixed; top: 0; left: -270px; width: 260px; height: 100%;
  background: var(--surface); border-right: 1px solid var(--border);
  padding-top: 80px; transition: left 0.3s cubic-bezier(.4,0,.2,1); z-index: 999;
}
.nav-menu.active { left: 0; }
.nav-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 24px; text-decoration: none;
  color: var(--text-muted); font-weight: 500; font-size: 14px;
  border-left: 3px solid transparent; transition: all 0.2s;
}
.nav-menu a:hover { background: var(--surface2); color: var(--text); border-left-color: var(--momiji); }
.nav-account {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 24px 14px 21px; color: var(--text);
  font-weight: 700; font-size: 14px;
  border-left: 3px solid var(--momiji); background: var(--surface2);
}
.nav-avatar {
  width: 26px; height: 26px; min-width: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: white;
}
.nav-settings-link {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 24px; text-decoration: none;
  color: var(--text-muted); font-weight: 500; font-size: 14px;
  border-left: 3px solid transparent; transition: all 0.2s;
}
.nav-settings-link:hover { background: var(--surface2); color: var(--text); border-left-color: var(--momiji); }
