/* ═══════════════════════════════════════════════════════════════════
   NISHIKINO-KUN'S MASTER STYLESHEET
   ═══════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════
   COLOR PALETTE
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --black-bg: #0f0f14;
  --black-light: #1a1a1f;
  --crimson: #A01149;
  --soft-pink: #E8B4D0;
  --slate: #4A5568;
  --text-main: #F5F5F5;
  --text-muted: #E8E8E8;
  --gym-color: #A01149;
  --yuri-color: #E8B4D0;
  --personal-color: #4A5568;
  --music-color: #9D4EDD;
}

/* ═══════════════════════════════════════════════════════════════════
   FONTS
   ═══════════════════════════════════════════════════════════════════ */
@font-face {
  font-family: 'AerosolDier';
  src: url('fonts/Aerosoldier_PERSONAL_USE_ONLY.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'A Dripping Marker';
  src: url('fonts/adrip1.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Bebas Neue Regular';
  src: url('fonts/BebasNeue-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: Nunito;
  src: url('https://sadhost.neocities.org/fonts/Nunito-Regular.ttf');
}

@font-face {
  font-family: Nunito;
  src: url('https://sadhost.neocities.org/fonts/Nunito-Bold.ttf');
  font-weight: bold;
}

/* ═══════════════════════════════════════════════════════════════════
   BASE STYLES
   ═══════════════════════════════════════════════════════════════════ */
body {
  font-family: 'Nunito', sans-serif;
  margin: 0;
  background-color: var(--black-bg);
 /*  background-image: url('images/black-star-background.png');
  background-repeat: repeat;
  background-size:25px; */
  /* background-image: url('images/black-scars.jpg');
  background-repeat: repeat;
  background-size:25%; */
  color: var(--text-main);
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════════════════
   CONTAINER & LAYOUT
   ═══════════════════════════════════════════════════════════════════ */
#container {
  max-width: 900px;
  margin: 0 auto;
}

#container a {
  color: var(--crimson);
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

#container a:hover {
  color: var(--soft-pink);
}

#flex {
  display: flex;
  gap: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════ */
#header {
  width: 100%;
  background: linear-gradient(135deg, var(--black-bg) 0%, var(--crimson) 100%);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

/* Main Header Title Style */
.main-header-title {
  font-family: 'A Dripping Marker';
  font-size: 75px;
  color: #F0F0F0;
}

/* Site Title Styles */
.site-title {
  font-family: 'AerosolDier', cursive;
  font-size: 64px;
  font-weight: 400;
  letter-spacing: 8px;
  transform: rotate(-15deg);
  margin-left: 10px;
  margin-top: 40px;
  border: none;
  text-decoration: none;
  position: relative;
  z-index: 10;
  text-transform: uppercase;
}

/* Neon Glow Effect */
.neon-glow {
  color: #fff;
  text-shadow: 
    0 0 10px var(--crimson),
    0 0 20px var(--crimson),
    0 0 30px var(--crimson),
    0 0 40px var(--crimson),
    0 0 70px var(--soft-pink),
    0 0 80px var(--soft-pink),
    0 0 100px var(--soft-pink);
  animation: neon-flicker 3s infinite alternate;
}

@keyframes neon-flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow: 
      0 0 10px var(--crimson),
      0 0 20px var(--crimson),
      0 0 30px var(--crimson),
      0 0 40px var(--crimson),
      0 0 70px var(--soft-pink),
      0 0 80px var(--soft-pink),
      0 0 100px var(--soft-pink);
  }
  20%, 24%, 55% {
    text-shadow: 
      0 0 5px var(--crimson),
      0 0 10px var(--crimson);
  }
}

/* Header Images */
.header-image {
  position: absolute;
  width: 215px;
  height: auto;
  right: 100px;
  top: 95%;
  transform: translateY(-50%);
  z-index: 5;
}

.header-image2 {
  position: absolute;
  width: 250px;
  height: auto;
  right: 250px;
  top: 100%;
  transform: translateY(-50%);
  z-index: 5;
}

.header-image3 {
  position: absolute;
  width: 250px;
  height: auto;
  right: -10px;
  top: 85%;
  transform: translateY(-50%);
  z-index: 5;
}

/* ═══════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════ */
#navbar {
  background-color: var(--black-light);
  width: 100%;
  border-bottom: 2px solid var(--slate);
}

#navbar ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
  justify-content: space-evenly;
}

#navbar li {
  padding: 12px 0;
}

#navbar li a {
  color: var(--soft-pink);
  font-weight: 800;
  text-decoration: none;
  padding: 10px 15px;
  transition: all 0.3s ease;
}

#navbar li a:hover {
  color: var(--crimson);
  background-color: rgba(160, 17, 73, 0.1);
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════════════
   MAIN CONTENT AREA
   ═══════════════════════════════════════════════════════════════════ */
main {
  background-color: #1f1f26;
  flex: 1;
  padding: 30px;
  order: 2;
  border-top: 1px solid var(--slate);
  border-bottom: 1px solid var(--slate);
}

main ul {
  color: var(--text-main);
}

main ul li {
  margin: 10px 0;
}

/* ═══════════════════════════════════════════════════════════════════
   SIDEBARS
   ═══════════════════════════════════════════════════════════════════ */
