/* RESET */
html {
  scroll-behavior: smooth;
}

/* Prevent navbar overlap */
#hero,
#about,
#games,
#connect {
  scroll-margin-top: 110px; /* height of navbar */
}


body {
  font-family: 'Rajdhani', sans-serif;
  text-shadow: 0 0 10px #00ffff;
}

h1, h2 {
  font-family: 'Oxanium', cursive;
  text-shadow: 0 0 10px #ff00ff;
}

.streamer-name {
  font-family: 'Orbitron', sans-serif;
}

/* Prevent navbar overlap */
.section {
  scroll-margin-top: 100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: radial-gradient(circle at top, #0b0f1a, #000);
  color: #fff;
  overflow-x: hidden;
}

#loader {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Wrapper */
.spinner-wrap {
  position: relative;
  width: 180px;
  height: 180px;
}

/* Outer ring spinner */
.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top: 3px solid #ff00ff;
  border-bottom: 3px solid #00ffff;
  animation: spinReverse 1.2s linear infinite;
}

/* Logo */
.loader-logo {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  animation: spin 0.9s linear infinite;
}

/* Animations */
@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spinReverse {
  from { transform: rotate(360deg); }
  to   { transform: rotate(0deg); }
}

body.loaded #loader {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);

  opacity: 0;
  animation: navFade 0.6s ease forwards;
  animation-delay: 0.9s;
}

.nav-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 0 10px #ff00ff;
}

.nav-logo-img {
  height: 40px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #ff00ff, #00ffff);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #00ffff;
}

.nav-links a:hover::after {
  width: 100%;
}

@keyframes navFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* HERO */
#hero {
  position: relative;
  height: 100vh; /* hero height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video stays inside hero only */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Content above video */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Optional dark overlay for readability */
#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.logo {
  width: 450px;
  height: 450px;
  margin-bottom: 20px;
}

/* Spin entrance */
.spin-in {
  animation: spinIn 1.2s ease-out forwards;
}

@keyframes spinIn {
  0% {
    transform: rotate(-540deg) scale(0.1);
    opacity: 0;
  }
  80% {
    transform: rotate(20deg) scale(1.05);
  }
  100% {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
}

/* ABOUT SECTION */
.about-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(
      circle at right,
      rgba(255, 0, 255, 0.15),
      transparent 60%
    ),
    linear-gradient(135deg, #050008, #0b0014);
  padding: 120px 8%;
}

.about-container {
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 60px;
}

/* LEFT TEXT */
.about-text h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #cfcfe6;
  max-width: 500px;
}

/* RIGHT LOGO */
.about-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-logo img {
  width: 750px;
  filter:
    drop-shadow(0 0 25px rgba(255, 0, 255, 0.6))
    drop-shadow(0 0 60px rgba(0, 255, 255, 0.2));
  animation: float 3s ease-in-out infinite;
}

/* Subtle floating effect */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.status-badge {
  margin-top: 20px;
  padding: 10px 25px;
  border-radius: 30px;
  background: #ff0044;
  cursor: pointer;
  box-shadow: 0 0 20px #ff0044;
}

/* SECTIONS */
.section {
  padding: 80px 10%;
  text-align: center;
}

.section h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #ffffff;

  text-shadow:
    0 0 6px rgba(180, 0, 255, 0.9),
    0 0 14px rgba(180, 0, 255, 0.7),
    0 0 28px rgba(0, 255, 255, 0.6),
    0 0 55px rgba(180, 0, 255, 0.5);
}


/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* GAMES */

/* Carousel container */
.carousel {
  width: 100%;
  overflow: visible; 
  display: flex;
  justify-content: center;
  margin-top: 30px;
}


.carousel-track {
  display: flex;
  gap: 50px;
  align-items: center;
  transition: transform 0.8s ease;
}

/* Floating game images */
.slide {
  width: 320px;
  height: 200px;
  object-fit: contain;
  border-radius: 18px;

  opacity: 0.85;
  transform: scale(0.9);

  transition:
    transform 0.6s ease,
    opacity 0.6s ease,
    box-shadow 0.6s ease;

}

/* Active image */
.slide.active {
  transform: scale(1.15);
  opacity: 1;
  z-index: 3;

  box-shadow:
    0 0 40px rgba(0, 255, 255, 0.9),
    0 0 90px rgba(0, 255, 255, 0.9),
    0 0 160px rgba(0, 255, 255, 0.9);
}


/* Hover glow */
.slide:hover {
  filter: brightness(1.15);
  box-shadow:
    0 0 40px rgba(180, 0, 255, 1),
    0 0 80px rgba(0, 255, 255, 0.8);
}

