/* Y2K Cyber Personal Shrine - based on sadgrl.online template */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

:root {
  --bg-color: #d7cdfe;
  --border-color: #003f5c;
  --subtitle-color: #bc5090;
  --link-color: #8a508f;

  /* Y2K Cyber additions */
  --accent-cyan: #00d4ff;
  --glow-magenta: rgba(188, 80, 144, 0.6);
  --glow-cyan: rgba(0, 212, 255, 0.5);
  --glass-bg: rgba(215, 205, 254, 0.5);
  --glass-border: rgba(255, 255, 255, 0.3);
}

html, body {
  margin: 0;
  padding: 0;
  background-color: #003f5c;
  background-attachment: fixed;
  background-image:
    linear-gradient(to right, rgba(0, 63, 92, 0.3), rgba(0, 63, 92, 0.5)),
    url('streets_of_rage_title.jpg');
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: cover;
}

/* CRT scanline overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.04) 3px,
    rgba(0, 0, 0, 0.04) 4px
  );
  pointer-events: none;
  z-index: 9999;
}
body a {
  color: var(--link-color);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

body a:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 8px var(--glow-cyan);
}
header {
  width: 600px;
  height: 336px;
  background-image: url('kampfer_eyecatch.jpg');
  background-size: 100%;
  position: relative;
  border: 3px solid;
  border-color: #999 #666 #555 #888;
  box-shadow:
    0 0 25px rgba(0, 212, 255, 0.5),
    0 0 50px rgba(0, 212, 255, 0.25),
    inset 0 0 60px rgba(0, 0, 0, 0.3),
    inset 2px 2px 0 rgba(255, 255, 255, 0.15),
    inset -2px -2px 0 rgba(0, 0, 0, 0.2);
}

/* Chrome frame effect */
header::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  background: linear-gradient(135deg, #aaa 0%, #eee 15%, #888 30%, #ccc 50%, #777 70%, #bbb 85%, #999 100%);
  z-index: -1;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}

/* Scanline effect on header image */
header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.05) 3px,
    rgba(0, 0, 0, 0.05) 4px
  );
  pointer-events: none;
}
.flex {
  display:flex;
}
.sidebar {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: 250px;
  width: 170px;
  height: 100vh;
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: fixed;
}
article {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  margin-top: 20px;
  max-width: 560px;
  margin-left: 20px;
  margin-right: 20px;
}
.subtitle {
  font-family: 'Share Tech Mono', monospace;
  color: var(--subtitle-color);
  font-size: 18px;
  font-weight: bold;
  border-bottom: 2px solid var(--subtitle-color);
  margin-left: 10px;
  margin-right: 10px;
  text-align: right;
  padding-top: 20px;
  text-shadow: 0 0 10px var(--glow-magenta), 0 0 20px var(--glow-magenta);
  letter-spacing: 1px;
}
article > p {
  padding: 10px;
  padding-left: 20px;
}

article.currently ul {
  list-style: none;
  padding: 10px 20px;
  margin: 0;
  font-family: 'Share Tech Mono', monospace;
}

article.currently ul li {
  padding: 4px 0;
}

article.currently ul li strong {
  color: #4a9ba8;
  text-shadow: 0 0 5px rgba(74, 155, 168, 0.35);
}
.links {
  list-style: none;
  font-size:16px;
  
}
.links li a {
  color: var(--link-color);
  letter-spacing: 1px;
  text-decoration: none;
}

.links li a img {
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  border-radius: 4px;
}

.links li a img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--glow-cyan), 0 0 30px var(--glow-cyan);
  filter: brightness(1.15);
}
main {
  margin-top:-21px;
}
   section > p {
     padding:10px;
   }
footer {
  margin-left: 20px;
  max-width: 30%;
  font-size: 12px;
  color: var(--subtitle-color);
  font-family: 'Share Tech Mono', monospace;
  text-shadow: 0 0 5px var(--glow-magenta);
}

@media only screen and (max-width: 630px) {
  .sidebar {
    position: relative;
    max-width: 100%;
    width: 100%;
    height: auto;
    min-height: 150px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    overflow: hidden;
  }
  .flex {
    flex-wrap: wrap;
    flex-direction: row;
  }
  .right {
    order: 1;
    width: 100%;
  }
  .left {
    order: 2;
  }
  section {
    display: flex;
    flex-wrap: wrap;
    width: 120px;
  }
  header {
    width: calc(100% - 12px);
    height: auto;
    aspect-ratio: 600 / 336;
    margin: 6px;
  }
  article {
    margin-left: 10px;
    margin-right: 10px;
  }
}