:root {
  --bg: #0a0e14;
  --bg-alt: #0d1320;
  --panel: #111826;
  --panel-border: #1e2a3f;
  --text: #e8edf5;
  --text-dim: #8b98ac;
  --accent: #3ec1ff;
  --accent2: #7c5cff;
  --live: #ff3b5c;
  --twitch: #9146ff;
  --youtube: #ff0033;
  --tiktok: #25f4ee;
  --discord: #5865f2;
  --x: #e8edf5;
  --radius: 14px;
  --font-display: "Rajdhani", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, .brand { font-family: var(--font-display); }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 10%, rgba(62, 193, 255, 0.14), transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(124, 92, 255, 0.12), transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(62, 193, 255, 0.08), transparent 50%);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10, 14, 20, 0.75);
  border-bottom: 1px solid var(--panel-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  color: var(--text);
  text-decoration: none;
}

.brand-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  object-fit: cover;
}

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

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

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

.header-right { display: flex; align-items: center; gap: 12px; }

.header-cta { padding: 9px 18px; font-size: 0.9rem; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  animation: pulse 1.4s infinite;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #05070c;
  box-shadow: 0 0 24px rgba(62, 193, 255, 0.35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 28px rgba(62, 193, 255, 0.5); }

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

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

.btn-discord {
  background: var(--discord);
  color: #fff;
  box-shadow: 0 0 24px rgba(88, 101, 242, 0.35);
}

.btn-discord:hover { transform: translateY(-2px); box-shadow: 0 4px 28px rgba(88, 101, 242, 0.55); }

.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* Hero */
.hero { padding: 80px 0 60px; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.03;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff, #b9d9ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

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

.stat strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
}

.stat span {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.hero-art {
  display: flex;
  justify-content: center;
}

.avatar-ring {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  padding: 6px;
  background: conic-gradient(from 0deg, var(--accent), var(--accent2), var(--accent));
  animation: spin 8s linear infinite;
  box-shadow: 0 0 60px rgba(62, 193, 255, 0.25);
}

.avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg);
  display: block;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 1rem;
}

/* Stream / video embeds */
.stream-embed {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--panel-border);
  box-shadow: 0 0 50px rgba(62, 193, 255, 0.12);
  background: #000;
}

.stream-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.stream-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Schedule */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.day {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 20px 8px;
  text-align: center;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.day span {
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.day.off { opacity: 0.4; }

.day.on {
  border-color: rgba(62, 193, 255, 0.4);
  box-shadow: 0 0 16px rgba(62, 193, 255, 0.1);
}

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

.schedule-note {
  text-align: center;
  color: var(--text-dim);
  margin-top: 20px;
  font-size: 0.9rem;
}

/* Games */
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.game-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.game-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--accent);
}

.game-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* Videos */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.video-card {
  display: block;
  text-decoration: none;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.video-info {
  padding: 14px 16px;
}

.video-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.videos-cta {
  text-align: center;
  margin-top: 36px;
}

/* Story */
.story-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}

.story-art {
  font-size: 5rem;
  line-height: 1;
}

.story-text {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 16px;
  max-width: 640px;
}

.story-text strong { color: var(--accent); }

.story .section-title { text-align: left; }

/* Follow */
.follow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.follow-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.follow-icon { font-size: 2rem; margin-bottom: 6px; }

.follow-name { font-weight: 700; font-size: 1.05rem; }

.follow-handle { color: var(--text-dim); font-size: 0.85rem; }

.follow-card.twitch:hover { border-color: var(--twitch); box-shadow: 0 0 20px rgba(145, 70, 255, 0.25); transform: translateY(-4px); }
.follow-card.youtube:hover { border-color: var(--youtube); box-shadow: 0 0 20px rgba(255, 0, 51, 0.25); transform: translateY(-4px); }
.follow-card.discord:hover { border-color: var(--discord); box-shadow: 0 0 20px rgba(88, 101, 242, 0.3); transform: translateY(-4px); }
.follow-card.tiktok:hover { border-color: var(--tiktok); box-shadow: 0 0 20px rgba(37, 244, 238, 0.25); transform: translateY(-4px); }
.follow-card.x:hover { border-color: var(--x); box-shadow: 0 0 20px rgba(232, 237, 245, 0.2); transform: translateY(-4px); }

/* Community / Discord */
.community { text-align: center; }

.discord-card {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(160deg, rgba(88, 101, 242, 0.14), rgba(17, 24, 38, 0.6));
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: 20px;
  padding: 48px 32px;
  box-shadow: 0 0 60px rgba(88, 101, 242, 0.15);
}

.discord-icon { font-size: 3rem; margin-bottom: 8px; }

.discord-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}

.discord-card p {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 28px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--panel-border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-art { order: -1; }
  .avatar-ring { width: 200px; height: 200px; }
  .game-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .follow-grid { grid-template-columns: repeat(2, 1fr); }
  .story-inner { grid-template-columns: 1fr; text-align: center; }
  .story .section-title { text-align: center; }

  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 14, 20, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--panel-border);
    padding: 8px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.open { max-height: 400px; }
  .main-nav a {
    padding: 14px 24px;
    font-size: 1rem;
    border-bottom: 1px solid var(--panel-border);
  }
}

@media (max-width: 560px) {
  .schedule-grid { grid-template-columns: repeat(4, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .follow-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .discord-card { padding: 36px 22px; }
}
