/* Denpa CSS */

body {
  
  background: var(--bg);
  color: var(--text);
  font-family: Verdana, sans-serif;
  margin: 0;
}

.container {
  width: 800px;
  margin: auto;
  padding: 20px;
}li

header {
  text-align: center;
  margin-bottom: 20px
}

h1, h2 {
    color: var(--accent);
}
  
nav {
  margin-bottom: 30px;
  text-align: center;
}

nav a {
  color: #ffb7d5;
  margin: 0 10px;
  text-decoration: none;
}

nav a:hover {
  text-shadow: 0 0 5px pink;
}

body.crt::before {

    content: "";

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;

    z-index: 99999;

    background:
    repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.15) 0px,
        rgba(255,255,255,0.15) 1px,
        rgba(0,0,0,0.15) 2px,
        transparent 4px
    );

    opacity: 0.6;
}

body.crt::after {

    content: "";

    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: 99998;

    background:
    radial-gradient(
        circle at center,
        transparent 55%,
        rgba(0,0,0,0.7) 100%
    );

    opacity: 0.7;
}

body.crt .gallery-img {
    filter:
    contrast(1.05)
    saturate(1.1);
}

body.reading main {
    max-width: 700px;
    margin: auto;
}

body.reading .sidebar,
body.reading nav,
body.reading .music-player {
    display: none;
}

body.reading .post-preview {
    flex-direction: column;
}

.post-preview,
article {
  background: #1b1b1b;
  padding: 20px;
  margin-bottom: 20px;
    border-radius: 16px;

    border: 1px solid rgba(255,255,255,0.08);

    transition: 0.2s;
}

.post-preview {
    display: flex;
    gap: 16px;

    padding: 16px;

    border-radius: 16px;

    border: 1px solid rgba(255,255,255,0.08);

    transition: 0.2s;
}

body.vn .post-preview {

    background: rgba(10,10,20,0.6);

    border: 1px solid rgba(255, 120, 180, 0.2);

    box-shadow:
    0 0 20px rgba(255, 120, 180, 0.1);

}

body.light .post-preview {

    background: rgba(20,20,20,0.85);
    color: #ffb7d5;

    border: 1px solid rgba(255, 120, 180, 0.2);

    box-shadow:
    0 0 20px rgba(255, 120, 180, 0.1);

}

.incoming-review {
  margin-bottom: 24px;
  padding: 18px;
  border-radius: 18px;
  background:
    linear-gradient(
    135deg,
    rgba(25,25,40,0.9),
    rgba(15,15,25,0.95)
  );
  border:
  1px solid rgba(255,120,180,0.18);
  box-shadow:
  0 0 25px rgba(255,120,180,0.08);
  overflow: hidden;
  position: relative;
}

.incoming-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  
  background:
  rgba(255,120,180,0.12);
  color: #ffb7d5;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border:
  1px solid rgba(255,120,180,0.25);
}

.incoming-content {
  display: flex;
  gap: 18px;
  align-items: center;
}

.incoming-thumb {
  width: 140px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  
  border:
  1px solid rgba(255,255,255,0.08);
  box-shadow:
  0 0 15px rgba(255,182,193,0.12);
}

.incoming-text h2 {
  margin-top: 0;
  margin-bottom: 8px;
  color: #ffd1e6;
  font-size: 24px;
}

.incoming-text p {
  margin: 0;
  line-height: 1.7;
  opacity: 0.85;
}

.incoming-review::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  
  background:
  linear-gradient(
    to right,
    transparent,
    #ff7ab6,
    transparent
  );
  
  animation:
  scanline 4s linear infinite;
}

@keyframes scanline {
  from {
    left: -100%;
  }
  to {
    left: 100%;
  }
}

.vn-database {
    display: flex;
    gap: 16px;

    padding: 16px;

    border-radius: 16px;

    border: 1px solid rgba(255,255,255,0.08);

    transition: 0.2s;
}

body.vn .vn-database {

    background: rgba(10,10,20,0.6);

    border: 1px solid rgba(255, 120, 180, 0.2);

    box-shadow:
    0 0 20px rgba(255, 120, 180, 0.1);

}

body.vn .post-preview:hover {
    transform: translateX(6px);
    border-color: var(--accent);
}

.post-thumb {
    width: 140px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: transform 0.2s;
}

.post-thumb:hover {
    transform: scale(1.03);
}

.post-info h2 {
    margin: 0;
}

.post-preview:hover {

transform: translateY(-3px);

transition: 0.2s;

box-shadow:
0 0 20px rgba(255,182,193,0.2);

}

.meta {
  color: #aaa;
  font-size: 14px;
}

.banner {
  width: 100%;
  margin: 15px 0;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.archive-list li {
  margin-bottom: 10px;
}

a {
  color: #ffb7d5;
}

.trail {

    width: 10px;
    height: 10px;

    background: pink;

    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    animation: fade 0.5s linear;

}

@keyframes fade {

    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: scale(2);
    }

}

.layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.sidebar {
  width: 260px;
  position: sticky;
  top: 20px;
}

.profile-card {
  background:
  rgba(20,20,20,0.75);
  backdrop-filter: blur(10px);
  border:
  1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 24px;
  text-align: center;
  box-shadow:
  0 0 20px rgba(255,182,193,0.08);
  
  animation:
  pulse 4s infinite;
  
  }
  
  @keyframes pulse {
  
  0% {
  box-shadow:
  0 0 20px rgba(255,182,193,0.08);
  }
  
  50% {
  box-shadow:
  0 0 35px rgba(255,182,193,0.18);
  }
  
  100% {
  box-shadow:
  0 0 20px rgba(255,182,193,0.08);
}
}

