/* Reset & Box Sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body & base font styling */
body {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 400;
  color: #00ff00;
  text-shadow: 0 0 3px #00ff00;
  background-color: black;  /* black behind background image, just in case */
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* All text containers have transparent bg to show background */
p, h1, h2, h3, h4, h5, h6, div {
  background-color: transparent;
  font-family: inherit;
  font-weight: inherit;
  color: inherit;
  text-shadow: inherit;
}

/* Headers */
h1, h2 {
  color: #66ffa1;
  text-shadow:
    0 0 3px #00db2c,
    0 0 6px #00db2c,
    0 0 10px #00db2c;
  font-weight: 400;
  margin-bottom: 8px;
}

/* Background image behind everything */
.background-image {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: url('mw2/codbg.webp') center/cover no-repeat fixed;
  z-index: -1;
  opacity: 1;
}

/* CRT overlay effect */
.crt::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(rgba(18,16,16,0) 50%, rgba(0,0,0,0.25) 50%),
    linear-gradient(90deg, rgba(255,0,0,0.06), rgba(0,255,0,0.02), rgba(0,0,255,0.06));
  background-size: 100% 2px, 3px 100%;
}

/* Custom cursor */
html, body {
  cursor: url('mw2/codhitmarker.webp') 4 4, default;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
  background: #00ff00;
  border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00cc00;
}

/* Collapsible button style */
.collapsible {
  background-color: #00db2c;
  color: black;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: 2px solid #00db2c;
  border-bottom: none;
  text-align: left;
  font-size: 20px;
  font-family: monospace;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  user-select: none;
}

.collapsible:hover,
.collapsible.active {
  background-color: #009922;
}

/* Collapsible content */
.content {
  background-color: black;
  color: #00db2c;
  font-family: monospace;
  border: 2px solid #00db2c;
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  box-sizing: border-box;
}

/* Text selection styling */
::selection {
  background-color: #00db2c;
  color: black;
  text-shadow: none;
}
::-moz-selection {
  background-color: #00db2c;
  color: black;
  text-shadow: none;
}

/* Header block styling */
.header {
  border: 1px solid #00db2c;
  background: linear-gradient(to bottom, #00db2c 0%, #33ff66 40%, #00cc44 100%);
  color: black;
  text-align: center;
  height: 30px;
  font-size: 20px;
  line-height: 30px;
  font-family: 'Courier New', Courier, monospace;
  margin: 20px auto 10px auto;
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
}

/* Heart wrapper & masks */
.heart-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  margin-bottom: 10px;
}

/* Heart mask base styles */
.heart-maskmprice,
.heart-maskmsoap,
.heart-maskmghost,
.heart-maskmroach,
.heart-maskmshep {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  -webkit-mask-image: url("images/heartmask.png");
  -webkit-mask-size: cover;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url("images/heartmask.png");
  mask-size: cover;
  mask-repeat: no-repeat;
  mask-position: center;
  position: relative;
  z-index: 2;
}

/* Individual heart images */
.heart-maskmprice {
  background-image: url("mw2/Captain_Price.png");
}
.heart-maskmsoap {
  background-image: url("mw2/Captain-Soap.jpg");
}
.heart-maskmghost {
  background-image: url("mw2/Screenshot 2025-06-17 204154.png");
}
.heart-maskmroach {
  background-image: url("mw2/Screenshot 2025-06-17 205216.png");
}
.heart-maskmshep {
  background-image: url("mw2/Shepherd_infobox_MW2.jpg");
}

/* Hover glow effect on hearts */
.heart-wrapper::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("mw2/Untitled61_20250617205653.png") no-repeat center center;
  background-size: cover;
  filter: blur(8px) brightness(2) drop-shadow(0 0 15px hotpink);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.heart-wrapper:hover::before {
  opacity: 1;
}

/* Layout containers */
#main-content {
  display: flex;
  flex-wrap: nowrap; /* one row by default */
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  max-width: 1600px;
  margin: auto;
}

/* Left column narrower */
.left-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 0 0 250px;       /* fixed width around 250px */
  max-width: 250px;
  min-height: 0;
  overflow: visible;
}

/* Other box inside left column */
.other-box {
  border: 1px solid #00db2c;
  background-color: black;
  width: 100%;           /* use full width of left column */
  max-height: 900px;
  overflow-y: auto;
  padding: 10px;
  box-sizing: border-box;
}

/* Big box main content wider */
.big-box {
  flex: 1 1 950px;      /* grow/shrink, base 950px */
  max-width: 950px;
  border: 1px solid #00db2c;
  background-color: black;
  margin-top: 0;
  min-height: 0;
  max-height: 900px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

/* Banner inside big box */
.banner {
  width: 100%;
  aspect-ratio: 900 / 370;
  background: url("mw2/banner.webp") center/cover no-repeat;
  border: 1px solid #00db2c;
  box-sizing: border-box;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #main-content {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
  }
  .left-column, .other-box, .big-box {
    max-width: 100%;
    width: 100%;
  }
  .other-box {
    max-height: none;
    overflow: visible;
  }
  .big-box {
    max-height: none;
    overflow: visible;
  }
}