#games {
  position: relative;
  overflow: visible;
  z-index: 1;
  background: radial-gradient(circle at center, #0ff 10%, transparent 80%);
}

#games::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 19px,
      rgba(0, 255, 255, 0.1) 20px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 19px,
      rgba(0, 255, 255, 0.1) 20px
    );
  animation: gridMove 15s linear infinite;
  pointer-events: none;
  z-index: 0;
}

/* ===== NEON GLITCH TITLE ===== */
.neon-glitch {
  position: relative;
  display: inline-block;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 60px;

  color: #fff;
  text-transform: uppercase;

  text-shadow:
    0 0 10px #00ffff,
    0 0 25px #00ffff,
    0 0 50px #a855f7;
}

.neon-glitch::before,
.neon-glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0.8;
}

.neon-glitch::before {
  color: #00ffff;
  z-index: -1;
  animation: glitchShift 2.5s infinite linear alternate-reverse;
}

.neon-glitch::after {
  color: #ff00ff;
  z-index: -2;
  animation: glitchShift 3s infinite linear alternate;
}

@keyframes glitchShift {
  0% {
    transform: translate(0, 0);
    clip-path: inset(0 0 0 0);
  }
  10% {
    transform: translate(-2px, -2px);
    clip-path: inset(10% 0 80% 0);
  }
  20% {
    transform: translate(2px, 2px);
    clip-path: inset(80% 0 5% 0);
  }
  30% {
    transform: translate(-3px, 1px);
    clip-path: inset(30% 0 40% 0);
  }
  40% {
    transform: translate(1px, -1px);
    clip-path: inset(0 0 0 0);
  }
  100% {
    transform: translate(0, 0);
  }
}


/* ===== SCHEDULE SECTION ===== */
.schedule-section {
  position: relative;
  padding: 120px 10%;
  background:
    radial-gradient(circle at 20% 20%, rgba(168, 85, 247, 0.35), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(0, 255, 255, 0.25), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(0, 180, 255, 0.2), transparent 50%),
    linear-gradient(180deg, #020716, #00030a);
  overflow: hidden;
  text-align: center;
}

.schedule-section::before,
.schedule-section::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(
      circle,
      transparent 60%,
      rgba(168, 85, 247, 0.15) 62%,
      transparent 65%
    );
  animation: energyRotate 40s linear infinite;
  pointer-events: none;
}

.schedule-section::after {
  animation-duration: 60s;
  opacity: 0.6;
}

@keyframes energyRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.schedule-section > * {
  position: relative;
  z-index: 1;
}

/* ===== GLITCH TITLE (NEW) ===== */
.glitch-title {
  position: relative;
  font-size: 2.6rem;
  margin-bottom: 50px;
  color: #fff;
  text-shadow: 0 0 12px #a855f7;
}

.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  width: 100%;
  opacity: 0.75;
}

.glitch-title::before {
  color: #ff00ff;
  transform: translateX(-2px);
  clip-path: inset(0 0 55% 0);
}

.glitch-title::after {
  color: #00ffff;
  transform: translateX(2px);
  clip-path: inset(55% 0 0 0);
}

.reveal.active .glitch-title {
  animation: glitchIn 0.6s steps(2) both;
}

@keyframes glitchIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* ===== CALENDAR ===== */
.calendar {
  max-width: 900px;
  margin: auto;
  background: rgba(5, 20, 40, 0.85);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.25);
}

/* Header */
.calendar-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 20px;
  color: #8fffff;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Grid */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 15px;
}

/* Day Cell */
.day {
  background: rgba(0, 20, 40, 0.9);
  border-radius: 14px;
  height: 110px;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 255, 255, 0.15);
}

/* Event */
.day.event {
  background: linear-gradient(135deg, #071e3d, #041020);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.8);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.day.event:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(168, 85, 247, 1);
}

/* Variants */
.day.highlight {
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.9);
}

.day.alt {
  box-shadow: 0 0 25px rgba(255, 0, 255, 0.7);
}

.day.off {
  background: linear-gradient(135deg, #050b14, #02060c);
  box-shadow: inset 0 0 0 1px rgba(0, 255, 255, 0.08);
  opacity: 0.65;
}

/* Labels */
.off-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  color: #6faeb0;
}

.time {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.95rem;
  color: #eaffff;
}

.label {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(0, 255, 255, 0.15);
  color: #00ffff;
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
  .calendar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calendar-header {
    display: none;
  }
}


