/* ========================
   RESET & BASE STYLES
   ======================== */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

body { 
  font-family: 'Inter', sans-serif; 
  background: #05030a; 
  color: #fff; 
  line-height: 1.6; 
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* ========================
   LOADING SCREEN
   ======================== */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
}

.loading-logo {
  width: 180px;
  height: 180px;
  object-fit: contain;
  /* White logo with subtle black glow */
  filter: invert(1) brightness(1.2) contrast(1.3) saturate(1.1) drop-shadow(0 0 8px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 12px rgba(0, 0, 0, 0.3));
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  animation: loading-pulse 2s ease-in-out infinite;
  margin-bottom: 30px;
}

@keyframes loading-pulse {
  0%, 100% {
    transform: scale(1);
    filter: invert(1) brightness(1.2) contrast(1.3) saturate(1.1) drop-shadow(0 0 8px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 12px rgba(0, 0, 0, 0.3));
  }
  50% {
    transform: scale(1.15);
    filter: invert(1) brightness(1.4) contrast(1.4) saturate(1.2) drop-shadow(0 0 12px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 16px rgba(0, 0, 0, 0.4));
  }
}

.loading-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 5px;
  color: #fff;
  margin-bottom: 30px;
  /* Removed text-shadow glow */
}

.loading-bar {
  width: 300px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
}

