/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #0a0a0f;
  --color-bg-secondary: #12121a;
  --color-accent: #8b5cf6;
  --color-accent-hover: #a78bfa;
  --color-twitch: #9146ff;
  --color-text: #ffffff;
  --color-text-muted: #a1a1aa;
  --color-border: #27272a;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: white;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-text-muted);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: white;
}

.btn-twitch {
  background: var(--color-twitch);
  color: white;
}

.btn-twitch:hover {
  background: #7c3aed;
  transform: translateY(-2px);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--color-accent);
}

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

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}

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

.nav-links .btn-links {
  background: var(--color-accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.nav-links .btn-links:hover {
  background: var(--color-accent-hover);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

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

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  gap: 1rem;
  background: var(--color-bg-secondary);
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu a {
  font-size: 1rem;
  color: var(--color-text-muted);
  padding: 0.5rem 0;
}

.mobile-menu.active {
  display: flex;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video video,
.hero-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 15, 0.7) 0%, rgba(10, 10, 15, 0.85) 50%, rgba(10, 10, 15, 1) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 900px;
}

.hero-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(3.5rem, 12vw, 8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

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

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text);
}

#twitch-followers {
  font-size: inherit; /* Match parent .stat font size */
  font-weight: 700;
  display: block;
}

/* If you need to match .stat-number exactly, use: */
.stat #twitch-followers {
  font-size: 2rem; /* Adjust to match your .stat-number size */
  font-weight: 700;
}

.twitch-followers {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text);
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: bounce 2s infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Releases Section */
.releases {
  padding: 6rem 0;
  background: var(--color-bg);
}

.releases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.release-card {
  background: var(--color-bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.release-card:hover {
  transform: translateY(-8px);
}

.release-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.release-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.release-card:hover .release-image img {
  transform: scale(1.1);
}

.release-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.release-card:hover .release-overlay {
  opacity: 1;
}

.play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.3s ease, background 0.3s ease;
}

.play-btn:hover {
  transform: scale(1.1);
  background: var(--color-accent-hover);
}

.release-info {
  padding: 1.25rem;
}

.release-type {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}

.release-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0.25rem 0;
}

.release-date {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.releases-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Stream Section */
.stream {
  padding: 6rem 0;
  background: var(--color-bg-secondary);
}

.stream-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.stream-content .section-tag,
.stream-content .section-title {
  text-align: left;
}

.stream-description {
  color: var(--color-text-muted);
  margin: 1rem 0 2rem;
  line-height: 1.7;
}

.stream-schedule h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.schedule-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.schedule-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 8px;
  border-left: 3px solid var(--color-accent);
}

.schedule-list .day {
  font-weight: 600;
  min-width: 90px;
}

.schedule-list .time {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.schedule-list .type {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-accent);
}

.stream-preview {
  position: relative;
}

.stream-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-bg);
}

.stream-status {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  z-index: 1;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
}

.stream-status.live .status-dot {
  background: #22c55e;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.stream-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.stream-info-card {
  padding: 1rem 1.25rem;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.stream-info-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-twitch);
}

.stream-info-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* About Section */
.about {
  padding: 6rem 0;
  background: var(--color-bg);
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 2px solid var(--color-accent);
  border-radius: 12px;
  z-index: -1;
}

.about-content .section-tag,
.about-content .section-title {
  text-align: left;
}

.about-content p {
  color: var(--color-text-muted);
  margin: 1rem 0;
  line-height: 1.7;
}

.about-highlights {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.highlight {
  display: flex;
  flex-direction: column;
}

.highlight-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
}

.highlight-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Footer */
.footer {
  padding: 3rem 0 1.5rem;
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-text-muted);
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: var(--color-accent);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

/* Responsive */
@media (max-width: 968px) {
  .stream-wrapper,
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-wrapper {
    direction: ltr;
  }

  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }

  .stream-content .section-tag,
  .stream-content .section-title,
  .about-content .section-tag,
  .about-content .section-title {
    text-align: center;
  }

  .stream-description,
  .about-content p {
    text-align: center;
  }

  .stream-schedule {
    max-width: 500px;
    margin: 0 auto 2rem;
  }

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

  .about-highlights {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .twitch-followers {
    font-size: 1.5rem;
  }

  .schedule-list li {
    flex-wrap: wrap;
  }

  .schedule-list .type {
    margin-left: 0;
    width: 100%;
    margin-top: 0.25rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .about-highlights {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}