/* SECTION BASE */
.glitch-section {
  position: relative;
  overflow: hidden;
  padding: 60px 20px;
  z-index: 1;
}

/* NEBULA EFFECT BEHIND */
.glitch-section::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,255,255,0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(255,0,255,0.18), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(140,0,255,0.12), transparent 50%);
  animation: nebulaMove 25s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes nebulaMove {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, -40px) scale(1.08); }
  100% { transform: translate(0, 0) scale(1); }
}

/* GLITCH TITLE */
.glitch-title {
  position: relative;
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  width: 100%;
  opacity: 0.7;
}

.glitch-title::before {
  color: #ff00ff;
  transform: translateX(-2px);
  clip-path: inset(0 0 50% 0);
}

.glitch-title::after {
  color: #00ffff;
  transform: translateX(2px);
  clip-path: inset(50% 0 0 0);
}

.reveal.active .glitch-title {
  animation: glitchIn 0.6s steps(2) both;
}

@keyframes glitchIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.schedule-flip-wrapper {
  display: flex;
  justify-content: center;
  gap: 35px;
  perspective: 1400px;
  padding: 20px 0;
}

.schedule-flip-card {
  width: 260px;
  height: 160px;
  animation: schedulePulse 6s ease-in-out infinite;
}

.schedule-flip-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(.4,.2,.2,1);
}

.schedule-flip-card:hover .schedule-flip-inner {
  transform: rotateY(180deg);
}

.schedule-flip-front,
.schedule-flip-back {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.schedule-flip-front {
  background: rgba(5, 20, 40, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(0,255,255,0.2),
    0 0 35px rgba(0,255,255,0.6);
}

.schedule-flip-back {
  transform: rotateY(180deg);
  background: rgba(5, 10, 25, 0.95);
  box-shadow:
    inset 0 0 0 1px rgba(168,85,247,0.6),
    0 0 40px rgba(168,85,247,0.9);
}

.schedule-flip-front h3, .schedule-flip-back h3 {
  margin-bottom: 6px;
  font-size: 1.2rem;
  color: #eaffff;
}

.schedule-flip-front p, .schedule-flip-back p {
  font-size: 1rem;
  color: #8fffff;
}

@keyframes schedulePulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* MOBILE */
@media (max-width: 768px) {
  .schedule-flip-wrapper {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== CLIPS CAROUSEL ===== */
.glitch-section {
  position: relative;
  overflow: hidden;
  padding: 60px 0;
  z-index: 0;
  background: #010010;
}

/* Moving nebula background */
.glitch-section::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,255,255,0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(255,0,255,0.18), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(140,0,255,0.12), transparent 50%);
  animation: nebulaMove 25s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes nebulaMove {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, -40px) scale(1.08); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Glitch Title */
.glitch-title {
  position: relative;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #fff;
  text-align: center;
}

.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  width: 100%;
  opacity: 0.7;
}

.glitch-title::before {
  color: #ff00ff;
  transform: translateX(-2px);
  clip-path: inset(0 0 50% 0);
}

.glitch-title::after {
  color: #00ffff;
  transform: translateX(2px);
  clip-path: inset(50% 0 0 0);
}

.reveal.active .glitch-title {
  animation: glitchIn 0.6s steps(2) both;
}

@keyframes glitchIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* ===== CLIPS SECTION ===== */
.glitch-section {
  position: relative;
  overflow: hidden;
  padding: 60px 0;
  z-index: 0;
  background: #010010;
}

/* Moving nebula background */
.glitch-section::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,255,255,0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(255,0,255,0.18), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(140,0,255,0.12), transparent 50%);
  animation: nebulaMove 25s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes nebulaMove {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, -40px) scale(1.08); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Glitch Title */
.glitch-title {
  position: relative;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #fff;
  text-align: center;
}

.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  width: 100%;
  opacity: 0.7;
}

.glitch-title::before {
  color: #ff00ff;
  transform: translateX(-2px);
  clip-path: inset(0 0 50% 0);
}

.glitch-title::after {
  color: #00ffff;
  transform: translateX(2px);
  clip-path: inset(50% 0 0 0);
}

.reveal.active .glitch-title {
  animation: glitchIn 0.6s steps(2) both;
}

@keyframes glitchIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* ===== CLIPS CAROUSEL ===== */
.clips-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.clips-track {
  display: flex;
  gap: 40px;
  position: relative;
  will-change: transform;
  justify-content: center;
}

/* Clip card */
.clip-neon {
  position: relative;
  overflow: hidden;
  min-width: 260px;
  height: 160px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0b0f1a, #050008);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 0 18px rgba(255,0,255,0.45),
    0 0 35px rgba(0,255,255,0.25);
  transition: transform 0.2s ease;
  z-index: 1;
}