.profile-card::before {

    content: "✦";

    position: absolute;

    top: 10px;

    right: 16px;

    color: #ffb7d5;

    opacity: 0.5;

}

.profile-pic {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border:
  3px solid #ffb6d5;
  transition:
  transform 0.8s ease;
  box-shadow:
  0 0 18px rgba(255,182,193,0.25);
}

.profile-pic:hover {
  transform: rotate(360deg) scale(1.05);
}

.profile-name {
  margin-top: 18px;
  margin-bottom: 4px;
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 1px;
  
  background:
  linear-gradient(
  90deg,
  #ffb7d5,
  #d7b7ff
  );
  
  -webkit-background-clip: text;
  -webkit-text-fill-cover: transparent;
  text-shadow:
  0 0 10px rgba(255,183,213,0.25);
}

.profile-pronouns {
  color: #c7b6d8;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.divider {
  width: 70%;
  height: 1px;
  margin:
  18px auto;
  background:
  linear-gradient(
  to right,
  transparent,
  #ffb7d5,
  transparent
  );
}

.profile-desc {
  color: #ddd;
  line-height: 1.7;
  font-size: 15px;
}

.status-box {
  margin-top: 24px;
  padding: 16px;
  border-radius: 16px;
  background:
  rgba(255,255,255,0.03);
  border:
  1px solid rgba(255,255,255,0.05);
  text-align: left;
}

.status-box h3 {
  margin-top: 0;
  color: #ffb7d5;
  font-size: 16px;
  text-transform: lowercase;
  letter-spacing: 1px;
}

.status-box ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.status-box li {
  margin-bottom: 10px;
  color: #ddd;
}

main {
  flex: 1;
}

.hero {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 20px;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.1) saturate(1.2);
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffd1e6;
  text-align: center;
  
  background: linear-gradient(
  to bottom,
  rgba(0,0,0,0.2),
  rgba(0,0,0,0.7)
  );
}

.hero-overlay h1 {
  font-size: 42px;
  letter-spacing: 2px;
  text-shadow: 0 0 15px rgba(255,182,193,0.4);
}

.hero-overlay p {
  font-size: 14px;
  opacity: 0.9;
  letter-spacing: 2px;
}

.post-banner {
    width: 100%;
    border-radius: 16px;
    margin: 16px 0;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.2s;
}

.post-banner:hover {
    transform: scale(1.01);
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    backdrop-filter: blur(6px);
}

.lightbox-overlay img {
    max-width: 92%;
    max-height: 92%;
    border-radius: 12px;
    border:
    1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 25px rgba(255,182,193,0.2);
}

:root {
    --bg: #0f0f12;
    --panel: rgba(20,20,20,0.75);
    --text: #f3c6d9;
    --accent: #ff9fc9;
}

body.light {
    --bg: #f5f5f5;
    --panel: #ffffff;
    --text: #ffb7d5;
    --accent: #ff4f9a;
}

body.vn {
    --bg: linear-gradient(180deg, #0a0a10, #1b1020);
    --panel: rgba(10,10,20,0.6);
    --text: #ffd6ea;
    --accent: #ff7ab6;
}

.vn-menu {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: center;
    gap: 10px;

    padding: 10px;

    background: rgba(10, 10, 20, 0.6);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(255, 120, 180, 0.2);
}

.vn-menu button {

    background: rgba(20, 20, 35, 0.8);

    color: #ffd1e6;

    border: 1px solid rgba(255, 120, 180, 0.3);

    padding: 8px 14px;

    font-family: Verdana, sans-serif;

    letter-spacing: 2px;

    font-size: 12px;

    cursor: pointer;

    transition: 0.2s;

    text-transform: uppercase;
}

.vn-menu button:hover {

    background: rgba(255, 120, 180, 0.15);

    transform: translateY(-2px);

    box-shadow: 0 0 10px rgba(255, 120, 180, 0.2);
}

.vn-menu button:active {
    transform: translateY(0px) scale(0.98);
}

.vn-menu button.active {
    border-color: #ff7ab6;
    background: rgba(255, 122, 182, 0.25);
    box-shadow: 0 0 12px rgba(255, 122, 182, 0.3);
}

.gallery-grid {
  display: grid;
  
  grid-template-columns:
  repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.gallery-img {
  position: relative;
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  border:
  1px solid rgba(255,255,255,0.08);
  box-shadow:
  0 0 18px rgba(255,182,193,0.08);
  transition: 0.25s;
}

.gallery-img:after {
    content: "";
    position: absolute;
    inset: 0;
}

.gallery-img:hover {
  transform:
  scale(1.03)
  translateY(-4px);
  
  box-shadow:
  0 0 25px rgba(255,182,193,0.22);
  
  border-color:
  rgba(255,182,193,0.35);
}

.gallery-title {
  color: #ffb7d5;
  
  margin-top: 40px;
  margin-bottom: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 18px;
  border-left:
  4px solid #ffb7d5;
  padding-left: 10px;
}

.gallery-desc {
  opacity: 0.75;
  margin-bottom: 30px;
  letter-spacing: 1px;
}