/* ============================================
   NITRO COMMUNITY — Premium Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Primary palette */
  --primary: #00d4ff;
  --primary-glow: rgba(0, 212, 255, 0.4);
  --primary-dark: #0099cc;
  --accent: #7b2ff7;
  --accent-glow: rgba(123, 47, 247, 0.4);
  
  /* Semantic colors */
  --success: #4ecdc4;
  --warning: #f59e0b;
  --danger: #ef4444;
  --live: #ff4757;
  
  /* Neutrals */
  --bg-primary: #050510;
  --bg-secondary: #0a0a1a;
  --bg-card: rgba(15, 15, 35, 0.7);
  --bg-card-hover: rgba(20, 20, 50, 0.85);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(0, 212, 255, 0.2);
  
  /* Text */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.35);
  
  /* Typography */
  --font-primary: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --section-pad: 120px;
  --container-max: 1200px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* --- Particle Canvas --- */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* --- Ambient Orbs --- */
.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
}

.ambient-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  right: -200px;
  animation: orbFloat1 20s ease-in-out infinite;
}

.ambient-orb-2 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  bottom: -150px;
  left: -150px;
  animation: orbFloat2 25s ease-in-out infinite;
}

.ambient-orb-3 {
  width: 400px;
  height: 400px;
  background: linear-gradient(var(--primary), var(--accent));
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbFloat3 18s ease-in-out infinite;
  opacity: 0.15;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-80px, 60px) scale(1.1); }
  66% { transform: translate(40px, -40px) scale(0.95); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -80px) scale(1.05); }
  66% { transform: translate(-50px, 30px) scale(0.9); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.3); }
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section --- */
.section {
  position: relative;
  z-index: 1;
  padding: var(--section-pad) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.section-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px var(--primary-glow));
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.logo-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all 0.3s var(--ease-out);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid rgba(255, 71, 87, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--live);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--live);
  border-radius: 50%;
  animation: livePulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--live);
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

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

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-glow {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-glow:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 40px var(--primary-glow), 0 0 60px rgba(0, 212, 255, 0.15);
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s var(--ease-out);
}

.btn-glow:hover::before {
  left: 100%;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(0, 212, 255, 0.05);
  transform: translateY(-2px);
}

.btn-icon {
  font-size: 1.2em;
}

.btn-arrow {
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero-content {
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: livePulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-primary);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.title-line {
  display: block;
  color: var(--text-primary);
}

.title-gradient {
  display: block;
  background: linear-gradient(135deg, var(--primary) 0%, #a855f7 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease-in-out infinite;
  filter: drop-shadow(0 0 40px var(--primary-glow));
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  display: block;
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: scrollBounce 2s ease-in-out infinite;
}

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

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

/* ============================================
   STATS SECTION
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s var(--ease-out);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.stat-card-number {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-card-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.stat-card-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  margin-bottom: 12px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
  transition: width 1.5s var(--ease-out);
  width: 0;
}

.stat-card.revealed .stat-bar-fill {
  /* width set inline */
}

.stat-card-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   ACTIVITY FEED
   ============================================ */
.activity-section {
  background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.02), transparent);
}

.activity-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.activity-info {
  position: sticky;
  top: 120px;
}

.activity-info .section-tag {
  margin-bottom: 16px;
}

.activity-info .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.activity-info .section-desc {
  text-align: left;
  margin: 0 0 32px 0;
}

.activity-pulse {
  position: relative;
  width: 60px;
  height: 60px;
}

.pulse-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  z-index: 2;
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  animation: pulseExpand 3s ease-out infinite;
}

.pulse-ring:nth-child(2) { animation-delay: 1s; }
.pulse-ring:nth-child(3) { animation-delay: 2s; }

@keyframes pulseExpand {
  0% { width: 12px; height: 12px; opacity: 1; }
  100% { width: 60px; height: 60px; opacity: 0; }
}

.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
}

.activity-feed::-webkit-scrollbar {
  width: 4px;
}

.activity-feed::-webkit-scrollbar-track {
  background: transparent;
}

.activity-feed::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 0.9rem;
  transition: all 0.4s var(--ease-out);
  animation: slideInRight 0.5s var(--ease-out);
}

.activity-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.activity-item-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.activity-item-text {
  flex: 1;
  color: var(--text-secondary);
}

.activity-item-text strong {
  color: var(--text-primary);
}

.activity-item-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}

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

/* ============================================
   CHAT SECTION
   ============================================ */
.chat-section {
  background: linear-gradient(180deg, transparent, rgba(123, 47, 247, 0.02), transparent);
}

.chat-window {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
}

.chat-channel {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.channel-hash {
  color: var(--text-muted);
  font-size: 1.2rem;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--live);
  font-weight: 600;
}

.chat-messages {
  padding: 20px 24px;
  min-height: 320px;
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.chat-msg {
  display: flex;
  gap: 12px;
  animation: chatFadeIn 0.4s var(--ease-out);
}

.chat-msg-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
}

.chat-msg-body {
  flex: 1;
}