/* Video inside card (preview) */
.clip-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px) brightness(0.6);
  z-index: 0;
  transition: filter 0.3s ease;
}

/* Hover effect: sharpen video on hover */
.clip-neon:hover .clip-preview {
  filter: blur(0px) brightness(0.9);
}

/* Overlay text */
.clip-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.clip-overlay span {
  color: #00ffff;
  font-weight: bold;
  font-size: 1rem;
  text-shadow:
    0 0 8px #00ffff,
    0 0 12px #ff00ff,
    0 0 16px #00ffff;
}

/* Neon hover pulse & pause pulse */
.clip-neon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 40px #00ffff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hover triggers neon pulse */
.clip-neon:hover::after {
  opacity: 1;
  animation: pulseGlow 1.2s infinite;
}

/* Paused carousel triggers stronger neon pulse */
.clip-neon.paused::after {
  opacity: 1;
  animation: pulseGlowStrong 1.2s infinite;
}

.clip-neon:hover {
  transform: scale(1.12);
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 20px #00ffff; }
  50% { box-shadow: 0 0 55px #ff00ff; }
  100% { box-shadow: 0 0 20px #00ffff; }
}

@keyframes pulseGlowStrong {
  0% { box-shadow: 0 0 40px #00ffff; }
  50% { box-shadow: 0 0 80px #ff00ff; }
  100% { box-shadow: 0 0 40px #00ffff; }
}


/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: #000c;
  justify-content: center;
  align-items: center;
}

.modal-content {
  width: 80%;
  max-width: 800px;
  position: relative;
}

.modal iframe {
  width: 100%;
  height: 450px;
}

#closeModal {
  position: absolute;
  top: -30px;
  right: 0;
  cursor: pointer;
  font-size: 2rem;
}

/* SOCIALS */
.connect-section {
  position: relative;
  padding: 120px 6%;
  overflow: hidden;
  background: radial-gradient(circle at top, #050014, #000);
}

/* Same title as Clips & Schedule */
.neon-title {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 4px;
  color: #fff;
  text-shadow:
    0 0 20px #00f6ff,
    0 0 40px #ff3bd4;
  margin-bottom: 80px;
}

/* Animated background energy */
.connect-bg {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle, rgba(0,246,255,0.12), transparent 60%),
    radial-gradient(circle, rgba(255,59,212,0.15), transparent 55%);
  filter: blur(90px);
  animation: bgOrbit 18s linear infinite;
  z-index: 0;
}

@keyframes bgOrbit {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(360deg) scale(1.4); }
}

/* Icon layout */
.connect-icons {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

/* Card */
.connect-card {
  width: 180px;
  height: 180px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  transform-style: preserve-3d;
  transition: transform .25s ease, box-shadow .25s ease;
}

.connect-card i {
  font-size: 3.2rem;
  margin-bottom: 14px;
  transition: transform .25s ease;
}

.connect-card span {
  letter-spacing: 1px;
  font-size: 1rem;
}

/* Neon colors */
.insta { box-shadow: 0 0 25px rgba(255,59,212,.4); }
.twitch { box-shadow: 0 0 25px rgba(145,70,255,.5); }
.discord { box-shadow: 0 0 25px rgba(88,101,242,.5); }

/* Hover effects */
.connect-card:hover {
  transform: scale(1.15);
}

.connect-card:hover i {
  transform: translateZ(30px) scale(1.2);
}

/* Pulse glow */
.connect-card::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: linear-gradient(135deg, #00f6ff, #ff3bd4);
  opacity: 0;
  filter: blur(20px);
  transition: opacity .25s ease;
  z-index: -1;
}

.connect-card:hover::after {
  opacity: 1;
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 10%;
  background: #000;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-top: 1px solid rgba(0,255,255,0.15);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,255,255,0.08) 15%, transparent 70%);
  animation: footerGlow 20s linear infinite;
  z-index: 0;
}

.footer-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 80px;
  height: auto;
  filter: drop-shadow(0 0 12px #ff3bd4) drop-shadow(0 0 20px #00ffff);
  animation: logoPulse 3s ease-in-out infinite;
}

.footer p {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-shadow: 0 0 6px #00ffff, 0 0 12px #00ffff;
}

/* Pulsing animation for logo */
@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 12px #00ffff) drop-shadow(0 0 20px #00ffff);
  }
  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 20px #00ffff) drop-shadow(0 0 35px #00ffff);
  }
}

