/* start purple horror mode styling */
@media (prefers-color-scheme: dark) {
	:root {
		--text: #e6e0f0;       /* soft pale text */
		--border: #9400d3;     /* dark violet border */
		--accent: #6a0dad;     /* royal purple accent */
		--bg: rgba(42, 0, 63, 0.95); /* Fenrir-inspired deep purple */

		/* gradients (optional overlay if needed) */
		--gradientTop: linear-gradient(180deg, #1a0b1f, #2a003f); 
		--gradientBottom: linear-gradient(180deg, #2a003f, #3d0b4d); 
	}

body {
  background: url("https://yeoveth.neocities.org/broid.jpg") no-repeat center center fixed;
  background-size: cover;
  color: var(--text);
  font-family: monospace, sans-serif;
  position: relative; /* needed for overlay */
}
/* dark overlay */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.5); /* 0.5 = 50% darkness */
  pointer-events: none; /* lets you click through */
  z-index: -1; /* keeps it behind your content */
}

	/* Links */
	a:link, a:visited {
		color: var(--accent);
		text-decoration: none;
	}
	a:hover {
		color: #b300b3; /* neon magenta hover */
	}

	/* Containers / boxes */
	.link-box, .fandom-box {
		background: var(--bg);
		border: 1px solid var(--border);
		border-radius: 6px;
		padding: 6px 12px;
		width: fit-content;
		transition: transform 0.3s ease;
	}

	.link-box:hover, .fandom-box:hover {
		transform: scale(1.05);
	}

/* end purple horror mode styling */
* { 
	box-sizing: border-box;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
/* Headings for sections */
.fandom-title{
  color: #d19cff;            /* soft lavender purple */
  font-family: monospace;
  font-size: 20px;
  margin-bottom: 6px;

}
.contact.list {
  color: #d19cff;            /* lavender purple */
  font-family: monospace;
  font-size: 18px;
  margin-bottom: 6px;
}
.header-box {
  display: flex;
  justify-content: space-between; /* logo left, blinkies right */
  align-items: center;
  padding: 10px;
}

.blinkie-stack {
  display: flex;
  flex-direction: column; /* stack vertically */
  gap: 8px;               /* space between blinkies */
}
p {
  font-size: 1.2em; /* slightly bigger */
}

.blinkie-right {
  display: flex;
  gap: 10px;
}

.link-box, .fandom-box {
  background-color: #1a0000; /* dark red-black */
  padding: 4px 12px;
  border-radius: 6px;
  box-shadow: 0 0 12px #ff0000; /* blood-red glow */
  width: fit-content;
}

.link-box a, .fandom-box a {
  color: #f5e6e6; /* pale beige text */
  font-size: 15px;
  font-family: monospace;
  text-decoration: none;
  text-shadow: 0 0 6px #ff0000; /* faint red glow */
}

.link-box:hover, .fandom-box:hover {
  box-shadow: 0 0 18px #00ff55; /* eerie green glow */
  color: #ffffff; /* brighten text on hover */
}
body {
  padding: 10px;
  font-family: 'Consolas', 'Courier New', monospace;
  color: var(--text);
  text-shadow: 0 0 8px var(--text);

  /* gradient overlay + image background */
  background: var(--gradientTop), url("https://yeoveth.neocities.org/sat.jpg") no-repeat center center fixed;
  background-size: cover;
  background-blend-mode: multiply; /* blends gradient with image */

}
.infectious-logo {
  position: relative;
  margin-top: -30px;
  z-index: 10;
  max-height: 180px; /* adjust size if needed */

  /* purple glow */
  filter: drop-shadow(0 0 12px #6a0dad);

  /* pulse animation */
  animation: pulseGlow 2s infinite;
}

/* keyframes for pulsing purple glow */
@keyframes pulseGlow {
  0% {
    filter: drop-shadow(0 0 6px #6a0dad);
  }
  50% {
    filter: drop-shadow(0 0 20px #b300b3); /* brighter magenta-purple */
  }
  100% {
    filter: drop-shadow(0 0 6px #6a0dad);
  }
}
.container {
  max-width: 55rem;
  margin: 5vw auto 12px auto;
  border: 6px ridge var(--border);
  outline: 3px solid #003333;
  outline-offset: 4px;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  padding: 5px;
  gap: 5px;

  /* background image applied */
  background: url("https://yeoveth.neocities.org/broid.jpg") no-repeat center center;
  background-size: cover;
}
/* dark overlay */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.5); /* 0.5 = 50% darkness */
  pointer-events: none; /* lets you click through */
  z-index: -1; /* keeps it behind your content */
}


/* column widths */
.small { flex: 1 1 9%; }
.large { flex: 1 1 82%; }
.full  { flex: 1 1 100%; }
.half  { flex: 1 1 49%; }

header {
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 120px; /* change banner height here*/
	border: 2px ridge var(--border);
	border-radius: 5px;
	position: relative;
}
header span {
	font-size: 2.5rem;
	position: absolute;
	bottom: 0;
	right: 10px;
	margin: 10px;
	font-weight: bold;
	text-shadow: 1px 1px var(--text),
		-1px 1px var(--text),
		1px -1px var(--accent),
		-1px -1px var(--accent);
	color: var(--gradientTop);
}
nav {
	border: 2px ridge var(--border);
	border-radius: 5px;
	padding: 5px;
	background: linear-gradient(var(--gradientTop),var(--gradientBottom));
}
nav div {
	text-align: center;
	font-size: 1.25rem;
	margin: 5px 5px 10px 5px;
}
nav a {
	display: block;
	margin: 5px;
	background: linear-gradient(to right,var(--bg),var(--gradientBottom));
	border-radius: 5px;
	padding: 2px 7px;
	text-decoration: none;
}
nav a:link, nav a:visited { 
	color: var(--text);
}
nav a:hover, nav a:focus {
	background: linear-gradient(to right,var(--bg), var(--gradientBottom), var(--gradientTop));
}

/* optional button styling like in the preview */
div.small > img {
	display: block;
	margin: 5px auto;
	border:2px ridge var(--border);
	border-radius: 5px;
}
.radio-icon {
  display: block;
  margin: 0 auto;
}
/* Image styling */
.yaoi-img {
  display: block;
  width: 260px;       /* fixed size */
  height: auto;       /* keeps proportions */
  margin: 20px 0;     /* vertical spacing */
  margin-left: 0;     /* aligns left */
}

/* Row with image + text side by side */
.text-image-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;          /* space between image and text */
}

/* Text block next to the image */
.yaoi-text {
  max-width: 400px;
}
.tropes-box {
  background-color: #2a003f; /* dark purple */
  color: #f0f0f0;
  padding: 15px;
  border-radius: 8px;
  width: fit-content;
}

.tropes-box h3 {
  margin: 0 0 10px 0;
  font-size: 1.2em;
  font-weight: bold;
}

/* Clickable box styling */
.click-box {
  margin-top: 20px;
  font-family: inherit;
  background-color: #2a003f; /* deep dark purple */
  color: #f0f0f0;
  padding: 10px;
  border-radius: 8px;
  width: fit-content;
  cursor: pointer;
  box-shadow: none;   /* removes any glow or shadow */
}
/* Summary inside the clickable box */
.click-box summary {
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
}
section {
	border: 2px ridge var(--border);
	border-radius: 5px;
	background: linear-gradient(var(--gradientTop),var(--gradientBottom));
	padding: 5px;
}
.center-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
}

.frame-container {
  position: relative;
  display: inline-block;
}

.frame-img {
  display: block;
  max-width: 100%;
}

.overlay-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 60%;
  border: none;
}
footer {
	text-align: center;
	margin-bottom: 5vw;
	font-size: 0.8rem;
}
footer a { 
	text-decoration: none;
}
.box-image-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 20px;
  flex-wrap: wrap; /* allows stacking on small screens */
}

.fenwiw-img {
  max-width: 150px;   /* hard cap */
  width: 100%;        /* scales down to fit */
  height: auto;       /* keeps proportions */
  border-radius: 8px;
  display: block;
}
.ship-pair {
  display: flex;              /* puts list and image side by side */
  align-items: flex-start;    /* aligns them at the top */
  gap: -80px;                  /* space between list and image */
}

.meow-gif {
  max-width: 250px;           /* control image size */
  height: 250px;
  border-radius: 8px;
}
h1, h2, h3, h4, h5, h6, p  { 
	margin: 5px;
	line-height: 1.2;
}
h1 { 
	font-size: 1.4rem;
	letter-spacing: 2px;
	font-weight: normal;
	text-align: center;
	border-bottom: 2px ridge var(--border);
	padding-bottom: 5px;
}
h2 { 
	font-size: 1.25rem;
	font-weight: normal;
	text-align: center;
}
h3 { 
	font-size: 1.1rem;
}
h4 { 
	font-size: 1rem;
	color: var(--accent);
	padding-left: 12px;
}

/* prevents overflow on smaller screens */
img { max-width: 100%; }
pre { overflow-x: auto; }


a:hover, a:focus {
	font-style: italic;
}
a:visited {
	color: var(--accent);
}