.loading-progress {
  height: 100%;
  background: linear-gradient(90deg, #b35cff, #8b5cf6, #b35cff);
  background-size: 200% 100%;
  border-radius: 10px;
  animation: loading 2s ease-in-out infinite;
}

@keyframes loading {
  0% {
    width: 0%;
    background-position: 0% 50%;
  }
  50% {
    width: 70%;
    background-position: 100% 50%;
  }
  100% {
    width: 100%;
    background-position: 0% 50%;
  }
}

/* ========================
   HEADER & NAVIGATION
   ======================== */
header { 
  position: fixed; 
  top: 0; 
  width: 100%; 
  padding: 20px 40px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  background: rgba(5, 3, 10, 0.95); 
  backdrop-filter: blur(10px); 
  z-index: 1000; 
  border-bottom: 1px solid rgba(179, 92, 255, 0.1);
  transition: padding 0.3s ease;
}

.brand { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  font-family: 'Orbitron', sans-serif; 
  font-size: 1.4rem; 
  letter-spacing: 1px; 
  font-weight: 700;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  /* White logo with subtle black glow */
  filter: invert(1) brightness(1.1) contrast(1.2) drop-shadow(0 0 3px rgba(0, 0, 0, 0.4));
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transition: all 0.3s ease;
}

.brand-logo:hover {
  filter: invert(1) brightness(1.2) contrast(1.3) drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
  transform: scale(1.1) rotate(-5deg);
}

nav a { 
  margin-left: 28px; 
  text-decoration: none; 
  color: #fff; 
  opacity: 0.7; 
  font-weight: 500; 
  transition: opacity 0.3s ease, color 0.3s ease;
  position: relative;
}

nav a:hover { 
  opacity: 1; 
  color: #b35cff;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #b35cff;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ========================
   HERO SECTION
   ======================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 140px;
  background: radial-gradient(circle at center, #11081d 0%, #000000 100%);
}

.hero-carousel {
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Removed all glow effects from hero background */

@keyframes rotate-slow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 20px 40px 60px;
}

.tz-logo {
  margin-bottom: 0;
  position: relative;
}

/* Removed glow ring from logo */

.hero-logo-img {
  width: 320px;
  height: 320px;
  object-fit: contain;
  /* White logo with subtle black glow */
  filter: invert(1) brightness(1.15) contrast(1.3) saturate(1.1) drop-shadow(0 0 8px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 12px rgba(0, 0, 0, 0.3));
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  animation: float-rotate 6s ease-in-out infinite;
  transition: all 0.3s ease;
}

.hero-logo-img:hover {
  transform: scale(1.1);
  filter: invert(1) brightness(1.25) contrast(1.4) saturate(1.2) drop-shadow(0 0 12px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 16px rgba(0, 0, 0, 0.4));
}

@keyframes float-rotate {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(-2deg);
  }
  75% { 
    transform: translateY(-15px) rotate(2deg);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 3px;
  margin-top: -20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #b35cff 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  max-width: 700px;
  margin: 0 auto 25px;
  font-size: 1.2rem;
  color: #b0b0b0;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: #b35cff;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* ========================
   SECTIONS
   ======================== */
section { 
  padding: 100px 40px; 
  text-align: center; 
}

h2 { 
  font-family: 'Orbitron', sans-serif; 
  font-size: 2.8rem; 
  margin-bottom: 20px; 
  letter-spacing: 2px; 
  text-transform: uppercase;
  background: linear-gradient(135deg, #b35cff 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h3 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
}

.section-text { 
  max-width: 800px; 
  margin: 0 auto 40px; 
  color: #b0b0b0; 
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ========================
   BUTTONS
   ======================== */
.btn { 
  display: inline-block; 
  padding: 16px 40px; 
  border-radius: 30px; 
  color: #fff; 
  text-decoration: none; 
  font-weight: 600;
  transition: all 0.3s ease; 
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(135deg, #b35cff 0%, #6d28d9 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(179, 92, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(179, 92, 255, 0.5);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #b35cff;
}

.btn-secondary:hover {
  background: #b35cff;
  color: #000;
  transform: translateY(-2px);
}

/* ========================
   ABOUT SECTION
   ======================== */
.about {
  background: linear-gradient(180deg, #05030a 0%, #0d0715 100%);
  text-align: left;
  padding-left: 60px;
  padding-right: 60px;
  position: relative;
}

.about h2 {
  font-size: 2.6rem;
  margin-bottom: 25px;
  white-space: nowrap;
}

.about-container {
  max-width: 1800px;
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}


.about-right {
  flex: 0 0 auto;
  text-align: left;
  width: 520px;
}

.about-right .section-text {
  margin: 0;
  max-width: 640px;
  text-align: left;
  font-size: 1.15rem;
  line-height: 1.8;
}

.tz-logo-large {
  position: relative;
  margin-bottom: 20px;
}

/* Removed rotating glow from about section logo */

.about-logo-img {
  width: 260px;
  height: 260px;
  object-fit: contain;
  /* White logo with clean black shadow */
  filter: invert(1) brightness(1.2) contrast(1.4) saturate(1.05) drop-shadow(0 0 4px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 8px rgba(0, 0, 0, 0.2));
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  transition: all 0.5s ease;
  animation: float 4s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.about-logo-img:hover {
  transform: scale(1.1) rotate(5deg);
  filter: invert(1) brightness(1.3) contrast(1.5) saturate(1.1) drop-shadow(0 0 6px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 12px rgba(0, 0, 0, 0.3));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 35px 0;
  justify-content: start;
  max-width: 100%;
}

.stat-box {
  background: linear-gradient(145deg, #0d0715, #171022);
  padding: 24px;
  border-radius: 15px;
  border: 1px solid #1f1f1f;
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
  border-color: #b35cff;
}

.stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.3rem, 6cqw, 2rem);
  font-weight: 900;
  color: #b35cff;
  margin-bottom: 5px;
  white-space: nowrap;
}

.stat-label {
  font-size: 0.9rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.stat-box {
  container-type: inline-size;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 35px;
  justify-content: start;
  max-width: 100%;
}

.social-box { 
  background: #121212; 
  border-radius: 20px; 
  border: 1px solid #2a2a2a; 
  padding: 18px; 
  color: #fff; 
  text-decoration: none; 
  font-weight: 600; 
  display: flex; 
  gap: 10px; 
  align-items: center; 
  justify-content: center; 
  transition: all 0.3s ease; 
}

.social-box i { 
  font-size: 18px; 
  color: #9f9f9f; 
  transition: color 0.3s ease;
}

.social-box:hover { 
  transform: translateY(-5px); 
  border-color: #b35cff; 
  background: #181818; 
  box-shadow: 0 10px 25px rgba(179, 92, 255, 0.2);
}

.social-box:hover i {
  color: #b35cff;
}

/* The old nth-child reels grid was replaced by the .mosaic system at the end of this file. */

.reel-card {
  position: relative;
  display: block;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  background: #101010;
  border: 2px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s ease;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.reel-img {
  position: absolute;
  inset: 0;
}

.reel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reel-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 55%);
}

.reel-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s ease;
}

.reel-ticker {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 36px;
  overflow: hidden;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(179, 92, 255, 0.35);
  backdrop-filter: blur(2px);
}

.reel-ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 40px;
  padding-left: 40px;
  white-space: nowrap;
  width: max-content;
  animation: reel-ticker-scroll 16s linear infinite;
}

.reel-ticker-track span {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b35cff;
  opacity: 0.9;
}

@keyframes reel-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.reel-text {
  font-size: 0.85rem;
  color: #f2f2f2;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reel-date {
  display: block;
  font-size: 0.7rem;
  color: #cfcfcf;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

.reel-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 20px 50px rgba(179, 92, 255, 0.2), 0 10px 25px rgba(0, 0, 0, 0.7);
  border-color: rgba(179, 92, 255, 0.4);
}

.reel-card:hover .reel-caption {
  opacity: 1;
  transform: translateY(0);
}

.reel-card.brand-x { border-top: 3px solid #e7e9ea; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 -2px 15px rgba(231, 233, 234, 0.08); }
.reel-card.brand-instagram { border-top: 3px solid #E1306C; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 -2px 15px rgba(225, 48, 108, 0.1); }
.reel-card.brand-tiktok { border-top: 3px solid #25F4EE; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 -2px 15px rgba(37, 244, 238, 0.1); }
.reel-card.brand-discord { border-top: 3px solid #5865F2; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 -2px 15px rgba(88, 101, 242, 0.1); }
.reel-card.brand-youtube { border-top: 3px solid #FF0000; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 -2px 15px rgba(255, 0, 0, 0.1); }

/* ========================
   COMMUNITY PULSE
   ======================== */
.community-pulse {
  background:
    radial-gradient(circle at 15% 20%, rgba(179, 92, 255, 0.08), transparent 32%),
    radial-gradient(circle at 85% 75%, rgba(138, 43, 226, 0.08), transparent 34%),
    #080808;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.community-pulse::before {
  content: 'TZ // COMMUNITY';
  position: absolute;
  top: 46px;
  right: 60px;
  color: rgba(255, 255, 255, 0.1);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 3px;
  transform: rotate(90deg) translateX(100%);
  transform-origin: right top;
}

.community-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  color: #b35cff;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.4;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.community-heading .section-text {
  margin-bottom: 0;
}

.community-updated {
  margin-top: 16px;
  color: #8c8299;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.community-updated i {
  color: #b35cff;
  margin-right: 5px;
}

.community-data-error .community-updated,
.discord-status.is-error {
  color: #ff8585;
}

.discord-status.is-error {
  border-color: rgba(255, 95, 95, 0.45);
}

.discord-status.is-error .status-dot {
  background: #ff5f5f;
  box-shadow: 0 0 10px rgba(255, 95, 95, 0.7);
}

.community-dashboard {
  max-width: 1200px;
  margin: 0 auto 78px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
}

.community-total-card,
.discord-live-card {
  min-width: 0;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(21, 21, 26, 0.98), rgba(9, 9, 12, 0.98));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.community-total-card::after,
.discord-live-card::after {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  right: -120px;
  bottom: -140px;
  border-radius: 50%;
  border: 1px solid rgba(179, 92, 255, 0.25);
  box-shadow: 0 0 0 18px rgba(179, 92, 255, 0.025), 0 0 0 36px rgba(179, 92, 255, 0.02);
  pointer-events: none;
}

.discord-live-card::after {
  border-color: rgba(88, 101, 242, 0.35);
  box-shadow: 0 0 0 18px rgba(88, 101, 242, 0.04), 0 0 0 36px rgba(88, 101, 242, 0.02);
}

.community-card-heading,
.discord-meta,
.community-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.community-kicker {
  color: #c8c8c8;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.community-kicker i {
  color: #b35cff;
  margin-right: 6px;
}

.discord-live-card .community-kicker i {
  color: #c084fc;
}

.community-badge,
.discord-status {
  color: #b35cff;
  border: 1px solid rgba(179, 92, 255, 0.35);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}

.community-badge i {
  margin-right: 5px;
  animation: pulse 2s ease-in-out infinite;
}

.discord-status {
  color: #d8b4fe;
  border-color: rgba(88, 101, 242, 0.45);
}

.status-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 5px;
  border-radius: 50%;
  background: #f5b942;
  box-shadow: 0 0 10px rgba(245, 185, 66, 0.8);
}

.discord-status.is-live .status-dot {
  background: #35e889;
  box-shadow: 0 0 10px rgba(53, 232, 137, 0.9);
}

.discord-status.is-fallback .status-dot {
  background: #888;
  box-shadow: none;
}

.community-total-number,
.discord-live-number {
  position: relative;
  z-index: 1;
  margin: 30px 0 2px;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff, #b35cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.discord-live-number {
  background: linear-gradient(135deg, #ffffff, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
}

.community-total-card h3,
.discord-live-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.community-total-card > p:not(.community-source-note),
.discord-live-card > p {
  position: relative;
  z-index: 1;
  max-width: 440px;
  color: #a39aaa;
}

.platform-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.social-reach-discord {
  display: flex;
  gap: 22px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: rgba(231, 231, 231, 0.85);
  position: relative;
  z-index: 1;
}

.social-reach-discord .brand-discord {
  color: #5865f2;
}

.social-reach-discord strong {
  color: #fff;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e7e7e7;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.platform-chip i {
  color: #a5a5a5;
  font-size: 0.9rem;
}

.platform-chip strong {
  color: #ffffff;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.5px;
}

.platform-chip strong:not(:first-child) {
  margin-left: 3px;
}

.platform-chip:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
  border-color: #b35cff;
}

.platform-chip:hover i {
  color: #b35cff;
}

.platform-chip.platform-instagram:hover { border-color: #e1306c; }
.platform-chip.platform-instagram:hover i { color: #e1306c; }
.platform-chip.platform-tiktok:hover { border-color: #25f4ee; }
.platform-chip.platform-tiktok:hover i { color: #25f4ee; }
.platform-chip.platform-youtube:hover { border-color: #ff0000; }
.platform-chip.platform-youtube:hover i { color: #ff0000; }

.community-source-note {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 25px;
  color: #686868;
  font-size: 0.76rem;
}

.community-source-note i {
  color: #b35cff;
}

.community-feed-state {
  grid-column: 1 / -1;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  color: #978d9f;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 17px;
}

.community-feed-state i {
  color: #b35cff;
}

.discord-meta {
  position: relative;
  z-index: 1;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 28px 0 24px;
  color: #978d9f;
  font-size: 0.82rem;
}

.discord-meta strong {
  color: #ededed;
  font-family: 'Orbitron', sans-serif;
}

.discord-meta i {
  color: #c084fc;
  margin-right: 4px;
}

.discord-join-link,
.feed-all-link,
.community-post-content a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b35cff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-decoration: none;
  transition: gap 0.25s ease, color 0.25s ease;
}

.discord-join-link:hover,
.feed-all-link:hover,
.community-post-content a:hover {
  gap: 12px;
  color: #ffffff;
}

.discord-live-card .discord-join-link {
  color: #d8b4fe;
}

.community-feed-heading {
  max-width: 1200px;
  margin: 0 auto 26px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.community-feed-heading h3 {
  margin-top: 3px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.feed-all-link {
  white-space: nowrap;
}

.community-posts {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.community-post-card {
  min-width: 0;
  background: #120d19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 17px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.community-post-card:hover {
  transform: translateY(-7px);
  border-color: rgba(179, 92, 255, 0.55);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.4);
}

.community-post-visual {
  height: 165px;
  position: relative;
  overflow: hidden;
  background: #19191d;
}

.community-post-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent 55%);
}

.community-post-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.community-post-card:hover .community-post-visual img {
  transform: scale(1.08);
}

.post-platform-label {
  position: absolute;
  z-index: 1;
  left: 12px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.post-x .post-platform-label i { color: #ffffff; }
.post-instagram .post-platform-label i { color: #e1306c; }
.post-youtube .post-platform-label i { color: #ff3b3b; }
.post-tiktok .post-platform-label i { color: #25f4ee; }

.community-post-content {
  padding: 17px;
}

.community-post-meta {
  color: #84798f;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.community-post-meta time {
  color: #b35cff;
}

.community-post-content h4 {
  min-height: 68px;
  margin: 13px 0 18px;
  color: #f3f3f3;
  font-family: 'Inter', sans-serif;
  font-size: 0.97rem;
  line-height: 1.45;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.community-post-content a {
  font-size: 0.65rem;
}

/* ========================
   UPDATES SECTION
   ======================== */
#updates {
  background: #05030a;
  text-align: left;
  padding-left: 60px;
  padding-right: 60px;
}

#updates h2,
#updates .section-text {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

#updates .section-text {
  max-width: 700px;
}

.timeline {
  max-width: 1100px;
  margin: 50px 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #b35cff, transparent);
}

.timeline-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
  position: relative;
}

.timeline-left {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex: 1;
  max-width: 600px;
}

.timeline-content {
  flex: 1;
  min-width: 0;
}

.timeline-image {
  flex: 0 0 300px;
  width: 300px;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(179, 92, 255, 0.25);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.timeline-image:hover {
  transform: translateY(-5px);
  border-color: #b35cff;
}

.timeline-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  border: 3px solid #b35cff;
}

.timeline-icon.trophy {
  background: linear-gradient(135deg, #FFD700, #FFA500);
}

.timeline-icon.user {
  background: linear-gradient(135deg, #b35cff, #6d28d9);
}

.timeline-icon.gamepad {
  background: linear-gradient(135deg, #a855f7, #581c87);
}

.timeline-icon.handshake {
  background: linear-gradient(135deg, #b35cff, #8b5cf6);
}

.timeline-content {
  flex: 1;
  background: linear-gradient(145deg, #0d0715, #171022);
  padding: 25px;
  border-radius: 15px;
  border: 1px solid #1f1f1f;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(179, 92, 255, 0.2);
  border-color: #b35cff;
}

.timeline-content h3 {
  margin-bottom: 10px;
  color: #b35cff;
}

.timeline-date {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 10px;
  font-style: italic;
}

/* ========================
   MERCH SECTION
   ======================== */
#merch {
  background: linear-gradient(180deg, #0d0715 0%, #05030a 100%);
}

.merch-stage {
  perspective: 1800px;
  display: flex;
  justify-content: center;
  padding: 60px 0 40px;
  overflow: visible;
}

.merch-carousel-3d {
  position: relative;
  width: 260px;
  height: 400px;
  transform-style: preserve-3d;
  animation: merch-carousel-rotate 20s linear infinite;
  will-change: transform;
}

@keyframes merch-carousel-rotate {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.merch-tilt {
  position: absolute;
  inset: 0;
  transform: rotateY(calc(var(--i) * 90deg)) translateZ(340px);
  transform-style: preserve-3d;
}

.merch-box {
  height: 100%;
  background: linear-gradient(145deg, #101015, #18181f);
  padding: 35px 30px;
  border-radius: 20px;
  border: 1px solid #2a2a2a;
  text-align: center;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.merch-tilt:hover .merch-box {
  box-shadow: 0 20px 50px rgba(179, 92, 255, 0.3);
  border-color: #b35cff;
}

.merch-image {
  font-size: 4rem;
  margin-bottom: 20px;
  color: #b35cff;
  perspective: 400px;
  width: 140px;
  height: 140px;
}

.merch-image i {
  display: inline-block;
  transform-style: preserve-3d;
  animation: merch-spin 4s linear infinite;
  filter: drop-shadow(0 8px 16px rgba(179, 92, 255, 0.35));
}

.merch-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(179, 92, 255, 0.2);
}

.merch-box:hover .merch-image i {
  animation-play-state: paused;
}

@keyframes merch-spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.merch-box h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.merch-status {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(179, 92, 255, 0.1);
  border: 1px solid #b35cff;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #b35cff;
  margin: 15px 0;
  letter-spacing: 1px;
}

.merch-description {
  color: #888;
  font-size: 0.95rem;
}

.notify-section {
  max-width: 600px;
  margin: 60px auto 0;
  padding: 40px;
  background: linear-gradient(145deg, #0d0715, #171022);
  border-radius: 25px;
  border: 1px solid #1f1f1f;
}

.notify-section i {
  font-size: 2.5rem;
  color: #b35cff;
  margin-bottom: 15px;
}

.notify-section h3 {
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.merch-signup { 
  display: flex; 
  gap: 15px; 
  max-width: 500px; 
  margin: 30px auto 0;
  flex-wrap: wrap;
}

.merch-signup input { 
  flex: 1; 
  min-width: 200px;
  border-radius: 25px; 
  border: 1px solid #2a2a2a; 
  padding: 15px 20px; 
  background: #181818; 
  color: #fff; 
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.merch-signup input:focus {
  outline: none;
  border-color: #b35cff;
}

.merch-signup button { 
  background: linear-gradient(135deg, #b35cff 0%, #6d28d9 100%); 
  color: #000; 
  font-weight: 700; 
  cursor: pointer; 
  transition: all 0.3s ease; 
  border: none;
  border-radius: 25px;
  padding: 15px 35px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.merch-signup button:hover { 
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(179, 92, 255, 0.5);
}

/* ========================
   TRYOUTS SECTION
   ======================== */
#tryouts {
  background: #05030a;
}

.tryout-requirements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 50px auto;
}

.requirement-box {
  background: linear-gradient(145deg, #0d0715, #171022);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #1f1f1f;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.requirement-box:hover {
  transform: translateY(-5px);
  border-color: #b35cff;
}

.requirement-box i {
  font-size: 2.5rem;
  color: #b35cff;
  margin-bottom: 15px;
}

.requirement-box h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.requirement-box p {
  color: #888;
}

.tryout-form { 
  max-width: 700px; 
  margin: 50px auto 0; 
  display: grid; 
  gap: 20px; 
  background: linear-gradient(145deg, #0d0715, #171022); 
  padding: 40px; 
  border-radius: 25px; 
  border: 1px solid #1f1f1f;
  text-align: left;
}

.tryout-form h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #b35cff;
}

.tryout-form input, 
.tryout-form textarea,
.tryout-form select { 
  border-radius: 15px; 
  padding: 15px 20px; 
  background: #181818; 
  border: 1px solid #2a2a2a; 
  color: #fff; 
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.3s ease;
}

.tryout-form select {
  cursor: pointer;
}

.tryout-form select option {
  background: #181818;
  color: #fff;
}

.tryout-form input:focus,
.tryout-form textarea:focus,
.tryout-form select:focus {
  outline: none;
  border-color: #b35cff;
}

.tryout-form textarea {
  resize: vertical;
  min-height: 120px;
}

.tryout-form button { 
  border-radius: 25px; 
  padding: 16px; 
  background: linear-gradient(135deg, #b35cff 0%, #6d28d9 100%); 
  color: #000; 
  font-weight: 700; 
  cursor: pointer; 
  transition: all 0.3s ease; 
  border: none; 
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
}

.tryout-form button:hover { 
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(179, 92, 255, 0.5);
}

/* ========================
   CONTACT SECTION
   ======================== */
#contact {
  background: linear-gradient(180deg, #0d0715 0%, #05030a 100%);
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 50px auto;
}

.contact-box {
  background: linear-gradient(145deg, #0d0715, #171022);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #1f1f1f;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
  text-align: center;
}

.contact-box:hover {
  transform: translateY(-10px);
  border-color: #b35cff;
  box-shadow: 0 15px 40px rgba(179, 92, 255, 0.25);
}

.contact-box i {
  font-size: 3rem;
  color: #b35cff;
  margin-bottom: 20px;
}

.contact-box h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.contact-box p {
  color: #888;
  font-size: 1.1rem;
}

/* ========================
   FOOTER
   ======================== */
footer {
  background: #000;
  padding: 50px 40px 30px;
  text-align: center;
  border-top: 1px solid rgba(179, 92, 255, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.footer-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  /* White logo with subtle black glow */
  filter: invert(1) brightness(1.1) contrast(1.2) drop-shadow(0 0 3px rgba(0, 0, 0, 0.4));
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transition: all 0.3s ease;
  animation: float 5s ease-in-out infinite;
}

.footer-logo:hover {
  filter: invert(1) brightness(1.3) contrast(1.3) drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
  transform: scale(1.15) rotate(-3deg);
}

.footer-brand p {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.footer-socials {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.footer-socials a {
  color: #888;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  color: #b35cff;
  transform: translateY(-3px);
}

.footer-text {
  color: #666;
  font-size: 0.9rem;
}

/* ========================
   GALLERY SECTION
   ======================== */
#gallery {
  background: linear-gradient(180deg, #05030a 0%, #0d0715 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 50px auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 1;
  cursor: pointer;
  border: 2px solid #1f1f1f;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  border-color: #b35cff;
  box-shadow: 0 20px 50px rgba(179, 92, 255, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
  padding: 30px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #b35cff;
}

.gallery-overlay p {
  color: #b0b0b0;
  font-size: 0.95rem;
}

/* ========================
   STATS COUNTER SECTION
   ======================== */
#stats-counter {
  background: linear-gradient(180deg, #05030a 0%, #0d0715 100%);
  position: relative;
  overflow: hidden;
}

.stats-counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 50px auto;
}

.stat-counter-box {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(145deg, #0d0715, #171022);
  border-radius: 20px;
  border: 2px solid #1f1f1f;
  transition: all 0.4s ease;
  position: relative;
}

.stat-counter-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #b35cff, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-counter-box:hover::before {
  opacity: 1;
}

.stat-counter-box:hover {
  transform: translateY(-10px);
  border-color: #b35cff;
  box-shadow: 0 15px 40px rgba(179, 92, 255, 0.2);
}

.stat-counter-box i {
  font-size: 3rem;
  color: #b35cff;
  margin-bottom: 20px;
  display: block;
}

.counter {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  margin: 15px 0;
  line-height: 1;
}

.stat-counter-box p {
  font-size: 1.1rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ========================
   SPONSORS SECTION
   ======================== */
#sponsors {
  background: linear-gradient(180deg, #0d0715 0%, #05030a 100%);
  position: relative;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 50px auto;
}

.sponsor-card {
  background: linear-gradient(145deg, #0d0715, #171022);
  padding: 40px 30px;
  border-radius: 20px;
  border: 2px solid #1f1f1f;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.sponsor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #b35cff, transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.sponsor-card:hover::before {
  transform: translateX(100%);
}

.sponsor-card:hover {
  transform: translateY(-10px);
  border-color: #b35cff;
  box-shadow: 0 20px 50px rgba(179, 92, 255, 0.2);
}


.sponsor-logo {
  width: 180px;
  height: 100px;
  margin: 40px auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: linear-gradient(135deg, #15151d, #0d0d13);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sponsor-logo svg {
  width: 140px;
  height: 50px;
  color: var(--partner-color, #b35cff);
}

.sponsor-card:hover .sponsor-logo {
  border-color: var(--partner-color, #b35cff);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--partner-color, #b35cff) 20%, transparent);
}

/* (legacy placeholder styles retained below in case they are reused) */
.sponsor-logo-placeholder {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed #2a2a2a;
  transition: all 0.3s ease;
}

.sponsor-card:hover .sponsor-logo-placeholder {
  border-color: #b35cff;
  background: linear-gradient(135deg, #1a1a1a, #121212);
}

.sponsor-logo-placeholder i {
  font-size: 3rem;
  color: #b35cff;
  margin-bottom: 10px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.sponsor-card:hover .sponsor-logo-placeholder i {
  opacity: 1;
}

.sponsor-logo-placeholder p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.sponsor-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #fff;
}

.sponsor-card > p {
  color: #888;
  font-size: 0.95rem;
}

.sponsor-cta {
  max-width: 700px;
  margin: 60px auto 0;
  padding: 50px 40px;
  background: linear-gradient(145deg, #0d0715, #171022);
  border-radius: 25px;
  border: 2px solid #1f1f1f;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sponsor-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(179, 92, 255, 0.05) 0%, transparent 70%);
  animation: rotate-slow 15s linear infinite;
}

.sponsor-cta h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.sponsor-cta p {
  color: #b0b0b0;
  font-size: 1.1rem;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.sponsor-cta .btn {
  position: relative;
  z-index: 1;
}

/* ========================
   ACHIEVEMENTS SECTION
   ======================== */
#achievements {
  background: #05030a;
  position: relative;
  overflow: hidden;
}

#achievements::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(138, 43, 226, 0.05), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(179, 92, 255, 0.05), transparent 50%);
  z-index: 0;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 50px auto;
  position: relative;
  z-index: 1;
}

.achievement-card {
  background: linear-gradient(145deg, #0d0715, #171022);
  padding: 40px 30px;
  border-radius: 20px;
  border: 2px solid #1f1f1f;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.achievement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #b35cff, transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.achievement-card:hover::before {
  transform: translateX(100%);
}

.achievement-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: #b35cff;
  box-shadow: 0 20px 50px rgba(179, 92, 255, 0.3);
}

.achievement-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.5rem;
  position: relative;
  animation: float 3s ease-in-out infinite;
}

.trophy-gold {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.trophy-silver {
  background: linear-gradient(135deg, #C0C0C0, #808080);
  box-shadow: 0 10px 30px rgba(192, 192, 192, 0.4);
}

.trophy-bronze {
  background: linear-gradient(135deg, #CD7F32, #8B4513);
  box-shadow: 0 10px 30px rgba(205, 127, 50, 0.4);
}

.trophy-special {
  background: linear-gradient(135deg, #b35cff, #8b5cf6);
  box-shadow: 0 10px 30px rgba(179, 92, 255, 0.4);
}

.achievement-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #fff;
}

.achievement-date {
  font-size: 0.85rem;
  color: #b35cff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  font-weight: 600;
}

.achievement-desc {
  color: #888;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========================
   HERO SHOWCASE (auto-cycling departments)
   ======================== */
.showcase {
  position: relative;
  width: min(880px, 92%);
  aspect-ratio: 16 / 7.2;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(179, 92, 255, 0.3);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(179, 92, 255, 0.12);
  background: #0a0612;
}

.showcase-slide {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
  color: #fff;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 0.9s ease, transform 1.4s ease;
  pointer-events: none;
  z-index: 1;
}

.showcase-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

.showcase-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}

.showcase-slide.is-active .showcase-bg {
  transform: scale(1.06);
}

.showcase-video,
.showcase-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  z-index: 1;
}

/* Slight zoom so YouTube's letterboxing/UI chrome stays out of view */
.showcase-video iframe {
  scale: 1.35;
}

.showcase-grad {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to top, rgba(5, 3, 10, 0.92) 0%, rgba(5, 3, 10, 0.25) 55%, rgba(5, 3, 10, 0.12) 100%),
    radial-gradient(circle at 18% 80%, rgba(179, 92, 255, 0.18), transparent 45%);
}

.showcase-body {
  position: absolute;
  left: 40px;
  bottom: 52px;
  right: 40px;
  text-align: left;
  z-index: 3;
}

.showcase-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(192, 132, 252, 0.4);
  background: rgba(20, 10, 30, 0.55);
  backdrop-filter: blur(4px);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #d8b4fe;
}

.showcase-kicker i {
  font-size: 0.62rem;
  color: #e9d5ff;
}

.showcase-body h3 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 4px 0 8px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.showcase-latest {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(10, 6, 16, 0.72);
  border: 1px solid rgba(179, 92, 255, 0.45);
  color: #e9d5ff;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.showcase-latest i {
  color: #b35cff;
  font-size: 0.66rem;
}

.showcase-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.showcase-watch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(0, 229, 255, 0.45);
  border-radius: 999px;
  padding: 10px 20px;
  background: rgba(0, 229, 255, 0.1);
  backdrop-filter: blur(4px);
  transition: background 0.3s ease, border-color 0.3s ease;
  position: relative;
  z-index: 2;
}

.showcase-watch:hover {
  background: rgba(0, 229, 255, 0.28);
  border-color: #00e5ff;
}

.showcase-watch i {
  color: #00e5ff;
}

.showcase-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 10px 20px;
  background: rgba(179, 92, 255, 0.14);
  backdrop-filter: blur(4px);
  transition: background 0.3s ease, border-color 0.3s ease, gap 0.3s ease;
}

.showcase-slide:hover .showcase-cta {
  background: rgba(179, 92, 255, 0.35);
  border-color: #b35cff;
  gap: 14px;
}

.showcase-dots {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: flex;
  gap: 9px;
  z-index: 3;
}

.showcase-dot {
  width: 30px;
  height: 5px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}

.showcase-dot.is-active {
  background: #b35cff;
  width: 44px;
  box-shadow: 0 0 10px rgba(179, 92, 255, 0.7);
}

.showcase-dot:hover {
  background: rgba(216, 180, 254, 0.75);
}

.showcase-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(179, 92, 255, 0.5);
  background: rgba(10, 6, 16, 0.55);
  backdrop-filter: blur(6px);
  color: #e9d5ff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

/* Arrows sit OUTSIDE the video window so they never cover the footage.
   .showcase is min(880px, 92%) wide and centered, so this calc lands
   just past its left/right edge. */
.showcase-arrow.prev { left: calc((100% - min(880px, 92%)) / 2 - 64px); }
.showcase-arrow.next { right: calc((100% - min(880px, 92%)) / 2 - 64px); }

.showcase-arrow:hover {
  background: rgba(179, 92, 255, 0.4);
  border-color: #b35cff;
  color: #fff;
}

.showcase-arrow:active { transform: translateY(-50%) scale(0.92); }

@media (max-width: 1080px) {
  .showcase-arrow.prev { left: 14px; }
  .showcase-arrow.next { right: 14px; }
}

@media (max-width: 700px) {
  .showcase-arrow { width: 36px; height: 36px; font-size: 0.85rem; }
  .showcase-arrow.prev { left: 10px; }
  .showcase-arrow.next { right: 10px; }
}

/* ========================
   MERCH GRID (replaces 3D ring)
   ======================== */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  max-width: 1150px;
  margin: 50px auto 0;
}

.merch-card {
  background: linear-gradient(145deg, #0d0715, #171022);
  border: 1px solid #1f1f1f;
  border-radius: 20px;
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.merch-card:hover {
  transform: translateY(-8px);
  border-color: #b35cff;
  box-shadow: 0 18px 42px rgba(179, 92, 255, 0.22);
}

.merch-card .merch-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 18px;
}

.merch-card .merch-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.merch-card h3 {
  font-size: 1.12rem;
  margin-bottom: 6px;
}

.merch-card .merch-description {
  color: #888;
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.merch-card .merch-status {
  display: inline-block;
  padding: 7px 16px;
  background: rgba(179, 92, 255, 0.1);
  border: 1px solid rgba(179, 92, 255, 0.55);
  border-radius: 999px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #b35cff;
}

@media (max-width: 980px) {
  .merch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .merch-grid {
    grid-template-columns: 1fr;
  }

  .showcase {
    aspect-ratio: 4 / 5;
  }

  .showcase-body {
    left: 20px;
    right: 20px;
    bottom: 60px;
  }

  .showcase-dots {
    right: 50%;
    transform: translateX(50%);
    bottom: 18px;
  }
}

/* ========================
   3D CAROUSEL (LEGACY — kept for department pages)
   ======================== */
.carousel-stage {
  perspective: 2000px;
  display: flex;
  justify-content: center;
  padding: 10px 0 6px;
  overflow: visible;
}

.carousel-3d {
  position: relative;
  width: 640px;
  height: 320px;
  transform-style: preserve-3d;
  animation: carousel-rotate 16s linear infinite;
  will-change: transform;
}

@keyframes carousel-rotate {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.stream-tilt {
  position: absolute;
  inset: 0;
  transform: rotateY(calc(var(--i) * 120deg)) translateZ(420px);
  transform-style: preserve-3d;
}

.stream-card {
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(179, 92, 255, 0.25);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.stream-tilt:hover .stream-card {
  border-color: #b35cff;
  box-shadow: 0 25px 60px rgba(179, 92, 255, 0.3);
}

.stream-thumb {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #121212, #1a1a1a);
}

.stream-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.stream-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(179, 92, 255, 0.06), transparent 40%);
  z-index: 1;
  pointer-events: none;
}

.stream-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 16px 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  text-align: center;
  z-index: 2;
}

.stream-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 3px;
  color: #b35cff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.stream-overlay p {
  color: #b0b0b0;
  font-size: 0.85rem;
  font-weight: 500;
}

.stream-socials {
  position: absolute;
  bottom: 12px;
  right: 14px;
  display: flex;
  gap: 10px;
  z-index: 3;
}

.stream-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1rem;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.stream-socials a.brand-discord {
  background: #5865F2;
  border-color: #5865F2;
  box-shadow: 0 0 12px rgba(88, 101, 242, 0.5);
}

.stream-socials a.brand-tiktok {
  background: #000000;
  border-color: #25F4EE;
  box-shadow: 0 0 12px rgba(37, 244, 238, 0.4);
}

.stream-socials a.brand-tiktok i {
  color: #25F4EE;
}

.stream-socials a.brand-youtube {
  background: #FF0000;
  border-color: #FF0000;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.5);
}

.stream-socials a:hover {
  transform: translateY(-3px);
  filter: brightness(1.2);
}

@media (max-width: 900px) {
  .carousel-3d {
    width: 440px;
    height: 220px;
  }

  .stream-tilt {
    transform: rotateY(calc(var(--i) * 120deg)) translateZ(290px);
  }
}

@media (max-width: 480px) {
  .carousel-stage {
    padding: 8px 0;
  }

  .carousel-3d {
    width: 340px;
    height: 175px;
  }

  .stream-tilt {
    transform: rotateY(calc(var(--i) * 120deg)) translateZ(225px);
  }

  .stream-overlay h3 {
    font-size: 0.95rem;
  }

  .stream-overlay p {
    font-size: 0.75rem;
  }
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */
/* ========================
   CURSOR EFFECT (Optional Enhancement)
   ======================== */
body {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><circle cx="10" cy="10" r="8" fill="%23b35cff" opacity="0.5"/></svg>'), auto;
}

a, button, .btn, .card, .gallery-item, .achievement-card {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><circle cx="12" cy="12" r="10" fill="%23b35cff" opacity="0.8"/></svg>'), pointer;
}

/* ========================
   SCROLL BAR STYLING
   ======================== */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #0b0612;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #b35cff, #8b5cf6);
  border-radius: 10px;
  border: 2px solid #0b0612;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #e9d5ff, #a855f7);
}

/* ========================
   SELECTION STYLING
   ======================== */
::selection {
  background: rgba(179, 92, 255, 0.3);
  color: #fff;
}

::-moz-selection {
  background: rgba(179, 92, 255, 0.3);
  color: #fff;
}

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  nav {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .community-pulse::before {
    display: none;
  }

  .community-dashboard {
    grid-template-columns: 1fr;
  }

  .community-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .community-post-visual {
    height: 190px;
  }

  .community-post-card {
    min-height: 100%;
  }

  .community-post-content h4 {
    min-height: auto;
  }

  .hero-logo-img {
    width: 180px;
    height: 180px;
  }

  h2 {
    font-size: 2rem;
  }

  section {
    padding: 60px 20px;
  }

  .about {
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-container {
    flex-direction: column;
    text-align: left;
  }

  .about-left,
  .about-right,
  .mosaic {
    width: 100%;
    min-width: 0;
  }

  .about-right {
    text-align: left;
  }

  .about-logo-img {
    width: 140px;
    height: 140px;
  }

  .mosaic-wrap {
    margin-top: 40px;
    margin-left: 0;
  }

  .mosaic {
    gap: 10px;
  }

  .stats-grid,
  .social-grid {
    max-width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .social-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-left: 80px;
  }

  .timeline-icon {
    position: absolute;
    left: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .merch-signup {
    flex-direction: column;
  }

  .merch-signup input {
    width: 100%;
  }

  .loading-logo {
    width: 100px;
    height: 100px;
  }

  .loading-text {
    font-size: 1.5rem;
  }

  .loading-bar {
    width: 200px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-logo-img {
    width: 150px;
    height: 150px;
  }

  h2 {
    font-size: 1.8rem;
  }

  .brand {
    font-size: 1.1rem;
  }

  .brand-logo {
    width: 35px;
    height: 35px;
  }

  .community-total-card,
  .discord-live-card {
    padding: 24px;
  }

  .community-card-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .community-feed-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .community-posts {
    grid-template-columns: 1fr;
  }

  .community-post-visual {
    height: 210px;
  }

  .platform-chip {
    flex: 1 1 calc(50% - 10px);
    justify-content: space-between;
  }

  .community-source-note {
    align-items: flex-start;
  }
}

/* ============================================================
   TEAM ZERO v2 — NEW SYSTEMS
   (dual-face 3D carousels, mosaic, polls, support, loadout,
    sponsor ticker, department pages, mobile menu, a11y)
   ============================================================ */

/* ---------- Dual-face 3D panels (hero + merch) ---------- */
.dual-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.face-back {
  transform: rotateY(180deg);
}

/* Branded back panel shown while the carousel spins. */
.stream-back,
.merch-back {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 30%, rgba(179, 92, 255, 0.18), transparent 60%),
    linear-gradient(145deg, #0d0715, #171022);
  border: 1px solid rgba(179, 92, 255, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.merch-back {
  border-radius: 20px;
  border-style: dashed;
}

.back-emblem img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: invert(1) brightness(1.2) contrast(1.3) drop-shadow(0 0 6px rgba(0, 0, 0, 0.5));
}

.back-kicker {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #b35cff;
  text-transform: uppercase;
}

.back-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
}

.back-cta {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #d8b4fe;
  text-transform: uppercase;
  border: 1px solid rgba(179, 92, 255, 0.5);
  border-radius: 999px;
  padding: 7px 14px;
  margin-top: 4px;
}

/* Front face keeps the original look; the wrapper no longer clips the 3D. */
.stream-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(179, 92, 255, 0.25);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.stream-tilt:hover .stream-card {
  border-color: #b35cff;
  box-shadow: 0 25px 60px rgba(179, 92, 255, 0.3);
}

/* Portal link covers the whole front face */
.portal-link {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 2;
  text-decoration: none;
  color: inherit;
}

.portal-link:hover .stream-overlay h3 {
  color: #fff;
}

.stream-overlay {
  pointer-events: none;
}

.stream-socials {
  z-index: 3;
}

/* Merch front face keeps original card look */
.merch-box {
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, #101015, #18181f);
  padding: 35px 30px;
  border: 1px solid #2a2a2a;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.merch-tilt:hover .merch-box {
  box-shadow: 0 20px 50px rgba(179, 92, 255, 0.3);
  border-color: #b35cff;
}

/* Carousel polish: soft edge glow on the ring so the windows read as one unit */
.carousel-stage::after,
.merch-stage::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(179, 92, 255, 0.10) 0%, transparent 62%);
  pointer-events: none;
  z-index: -1;
}

.stream-card {
  border-color: rgba(179, 92, 255, 0.35);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.6),
    0 0 22px rgba(179, 92, 255, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

/* Latest-video line on the hero windows */
.stream-latest {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100% - 24px);
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(10, 6, 16, 0.78);
  border: 1px solid rgba(179, 92, 255, 0.5);
  color: #e9d5ff;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  backdrop-filter: blur(4px);
}

.stream-latest i {
  color: #b35cff;
  font-size: 0.6rem;
  flex-shrink: 0;
}

.carousel-hint {
  margin-top: 14px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 3px;
  color: #8c8299;
  text-transform: uppercase;
  text-align: center;
}

/* ---------- Mosaic (Built for Victory 5-window) ---------- */
.mosaic-wrap {
  flex: 1;
  min-width: 0;
  margin-left: 30px;
}

.mosaic-head {
  text-align: left;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(179, 92, 255, 0.22);
}

.mosaic-head h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  letter-spacing: 1px;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(180px, 1fr));
  gap: 16px;
}

.mosaic-card .reel-caption {
  opacity: 1;
  transform: translateY(0);
}

.mosaic-card .mosaic-tag {
  left: 12px;
  right: auto;
}

.mosaic-card .reel-text,
.mosaic-card .reel-date {
  text-align: left;
}

.mosaic-card {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #101010;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.mosaic-card .reel-img {
  position: absolute;
  inset: 0;
}

.mosaic-card .reel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mosaic-card .reel-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent 55%);
}

.mosaic-card:hover {
  transform: translateY(-6px);
  border-color: rgba(179, 92, 255, 0.5);
  box-shadow: 0 20px 50px rgba(179, 92, 255, 0.25);
}

.mosaic-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e9d5ff;
  background: rgba(10, 6, 16, 0.75);
  border: 1px solid rgba(179, 92, 255, 0.45);
  border-radius: 999px;
  padding: 5px 10px;
  backdrop-filter: blur(4px);
}

.mosaic-feature {
  grid-row: 1 / 3;
  min-height: 360px;
}

.mosaic-feature .reel-caption {
  bottom: 18px;
}

.mosaic-feature .reel-text {
  font-size: 1.05rem;
  -webkit-line-clamp: 3;
}

.reel-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
}

.reel-text {
  font-size: 0.85rem;
  color: #f2f2f2;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reel-date {
  display: block;
  font-size: 0.7rem;
  color: #cfcfcf;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

.mosaic-card.brand-x { border-top: 3px solid #e7e9ea; }
.mosaic-card.brand-instagram { border-top: 3px solid #E1306C; }
.mosaic-card.brand-tiktok { border-top: 3px solid #25F4EE; }
.mosaic-card.brand-discord { border-top: 3px solid #5865F2; }
.mosaic-card.brand-youtube { border-top: 3px solid #FF0000; }

/* ---------- Logo glow + particles ---------- */
.tz-logo {
  position: relative;
  display: inline-block;
}

.hero-logo-img {
  filter:
    invert(1) brightness(1.15) contrast(1.3) saturate(1.1)
    drop-shadow(0 0 14px rgba(179, 92, 255, 0.45))
    drop-shadow(0 0 34px rgba(109, 40, 217, 0.30))
    drop-shadow(0 0 8px rgba(0, 0, 0, 0.4));
}

.logo-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}

.logo-particles span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, #d8b4fe 0%, #b35cff 55%, transparent 75%);
  box-shadow: 0 0 8px rgba(179, 92, 255, 0.85);
  opacity: 0;
  animation: logo-orbit 7s linear infinite;
  animation-delay: var(--d, 0s);
}

.logo-particles span:nth-child(2n) {
  width: 3px;
  height: 3px;
  animation-duration: 9s;
}

.logo-particles span:nth-child(3n) {
  width: 6px;
  height: 6px;
  animation-duration: 11s;
}

@keyframes logo-orbit {
  0% {
    transform: translate(-50%, -50%) rotate(var(--a, 0deg)) translateY(-118px) scale(0.5);
    opacity: 0;
  }
  12% {
    opacity: 0.95;
  }
  70% {
    opacity: 0.75;
  }
  100% {
    transform: translate(-50%, -50%) rotate(calc(var(--a, 0deg) + 300deg)) translateY(-165px) scale(1.15);
    opacity: 0;
  }
}

.brand-logo {
  filter:
    invert(1) brightness(1.1) contrast(1.2)
    drop-shadow(0 0 6px rgba(179, 92, 255, 0.55))
    drop-shadow(0 0 3px rgba(0, 0, 0, 0.4));
}

.footer-logo {
  filter:
    invert(1) brightness(1.1) contrast(1.2)
    drop-shadow(0 0 10px rgba(179, 92, 255, 0.45))
    drop-shadow(0 0 3px rgba(0, 0, 0, 0.4));
}

/* ---------- Community poll (Supabase) ---------- */
.community-poll {
  max-width: 760px;
  margin: 60px auto 0;
  padding: 30px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(21, 21, 26, 0.98), rgba(9, 9, 12, 0.98));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.community-poll-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.community-poll-heading h3 {
  margin-top: 3px;
  font-size: 1.3rem;
}

.poll-live-badge {
  color: #35e889;
  border: 1px solid rgba(53, 232, 137, 0.4);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  white-space: nowrap;
}

.poll-live-badge .status-dot {
  background: #35e889;
  box-shadow: 0 0 10px rgba(53, 232, 137, 0.9);
}

.poll-question {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 18px;
  min-height: 1.4em;
}

.poll-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.poll-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #f0f0f0;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.poll-option:hover {
  border-color: #b35cff;
  background: rgba(179, 92, 255, 0.1);
  transform: translateX(4px);
}

.poll-option i {
  color: #b35cff;
  font-size: 0.8rem;
}

.poll-result {
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.poll-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f0f0f0;
  margin-bottom: 8px;
}

.poll-result-head strong {
  font-family: 'Orbitron', sans-serif;
  color: #b35cff;
}

.poll-result-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.poll-result-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #b35cff, #8b5cf6);
  transition: width 0.6s ease;
}

.poll-result.is-leading .poll-result-bar span {
  background: linear-gradient(90deg, #35e889, #8b5cf6);
}

.poll-result-count {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  color: #978d9f;
}

.poll-footnote {
  margin-top: 16px;
  font-size: 0.78rem;
  color: #8c8299;
}

.poll-footnote i {
  color: #35e889;
  margin-right: 5px;
}

/* ---------- Partner form v2 ---------- */
.partner-shell {
  max-width: 860px;
  margin: 50px auto 0;
  border-radius: 26px;
  border: 1px solid rgba(179, 92, 255, 0.28);
  background:
    radial-gradient(circle at 85% -10%, rgba(179, 92, 255, 0.12), transparent 45%),
    linear-gradient(145deg, #0e0817, #140c20);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.partner-shell-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 34px;
  border-bottom: 1px solid rgba(179, 92, 255, 0.2);
  background: rgba(179, 92, 255, 0.05);
}

.partner-shell-head h3 {
  font-size: 1.25rem;
  letter-spacing: 1px;
}

.partner-shell-head .step-hint {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 2px;
  color: #b35cff;
  white-space: nowrap;
}

.partner-form {
  display: grid;
  gap: 22px;
  padding: 34px;
  text-align: left;
}

.partner-step {
  display: grid;
  gap: 12px;
}

.partner-step > label,
.partner-step > .step-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c8c8c8;
}

.partner-step > .step-label .step-num {
  color: #b35cff;
  margin-right: 8px;
}

.partner-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.partner-form input,
.partner-form textarea {
  border-radius: 14px;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.partner-form input::placeholder,
.partner-form textarea::placeholder {
  color: #6f6580;
}

.partner-form input:focus,
.partner-form textarea:focus {
  outline: none;
  border-color: #b35cff;
  background: rgba(179, 92, 255, 0.06);
}

.partner-form textarea {
  resize: vertical;
  min-height: 130px;
}

/* Pill radio group for inquiry type */
.partner-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.partner-pill-group input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.partner-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: #cfcfcf;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.partner-pill:hover {
  border-color: rgba(179, 92, 255, 0.55);
  color: #fff;
}

.partner-pill-group input:checked + .partner-pill {
  border-color: #b35cff;
  background: rgba(179, 92, 255, 0.14);
  color: #fff;
  box-shadow: 0 0 14px rgba(179, 92, 255, 0.18);
}

.partner-pill i {
  font-size: 0.8rem;
  color: #b35cff;
}

.partner-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.partner-form-foot .foot-note {
  font-size: 0.75rem;
  color: #8c8299;
  max-width: 380px;
}

.partner-form-foot .foot-note i {
  color: #b35cff;
  margin-right: 6px;
}

.partner-submit {
  border-radius: 999px;
  padding: 16px 42px;
  background: linear-gradient(135deg, #b35cff 0%, #6d28d9 100%);
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  cursor: pointer;
  border: none;
  box-shadow: 0 10px 26px rgba(179, 92, 255, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(179, 92, 255, 0.5);
}

@media (max-width: 640px) {
  .partner-shell-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .partner-row {
    grid-template-columns: 1fr;
  }

  .partner-form {
    padding: 24px;
  }

  .partner-form-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .partner-submit {
    width: 100%;
  }
}

/* ---------- Support block (tip jar) ---------- */
.support-block {
  max-width: 640px;
  margin: 60px auto 0;
  padding: 40px;
  text-align: center;
  background: linear-gradient(145deg, #0d0715, #171022);
  border-radius: 25px;
  border: 1px solid #1f1f1f;
}

.support-block h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.support-block .section-text {
  margin-bottom: 24px;
}

.support-icon {
  font-size: 2.2rem;
  color: #b35cff;
  margin-bottom: 14px;
  animation: support-pulse 2s ease-in-out infinite;
}

.support-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.support-note {
  margin-top: 18px;
  font-size: 0.75rem;
  color: #686868;
}

.support-note i {
  color: #b35cff;
  margin-right: 5px;
}

@keyframes support-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

/* Floating support button */
.support-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #b35cff, #6d28d9);
  color: #fff;
  font-size: 1.25rem;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(179, 92, 255, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-fab:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 34px rgba(179, 92, 255, 0.65);
}

/* Store CTA */
.store-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #b35cff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: gap 0.25s ease, color 0.25s ease;
}

.store-cta:hover {
  gap: 12px;
  color: #fff;
}

/* ---------- Loadout (affiliates) ---------- */
.loadout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  max-width: 1100px;
  margin: 50px auto 0;
}

.loadout-card {
  background: linear-gradient(145deg, #0d0715, #171022);
  padding: 34px 28px;
  border-radius: 20px;
  border: 2px solid #1f1f1f;
  text-align: center;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.loadout-card:hover {
  transform: translateY(-8px);
  border-color: #b35cff;
  box-shadow: 0 18px 40px rgba(179, 92, 255, 0.2);
}

.loadout-visual {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 30%, rgba(179, 92, 255, 0.08), rgba(0, 0, 0, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.loadout-visual svg {
  width: 190px;
  height: 132px;
}

.loadout-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #b35cff;
  background: rgba(179, 92, 255, 0.1);
  border: 1px solid rgba(179, 92, 255, 0.35);
}

.loadout-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.loadout-card p {
  color: #888;
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.loadout-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b35cff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  transition: gap 0.25s ease, color 0.25s ease;
}

.loadout-card:hover .loadout-cta {
  gap: 12px;
  color: #fff;
}

.loadout-note {
  margin-top: 26px;
  font-size: 0.75rem;
  color: #686868;
}

.loadout-note i {
  color: #b35cff;
  margin-right: 5px;
}

/* ---------- Sponsor ticker (moved out of the mosaic) ---------- */
.sponsor-ticker {
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 14px 0;
  border-top: 1px solid rgba(179, 92, 255, 0.25);
  border-bottom: 1px solid rgba(179, 92, 255, 0.25);
  background: rgba(179, 92, 255, 0.04);
}

.sponsor-ticker-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  white-space: nowrap;
  animation: reel-ticker-scroll 22s linear infinite;
}

.sponsor-ticker-track span {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #b35cff;
  opacity: 0.9;
}

/* ---------- Department pages ---------- */
.dep-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 150px 40px 80px;
  overflow: hidden;
  background: radial-gradient(circle at center, #11081d 0%, #000 100%);
}

.dep-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(1.1);
}

.dep-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 3, 10, 0.35), rgba(5, 3, 10, 0.92));
}

.dep-hero > * {
  position: relative;
  z-index: 1;
}

.dep-hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 10px 0 14px;
  background: linear-gradient(135deg, var(--dep-accent, #b35cff), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dep-hero .section-eyebrow {
  color: var(--dep-accent, #b35cff);
}

.dep-hero .section-text {
  max-width: 620px;
}

.dep-hero .hero-buttons {
  margin-top: 26px;
}

.dep-scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--dep-accent, #b35cff);
  font-size: 1.3rem;
  animation: bounce 2s infinite;
}

/* Featured window */
/* Department hero: richer background treatment */
/* Higher specificity than `.dep-hero > *` so the bg stays absolute behind content */
.dep-hero > .dep-hero-bg {
  position: absolute;
  z-index: 0;
}

.dep-hero-bg {
  object-position: center 30%;
  opacity: 0.45;
  filter: saturate(1.15) contrast(1.05);
}

.dep-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 115%, color-mix(in srgb, var(--dep-accent, #b35cff) 22%, transparent) 0%, transparent 65%),
    linear-gradient(180deg, rgba(5, 3, 10, 0.55) 0%, rgba(5, 3, 10, 0.15) 45%, rgba(5, 3, 10, 0.92) 100%);
}

/* Minecraft own-server card */
.mc-server-card {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 38px 42px;
  border: 1px solid color-mix(in srgb, var(--dep-accent, #7ee787) 35%, rgba(255, 255, 255, 0.1));
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(21, 30, 22, 0.98), rgba(9, 12, 9, 0.98));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.mc-server-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(126, 231, 135, 0.4);
  background: rgba(126, 231, 135, 0.08);
  color: #7ee787;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.mc-server-badge .status-dot {
  background: #7ee787;
}

.mc-server-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.7rem;
  margin: 16px 0 8px;
  color: #fff;
}

.mc-connect-row {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.mc-connect-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.55);
  min-width: 64px;
  text-align: right;
}

.mc-server-connect {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 22px 0 12px;
}


  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 22px 0 12px;
  flex-wrap: wrap;
}

.mc-server-connect code {
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px dashed rgba(126, 231, 135, 0.45);
  background: rgba(126, 231, 135, 0.06);
  color: #7ee787;
  font-family: 'Courier New', monospace;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.mc-copy-btn {
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mc-copy-btn:hover {
  background: rgba(126, 231, 135, 0.15);
}

.mc-server-version {
  display: inline-block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

.mc-server-discord {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 24px;
  border-radius: 12px;
  background: #5865f2;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mc-server-discord:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(88, 101, 242, 0.35);
}

.dep-featured {
  color: #fff;
  text-decoration: none;
}
.dep-featured-body h3,
.dep-featured-body p,
.dep-featured-body .reel-date {
  color: inherit;
  text-decoration: none;
}
.dep-featured {
  max-width: 1100px;
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #120d19;
  text-align: left;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.dep-featured:hover {
  transform: translateY(-5px);
  border-color: var(--dep-accent, #b35cff);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.dep-featured-media {
  position: relative;
  min-height: 300px;
}

.dep-featured-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dep-featured-body {
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
}

.dep-featured-body .mosaic-tag {
  position: static;
  align-self: flex-start;
}

.dep-featured-body h3 {
  font-size: 1.4rem;
  line-height: 1.35;
}

.dep-featured-body p {
  color: #a39aaa;
  font-size: 0.95rem;
}

.dep-featured-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dep-accent, #b35cff);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-decoration: none;
  margin-top: 6px;
  transition: gap 0.25s ease, color 0.25s ease;
}

.dep-featured-action:hover {
  gap: 12px;
  color: #fff;
}

/* Shoutout windows on department pages */
.dep-shoutouts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1200px;
  margin: 44px auto 0;
}

.dep-shoutouts .mosaic-card {
  min-height: 260px;
}

/* Latest posts on department pages */
.dep-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 44px auto 0;
}

.dep-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.dep-cta-buttons .btn {
  min-width: 220px;
}

/* ---------- Class-based mobile menu ---------- */
@media (max-width: 768px) {
  nav.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(5, 3, 10, 0.98);
    padding: 20px;
    border-top: 1px solid rgba(179, 92, 255, 0.2);
  }

  nav.nav-open a {
    margin: 12px 0;
  }

  .mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: 0;
  }

  .mosaic-wrap {
    margin-left: 0;
  }

  .mosaic-feature {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
    min-height: 240px;
  }

  .dep-shoutouts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dep-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dep-featured {
    grid-template-columns: 1fr;
  }

  .dep-featured-media {
    min-height: 220px;
  }

  .support-fab {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic-feature {
    grid-column: 1;
    min-height: 220px;
  }

  .dep-shoutouts,
  .dep-posts {
    grid-template-columns: 1fr;
  }

  .community-poll {
    padding: 22px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  /* Carousels keep rotating (slower) — stopping them entirely leaves the ring frozen mid-view. */
  .carousel-3d,
  .merch-carousel-3d {
    animation-duration: 40s !important;
  }

  .sponsor-ticker-track,
  .hero-logo-img,
  .about-logo-img,
  .footer-logo,
  .achievement-icon,
  .loading-logo,
  .loading-progress,
  .support-icon,
  .logo-particles span,
  .circle {
    animation: none !important;
  }
}

