:root {
  --bg0: #070a14;
  --bg1: #0b1020;
  --card: rgba(255, 255, 255, .04);
  --text: #eaf0ff;
  --muted: #b9c3e6;
  --line: rgba(255, 255, 255, .1);
  --pink: #ff5ea8;
  --cyan: #39d5ff;
  --gold: #ffd36b;
  --shadow: 0 12px 40px rgba(0, 0, 0, .5);
  --radius: 20px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: 
    radial-gradient(circle at 10% 10%, rgba(255, 94, 168, 0.12), transparent 50%),
    radial-gradient(circle at 90% 90%, rgba(57, 213, 255, 0.08), transparent 50%),
    var(--bg0);
  background-attachment: fixed;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Mountain Decoration */
.mountains {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 35vh;
  background: linear-gradient(to top, var(--bg0) 10%, transparent),
              url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%230b1020' d='M0,224L60,202.7C120,181,240,139,360,144C480,149,600,203,720,202.7C840,203,960,149,1080,128C1200,107,1320,117,1380,122.7L1440,128L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

header {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 50px;
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 22px;
}

.logo-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 18px;
  filter: drop-shadow(0 0 15px rgba(57, 213, 255, 0.3));
}

h1 { 
  margin: 0; 
  font-size: clamp(1.8rem, 5vw, 2.8rem); 
  letter-spacing: -1px; 
  background: linear-gradient(to right, #fff, var(--muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle { color: var(--muted); margin: 5px 0 0; font-size: 1.1rem; }

.nav-btns { display: flex; gap: 15px; flex-wrap: wrap; }

.btn {
  padding: 12px 24px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  background: var(--card);
  border: 1px solid var(--line);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Layout Grid */
.content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; }
}

section h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 1px;
}

section h2 .icon { color: var(--cyan); }

/* YouTube Section */
.video-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.video-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.video-card:hover {
  border-color: var(--pink);
  background: rgba(255, 255, 255, 0.07);
  transform: translateX(5px);
}

.video-thumb {
  width: 160px;
  min-width: 160px;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
}

.video-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-info span { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.video-info small { color: var(--muted); font-size: 12px; }

/* Mods Section & Quality Fix */
.mods-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mod-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.3s ease;
  display: block;
  line-height: 0;
  background: #000;
}

.mod-embed:hover {
  transform: scale(1.03);
  border-color: var(--cyan);
  box-shadow: 0 0 30px rgba(57, 213, 255, 0.2);
}

.mod-embed img {
  width: 100%;
  height: auto;
  /* Quality Fix: Makes small embeds look sharper/pixel-art style rather than blurry */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: brightness(1.05) contrast(1.1);
}