:root {
  --primary-red: #ff1a1a;
  --dark-red: #990000;
  --accent-red: #ff4d4d;
  --black: #0a0a0a;
  --dark-gray: #1a1a1a;
  --light-gray: #333333;
  --text-color: #ffffff;
  --text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  --box-shadow: 0 5px 15px rgba(153, 0, 0, 0.4);
}

body {
  font-family: 'Gothic', Arial, sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

/* Update background wrapper */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/images/profile-banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.3);
  z-index: -2;
}

/* Add gradient overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(10, 10, 10, 0.9) 0%,
      rgba(26, 26, 26, 0.85) 100%);
  z-index: -1;
}

h1,
h2 {
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: var(--text-shadow);
  border-bottom: 2px solid var(--dark-red);
  padding-bottom: 15px;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

h1::after,
h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: var(--accent-red);
  box-shadow: var(--text-shadow);
}

.twitch-embed {
  margin: 30px 0;
  border: 3px solid var(--dark-red);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  position: relative;
  transition: transform 0.3s ease;
}

.twitch-embed:hover {
  transform: translateY(-5px);
}

.twitch-embed iframe {
  display: block;
  width: 100%;
  border: none;
  height: 480px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(45deg,
      rgba(26, 26, 26, 0.8) 0%,
      rgba(51, 51, 51, 0.8) 100%);
  backdrop-filter: blur(5px);
  border-radius: 12px;
  justify-content: center;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--dark-red);
}

.social-links a {
  color: var(--text-color);
  text-decoration: none;
  padding: 12px 25px;
  background: linear-gradient(to bottom, var(--dark-red) 0%, var(--primary-red) 100%);
  border-radius: 8px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: 0.5s;
}

.social-links a:hover::before {
  left: 100%;
}

.social-links a:hover {
  background: linear-gradient(to bottom, var(--primary-red) 0%, var(--dark-red) 100%);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.social-links a img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.social-links a img:not(.bluesky-icon) {
  filter: brightness(0) invert(1);
}

.bluesky-icon {
  filter: brightness(0) invert(1) sepia(100%) saturate(1000%) hue-rotate(180deg);
}

.social-links a:hover img {
  transform: scale(1.1);
}

.webp-icon {
  object-fit: contain;
}

.vods-section {
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(45deg,
      rgba(26, 26, 26, 0.8) 0%,
      rgba(51, 51, 51, 0.8) 100%);
  backdrop-filter: blur(5px);
  border-radius: 12px;
  border: 1px solid var(--dark-red);
  box-shadow: var(--box-shadow);
}

#vods-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.vod-item {
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(5px);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--dark-red);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.vod-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.vod-item a {
  text-decoration: none;
  color: var(--text-color);
}

.vod-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.vod-item:hover img {
  transform: scale(1.05);
}

.vod-item h3 {
  margin: 15px;
  font-size: 1.1rem;
  color: var(--primary-red);
  text-shadow: var(--text-shadow);
}

.vod-item p {
  margin: 10px 15px;
  font-size: 0.9rem;
  color: #bbb;
}

.vod-item p:last-child {
  margin-bottom: 15px;
}

/* Loading Animation */
@keyframes fadeInOut {
  0% {
    opacity: 0.3;
    transform: scale(0.95);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0.3;
    transform: scale(0.95);
  }
}

.loading {
  animation: fadeInOut 2s infinite;
  text-align: center;
  color: var(--primary-red);
  font-size: 1.2rem;
  padding: 20px;
  text-shadow: var(--text-shadow);
}

/* Error Message */
.error-message {
  color: var(--primary-red);
  text-align: center;
  padding: 20px;
  background: rgba(153, 0, 0, 0.1);
  border-radius: 8px;
  border: 1px solid var(--dark-red);
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 20px 15px;
  }

  .social-links {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 15px;
  }

  .social-links a {
    justify-content: center;
  }

  .twitch-embed iframe {
    height: 300px;
  }

  h1 {
    font-size: 24px;
  }

  .vods-section {
    padding: 20px;
  }

  #vods-container {
    gap: 20px;
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--dark-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--dark-red);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-red);
}

.about-section {
  margin: 40px 0;
  padding: 30px;
  background: linear-gradient(45deg,
      rgba(26, 26, 26, 0.8) 0%,
      rgba(51, 51, 51, 0.8) 100%);
  backdrop-filter: blur(5px);
  border-radius: 12px;
  border: 1px solid var(--dark-red);
  box-shadow: var(--box-shadow);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-description {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 30px;
  text-shadow: var(--text-shadow);
  color: var(--text-color);
}

.credits {
  border-top: 1px solid var(--dark-red);
  padding-top: 20px;
  font-size: 0.95rem;
  color: #bbb;
}

.credits p {
  margin: 10px 0;
}

.credits a,
.credit-name {
  color: var(--primary-red);
  text-decoration: none;
  transition: color 0.3s ease;
}

.credits a:hover {
  color: var(--accent-red);
  text-decoration: underline;
}

/* Update responsive design for about section */
@media (max-width: 768px) {
  .about-section {
    padding: 20px;
  }

  .about-description {
    font-size: 1.1rem;
  }
}

.stream-container {
  position: relative;
  margin: 30px 0;
}

.chat-button {
  position: absolute;
  right: -70px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(to bottom, var(--dark-red) 0%, var(--primary-red) 100%);
  color: var(--text-color);
  text-decoration: none;
  padding: 15px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: 1px solid var(--dark-red);
  box-shadow: var(--box-shadow);
}

.chat-button:hover {
  transform: translateY(-50%) scale(1.05);
  background: linear-gradient(to bottom, var(--primary-red) 0%, var(--dark-red) 100%);
}

.chat-button span {
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

.chat-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Responsive design for chat button */
@media (max-width: 1300px) {
  .chat-button {
    position: static;
    transform: none;
    margin-top: 20px;
    flex-direction: row;
    justify-content: center;
  }

  .chat-button:hover {
    transform: scale(1.05);
  }

  .chat-button span {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .stream-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.vods-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.youtube-vods-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: linear-gradient(to bottom, var(--dark-red) 0%, var(--primary-red) 100%);
  color: var(--text-color);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 1px solid var(--dark-red);
  box-shadow: var(--box-shadow);
}

.youtube-vods-link:hover {
  transform: translateY(-2px);
  background: linear-gradient(to bottom, var(--primary-red) 0%, var(--dark-red) 100%);
}

.youtube-vods-link img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

/* Update responsive design */
@media (max-width: 768px) {
  .vods-header {
    justify-content: center;
  }
}