/* Subtle moving glow in footer background */
@keyframes footerGlow {
  0% { background-position: 0 0; }
  100% { background-position: 100px 100px; }
}

/* Responsive */
@media (max-width: 768px) {
  .footer {
    padding: 30px 5%;
  }

  .footer-logo {
    width: 60px;
  }

  .footer p {
    font-size: 0.85rem;
  }
}
.footer-credit {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Instagram neon button */
.insta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ff4fd8, #7a00ff);
  box-shadow:
    0 0 12px rgba(255, 0, 200, 0.7),
    0 0 22px rgba(0, 255, 255, 0.5);
  transition: all 0.3s ease;
}

/* SVG icon */
.insta-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: white;
  stroke-width: 2;
}

/* Hover glow */
.insta-btn:hover {
  transform: translateY(-3px) scale(1.12);
  box-shadow:
    0 0 20px rgba(255, 0, 200, 1),
    0 0 36px rgba(0, 255, 255, 0.9);
}


/* ===================================== */
/* ===== COMPLETE RESPONSIVE LAYER ===== */
/* ===== (REPLACE OLD BLOCK WITH THIS) ==*/
/* ===================================== */

/* Global safety */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
}

/* ===================================== */
/* ============ TABLET ================= */
/* ===================================== */

@media (max-width: 1024px) {

  /* ABOUT STACK */
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-logo img {
    width: 420px;
  }

  /* HERO LOGO SCALE */
  .logo {
    width: 320px;
    height: auto;
  }

  /* GAMES */
  .carousel-track {
    gap: 28px;
  }

  .slide {
    width: 260px;
    height: 160px;
  }

}


/* ===================================== */
/* ============ MOBILE ================= */
/* ===================================== */

@media (max-width: 768px) {

  /* ===== NAVBAR MOBILE FIX ===== */
  .navbar {
    padding: 12px 16px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .nav-logo {
    justify-content: center;
    font-size: 15px;
  }

  .nav-logo-img {
    height: 28px;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 14px;
    font-size: 14px;
    flex-wrap: wrap;
  }

  /* ===== HERO ===== */
  #hero {
    height: 85vh;
  }

  .logo {
    width: 220px;
  }

  /* ===== ABOUT ===== */

  .about-section {
    padding: 90px 20px;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .about-text p {
    font-size: 0.95rem;
  }

  /* mirror character so it faces text */
  .about-logo img {
    width: 260px;
    transform: scaleX(-1);
  }

  /* ===== SECTION BASE ===== */

  .section {
    padding: 60px 20px;
  }

  /* ===== TITLES ===== */

  .neon-glitch {
    font-size: 1.9rem;
  }

  .glitch-title {
    font-size: 1.7rem;
  }

  /* ===== GAMES CAROUSEL ===== */

  .carousel {
    overflow: hidden;
  }

  .carousel-track {
    gap: 18px;
  }

  .slide {
    width: 200px;
    height: 120px;
  }

  /* ===== SCHEDULE ===== */

  .schedule-section {
    padding: 80px 20px;
  }

  .schedule-flip-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .schedule-flip-card {
    width: 100%;
    max-width: 320px;
  }

  /* ===== CLIPS — MOBILE SCROLL ENABLED ===== */

  .clips-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .clips-track {
    justify-content: flex-start;
    padding: 0 20px;
    width: max-content;
    gap: 20px;
  }

  .clip-neon {
    min-width: 220px;
    height: 140px;
    flex: 0 0 auto;
    scroll-snap-align: center;
  }

  /* ===== MODAL ===== */

  .modal-content {
    width: 95%;
  }

  .modal iframe {
    height: 220px;
  }

  /* ===== CONNECT ===== */

  .connect-section {
    padding: 80px 20px;
  }

  .connect-icons {
    gap: 22px;
  }

  .connect-card {
    width: 130px;
    height: 130px;
  }

  .connect-card i {
    font-size: 2.2rem;
  }

  .connect-card span {
    font-size: 0.85rem;
  }

  /* ===== FOOTER ===== */

  .footer {
    padding: 30px 20px;
  }

}


/* ===================================== */
/* ========= SMALL PHONES ============== */
/* ===================================== */

@media (max-width: 480px) {

  .logo {
    width: 180px;
  }

  .about-logo img {
    width: 200px;
  }

  .slide {
    width: 170px;
    height: 100px;
  }

  .schedule-flip-card {
    height: 140px;
  }

  .clip-neon {
    min-width: 190px;
    height: 120px;
  }

  .connect-card {
    width: 110px;
    height: 110px;
  }

}