/* ===== GLOBAL RESET ===== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Georgia, serif;
  color: #e9e6f2;
  background: #0a0614;
  overflow-x: hidden;
  transition: opacity 0.6s ease-in-out;
}

body.fade-out { opacity: 0; }

/* ===== TOP NAV ===== */
.top-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10,5,25,0.85);
  padding: 12px;
  text-align: center;
  z-index: 100;
}

.top-nav a {
  color: #cbb6ff;
  margin: 0 15px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.top-nav a:hover { 
  color: #fff;
  text-shadow: 0 0 8px rgba(255,255,255,0.5);
  transform: translateY(-1px);
}

/* ===== HOMEPAGE ===== */
body.homepage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  background: radial-gradient(circle farthest-corner at center, rgba(190,150,255,0.2) 0%, rgba(10,6,20,0.95) 70%, rgba(10,6,20,1) 100%);
  background-size: cover;
}

.main-title {
  font-size: 100px;
  letter-spacing: 8px;
  margin: 0;
  color: #f1ecff;
  text-shadow: 0 0 10px rgba(190,150,255,0.4), 0 0 25px rgba(120,60,255,0.3);
}

.main-subtitle {
  font-size: 14px;
  color: #b7a7dd;
  margin-top: 15px;
}

/* ===== CHARACTER LIST PAGE ===== */
.page-container {
  padding-top: 120px;
  text-align: center;
}

.page-title {
  font-size: 60px;
  color: #f1ecff;
  margin-bottom: 20px;
}

.character-list {
  max-width: 400px;
  margin: auto;
  border-left: 2px solid #4b3b6b;
  padding-left: 20px;
  text-align: left;
  font-size: 16px;
  line-height: 1.6;
}

.character-list a {
  display: block;
  color: #dfd4ff;
  text-decoration: none;
  margin: 15px 0;
  transition: all 0.3s ease;
}

.character-list a:hover {
  transform: translateX(5px);
  text-shadow: 0 0 8px rgba(255,255,255,0.3);
}

/* ===== CHARACTER PROFILE PAGE ===== */
.profile-page {
  min-height: 100vh;
  padding-top: 120px;
  max-width: 700px;
  margin: auto;
  text-align: center;
}

.profile-name {
  font-size: 64px;
  margin: 0;
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.profile-title {
  margin-bottom: 40px;
}

.profile-box {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 25px;
  margin-bottom: 30px;
  background: rgba(30, 15, 50, 0.7);
  border-radius: 8px;
}

.profile-desc {
  font-size: 16px;
  line-height: 1.8;
  color: #e9e6f2;
  text-align: justify;
}

/* ===== CHARACTER PAGE GRADIENTS & TITLE COLORS ===== */
body.azealia {
  background: radial-gradient(circle farthest-corner at center, rgba(100,255,150,0.2) 0%, rgba(10,6,20,0.95) 70%, rgba(10,6,20,1) 100%) no-repeat center center fixed;
}
body.azealia .profile-name { color: #64FF96; text-shadow: 0 0 12px rgba(100,255,150,0.5); }

body.azriel {
  background: radial-gradient(circle farthest-corner at center, rgba(255,215,130,0.15) 0%, rgba(10,6,20,0.95) 70%, rgba(10,6,20,1) 100%) no-repeat center center fixed;
}
body.azriel .profile-name { color: #FFD782; text-shadow: 0 0 12px rgba(255,215,130,0.5); }

body.diyares {
  background: radial-gradient(circle farthest-corner at center, rgba(255,165,80,0.15) 0%, rgba(10,6,20,0.95) 70%, rgba(10,6,20,1) 100%) no-repeat center center fixed;
}
body.diyares .profile-name { color: #FFA550; text-shadow: 0 0 12px rgba(255,165,80,0.5); }

body.mizuko {
  background: radial-gradient(circle farthest-corner at center, rgba(120,200,255,0.15) 0%, rgba(10,6,20,0.95) 70%, rgba(10,6,20,1) 100%) no-repeat center center fixed;
}
body.mizuko .profile-name { color: #78C8FF; text-shadow: 0 0 12px rgba(120,200,255,0.5); }

body.mafuie {
  background: radial-gradient(circle farthest-corner at center, rgba(255,90,90,0.15) 0%, rgba(10,6,20,0.95) 70%, rgba(10,6,20,1) 100%) no-repeat center center fixed;
}
body.mafuie .profile-name { color: #FF5A5A; text-shadow: 0 0 12px rgba(255,90,90,0.5); }

body.nox {
  background: radial-gradient(circle farthest-corner at center, rgba(120,180,255,0.1) 0%, rgba(180,120,255,0.08) 50%, rgba(10,6,20,0.95) 75%, rgba(10,6,20,1) 100%) no-repeat center center fixed;
}
body.nox .profile-name { color: #78B4FF; text-shadow: 0 0 12px rgba(120,180,255,0.5), 0 0 20px rgba(180,120,255,0.3); }
