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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  background-color: #0a0a0a;
  color: #fff;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

/* Video Backgrounds */
.video-background,
.lessblur {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: blur(2px) brightness(0.35);
  transition: filter 0.6s ease, opacity 0.6s ease;
}

.lessblur {
  filter: blur(1px) brightness(0.35);
}

.video-background.dimmed,
.lessblur.dimmed {
  filter: blur(4px) brightness(0.12);
  opacity: 0.4;
}

.blank-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Header */
header {
  padding: 24px 0;
  text-align: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f0f0f0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* Navigation */
nav {
  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0 16px;
  flex-wrap: wrap;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: #e0e0e0;
  text-decoration: none;
  padding: 14px 20px;
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s, background-color 0.2s;
  border-radius: 4px;
}

nav ul li a:hover {
  color: #fff;
  background-color: rgba(180, 30, 30, 0.6);
}

/* Dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: rgba(22, 22, 22, 0.97);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  z-index: 200;
}

.dropdown-content a {
  padding: 12px 20px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background-color 0.2s;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background-color: rgba(180, 30, 30, 0.4);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Social Buttons */
.discord-button,
.btn-discord {
  border-radius: 20px !important;
  background-color: #5865f2 !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  font-size: 0.8rem !important;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s !important;
}

.discord-button:hover,
.btn-discord:hover {
  background-color: #4752c4 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.4);
}

.youtube-button,
.btn-youtube {
  border-radius: 20px !important;
  background-color: #c62828 !important;
  font-weight: 700 !important;
  padding: 10px 22px !important;
  font-size: 0.8rem !important;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s !important;
}

.youtube-button:hover,
.btn-youtube:hover {
  background-color: #a51c1c !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(198, 40, 40, 0.4);
}

/* Main Content */
main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 24px;
}

/* Content Card */
.content-card {
  max-width: 800px;
  width: 100%;
  background: rgba(12, 12, 12, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

/* Mod Hero Section - Logo + Video side by side */
.mod-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.mod-logo {
  flex: 0 0 auto;
}

.mod-logo img {
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
  transition: transform 0.3s;
}

.mod-logo img:hover {
  transform: scale(1.03);
}

.mod-video {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.mod-video iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Section Typography */
.content-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #f5f5f5;
  text-align: center;
}

.content-card p {
  color: #c8c8c8;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.content-card p u {
  text-decoration-color: rgba(198, 40, 40, 0.7);
}

/* Download Links */
.download-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.download-list li a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 20px;
  background-color: #c62828;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.download-list li a:hover {
  background-color: #a51c1c;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(198, 40, 40, 0.4);
}

.download-list li a.alt-link {
  background-color: #37474f;
}

.download-list li a.alt-link:hover {
  background-color: #263238;
  box-shadow: 0 4px 16px rgba(55, 71, 79, 0.4);
}

/* Optional skins / notes */
.note {
  text-align: center;
  color: #999;
  font-size: 0.84rem;
  margin-top: 16px;
}

.note a {
  color: #ef5350;
  text-decoration: none;
  transition: color 0.2s;
}

.note a:hover {
  color: #fff;
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 24px;
  text-align: center;
}

footer p {
  font-size: 0.78rem;
  color: #888;
  font-style: italic;
}

/* Glitch Effect */
.glitch {
  font-family: monospace;
  color: #ef5350;
}

/* Dom image (legacy support) */
.dom-image img {
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
}

/* Responsive */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.5rem;
  }

  nav ul {
    gap: 0;
  }

  nav ul li a {
    padding: 12px 14px;
    font-size: 0.75rem;
  }

  .content-card {
    padding: 32px 24px;
  }

  .mod-hero {
    flex-direction: column;
    gap: 24px;
  }

  .mod-video {
    max-width: 100%;
  }

  .dropdown-content {
    min-width: 220px;
  }
}

@media (max-width: 480px) {
  nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  nav ul li a {
    text-align: center;
  }

  .dropdown-content {
    position: static;
    border-radius: 0;
    box-shadow: none;
  }

  main {
    padding: 24px 16px;
  }

  .mod-logo img {
    max-width: 160px;
  }
}
