/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #ff0000;
  --red-dark: #cc0000;
  --red-glow: rgba(255, 0, 0, 0.4);
  --red-subtle: rgba(255, 0, 0, 0.08);
  --bg: #000000;
  --bg-card: #0a0a0a;
  --bg-card-hover: #111111;
  --border: rgba(255, 0, 0, 0.15);
  --text: #ffffff;
  --text-muted: #888888;
  --text-dim: #555555;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--red-dark) var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red-dark); border-radius: 4px; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.92);
  box-shadow: 0 4px 30px rgba(255, 0, 0, 0.1);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.nav-brand img {
  width: 36px;
  height: 36px;
}

.nav-brand span {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--red);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: 12px;
  color: var(--red);
  text-shadow: 0 0 40px var(--red-glow), 0 0 80px rgba(255, 0, 0, 0.2);
  line-height: 1;
  margin-bottom: 1rem;
  user-select: none;
}

.hero-tagline {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: var(--text-muted);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-socials {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.hero-socials a:hover {
  border-color: var(--red);
  background: var(--red-subtle);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.2);
}

.hero-socials a svg {
  width: 22px;
  height: 22px;
  fill: var(--text-muted);
  transition: fill 0.3s ease;
}

.hero-socials a:hover svg {
  fill: var(--red);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-dim);
}

/* ===== SECTIONS ===== */
section {
  padding: 6rem 2rem;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: 2px;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--red);
  margin: 1.5rem auto 0;
  border-radius: 2px;
  box-shadow: 0 0 15px var(--red-glow);
}

/* ===== YOUTUBE SECTION ===== */
#youtube {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(255, 0, 0, 0.02) 50%, var(--bg) 100%);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.video-card:hover {
  border-color: rgba(255, 0, 0, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255, 0, 0, 0.1);
}

.video-card.featured {
  grid-column: 1 / -1;
}

.video-card.featured .video-wrapper {
  padding-bottom: 45%;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #111;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-info {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.video-info .platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  flex-shrink: 0;
}

.video-info .platform-badge svg {
  width: 14px;
  height: 14px;
  fill: var(--red);
}

.video-info .video-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

/* ===== SKELETON LOADING ===== */
@keyframes shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.skeleton {
  background: linear-gradient(90deg, #111 25%, #1a1a1a 50%, #111 75%);
  background-size: 800px 100%;
  animation: shimmer 1.5s infinite linear;
}

.skeleton-card .video-info {
  padding: 1rem 1.25rem;
}

.skeleton-text {
  display: block;
  height: 14px;
  width: 120px;
  border-radius: 4px;
  background: linear-gradient(90deg, #111 25%, #1a1a1a 50%, #111 75%);
  background-size: 800px 100%;
  animation: shimmer 1.5s infinite linear;
}

/* ===== TWITCH SECTION ===== */
#twitch {
  background: var(--bg);
}

.twitch-container {
  max-width: 1000px;
  margin: 0 auto;
}

.twitch-embed-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.twitch-embed-wrapper:hover {
  border-color: rgba(255, 0, 0, 0.4);
  box-shadow: 0 12px 40px rgba(255, 0, 0, 0.1);
}

.twitch-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #111;
}

.twitch-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.twitch-info {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.twitch-channel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.twitch-channel .live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  animation: pulse-dot 2s infinite;
}

.twitch-channel span {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
}

.twitch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--red);
  color: var(--red);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.twitch-btn:hover {
  background: var(--red);
  color: var(--text);
  box-shadow: 0 0 25px var(--red-glow);
}

.twitch-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.twitch-vod-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.twitch-vod-title {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  color: var(--text);
}

.twitch-vod-details {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.live-dot.is-live {
  background: #ff0000;
  box-shadow: 0 0 10px #ff0000;
  animation: pulse-dot 2s infinite;
}

/* ===== INSTAGRAM SECTION ===== */
#instagram {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(255, 0, 0, 0.02) 50%, var(--bg) 100%);
}

.instagram-container {
  max-width: 800px;
  margin: 0 auto;
}

.instagram-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  transition: all 0.3s ease;
}

.instagram-card:hover {
  border-color: rgba(255, 0, 0, 0.4);
  box-shadow: 0 12px 40px rgba(255, 0, 0, 0.1);
}

.instagram-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--red), #cc0000);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.instagram-icon svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.instagram-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.instagram-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--red);
  color: var(--text);
  text-decoration: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3);
}

.instagram-btn:hover {
  background: #e60000;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 0, 0, 0.4);
}

.instagram-btn svg {
  width: 18px;
  height: 18px;
  fill: white;
}

/* ===== FOOTER ===== */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  border-color: var(--red);
  background: var(--red-subtle);
}

.footer-socials a svg {
  width: 18px;
  height: 18px;
  fill: var(--text-muted);
  transition: fill 0.3s ease;
}

.footer-socials a:hover svg {
  fill: var(--red);
}

.footer-text {
  color: var(--text-dim);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ===== ANIMATIONS ===== */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  section {
    padding: 4rem 1.25rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-card.featured {
    grid-column: 1;
  }

  .video-card.featured .video-wrapper {
    padding-bottom: 56.25%;
  }

  .instagram-card {
    padding: 2rem 1.5rem;
  }

  .twitch-info {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    letter-spacing: 6px;
  }

  .hero-tagline {
    letter-spacing: 2px;
    font-size: 0.8rem;
  }
}
