:root {
  --page-bgcolor: #23272e;
  --textcolor: #fff;
  --container-bordercolor: #6c63ff;
  --h-colors: #9f8fff;
  --link-color: #9f8fff;
  --link-color-hover: #be3d7e;
  --link-color-visited: #6c63ff;
  --link-container-color: #23272e;
  --drop-shadow: #0e0e0e;
  --border-color: #1f1f1f;
  --border-bg: #23272e;
  --button-bgcolor: #6c63ff;
  --button-bgcolor-hover: #ff61af;
  --featured-desc-color: #ff61af;
  --feed-text: #fff;
  --feed-bg: #23272e;
  --feed-border-color: #9f8fff;
  --feed-dropshadow-color: #ff61af;
  --desc-bg-color: #282c37;
  --desc-inset: #6c63ff;
  --desc-border-color: #ff61af;
}

body {
  background-color: #1d1d1d;
  font-family: 'Press Start 2P', 'Montserrat', 'Roboto', monospace, sans-serif;
  min-height: 100%;
  height: 100%;
  margin: 0px;
}

a {
  color: var(--link-color);
  padding: 5px 5px;
  text-decoration: none;
  font-family: 'Press Start 2P', 'Montserrat', monospace;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

a:visited {
  color: var(--link-color-visited);
}

a:hover {
  color: var(--link-color-hover);
  background: #222;
}

/* removed stray max-width and margin from global scope */

.main {
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: 16px;
  position: relative;
}
.main > * {
  max-width: 640px;
}

@media (max-width: 480px) {
  .main {
    padding: 4px;
  }
  .main > * {
    max-width: 100% !important;
    width: 100% !important;
  }
  .container {
    width: 100% !important;
    padding: 0 !important;
  }
  .main-desc {
    font-size: 16px;
    padding: 8px;
  }
  .img2 {
    width: 120px;
    height: 120px;
  }
}

.container {
  -webkit-flex: 1 0 auto;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
  width: 100%;
}
.container > * {
  margin-bottom: 16px;
} 

.top {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-bottom: 32px;
}

.top-content {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  text-align: center;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: -50px;
  margin-bottom: -20px;
}

h1, h2, h3 {
  color: var(--h-colors);
  text-shadow: 0 2px 8px #ff61af99, 0 1px 8px #131313;
  font-family: 'Press Start 2P', 'Montserrat', monospace;
}

.img {
  border-radius: 2.5px;
  max-width: 100%;
  height: 300px;
  object-fit: cover;
  border-style: solid;
  border-color: var(--border-color);
}

.img2 {
  border-radius: 100%;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 2px solid var(--border-color);
  background-color: var(--border-bg);
  text-align: center;
  text-decoration: none;
  font-size: 26px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  letter-spacing: 1px;
}

.username {
  font-family: Montserrat, sans-serif;
  margin: 20px 0px;
  text-align: center;
}

.main-desc {
  font-family: 'Press Start 2P', 'Montserrat', monospace;
  font-size: 20px;
  font-weight: 100;
  text-align: left;
  line-height: 34px;
  word-spacing: -1px;
  border-style: solid;
  background-color: var(--desc-bg-color);
  border-color:var(--desc-border-color);
  border-radius:10px;
  color: var(--feed-text);
  padding: 16px;
  text-indent: 20px;
  box-shadow: inset 0 0 15px var(--desc-inset);
}

.links {
  margin-bottom: 16px;
}

.links a {
  display: block;
  background: var(--button-bgcolor);
  border-radius: 10px;
  border-style: double;
  border-width: 4px;
  border-color: var(--border-color);
  color: #fff;
  filter: drop-shadow(5px 5px var(--drop-shadow));
  font-family: 'Press Start 2P', 'Montserrat', monospace;
  padding: 24px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  text-decoration: none;
  justify-content: center;
  font-size: 22px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px #ff61af99, 0 1px 0 #fff;
}


.links a:hover,
.links.h-entry a:hover {
  background: var(--hover-bg, #222); /* Replace with your actual hover color */
  color: var(--hover-fg, #fff);      /* Optional: set text color on hover */
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.social-icons {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.featured {
  -webkit-text-decoration: none;
  text-decoration: none;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

.featured-style {
  width: 100%;
}

.featured-desc {
  color: var(--featured-desc-color);
  font-family: 'Press Start 2P', 'Montserrat', monospace;
  text-shadow: 0 5px 8px #ff61af99, 0 1px 0 #fff;
  font-size: 16px;
  text-align: center;
}

.featured.h-entry a:hover {
  background: none !important;
  color: inherit !important;
  cursor: pointer;
}

.para {
  background-color: #1d1d1d;
}

.gif {
  position: absolute;
  right: 65%;
  bottom: 0;
  filter: hue-rotate(270deg) drop-shadow(0 0 12px #ff61af);
}

@media (max-width: 480px) {
  .gif {
    display: none;
  }
}

.viddy {
  border-radius: 2.5px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-style: solid;
  border-color: var(--border-color);
  filter: drop-shadow(5px 5px var(--drop-shadow));
  border-radius: 10px;
}
.viddy iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
} 

.now {
  text-align: left;
  background-color: #fff;
  padding: 10px;
}

.signature {
  font-size: 0.70em;
  color: var(--link-color);
  background-color: #1d1d1d;
}

.rainbow {
  text-align: center;
  text-decoration: none;
  font-size: 26px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  letter-spacing: 1px;
  animation: colorRotate 6s linear 0s infinite;
}

@keyframes colorRotate {
  from {
    color: #6666ff;
  }
  10% {
    color: #0099ff;
  }
  50% {
    color: #00ff00;
  }
  75% {
    color: #ff3399;
  }
  100% {
    color: #6666ff;
  }
}  

.signal {
  display: flex;
  justify-content: center;
  filter: drop-shadow(5px 5px var(--drop-shadow));
  border-style: solid;
  border-color: var(--desc-border-color);
  border-radius:10px;
  flex-direction: column;
  margin-top: 15px;
  margin-bottom: 15px;
}

.special-char {
  font-family: 'Fira Mono', 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Courier New', monospace;
}

/* More Info */

.more-info-link {
  display: inline-block;
  margin-top: 0.5em;
  font-size: 1em;
  color: #fff !important;
  text-shadow: 0 2px 8px #ff61af99, 0 1px 0 #fff !important;
  background: #6c63ff !important;
  border: 2px dashed #ff61af !important;
  border-radius: 6px;
  padding: 0.2em 0.7em;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 1px 4px #ff61afaa;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  letter-spacing: 1px;
  margin-top: 0.5em;
  margin-bottom: 1em;
  font-family: 'Press Start 2P', 'Montserrat', monospace !important;
}
.more-info-link:hover,
.more-info-link:focus {
  background: #222 !important;
  color: #fff !important;
  box-shadow: 0 2px 1px #6c63ffcc;
  outline: none;
}

.more-info-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20,20,40,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.2s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.more-info-content {
  background: #181828;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 0 24px #00fff088, 0 0 8px #ff00cc44;
  padding: 2em 2em 1.5em 2em;
  max-width: 350px;
  width: 90vw;
  position: relative;
  font-family: inherit;
  text-align: left;
}
.close-more-info {
  position: absolute;
  top: 0.7em;
  right: 1em;
  background: none;
  border: none;
  color: #ff00cc;
  font-size: 2em;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.close-more-info:hover,
.close-more-info:focus {
  color: #00fff0;
}

/* Parallax BG */

/* Parallax BG credits: https://lucky-loops.itch.io/parallax-city-background */

.parallax-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  height: 120%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.parallax-layer-1 {
  background-image: url('/img/para/0.png');
  background-attachment: scroll; 
  background-position: center;
  will-change: auto; 
}

.parallax-layer-2 {
  background-image: url('/img/para/-1.png');
  opacity: 1;
  background-attachment: scroll; 
  background-position: center;
  will-change: auto; 
}

.parallax-layer-3 {
  background-image: url('/img/para/-2.png');
  opacity: 1;
  background-attachment: scroll; 
  background-position: center;
  will-change: auto; 
}

.parallax-layer-4 {
  background-image: url('/img/para/-3.png');
  opacity: 1;
  background-attachment: scroll; 
  background-position: center;
  will-change: auto; 
}

.parallax-layer-5 {
  background-image: url('/img/para/-4.png');
  animation: parallaxMove2 15s infinite linear; 
  opacity: 0.6;
  background-attachment: scroll; 
  will-change: transform; 
}

.parallax-layer-6 {
  background-image: url('/img/para/-5.png');
  animation: parallaxMove1 15s infinite linear;
  opacity: 0.6;
  background-attachment: scroll; 
  will-change: transform;
}

.parallax-layer-7 {
  background-image: url('/img/para/stars.png');
  background-repeat: repeat-x;
  background-size: auto 100%;
  animation: starFlicker 3s ease-in-out infinite;
  background-attachment: scroll;
  will-change: opacity;
  transition: opacity 0.3s ease;
}

@keyframes starFlicker {
  0% { 
    opacity: 0.4; 
  }
  25% { 
    opacity: 0.6; 
  }
  50% { 
    opacity: 0.3; 
  }
  75% { 
    opacity: 0.5; 
  }
  100% { 
    opacity: 0.4; 
  }
}

@keyframes parallaxMove1 {
  0% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(-10px) translateY(-5px); }
  50% { transform: translateX(-20px) translateY(-10px); }
  75% { transform: translateX(-15px) translateY(-15px); }
  100% { transform: translateX(0) translateY(0); }
}

@keyframes parallaxMove2 {
  0% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(10px) translateY(3px); }
  50% { transform: translateX(20px) translateY(8px); }
  75% { transform: translateX(15px) translateY(12px); }
  100% { transform: translateX(0) translateY(0); }
}

/* End Parallax BG */