.chat-msg-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.chat-msg-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.chat-msg-time {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.chat-msg-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.chat-msg-text .emoji {
  font-size: 1.1em;
}

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

.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.chat-input-placeholder {
  flex: 1;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   EVENTS SECTION
   ============================================ */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.4s var(--ease-out);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.event-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  background: linear-gradient(135deg, #ff6b6b, #ffa36b);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

.event-featured {
  grid-column: 1 / -1;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(123, 47, 247, 0.05));
  border-color: rgba(0, 212, 255, 0.15);
}

.event-card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.event-card-title {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.event-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Countdown */
.event-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.countdown-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.countdown-num {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 60px;
}

.countdown-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.countdown-sep {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   CONTENT SECTION
   ============================================ */
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.content-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1a1a3e, #0d0d2b);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
}

.content-card-lg {
  grid-row: span 2;
  aspect-ratio: auto;
}

.content-card:hover {
  transform: scale(1.02);
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.content-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  z-index: 2;
}

.content-card-type {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.content-card-overlay h3 {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.content-card-overlay p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.content-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(0, 212, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 3;
  transition: all 0.3s var(--ease-out);
}

.content-card:hover .content-card-play {
  background: rgba(0, 212, 255, 0.4);
  transform: translate(-50%, -50%) scale(1.1);
}

.content-card-live {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  background: var(--live);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  z-index: 3;
  animation: livePulse 2s ease-in-out infinite;
}

/* TikTok Embed Section */
.tiktok-section {
  padding: 80px 0;
}

.tiktok-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tiktok-wrapper blockquote {
  margin: 0 auto;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 80px 0 120px;
}

.cta-card {
  position: relative;
  text-align: center;
  padding: 80px 48px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(123, 47, 247, 0.06));
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 32px;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
  pointer-events: none;
  opacity: 0.4;
}

.cta-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-actions {
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}

.cta-members {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.cta-avatars {
  display: flex;
}

.cta-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  border: 2px solid var(--bg-primary);
  margin-left: -8px;
}

.cta-avatar:first-child {
  margin-left: 0;
}

.cta-avatar-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ============================================
   FOOTER (simplified)
   ============================================ */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  background: rgba(0, 0, 0, 0.3);
}

.footer-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* TikTok header */
.tiktok-header {
  text-align: center;
  margin-bottom: 40px;
}

.tiktok-header .section-desc {
  max-width: 400px;
  margin: 8px auto 0;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-secondary);
  transition: all 0.3s var(--ease-out);
}

.social-link:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.footer-links-group h4 {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-links-group a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-links-group a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-made {
  color: var(--text-muted);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .activity-layout {
    grid-template-columns: 1fr;
  }
  
  .activity-info {
    position: static;
    text-align: center;
  }
  
  .activity-info .section-title,
  .activity-info .section-desc {
    text-align: center;
  }
  
  .activity-info .section-desc {
    margin: 0 auto 32px;
  }
  
  .activity-pulse {
    margin: 0 auto;
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 80px;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5, 5, 16, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .nav-actions .live-indicator {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }
  
  .hero-stats {
    gap: 20px;
  }
  
  .hero-stat-divider {
    display: none;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .events-grid {
    grid-template-columns: 1fr;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .content-card-lg {
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }
  
  .cta-card {
    padding: 48px 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .countdown-num {
    font-size: 1.8rem;
  }
  
  .event-countdown {
    gap: 4px;
  }
}

/* ============================================
   COMPASSION BANNER (About Section)
   ============================================ */
.about-banner {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(123, 47, 247, 0.03), transparent);
}

.about-card {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-logo {
  flex-shrink: 0;
}

.about-logo img {
  width: 160px;
  height: 160px;
  border-radius: 24px;
  border: 2px solid rgba(0, 212, 255, 0.15);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.1);
  object-fit: cover;
  animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.about-text {
  flex: 1;
}

.about-text .section-tag {
  margin-bottom: 16px;
}

.about-text h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-values {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.about-value {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 8px 16px;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 100px;
}

@media (max-width: 768px) {
  .about-card {
    flex-direction: column;
    text-align: center;
  }
  
  .about-values {
    justify-content: center;
  }
  
  .about-logo img {
    width: 120px;
    height: 120px;
  }
}

/* ============================================
   DISCORD WIDGET EMBED
   ============================================ */
.discord-section {
  background: linear-gradient(180deg, transparent, rgba(123, 47, 247, 0.02), transparent);
}

.discord-embed-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.discord-embed-wrapper iframe {
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.discord-info-side {
  flex: 1;
  min-width: 280px;
}

.discord-info-side h3 {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.discord-info-side p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.discord-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.discord-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.3s var(--ease-out);
}

.discord-features li:hover {
  background: rgba(0, 212, 255, 0.05);
  border-color: var(--border-hover);
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .discord-embed-wrapper {
    flex-direction: column;
    text-align: center;
  }
  
  .discord-features {
    align-items: center;
  }
}

/* ============================================
   BIG LIVE COUNTER
   ============================================ */
.live-count-big {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 24px;
}

.live-count-number {
  font-family: var(--font-primary);
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.live-count-label {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.live-update-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 16px;
  font-style: italic;
}

@media (max-width: 1024px) {
  .live-count-big {
    align-items: center;
  }
}

/* ============================================
   ACTIVITY AVATAR (real Discord avatars)
   ============================================ */
.activity-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  border: 1px solid var(--border);
}

/* ============================================
   CTA REAL AVATAR IMAGES
   ============================================ */
.cta-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  margin-left: -8px;
  object-fit: cover;
  transition: transform 0.3s var(--ease-out);
}

.cta-avatar-img:first-child {
  margin-left: 0;
}

.cta-avatar-img:hover {
  transform: scale(1.15);
  z-index: 2;
}

/* ============================================
   TIKTOK SECTION
   ============================================ */
.tiktok-section {
  padding: 80px 0;
}

.tiktok-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tiktok-wrapper blockquote {
  margin: 0 auto;
}