aside {
  background-color: var(--black-light);
  width: 200px;
  padding: 20px;
  font-size: 0.95em;
  border: 1px solid var(--slate);
}

#leftSidebar {
  order: 1;
  border-right: none;
}

#rightSidebar {
  order: 3;
  border-left: none;
}

aside ul {
  list-style: none;
  padding-left: 0;
}

aside ul li {
  margin: 8px 0;
}

aside h2 {
  font-size: 18px;
  color: var(--soft-pink);
  border-bottom: 2px solid var(--slate);
  padding-bottom: 8px;
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
footer {
  background-color: var(--black-light);
  width: 100%;
  padding: 15px;
  text-align: center;
  font-size: 0.9em;
  color: var(--text-muted);
  border-top: 2px solid var(--slate);
}

/* ═══════════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4 {
  color: var(--crimson);
  margin-top: 0;
}

h1 {
  font-family: Nunito;
  font-size: 28px;
  border-bottom: 2px solid var(--crimson);
  padding-bottom: 10px;
}

h2 {
  font-family: 'Bebas Neue Regular';
  font-size: 20px;
  margin-top: 25px;
}

h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

h4 {
  font-size: 16px;
  color: var(--soft-pink);
  margin-top: 10px;
}

strong {
  color: var(--soft-pink);
}

/* ═══════════════════════════════════════════════════════════════════
   COMPONENTS - BOXES
   ═══════════════════════════════════════════════════════════════════ */
.box {
  background-color: var(--black-bg);
  border: 2px solid var(--slate);
  border-left: 4px solid var(--crimson);
  padding: 15px;
  margin: 15px 0;
  border-radius: 4px;
}

.box-notfound {
  background-color: var(--black-bg);
  border: 2px solid var(--slate);
  border-left: 4px solid var(--crimson);
  padding: 15px;
  margin: 15px 0;
  width:100%;
  height: 25%;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════════════
   BLOG POST STYLES (TUMBLR STYLE)
   ═══════════════════════════════════════════════════════════════════ */
.post-box {
  background-color: var(--black-bg);
  border: 2px solid var(--slate);
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.post-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(160, 17, 73, 0.2);
}

/* Color-coded left borders */
.post-gym {
  border-left: 6px solid var(--gym-color);
}

.post-yuri {
  border-left: 6px solid var(--yuri-color);
}

.post-personal {
  border-left: 6px solid var(--personal-color);
}

.post-music {
  border-left: 6px solid var(--music-color);
}

.post-text {
  border-left: 6px solid var(--slate);
}

.post-quote {
  border-left: 6px solid var(--soft-pink);
  background-color: rgba(232, 180, 208, 0.05);
}

.post-image {
  border-left: 6px solid #4A9568;
}

.post-link {
  border-left: 6px solid #5E81AC;
}

.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--slate);
}

.post-type {
  font-size: 0.9em;
  font-weight: bold;
  color: var(--soft-pink);
}

.post-date {
  font-size: 0.85em;
  color: var(--text-muted);
  font-style: italic;
}

.post-box h3 {
  color: var(--crimson);
  margin-bottom: 12px;
  font-size: 20px;
}

.post-box h4 {
  color: var(--soft-pink);
  margin-bottom: 10px;
}

.post-box p {
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 10px;
}

/* Quote styling */
blockquote {
  margin: 0;
  padding: 15px 20px;
  border-left: 4px solid var(--crimson);
  font-size: 1.1em;
  font-style: italic;
  color: var(--text-main);
}

.quote-source {
  font-size: 0.9em;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Image placeholder */
.image-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--black-light) 0%, var(--slate) 100%);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 15px;
}

/* Link preview */
.link-preview {
  background-color: var(--black-light);
  padding: 15px;
  border-radius: 4px;
  border: 1px solid var(--slate);
}

.link-preview h4 {
  margin: 0 0 10px 0;
  color: var(--crimson);
}

.link-preview h4 a {
  color: var(--crimson);
}

.link-desc {
  font-size: 0.95em;
  color: var(--text-muted);
  margin: 0;
}

/* Post footer with tags */
.post-footer {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid var(--slate);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  background-color: var(--black-light);
  border: 1px solid var(--slate);
  border-radius: 12px;
  font-size: 0.8em;
  color: var(--soft-pink);
  transition: all 0.3s ease;
}

.tag:hover {
  background-color: var(--crimson);
  color: white;
  border-color: var(--crimson);
}

/* Tag cloud in sidebar */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-bubble {
  display: inline-block;
  padding: 6px 12px;
  background-color: var(--black-light);
  border: 1px solid var(--slate);
  border-radius: 16px;
  font-size: 0.85em;
  color: var(--soft-pink);
  transition: all 0.3s ease;
}

.tag-bubble:hover {
  background-color: var(--crimson);
  color: white;
  border-color: var(--crimson);
  transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════════ */
@media only screen and (max-width: 800px) {
  #flex {
    flex-wrap: wrap;
  }

  aside {
    width: 100%;
    border: 1px solid var(--slate);
    border-left: 4px solid var(--crimson);
  }

  main {
    order: 1;
  }

  #leftSidebar {
    order: 2;
  }

  #rightSidebar {
    order: 3;
  }

  #navbar ul {
    flex-wrap: wrap;
  }
}