* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #000000;
  color: #ffff00;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 15px;
  line-height: 1.5;
  padding: 40px 0;
  margin: 0;
  overflow-x: auto;
  min-width: 1200px;
}

a {
  color: #ff00ff;
  text-decoration: underline;
  transition: color 0.15s ease;
}

a:hover {
  color: #ffffff;
  background-color: #8b0000;
  text-decoration: none;
}

.site-wrapper {
  width: 980px;
  min-width: 980px;
  margin: 0 auto;
  position: relative;
  overflow: visible;
}

.content-grid {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.blood-spatter {
  position: absolute;
  pointer-events: none;
  user-select: none;
  image-rendering: auto;
}

.blood-spatter-1 {
  bottom: -50px;
  left: -85px;
  width: 190px;
  z-index: 15;
}

.blood-spatter-2 {
  bottom: -65px;
  right: -55px;
  width: 320px;
  z-index: 12;
}

.blood-spatter-3 {
  top: -40px;
  right: -100px;
  width: 430px;
  z-index: 4;
}

.blood-spatter-4 {
  top: 270px;
  left: -10px;
  width: 460px;
  z-index: 20;
}

.sidebar-left {
  width: 195px;
  flex-shrink: 0;
  text-align: center;
  position: relative;
  z-index: 5;
}

.profile-box {
  background: #000000;
  border: 2px solid #8b0000;
  padding: 10px;
  margin-bottom: 12px;
  position: relative;
  z-index: 10;
}

.avatar-img {
  width: 100%;
  max-width: 155px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 2px solid #ffffff;
  display: block;
  margin: 0 auto 8px auto;
  image-rendering: pixelated;
}

.profile-handle {
  display: inline-block;
  font-weight: bold;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 1px;
  text-decoration: underline;
}

.profile-handle:hover {
  color: #ffffff;
  background-color: transparent;
  text-decoration: underline;
  opacity: 0.85;
}

.profile-quote {
  font-size: 11px;
  color: #cccccc;
  font-style: italic;
  margin: 6px 0 8px 0;
  line-height: 1.35;
  letter-spacing: 0.2px;
}

.profile-status {
  font-size: 12px;
  color: #00ff00;
  font-family: monospace;
}

.divider {
  color: #ffff00;
  font-family: monospace;
  font-size: 14px;
  margin: 12px 0;
  letter-spacing: 2px;
  overflow: hidden;
  white-space: nowrap;
}

.sidebar-section {
  text-align: left;
  padding: 0 4px;
  position: relative;
  z-index: 5;
}

.sidebar-label {
  color: #ffff00;
  font-size: 14px;
  margin-bottom: 8px;
  text-align: center;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.album-card {
  border: 1px solid #8b0000;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000000;
  position: relative;
  z-index: 5;
  cursor: default;
  transition: border-color 0.15s ease;
}

.album-card:hover {
  border-color: #ff0000;
}

.album-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.album-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 9px;
  font-family: monospace;
  font-weight: bold;
  text-align: center;
  padding: 2px;
  border: 1px inset #444444;
}

.counter-box {
  border: 2px solid #8b0000;
  padding: 10px 8px;
  background: #000000;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.counter-label {
  font-size: 11px;
  color: #aaaaaa;
  margin-bottom: 6px;
  text-align: center;
}

.counter-display {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #000000;
  padding: 4px 12px;
  border: 2px inset #999999;
  font-family: monospace;
  font-weight: bold;
  font-size: 15px;
  letter-spacing: 2px;
}

.main-column {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 3;
}

.main-banner-container {
  border: 2px solid #8b0000;
  background: #000000;
  margin-bottom: 12px;
  position: relative;
  z-index: 6;
  overflow: hidden;
}

.main-banner-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  image-rendering: auto;
}

.buttons-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.btn-item {
  display: inline-block;
  line-height: 0;
  cursor: default;
  user-select: none;
  transition: transform 0.1s ease;
}

.btn-item:hover {
  transform: translateY(-1px);
}

.btn-item img {
  display: block;
  image-rendering: pixelated;
  border: 1px solid #555555;
  max-height: 33px;
  width: auto;
}

.files-container {
  border: 2px solid #8b0000;
  background-color: #000000;
  padding: 38px 18px 24px 18px;
  margin-bottom: 16px;
  position: relative;
  z-index: 5;
}

.files-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 14px;
  align-items: start;
  position: relative;
  z-index: 5;
}

.file-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 5;
  cursor: pointer;
  user-select: none;
  transition: transform 0.15s ease;
}

.file-item:hover {
  transform: translateY(-2px);
}

.file-thumb-frame {
  width: 100%;
  height: 140px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-thumb-frame img,
.file-thumb-frame video {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transition: filter 0.15s ease;
}

.file-item:hover img,
.file-item:hover video {
  filter: brightness(1.15);
}

.file-thumb-placeholder {
  width: 80%;
  height: 100%;
  background: #080808;
}

.file-name {
  color: #ffffff;
  font-family: monospace;
  font-size: 11px;
  text-align: center;
  margin-top: 6px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-item:hover .file-name {
  color: #ffff00;
}

.site-footer {
  text-align: center;
  padding: 15px 0 5px 0;
  font-size: 13px;
  color: #ffff00;
}

.media-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.media-modal.active {
  display: flex;
}

.media-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  cursor: pointer;
}

.media-modal-window {
  position: relative;
  z-index: 10000;
  background: transparent;
  border: none;
  box-shadow: none;
  width: fit-content;
  min-width: 260px;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: modalPop 0.12s ease-out;
}

@keyframes modalPop {
  from {
    transform: scale(0.97);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.media-modal-header {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  padding-bottom: 6px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.media-modal-title {
  color: #ffffff;
  font-family: monospace;
  font-size: 12px;
  font-weight: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-modal-close-btn {
  background: transparent;
  border: none;
  color: #cccccc;
  font-family: monospace;
  font-size: 13px;
  font-weight: bold;
  padding: 0 4px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.1s ease;
}

.media-modal-close-btn:hover {
  color: #ff3333;
  background: transparent;
}

.media-modal-body {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.player-media-video {
  max-width: 85vw;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  outline: none;
  background: #000000;
}

.player-media-img {
  max-width: 85vw;
  max-height: 75vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}