/*═══════════════════════════════════════════════════════════════════════════════
  HOMIESMP PREMIUM DESIGN SYSTEM v2.0
  A flagship-quality design system for next-generation gaming platforms
═══════════════════════════════════════════════════════════════════════════════*/

/* ═══ TYPOGRAPHY IMPORTS ═══ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ═══════════════════════════════════════════════════════════════════════════════
   DESIGN TOKENS - THE FOUNDATION OF OUR PREMIUM DESIGN SYSTEM
═══════════════════════════════════════════════════════════════════════════════ */
:root {
  /* ─── COLOR PALETTE: Premium Purple-Blue-Cyan Gradient System ─── */
  --hx-purple-50: #faf5ff;
  --hx-purple-100: #f3e8ff;
  --hx-purple-200: #e9d5ff;
  --hx-purple-300: #d8b4fe;
  --hx-purple-400: #c084fc;
  --hx-purple-500: #a855f7;
  --hx-purple-600: #9333ea;
  --hx-purple-700: #7c3aed;
  --hx-purple-800: #6d28d9;
  --hx-purple-900: #581c87;

  --hx-blue-50: #eff6ff;
  --hx-blue-100: #dbeafe;
  --hx-blue-200: #bfdbfe;
  --hx-blue-300: #93c5fd;
  --hx-blue-400: #60a5fa;
  --hx-blue-500: #3b82f6;
  --hx-blue-600: #2563eb;
  --hx-blue-700: #1d4ed8;
  --hx-blue-800: #1e40af;
  --hx-blue-900: #1e3a8a;

  --hx-cyan-50: #ecfeff;
  --hx-cyan-100: #cffafe;
  --hx-cyan-200: #a5f3fc;
  --hx-cyan-300: #67e8f9;
  --hx-cyan-400: #22d3ee;
  --hx-cyan-500: #06b6d4;

  /* ─── BRAND PRIMARY GRADIENT ─── */
  --hx-gradient-primary: linear-gradient(135deg, #a855f7 0%, #6366f1 50%, #22d3ee 100%);
  --hx-gradient-secondary: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
  --hx-gradient-accent: linear-gradient(135deg, #c084fc 0%, #60a5fa 50%, #67e8f9 100%);
  --hx-gradient-glow: linear-gradient(180deg, rgba(168, 85, 247, 0.15) 0%, transparent 100%);
  --hx-gradient-dark: linear-gradient(180deg, #0a0a12 0%, #0d0d18 50%, #0f0f1a 100%);

  /* ─── BACKGROUND COLORS ─── */
  --hx-bg-primary: #08080f;
  --hx-bg-secondary: #0a0a14;
  --hx-bg-tertiary: #0d0d1a;
  --hx-bg-elevated: #12121f;
  --hx-bg-card: rgba(15, 15, 26, 0.7);
  --hx-bg-glass: rgba(255, 255, 255, 0.03);
  --hx-bg-glass-hover: rgba(255, 255, 255, 0.05);

  /* ─── TEXT COLORS ─── */
  --hx-text-primary: #f8fafc;
  --hx-text-secondary: #cbd5e1;
  --hx-text-muted: #94a3b8;
  --hx-text-subtle: #64748b;

  /* ─── BORDER COLORS ─── */
  --hx-border-subtle: rgba(255, 255, 255, 0.06);
  --hx-border-default: rgba(255, 255, 255, 0.1);
  --hx-border-emphasis: rgba(168, 85, 247, 0.3);
  --hx-border-glow: rgba(168, 85, 247, 0.5);

  /* ─── STATUS COLORS ─── */
  --hx-success: #22c55e;
  --hx-success-glow: rgba(34, 197, 94, 0.3);
  --hx-warning: #f59e0b;
  --hx-warning-glow: rgba(245, 158, 11, 0.3);
  --hx-error: #ef4444;
  --hx-error-glow: rgba(239, 68, 68, 0.3);
  --hx-info: #3b82f6;
  --hx-info-glow: rgba(59, 130, 246, 0.3);

  /* ─── SHADOW SYSTEM (Multi-layered Elevation) ─── */
  --hx-shadow-xs: 0 1px 2px rgba(0,0,0,0.3);
  --hx-shadow-sm: 0 2px 4px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.4);
  --hx-shadow-md: 0 4px 6px rgba(0,0,0,0.25), 0 2px 4px rgba(0,0,0,0.35), 0 10px 20px rgba(0,0,0,0.2);
  --hx-shadow-lg: 0 10px 15px rgba(0,0,0,0.2), 0 4px 6px rgba(0,0,0,0.3), 0 20px 40px rgba(0,0,0,0.25);
  --hx-shadow-xl: 0 20px 25px rgba(0,0,0,0.15), 0 10px 10px rgba(0,0,0,0.2), 0 40px 60px rgba(0,0,0,0.3);
  --hx-shadow-glow-purple: 0 0 20px rgba(168, 85, 247, 0.3), 0 0 40px rgba(168, 85, 247, 0.15);
  --hx-shadow-glow-blue: 0 0 20px rgba(59, 130, 246, 0.3), 0 0 40px rgba(59, 130, 246, 0.15);
  --hx-shadow-glow-cyan: 0 0 20px rgba(34, 211, 238, 0.3), 0 0 40px rgba(34, 211, 238, 0.15);

  /* ─── SPACING SCALE ─── */
  --hx-space-3xs: 0.125rem;   /* 2px */
  --hx-space-2xs: 0.25rem;    /* 4px */
  --hx-space-xs: 0.5rem;      /* 8px */
  --hx-space-sm: 0.75rem;     /* 12px */
  --hx-space-md: 1rem;        /* 16px */
  --hx-space-lg: 1.5rem;      /* 24px */
  --hx-space-xl: 2rem;        /* 32px */
  --hx-space-2xl: 3rem;       /* 48px */
  --hx-space-3xl: 4rem;       /* 64px */
  --hx-space-4xl: 6rem;       /* 96px */
  --hx-space-5xl: 8rem;       /* 128px */

  /* ─── TYPOGRAPHY SCALE ─── */
  --hx-font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --hx-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --hx-text-xs: 0.75rem;      /* 12px */
  --hx-text-sm: 0.875rem;     /* 14px */
  --hx-text-base: 1rem;       /* 16px */
  --hx-text-lg: 1.125rem;     /* 18px */
  --hx-text-xl: 1.25rem;      /* 20px */
  --hx-text-2xl: 1.5rem;      /* 24px */
  --hx-text-3xl: 1.875rem;    /* 30px */
  --hx-text-4xl: 2.25rem;     /* 36px */
  --hx-text-5xl: 3rem;        /* 48px */
  --hx-text-6xl: 3.75rem;     /* 60px */
  --hx-text-7xl: 4.5rem;      /* 72px */
  --hx-text-8xl: 6rem;        /* 96px */

  /* ─── LINE HEIGHTS ─── */
  --hx-leading-none: 1;
  --hx-leading-tight: 1.15;
  --hx-leading-snug: 1.25;
  --hx-leading-normal: 1.5;
  --hx-leading-relaxed: 1.625;
  --hx-leading-loose: 2;

  /* ─── LETTER SPACING ─── */
  --hx-tracking-tighter: -0.05em;
  --hx-tracking-tight: -0.025em;
  --hx-tracking-normal: 0;
  --hx-tracking-wide: 0.025em;
  --hx-tracking-wider: 0.05em;
  --hx-tracking-widest: 0.1em;

  /* ─── BORDER RADIUS ─── */
  --hx-radius-sm: 0.375rem;   /* 6px */
  --hx-radius-md: 0.5rem;     /* 8px */
  --hx-radius-lg: 0.75rem;    /* 12px */
  --hx-radius-xl: 1rem;       /* 16px */
  --hx-radius-2xl: 1.25rem;   /* 20px */
  --hx-radius-3xl: 1.5rem;    /* 24px */
  --hx-radius-full: 9999px;

  /* ─── TRANSITIONS ─── */
  --hx-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --hx-transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --hx-transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --hx-transition-slower: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* ─── Z-INDEX SCALE ─── */
  --hx-z-dropdown: 1000;
  --hx-z-sticky: 1020;
  --hx-z-fixed: 1030;
  --hx-z-modal-backdrop: 1040;
  --hx-z-modal: 1050;
  --hx-z-popover: 1060;
  --hx-z-tooltip: 1070;

  /* ─── CONTAINER WIDTHS ─── */
  --hx-container-sm: 640px;
  --hx-container-md: 768px;
  --hx-container-lg: 1024px;
  --hx-container-xl: 1200px;
  --hx-container-2xl: 1400px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BASE STYLES & RESET
═══════════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--hx-font-body);
  font-size: var(--hx-text-base);
  line-height: var(--hx-leading-normal);
  color: var(--hx-text-primary);
  background: var(--hx-bg-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Premium background with subtle gradient mesh */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 50%, rgba(34, 211, 238, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Selection styling */
::selection {
  background: rgba(168, 85, 247, 0.3);
  color: var(--hx-text-primary);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--hx-bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--hx-purple-600), var(--hx-blue-600));
  border-radius: var(--hx-radius-full);
  border: 2px solid var(--hx-bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--hx-purple-500), var(--hx-blue-500));
}

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

a {
  color: var(--hx-purple-400);
  text-decoration: none;
  transition: color var(--hx-transition-fast);
}

a:hover {
  color: var(--hx-purple-300);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY SYSTEM
═══════════════════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6, .hx-heading {
  font-family: var(--hx-font-display);
  font-weight: 700;
  letter-spacing: var(--hx-tracking-tight);
  line-height: var(--hx-leading-tight);
  color: var(--hx-text-primary);
}

.hx-display-1 {
  font-size: clamp(3rem, 8vw, var(--hx-text-8xl));
  font-weight: 800;
  letter-spacing: var(--hx-tracking-tighter);
  line-height: var(--hx-leading-none);
}

.hx-display-2 {
  font-size: clamp(2.5rem, 6vw, var(--hx-text-7xl));
  font-weight: 700;
  letter-spacing: var(--hx-tracking-tighter);
}

h1, .hx-h1 {
  font-size: clamp(2rem, 5vw, var(--hx-text-5xl));
}

h2, .hx-h2 {
  font-size: clamp(1.75rem, 4vw, var(--hx-text-4xl));
}

h3, .hx-h3 {
  font-size: clamp(1.5rem, 3vw, var(--hx-text-3xl));
}

h4, .hx-h4 {
  font-size: var(--hx-text-2xl);
}

h5, .hx-h5 {
  font-size: var(--hx-text-xl);
}

h6, .hx-h6 {
  font-size: var(--hx-text-lg);
}

p {
  color: var(--hx-text-secondary);
  line-height: var(--hx-leading-relaxed);
}

.hx-lead {
  font-size: var(--hx-text-xl);
  color: var(--hx-text-secondary);
  line-height: var(--hx-leading-relaxed);
}

.hx-small {
  font-size: var(--hx-text-sm);
}

.hx-tiny {
  font-size: var(--hx-text-xs);
}

/* Text gradient effect */
.hx-text-gradient {
  background: var(--hx-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hx-text-glow {
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.5), 0 0 40px rgba(168, 85, 247, 0.3);
}


/* ═══════════════════════════════════════════════════════════════════════════════
   CONTAINER SYSTEM
═══════════════════════════════════════════════════════════════════════════════ */
.hx-container {
  width: 100%;
  max-width: var(--hx-container-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--hx-space-lg);
  padding-right: var(--hx-space-lg);
}

.hx-container-sm { max-width: var(--hx-container-sm); }
.hx-container-md { max-width: var(--hx-container-md); }
.hx-container-lg { max-width: var(--hx-container-lg); }
.hx-container-xl { max-width: var(--hx-container-xl); }
.hx-container-2xl { max-width: var(--hx-container-2xl); }

/* ═══════════════════════════════════════════════════════════════════════════════
   PREMIUM GLASS PANELS & CARDS
═══════════════════════════════════════════════════════════════════════════════ */
.hx-glass {
  background: var(--hx-bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--hx-border-subtle);
  border-radius: var(--hx-radius-xl);
}

.hx-glass-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--hx-border-subtle);
  border-radius: var(--hx-radius-2xl);
  padding: var(--hx-space-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--hx-transition-slow);
}

.hx-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.4), rgba(59, 130, 246, 0.4), transparent);
  opacity: 0;
  transition: opacity var(--hx-transition-base);
}

.hx-glass-card:hover {
  border-color: var(--hx-border-emphasis);
  transform: translateY(-4px);
  box-shadow: var(--hx-shadow-xl), var(--hx-shadow-glow-purple);
}

.hx-glass-card:hover::before {
  opacity: 1;
}

/* Panel variations */
.hx-panel {
  background: var(--hx-bg-elevated);
  border: 1px solid var(--hx-border-subtle);
  border-radius: var(--hx-radius-2xl);
  padding: var(--hx-space-xl);
}

.hx-panel-glow {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 0 0 1px var(--hx-border-subtle),
    0 20px 40px rgba(0,0,0,0.3);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PREMIUM BUTTONS
═══════════════════════════════════════════════════════════════════════════════ */
.hx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--hx-space-xs);
  font-family: var(--hx-font-display);
  font-weight: 600;
  font-size: var(--hx-text-sm);
  letter-spacing: var(--hx-tracking-wide);
  text-transform: uppercase;
  padding: var(--hx-space-sm) var(--hx-space-xl);
  border-radius: var(--hx-radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--hx-transition-base);
  position: relative;
  overflow: hidden;
}

.hx-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--hx-transition-fast);
}

.hx-btn:hover::before {
  opacity: 1;
}

/* Primary button */
.hx-btn-primary {
  background: var(--hx-gradient-secondary);
  color: var(--hx-text-primary);
  box-shadow: var(--hx-shadow-md), 0 0 20px rgba(124, 58, 237, 0.3);
}

.hx-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--hx-shadow-lg), 0 0 30px rgba(124, 58, 237, 0.5);
}

.hx-btn-primary:active {
  transform: translateY(0);
}

/* Secondary button */
.hx-btn-secondary {
  background: transparent;
  color: var(--hx-text-primary);
  border: 1px solid var(--hx-border-default);
  backdrop-filter: blur(10px);
}

.hx-btn-secondary:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--hx-purple-500);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

/* Ghost button */
.hx-btn-ghost {
  background: transparent;
  color: var(--hx-text-secondary);
  padding: var(--hx-space-xs) var(--hx-space-md);
}

.hx-btn-ghost:hover {
  color: var(--hx-text-primary);
  background: rgba(255,255,255,0.05);
}

/* Button sizes */
.hx-btn-sm {
  font-size: var(--hx-text-xs);
  padding: var(--hx-space-xs) var(--hx-space-md);
}

.hx-btn-lg {
  font-size: var(--hx-text-base);
  padding: var(--hx-space-md) var(--hx-space-2xl);
}


/* ═══════════════════════════════════════════════════════════════════════════════
   BADGES & TAGS
═══════════════════════════════════════════════════════════════════════════════ */
.hx-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--hx-space-2xs);
  font-family: var(--hx-font-display);
  font-size: var(--hx-text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--hx-tracking-wider);
  padding: var(--hx-space-2xs) var(--hx-space-sm);
  border-radius: var(--hx-radius-full);
  border: 1px solid transparent;
}

.hx-badge-live {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.3);
  animation: pulse-glow 2s ease-in-out infinite;
}

.hx-badge-live::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--hx-success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hx-badge-coming {
  background: rgba(168, 85, 247, 0.15);
  color: var(--hx-purple-300);
  border-color: rgba(168, 85, 247, 0.3);
}

.hx-badge-new {
  background: rgba(59, 130, 246, 0.15);
  color: var(--hx-blue-300);
  border-color: rgba(59, 130, 246, 0.3);
}

.hx-badge-invite {
  background: rgba(255, 255, 255, 0.08);
  color: var(--hx-text-muted);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Tag chips */
.hx-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--hx-space-2xs);
  font-size: var(--hx-text-xs);
  color: var(--hx-text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hx-border-subtle);
  padding: var(--hx-space-2xs) var(--hx-space-xs);
  border-radius: var(--hx-radius-md);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   INPUT & FORM ELEMENTS
═══════════════════════════════════════════════════════════════════════════════ */
.hx-input {
  width: 100%;
  font-family: var(--hx-font-body);
  font-size: var(--hx-text-base);
  color: var(--hx-text-primary);
  background: var(--hx-bg-secondary);
  border: 1px solid var(--hx-border-subtle);
  border-radius: var(--hx-radius-lg);
  padding: var(--hx-space-sm) var(--hx-space-md);
  transition: all var(--hx-transition-fast);
}

.hx-input::placeholder {
  color: var(--hx-text-subtle);
}

.hx-input:focus {
  outline: none;
  border-color: var(--hx-purple-500);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

.hx-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PREMIUM NAVIGATION BAR
═══════════════════════════════════════════════════════════════════════════════ */
.hx-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--hx-z-fixed);
  padding: var(--hx-space-md) 0;
  transition: all var(--hx-transition-slow);
}

.hx-navbar.scrolled {
  background: rgba(8, 8, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--hx-border-subtle);
  box-shadow: var(--hx-shadow-lg);
}

.hx-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hx-navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--hx-space-sm);
}

.hx-navbar-brand img {
  height: 50px;
  width: auto;
}

.hx-navbar-brand span {
  font-family: var(--hx-font-display);
  font-size: var(--hx-text-xl);
  font-weight: 700;
  color: var(--hx-text-primary);
}

.hx-navbar-menu {
  display: flex;
  align-items: center;
  gap: var(--hx-space-xs);
  list-style: none;
}

.hx-navbar-link {
  font-family: var(--hx-font-display);
  font-size: var(--hx-text-sm);
  font-weight: 500;
  color: var(--hx-text-secondary);
  padding: var(--hx-space-xs) var(--hx-space-md);
  border-radius: var(--hx-radius-md);
  transition: all var(--hx-transition-fast);
}

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

.hx-navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--hx-space-sm);
}

/* Mobile menu */
.hx-navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--hx-space-xs);
  background: none;
  border: none;
  cursor: pointer;
}

.hx-navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--hx-text-primary);
  border-radius: 2px;
  transition: all var(--hx-transition-fast);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════════════════════════ */
.hx-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--hx-space-5xl) 0 var(--hx-space-4xl);
  overflow: hidden;
}

.hx-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hx-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hx-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,8,15,0.3) 0%, rgba(8,8,15,0.6) 50%, var(--hx-bg-primary) 100%),
    radial-gradient(ellipse at 30% 20%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  z-index: -1;
}

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

.hx-hero-title {
  margin-bottom: var(--hx-space-lg);
}

.hx-hero-title span {
  background: var(--hx-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hx-hero-subtitle {
  font-size: var(--hx-text-xl);
  color: var(--hx-text-secondary);
  margin-bottom: var(--hx-space-xl);
  max-width: 600px;
  line-height: var(--hx-leading-relaxed);
}

.hx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hx-space-md);
  margin-bottom: var(--hx-space-xl);
}

.hx-hero-stats {
  display: flex;
  gap: var(--hx-space-xl);
}

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

.hx-hero-stat-value {
  font-family: var(--hx-font-display);
  font-size: var(--hx-text-3xl);
  font-weight: 700;
  color: var(--hx-text-primary);
}

.hx-hero-stat-label {
  font-size: var(--hx-text-sm);
  color: var(--hx-text-muted);
}

/* Hero particles */
.hx-hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hx-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--hx-purple-400);
  border-radius: 50%;
  opacity: 0.6;
  animation: float-particle 8s ease-in-out infinite;
}

@keyframes float-particle {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.6; }
  50% { transform: translateY(-100px) translateX(20px); opacity: 0.2; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   NEWS CARDS
═══════════════════════════════════════════════════════════════════════════════ */
.hx-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--hx-space-xl);
}

.hx-news-card {
  position: relative;
  border-radius: var(--hx-radius-2xl);
  overflow: hidden;
  background: var(--hx-bg-elevated);
  border: 1px solid var(--hx-border-subtle);
  transition: all var(--hx-transition-slow);
}

.hx-news-card:hover {
  transform: translateY(-8px);
  border-color: var(--hx-border-emphasis);
  box-shadow: var(--hx-shadow-xl), var(--hx-shadow-glow-purple);
}

.hx-news-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.hx-news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--hx-transition-slow);
}

.hx-news-card:hover .hx-news-card-image img {
  transform: scale(1.05);
}

.hx-news-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--hx-bg-elevated) 100%);
}

.hx-news-card-badge {
  position: absolute;
  top: var(--hx-space-md);
  left: var(--hx-space-md);
  z-index: 1;
}

.hx-news-card-content {
  padding: var(--hx-space-xl);
}

.hx-news-card-meta {
  display: flex;
  align-items: center;
  gap: var(--hx-space-md);
  margin-bottom: var(--hx-space-sm);
}

.hx-news-card-author {
  display: flex;
  align-items: center;
  gap: var(--hx-space-xs);
  font-size: var(--hx-text-sm);
  color: var(--hx-text-muted);
}

.hx-news-card-author img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.hx-news-card-date {
  font-size: var(--hx-text-sm);
  color: var(--hx-text-subtle);
}

.hx-news-card-title {
  font-size: var(--hx-text-xl);
  margin-bottom: var(--hx-space-sm);
  line-height: var(--hx-leading-snug);
}

.hx-news-card-title a {
  color: var(--hx-text-primary);
}

.hx-news-card-title a:hover {
  color: var(--hx-purple-400);
}

.hx-news-card-excerpt {
  font-size: var(--hx-text-base);
  color: var(--hx-text-secondary);
  line-height: var(--hx-leading-relaxed);
  margin-bottom: var(--hx-space-md);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FEATURE CARDS (Game Modes)
═══════════════════════════════════════════════════════════════════════════════ */
.hx-feature-section {
  padding: var(--hx-space-4xl) 0;
}

.hx-feature-grid {
  display: grid;
  gap: var(--hx-space-3xl);
}

.hx-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--hx-space-3xl);
  align-items: center;
}

.hx-feature-row.reverse {
  direction: rtl;
}

.hx-feature-row.reverse > * {
  direction: ltr;
}

.hx-feature-content {
  max-width: 560px;
}

.hx-feature-title {
  display: flex;
  align-items: center;
  gap: var(--hx-space-md);
  margin-bottom: var(--hx-space-md);
}

.hx-feature-description {
  color: var(--hx-text-secondary);
  line-height: var(--hx-leading-relaxed);
  margin-bottom: var(--hx-space-lg);
}

.hx-feature-image {
  position: relative;
  border-radius: var(--hx-radius-2xl);
  overflow: hidden;
  box-shadow: var(--hx-shadow-xl);
}

.hx-feature-image::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: var(--hx-gradient-primary);
  border-radius: inherit;
  z-index: -1;
  opacity: 0.5;
}

.hx-feature-image img {
  border-radius: var(--hx-radius-2xl);
  transition: transform var(--hx-transition-slow);
}

.hx-feature-image:hover img {
  transform: scale(1.02);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   TEAM CARDS
═══════════════════════════════════════════════════════════════════════════════ */
.hx-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--hx-space-xl);
}

.hx-team-card {
  position: relative;
  text-align: center;
  padding: var(--hx-space-xl);
  background: var(--hx-bg-elevated);
  border: 1px solid var(--hx-border-subtle);
  border-radius: var(--hx-radius-2xl);
  transition: all var(--hx-transition-slow);
  cursor: pointer;
}

.hx-team-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: var(--hx-gradient-primary);
  border-radius: inherit;
  opacity: 0;
  z-index: -1;
  transition: opacity var(--hx-transition-base);
}

.hx-team-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: var(--hx-shadow-xl), var(--hx-shadow-glow-purple);
}

.hx-team-card:hover::before {
  opacity: 0.15;
}

.hx-team-avatar-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto var(--hx-space-lg);
}

.hx-team-avatar {
  width: 100%;
  height: 100%;
  border-radius: var(--hx-radius-xl);
  border: 3px solid var(--hx-border-emphasis);
  transition: all var(--hx-transition-base);
  object-fit: cover;
}

.hx-team-card:hover .hx-team-avatar {
  border-color: var(--hx-purple-500);
  box-shadow: var(--hx-shadow-glow-purple);
}

.hx-team-status {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border: 3px solid var(--hx-bg-elevated);
  border-radius: 50%;
}

.hx-team-status.online {
  background: var(--hx-success);
}

.hx-team-status.offline {
  background: var(--hx-text-muted);
}

.hx-team-name {
  font-size: var(--hx-text-xl);
  margin-bottom: var(--hx-space-xs);
}

.hx-team-bio {
  font-size: var(--hx-text-sm);
  color: var(--hx-text-secondary);
  margin-top: var(--hx-space-sm);
  line-height: 1.6;
}

.hx-team-socials {
  display: flex;
  justify-content: center;
  gap: var(--hx-space-sm);
  margin-top: var(--hx-space-md);
}

.hx-team-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--hx-radius-md);
  color: var(--hx-text-secondary);
  text-decoration: none;
  transition: all var(--hx-transition-fast);
}

.hx-team-social:hover {
  background: var(--hx-gradient-primary);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
}

.hx-team-role {
  font-size: var(--hx-text-sm);
  color: var(--hx-purple-400);
  text-transform: uppercase;
  letter-spacing: var(--hx-tracking-wider);
}

/* Team role colors */
.hx-team-card[data-role="owner"] .hx-team-role { color: #f97316; }
.hx-team-card[data-role="admin"] .hx-team-role { color: #ef4444; }
.hx-team-card[data-role="moderator"] .hx-team-role { color: #3b82f6; }
.hx-team-card[data-role="supporter"] .hx-team-role { color: #22c55e; }

/* ═══════════════════════════════════════════════════════════════════════════════
   ACCORDION (FAQ & RULES)
═══════════════════════════════════════════════════════════════════════════════ */
.hx-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--hx-space-sm);
}

.hx-accordion-item {
  background: var(--hx-bg-elevated);
  border: 1px solid var(--hx-border-subtle);
  border-radius: var(--hx-radius-xl);
  overflow: hidden;
  transition: all var(--hx-transition-base);
}

.hx-accordion-item:hover {
  border-color: var(--hx-border-emphasis);
}

.hx-accordion-item.active {
  border-color: var(--hx-purple-500);
  box-shadow: var(--hx-shadow-md);
}

.hx-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--hx-space-lg) var(--hx-space-xl);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background var(--hx-transition-fast);
  font-family: var(--hx-font-heading);
  font-size: var(--hx-text-lg);
  font-weight: 600;
  color: var(--hx-text-primary);
  text-align: left;
}

.hx-accordion-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.hx-accordion-header span {
  flex: 1;
}

.hx-accordion-header i {
  color: var(--hx-text-muted);
  transition: transform var(--hx-transition-base);
  font-size: 0.875rem;
}

.hx-accordion-item.active .hx-accordion-header i {
  transform: rotate(180deg);
  color: var(--hx-purple-400);
}

.hx-accordion-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--hx-gradient-secondary);
  border-radius: var(--hx-radius-md);
  font-size: var(--hx-text-lg);
  color: var(--hx-text-primary);
  flex-shrink: 0;
}

.hx-accordion-title {
  flex: 1;
  font-family: var(--hx-font-display);
  font-size: var(--hx-text-lg);
  font-weight: 600;
  color: var(--hx-text-primary);
}

.hx-accordion-arrow {
  color: var(--hx-text-muted);
  transition: transform var(--hx-transition-base);
}

.hx-accordion-item.active .hx-accordion-arrow {
  transform: rotate(180deg);
}

.hx-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--hx-transition-slow), padding var(--hx-transition-slow);
  padding: 0 var(--hx-space-xl);
}

.hx-accordion-item.active .hx-accordion-body {
  max-height: 500px;
  padding: 0 var(--hx-space-xl) var(--hx-space-xl);
}

.hx-accordion-body p {
  color: var(--hx-text-secondary);
  line-height: var(--hx-leading-relaxed);
  margin: 0;
}

.hx-accordion-body a {
  color: var(--hx-purple-400);
  text-decoration: none;
}

.hx-accordion-body a:hover {
  text-decoration: underline;
}

.hx-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--hx-transition-slow);
}

.hx-accordion-item.active .hx-accordion-content {
  max-height: 500px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════════════════ */
.hx-footer {
  position: relative;
  background: var(--hx-bg-secondary);
  border-top: 1px solid var(--hx-border-subtle);
  padding: var(--hx-space-4xl) 0 var(--hx-space-xl);
}

.hx-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

.hx-footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--hx-space-2xl);
  margin-bottom: var(--hx-space-3xl);
}

.hx-footer-brand {
  max-width: 320px;
}

.hx-footer-brand-logo {
  display: flex;
  align-items: center;
  gap: var(--hx-space-sm);
  margin-bottom: var(--hx-space-lg);
}

.hx-footer-brand-logo img {
  height: 48px;
}

.hx-footer-brand-text {
  color: var(--hx-text-secondary);
  line-height: var(--hx-leading-relaxed);
  margin-bottom: var(--hx-space-lg);
}

.hx-footer-ip {
  display: inline-flex;
  align-items: center;
  gap: var(--hx-space-sm);
  background: var(--hx-bg-elevated);
  border: 1px solid var(--hx-border-subtle);
  border-radius: var(--hx-radius-lg);
  padding: var(--hx-space-xs) var(--hx-space-sm);
}

.hx-footer-ip code {
  font-family: 'JetBrains Mono', monospace;
  color: var(--hx-purple-400);
}

.hx-footer-heading {
  font-family: var(--hx-font-display);
  font-size: var(--hx-text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--hx-tracking-wider);
  color: var(--hx-text-primary);
  margin-bottom: var(--hx-space-lg);
}

.hx-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--hx-space-sm);
}

.hx-footer-links a {
  color: var(--hx-text-secondary);
  font-size: var(--hx-text-sm);
  transition: all var(--hx-transition-fast);
}

.hx-footer-links a:hover {
  color: var(--hx-text-primary);
  padding-left: var(--hx-space-xs);
}

.hx-footer-socials {
  display: flex;
  gap: var(--hx-space-sm);
}

.hx-footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--hx-bg-elevated);
  border: 1px solid var(--hx-border-subtle);
  border-radius: var(--hx-radius-md);
  color: var(--hx-text-secondary);
  font-size: var(--hx-text-lg);
  transition: all var(--hx-transition-fast);
}

.hx-footer-social:hover {
  background: var(--hx-gradient-secondary);
  border-color: transparent;
  color: var(--hx-text-primary);
  transform: translateY(-2px);
}

.hx-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--hx-space-xl);
  border-top: 1px solid var(--hx-border-subtle);
}

.hx-footer-copyright {
  font-size: var(--hx-text-sm);
  color: var(--hx-text-muted);
}

.hx-footer-legal {
  display: flex;
  gap: var(--hx-space-lg);
}

.hx-footer-legal a {
  font-size: var(--hx-text-sm);
  color: var(--hx-text-muted);
}

.hx-footer-legal a:hover {
  color: var(--hx-text-primary);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MODAL SYSTEM
═══════════════════════════════════════════════════════════════════════════════ */
.hx-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: var(--hx-z-modal-backdrop);
  opacity: 0;
  visibility: hidden;
  transition: all var(--hx-transition-base);
}

.hx-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.hx-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  background: var(--hx-bg-elevated);
  border: 1px solid var(--hx-border-subtle);
  border-radius: var(--hx-radius-2xl);
  z-index: var(--hx-z-modal);
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: all var(--hx-transition-slow);
}

.hx-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.hx-modal-header {
  position: relative;
  padding: var(--hx-space-2xl);
  text-align: center;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.1) 0%, transparent 100%);
}

.hx-modal-close {
  position: absolute;
  top: var(--hx-space-md);
  right: var(--hx-space-md);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hx-bg-glass);
  border: 1px solid var(--hx-border-subtle);
  border-radius: var(--hx-radius-md);
  color: var(--hx-text-muted);
  cursor: pointer;
  transition: all var(--hx-transition-fast);
}

.hx-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: var(--hx-error);
}

.hx-modal-avatar {
  width: 100px;
  height: 100px;
  border-radius: var(--hx-radius-xl);
  border: 3px solid var(--hx-purple-500);
  box-shadow: var(--hx-shadow-glow-purple);
  margin: 0 auto var(--hx-space-md);
}

.hx-modal-body {
  padding: var(--hx-space-xl);
  overflow-y: auto;
  max-height: 400px;
}

.hx-modal-section {
  margin-bottom: var(--hx-space-lg);
}

.hx-modal-section:last-child {
  margin-bottom: 0;
}

.hx-modal-section-title {
  font-size: var(--hx-text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--hx-tracking-wider);
  color: var(--hx-text-muted);
  margin-bottom: var(--hx-space-sm);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   NAVBAR STATUS PILLS (Unified Header)
═══════════════════════════════════════════════════════════════════════════════ */
.hx-navbar-status {
  display: flex;
  align-items: center;
  gap: var(--hx-space-sm);
  margin-right: var(--hx-space-md);
}

.hx-nav-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: var(--hx-radius-full);
  font-size: var(--hx-text-xs);
  font-weight: 600;
  color: var(--hx-text-secondary);
  transition: all var(--hx-transition-fast);
  white-space: nowrap;
}

.hx-nav-status-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--hx-text-primary);
}

.hx-nav-status-pill i {
  font-size: 12px;
  opacity: 0.8;
}

.hx-nav-status-pill .hx-status-dot {
  width: 6px;
  height: 6px;
  background: var(--hx-success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Mobile Status in Menu */
.hx-nav-status-mobile {
  display: none;
}

.hx-nav-status-divider {
  height: 1px;
  background: var(--hx-border-subtle);
  margin: var(--hx-space-md) 0;
}

.hx-nav-status-items {
  display: flex;
  gap: var(--hx-space-sm);
  justify-content: center;
}

/* Legacy support - keep pulse animation */
.hx-online-dot {
  width: 8px;
  height: 8px;
  background: var(--hx-success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SECTION DIVIDERS
═══════════════════════════════════════════════════════════════════════════════ */
.hx-section {
  padding: var(--hx-space-4xl) 0;
}

.hx-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--hx-space-3xl);
}

.hx-section-title {
  margin-bottom: var(--hx-space-md);
}

.hx-section-subtitle {
  color: var(--hx-text-secondary);
  font-size: var(--hx-text-lg);
}

.hx-section-subtext {
  color: var(--hx-text-tertiary);
  font-size: var(--hx-text-base);
  margin-top: var(--hx-space-xs);
}

.hx-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hx-border-subtle), transparent);
  margin: var(--hx-space-3xl) 0;
}

.hx-divider-glow {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--hx-purple-500), var(--hx-blue-500), transparent);
  margin: var(--hx-space-4xl) 0;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════════════════════════════ */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
  }
}

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

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glow-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.6));
  }
}

.hx-animate-float {
  animation: float 6s ease-in-out infinite;
}

.hx-animate-fade-in {
  animation: fade-in 0.5s ease-out forwards;
}

.hx-animate-scale-in {
  animation: scale-in 0.3s ease-out forwards;
}

.hx-animate-glow {
  animation: glow-pulse 3s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   UTILITY CLASSES
═══════════════════════════════════════════════════════════════════════════════ */
.hx-text-center { text-align: center; }
.hx-text-left { text-align: left; }
.hx-text-right { text-align: right; }

.hx-flex { display: flex; }
.hx-flex-col { flex-direction: column; }
.hx-flex-wrap { flex-wrap: wrap; }
.hx-items-center { align-items: center; }
.hx-justify-center { justify-content: center; }
.hx-justify-between { justify-content: space-between; }
.hx-gap-xs { gap: var(--hx-space-xs); }
.hx-gap-sm { gap: var(--hx-space-sm); }
.hx-gap-md { gap: var(--hx-space-md); }
.hx-gap-lg { gap: var(--hx-space-lg); }
.hx-gap-xl { gap: var(--hx-space-xl); }

.hx-w-full { width: 100%; }
.hx-h-full { height: 100%; }

.hx-mt-0 { margin-top: 0; }
.hx-mb-0 { margin-bottom: 0; }
.hx-mt-sm { margin-top: var(--hx-space-sm); }
.hx-mt-md { margin-top: var(--hx-space-md); }
.hx-mt-lg { margin-top: var(--hx-space-lg); }
.hx-mt-xl { margin-top: var(--hx-space-xl); }
.hx-mb-sm { margin-bottom: var(--hx-space-sm); }
.hx-mb-md { margin-bottom: var(--hx-space-md); }
.hx-mb-lg { margin-bottom: var(--hx-space-lg); }
.hx-mb-xl { margin-bottom: var(--hx-space-xl); }
.hx-my-xl { margin-top: var(--hx-space-xl); margin-bottom: var(--hx-space-xl); }

.hx-p-md { padding: var(--hx-space-md); }
.hx-p-lg { padding: var(--hx-space-lg); }
.hx-p-xl { padding: var(--hx-space-xl); }

.hx-hidden { display: none; }
.hx-relative { position: relative; }
.hx-overflow-hidden { overflow: hidden; }

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
═══════════════════════════════════════════════════════════════════════════════ */

/* Tablet: < 1024px */
@media (max-width: 1024px) {
  .hx-container {
    padding-left: var(--hx-space-xl);
    padding-right: var(--hx-space-xl);
  }

  .hx-feature-row {
    grid-template-columns: 1fr;
    gap: var(--hx-space-2xl);
  }

  .hx-feature-row.reverse {
    direction: ltr;
  }

  .hx-feature-content {
    max-width: none;
    text-align: center;
  }

  .hx-feature-title {
    justify-content: center;
  }

  .hx-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hx-navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(8, 8, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: var(--hx-space-lg);
    border-bottom: 1px solid var(--hx-border-subtle);
  }

  .hx-navbar-menu.active {
    display: flex;
  }

  .hx-navbar-toggle {
    display: flex;
  }

  /* Hide desktop status pills on tablet */
  .hx-navbar-status {
    display: none;
  }

  /* Show mobile status in menu */
  .hx-nav-status-mobile {
    display: block;
    width: 100%;
  }

  .hx-hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hx-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hx-hero-actions {
    justify-content: center;
  }

  .hx-hero-stats {
    justify-content: center;
  }
}

/* Mobile: < 768px */
@media (max-width: 768px) {
  :root {
    --hx-text-6xl: 2.5rem;
    --hx-text-5xl: 2rem;
    --hx-text-4xl: 1.75rem;
    --hx-text-3xl: 1.5rem;
  }

  .hx-container {
    padding-left: var(--hx-space-md);
    padding-right: var(--hx-space-md);
  }

  .hx-section {
    padding: var(--hx-space-2xl) 0;
  }

  .hx-hero {
    min-height: auto;
    padding: var(--hx-space-4xl) 0 var(--hx-space-2xl);
  }

  .hx-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hx-hero-actions .hx-btn {
    width: 100%;
  }

  .hx-hero-stats {
    flex-wrap: wrap;
    gap: var(--hx-space-lg);
  }

  .hx-news-grid {
    grid-template-columns: 1fr;
  }

  .hx-team-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .hx-footer-grid {
    grid-template-columns: 1fr;
    gap: var(--hx-space-xl);
  }

  .hx-footer-brand {
    max-width: none;
    text-align: center;
  }

  .hx-footer-brand-logo {
    justify-content: center;
  }

  .hx-footer-bottom {
    flex-direction: column;
    gap: var(--hx-space-md);
    text-align: center;
  }

  .hx-footer-socials {
    justify-content: center;
  }

  .hx-glass-card {
    padding: var(--hx-space-lg);
  }

  .hx-btn-lg {
    padding: var(--hx-space-sm) var(--hx-space-xl);
    font-size: var(--hx-text-sm);
  }
}

/* Small Mobile: < 480px */
@media (max-width: 480px) {
  .hx-container {
    padding-left: var(--hx-space-sm);
    padding-right: var(--hx-space-sm);
  }

  .hx-accordion-header {
    padding: var(--hx-space-md);
  }

  .hx-accordion-body {
    padding-left: var(--hx-space-md);
  }

  .hx-team-card {
    padding: var(--hx-space-lg);
  }

  .hx-team-avatar {
    width: 100px;
    height: 100px;
  }

  .hx-modal {
    width: 95%;
  }

  /* Hide Discord button text on very small screens */
  .hx-navbar-actions .hx-btn-text {
    display: none;
  }

  .hx-navbar-actions .hx-btn-sm {
    padding: var(--hx-space-xs) var(--hx-space-sm);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PAGE HEADER
═══════════════════════════════════════════════════════════════════════════════ */
.hx-page-header {
  padding: calc(var(--hx-space-4xl) + 80px) 0 var(--hx-space-3xl);
  background: linear-gradient(180deg, var(--hx-bg-primary) 0%, var(--hx-bg-secondary) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hx-page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hx-page-header-content {
  position: relative;
  z-index: 1;
}

.hx-page-subtitle {
  font-size: 1.125rem;
  color: var(--hx-text-secondary);
  max-width: 600px;
  margin: var(--hx-space-md) auto 0;
  line-height: 1.7;
}

.hx-page-chips {
  display: flex;
  justify-content: center;
  gap: var(--hx-space-sm);
  margin-top: var(--hx-space-lg);
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RULES PAGE STYLES
═══════════════════════════════════════════════════════════════════════════════ */
.hx-toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--hx-space-sm);
}

.hx-toc-link {
  display: block;
  padding: var(--hx-space-sm) var(--hx-space-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--hx-radius-md);
  color: var(--hx-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--hx-transition-fast);
}

.hx-toc-link:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.3);
  color: var(--hx-text-primary);
  transform: translateX(4px);
}

.hx-rule-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--hx-radius-xl);
  padding: var(--hx-space-xl);
  margin-bottom: var(--hx-space-lg);
  transition: all var(--hx-transition-normal);
}

.hx-rule-card:hover {
  border-color: rgba(168, 85, 247, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.hx-rule-header {
  display: flex;
  align-items: center;
  gap: var(--hx-space-md);
  margin-bottom: var(--hx-space-lg);
}

.hx-rule-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--hx-gradient-primary);
  border-radius: var(--hx-radius-lg);
  font-family: var(--hx-font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
  flex-shrink: 0;
}

.hx-rule-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hx-rule-list li {
  position: relative;
  padding-left: var(--hx-space-xl);
  margin-bottom: var(--hx-space-sm);
  color: var(--hx-text-secondary);
  line-height: 1.7;
}

.hx-rule-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--hx-gradient-primary);
  border-radius: 50%;
}

.hx-rule-list li:last-child {
  margin-bottom: 0;
}

.hx-text-danger {
  color: #f87171;
  font-weight: 600;
}

.hx-text-success {
  color: #4ade80;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   TABLE STYLES
═══════════════════════════════════════════════════════════════════════════════ */
.hx-table-wrapper {
  overflow-x: auto;
  border-radius: var(--hx-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.hx-table th,
.hx-table td {
  padding: var(--hx-space-md);
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hx-table th {
  background: rgba(168, 85, 247, 0.1);
  color: var(--hx-text-primary);
  font-weight: 600;
  font-family: var(--hx-font-heading);
}

.hx-table td {
  color: var(--hx-text-secondary);
}

.hx-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.hx-table tbody tr:last-child td {
  border-bottom: none;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CONTACT PAGE STYLES
═══════════════════════════════════════════════════════════════════════════════ */
.hx-contact-filter {
  text-align: center;
  margin-bottom: var(--hx-space-2xl);
}

.hx-search-box {
  display: inline-flex;
  align-items: center;
  gap: var(--hx-space-sm);
  background: var(--hx-bg-elevated);
  border: 1px solid var(--hx-border-subtle);
  border-radius: var(--hx-radius-full);
  padding: var(--hx-space-sm) var(--hx-space-lg);
  max-width: 400px;
  width: 100%;
  transition: all var(--hx-transition-base);
}

.hx-search-box:focus-within {
  border-color: var(--hx-purple-500);
  box-shadow: var(--hx-shadow-glow-purple);
}

.hx-search-box i {
  color: var(--hx-text-muted);
}

.hx-search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--hx-text-primary);
  font-size: var(--hx-text-base);
}

.hx-search-box input::placeholder {
  color: var(--hx-text-muted);
}

.hx-filter-hint {
  color: var(--hx-text-muted);
  font-size: var(--hx-text-sm);
  margin-top: var(--hx-space-sm);
}

.hx-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--hx-space-lg);
}

.hx-contact-card {
  display: flex;
  gap: var(--hx-space-lg);
  padding: var(--hx-space-xl);
  background: var(--hx-bg-elevated);
  border: 1px solid var(--hx-border-subtle);
  border-radius: var(--hx-radius-xl);
  transition: all var(--hx-transition-base);
}

.hx-contact-card:hover {
  border-color: var(--hx-purple-500);
  transform: translateY(-4px);
  box-shadow: var(--hx-shadow-lg);
}

.hx-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--hx-gradient-secondary);
  border-radius: var(--hx-radius-lg);
  font-size: 1.5rem;
  color: var(--hx-purple-400);
  flex-shrink: 0;
}

.hx-contact-content {
  flex: 1;
  min-width: 0;
}

.hx-contact-header {
  display: flex;
  align-items: center;
  gap: var(--hx-space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--hx-space-xs);
}

.hx-contact-header h3 {
  font-size: var(--hx-text-lg);
  font-weight: 700;
  margin: 0;
}

.hx-contact-desc {
  color: var(--hx-text-secondary);
  font-size: var(--hx-text-sm);
  margin-bottom: var(--hx-space-sm);
  line-height: 1.5;
}

.hx-contact-email {
  display: flex;
  align-items: center;
  gap: var(--hx-space-xs);
  color: var(--hx-text-muted);
  font-size: var(--hx-text-sm);
  margin-bottom: var(--hx-space-md);
}

.hx-contact-email span {
  word-break: break-all;
}

.hx-contact-actions {
  display: flex;
  gap: var(--hx-space-xs);
  flex-wrap: wrap;
}

.hx-btn-sm {
  padding: var(--hx-space-xs) var(--hx-space-sm);
  font-size: var(--hx-text-sm);
}

@media (max-width: 768px) {
  .hx-contact-card {
    flex-direction: column;
    text-align: center;
  }

  .hx-contact-icon {
    margin: 0 auto;
  }

  .hx-contact-header {
    justify-content: center;
  }

  .hx-contact-actions {
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   LEGAL PAGES (Datenschutz, Impressum)
═══════════════════════════════════════════════════════════════════════════════ */
.hx-legal-section {
  background: var(--hx-bg-elevated);
  border: 1px solid var(--hx-border-subtle);
  border-radius: var(--hx-radius-xl);
  padding: var(--hx-space-xl);
  margin-bottom: var(--hx-space-lg);
  transition: all var(--hx-transition-base);
}

.hx-legal-section:hover {
  border-color: var(--hx-border-emphasis);
}

.hx-legal-section h3 {
  color: var(--hx-purple-400);
  margin-bottom: var(--hx-space-md);
}

.hx-legal-section p {
  color: var(--hx-text-secondary);
  line-height: var(--hx-leading-relaxed);
  margin-bottom: var(--hx-space-sm);
}

.hx-legal-section p:last-child {
  margin-bottom: 0;
}

.hx-legal-section a {
  color: var(--hx-purple-400);
  text-decoration: none;
  transition: color var(--hx-transition-fast);
}

.hx-legal-section a:hover {
  color: var(--hx-purple-300);
  text-decoration: underline;
}

.hx-legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--hx-space-md) 0;
}

.hx-legal-list li {
  position: relative;
  padding-left: var(--hx-space-lg);
  margin-bottom: var(--hx-space-xs);
  color: var(--hx-text-secondary);
}

.hx-legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--hx-purple-500);
  border-radius: 50%;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   NEWS / ARTICLE PAGES
═══════════════════════════════════════════════════════════════════════════════ */
.hx-page-header-featured {
  min-height: 50vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.hx-page-header-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 13, 21, 0.6), rgba(11, 13, 21, 0.9));
}

.hx-news-meta {
  display: flex;
  gap: var(--hx-space-sm);
  justify-content: center;
  margin-bottom: var(--hx-space-md);
}

.hx-news-tags {
  display: flex;
  gap: var(--hx-space-xs);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--hx-space-md);
}

.hx-tag {
  display: inline-flex;
  align-items: center;
  padding: var(--hx-space-2xs) var(--hx-space-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--hx-radius-full);
  color: var(--hx-text-secondary);
  font-size: var(--hx-text-sm);
}

.hx-article {
  background: var(--hx-bg-elevated);
  border: 1px solid var(--hx-border-subtle);
  border-radius: var(--hx-radius-2xl);
  padding: var(--hx-space-2xl);
}

.hx-lead {
  font-size: var(--hx-text-lg);
  color: var(--hx-text-secondary);
  line-height: var(--hx-leading-relaxed);
  margin-bottom: var(--hx-space-xl);
}

.hx-article-image {
  margin: var(--hx-space-xl) 0;
  border-radius: var(--hx-radius-xl);
  overflow: hidden;
  border: 1px solid var(--hx-border-subtle);
}

.hx-article-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hx-article h3 {
  color: var(--hx-purple-400);
  margin: var(--hx-space-xl) 0 var(--hx-space-md);
}

.hx-article p {
  color: var(--hx-text-secondary);
  line-height: var(--hx-leading-relaxed);
  margin-bottom: var(--hx-space-md);
}

.hx-article-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--hx-space-xl) 0;
}

.hx-article-list li {
  position: relative;
  padding-left: var(--hx-space-lg);
  margin-bottom: var(--hx-space-sm);
  color: var(--hx-text-secondary);
}

.hx-article-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--hx-purple-500);
  border-radius: 50%;
}

.hx-code {
  background: rgba(139, 92, 246, 0.15);
  color: var(--hx-purple-400);
  padding: var(--hx-space-3xs) var(--hx-space-xs);
  border-radius: var(--hx-radius-sm);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9em;
}

.hx-article-nav {
  display: flex;
  justify-content: center;
  margin-top: var(--hx-space-2xl);
}

/* News Grid */
.hx-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--hx-space-lg);
}

.hx-news-card {
  display: block;
  background: var(--hx-bg-elevated);
  border: 1px solid var(--hx-border-subtle);
  border-radius: var(--hx-radius-xl);
  overflow: hidden;
  text-decoration: none;
  transition: all var(--hx-transition-base);
}

.hx-news-card:hover {
  border-color: var(--hx-purple-500);
  transform: translateY(-4px);
  box-shadow: var(--hx-shadow-glow);
}

.hx-news-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.hx-news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--hx-transition-base);
}

.hx-news-card:hover .hx-news-card-image img {
  transform: scale(1.05);
}

.hx-news-card-content {
  padding: var(--hx-space-lg);
}

.hx-news-date {
  display: block;
  font-size: var(--hx-text-sm);
  color: var(--hx-text-muted);
  margin-bottom: var(--hx-space-xs);
}

.hx-news-card h4 {
  color: var(--hx-text-primary);
  margin-bottom: var(--hx-space-sm);
}

.hx-news-link {
  display: inline-flex;
  align-items: center;
  gap: var(--hx-space-xs);
  color: var(--hx-purple-400);
  font-size: var(--hx-text-sm);
  font-weight: 500;
}

.hx-news-card:hover .hx-news-link {
  color: var(--hx-purple-300);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   VOTING PAGE
═══════════════════════════════════════════════════════════════════════════════ */
.hx-vote-card {
  background: var(--hx-bg-elevated);
  border: 1px solid var(--hx-border-subtle);
  border-radius: var(--hx-radius-2xl);
  padding: var(--hx-space-2xl);
  box-shadow: var(--hx-shadow-lg);
}

.hx-vote-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--hx-space-xl);
  gap: var(--hx-space-md);
}

.hx-vote-side {
  display: flex;
  align-items: center;
  gap: var(--hx-space-sm);
  font-family: var(--hx-font-heading);
  font-weight: 700;
  font-size: var(--hx-text-lg);
  color: var(--hx-text-primary);
}

.hx-vote-side i {
  color: var(--hx-purple-400);
  font-size: 1.2em;
}

.hx-vote-total {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--hx-space-sm) var(--hx-space-lg);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--hx-radius-lg);
}

.hx-vote-count {
  font-family: var(--hx-font-heading);
  font-size: var(--hx-text-2xl);
  font-weight: 700;
  color: var(--hx-purple-400);
}

.hx-vote-label {
  font-size: var(--hx-text-xs);
  color: var(--hx-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hx-leader-badge {
  display: inline-flex;
  padding: var(--hx-space-3xs) var(--hx-space-sm);
  background: linear-gradient(135deg, var(--hx-purple-500), var(--hx-blue-500));
  border-radius: var(--hx-radius-full);
  font-size: var(--hx-text-xs);
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hx-vote-bar-wrapper {
  margin-bottom: var(--hx-space-xl);
}

.hx-vote-bar {
  height: 24px;
  background: var(--hx-bg-surface);
  border-radius: var(--hx-radius-full);
  overflow: hidden;
  border: 1px solid var(--hx-border-subtle);
}

.hx-vote-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--hx-purple-500), var(--hx-blue-500));
  border-radius: var(--hx-radius-full);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.hx-vote-percent {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--hx-space-md);
  margin-top: var(--hx-space-md);
  font-family: var(--hx-font-heading);
  font-size: var(--hx-text-xl);
  font-weight: 700;
}

.hx-pct-creator {
  color: var(--hx-purple-400);
}

.hx-pct-vs {
  color: var(--hx-text-muted);
  font-size: var(--hx-text-sm);
  text-transform: uppercase;
}

.hx-pct-community {
  color: var(--hx-blue-400);
}

.hx-vote-actions {
  display: flex;
  gap: var(--hx-space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hx-vote-btn {
  min-width: 180px;
}

.hx-vote-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.5);
}

.hx-vote-msg {
  text-align: center;
  margin-top: var(--hx-space-md);
  font-size: var(--hx-text-sm);
  color: var(--hx-text-muted);
  min-height: 1.5em;
}

.hx-vote-success {
  color: var(--hx-cyan-400);
}

.hx-vote-error {
  color: #ef4444;
}

@media (max-width: 640px) {
  .hx-vote-header {
    flex-direction: column;
    text-align: center;
  }

  .hx-vote-side {
    justify-content: center;
  }

  .hx-vote-actions {
    flex-direction: column;
  }

  .hx-vote-btn {
    width: 100%;
  }
}


/* ═══════════════════════════════════════════════════════════════════════════════
   PREMIUM HERO V2 - New Generation Landing Section
═══════════════════════════════════════════════════════════════════════════════ */
.hx-hero-premium {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--hx-space-5xl) + 40px) 0 var(--hx-space-4xl);
  overflow: hidden;
}

.hx-hero-bg-layer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
    linear-gradient(225deg, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 20%, rgba(168, 85, 247, 0.2) 0%, transparent 40%),
    radial-gradient(ellipse at 70% 80%, rgba(34, 211, 238, 0.15) 0%, transparent 40%);
  z-index: -3;
}

.hx-hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(8, 8, 15, 0.3) 50%,
    var(--hx-bg-primary) 100%);
  z-index: -2;
}

.hx-hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hx-space-sm);
  margin-bottom: var(--hx-space-lg);
}

.hx-hero-title-premium {
  margin-bottom: var(--hx-space-lg);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hx-hero-subtitle-premium {
  font-size: var(--hx-text-xl);
  color: var(--hx-text-secondary);
  margin-bottom: var(--hx-space-2xl);
  max-width: 650px;
  line-height: var(--hx-leading-relaxed);
}

.hx-hero-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--hx-gradient-secondary);
  border-radius: var(--hx-radius-lg);
  margin-bottom: var(--hx-space-xs);
  font-size: var(--hx-text-lg);
}

.hx-hero-scroll-indicator {
  position: absolute;
  bottom: var(--hx-space-2xl);
  left: 50%;
  transform: translateX(-50%);
  color: var(--hx-text-muted);
  animation: bounce 2s infinite;
}

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

.hx-btn-glow {
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.4), 0 0 40px rgba(124, 58, 237, 0.2);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SECTION ICONS & HEADERS
═══════════════════════════════════════════════════════════════════════════════ */
.hx-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--hx-gradient-secondary);
  border-radius: var(--hx-radius-xl);
  font-size: var(--hx-text-2xl);
  margin-bottom: var(--hx-space-lg);
  box-shadow: var(--hx-shadow-glow-purple);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ANNOUNCEMENTS SECTION
═══════════════════════════════════════════════════════════════════════════════ */
.hx-section-announcements {
  padding: var(--hx-space-5xl) 0;
}

.hx-announcements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--hx-space-2xl);
}

.hx-announcements-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1200px) {
  .hx-announcements-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hx-announcements-grid-3 {
    grid-template-columns: 1fr;
  }
}

.hx-announcement-card {
  background: var(--hx-bg-elevated);
  border: 1px solid var(--hx-border-subtle);
  border-radius: var(--hx-radius-2xl);
  overflow: hidden;
  transition: all var(--hx-transition-slow);
}

.hx-announcement-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hx-shadow-xl);
  border-color: var(--hx-border-emphasis);
}

.hx-announcement-featured {
  border-color: rgba(34, 197, 94, 0.3);
}

.hx-announcement-featured:hover {
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: var(--hx-shadow-xl), 0 0 30px rgba(34, 197, 94, 0.2);
}

.hx-announcement-upcoming {
  border-color: rgba(168, 85, 247, 0.3);
}

.hx-announcement-upcoming:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: var(--hx-shadow-xl), var(--hx-shadow-glow-purple);
}

.hx-announcement-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--hx-space-lg) var(--hx-space-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  border-bottom: 1px solid var(--hx-border-subtle);
}

.hx-announcement-category {
  font-size: var(--hx-text-sm);
  color: var(--hx-text-muted);
}

.hx-announcement-content {
  padding: var(--hx-space-xl);
}

.hx-announcement-title {
  font-size: var(--hx-text-2xl);
  font-weight: 700;
  margin-bottom: var(--hx-space-md);
  color: var(--hx-text-primary);
}

.hx-announcement-excerpt {
  color: var(--hx-text-secondary);
  line-height: var(--hx-leading-relaxed);
  margin-bottom: var(--hx-space-lg);
}

.hx-announcement-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hx-space-sm);
  margin-bottom: var(--hx-space-lg);
}

.hx-announcement-features span {
  display: inline-flex;
  align-items: center;
  gap: var(--hx-space-2xs);
  font-size: var(--hx-text-sm);
  color: var(--hx-text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: var(--hx-space-2xs) var(--hx-space-sm);
  border-radius: var(--hx-radius-full);
}

.hx-announcement-meta {
  display: flex;
  gap: var(--hx-space-lg);
  font-size: var(--hx-text-sm);
  color: var(--hx-text-subtle);
}

.hx-announcement-action {
  padding: var(--hx-space-lg) var(--hx-space-xl);
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--hx-border-subtle);
}

/* YouTuber Insel Mini Modes in Announcement */
.hx-youtuber-island-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--hx-space-md);
  margin-bottom: var(--hx-space-lg);
}

.hx-youtuber-island-modes-2 {
  grid-template-columns: repeat(2, 1fr);
}

.hx-mode-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hx-border-subtle);
  border-radius: var(--hx-radius-lg);
  padding: var(--hx-space-md);
  text-align: center;
}

.hx-mode-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hx-gradient-secondary);
  border-radius: var(--hx-radius-md);
  margin: 0 auto var(--hx-space-sm);
  font-size: var(--hx-text-lg);
}

.hx-mode-card h4 {
  font-size: var(--hx-text-sm);
  font-weight: 600;
  margin-bottom: var(--hx-space-2xs);
}

.hx-mode-card p {
  font-size: var(--hx-text-xs);
  color: var(--hx-text-muted);
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   YOUTUBER ISLAND PREVIEW SECTION
═══════════════════════════════════════════════════════════════════════════════ */
.hx-section-island-preview {
  padding: var(--hx-space-5xl) 0;
}

.hx-badge-lg {
  font-size: var(--hx-text-sm);
  padding: var(--hx-space-xs) var(--hx-space-md);
}

.hx-island-modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--hx-space-xl);
}

.hx-island-modes-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hx-island-modes-grid-2 {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

.hx-island-mode-card {
  position: relative;
  background: var(--hx-bg-elevated);
  border: 1px solid var(--hx-border-subtle);
  border-radius: var(--hx-radius-2xl);
  padding: var(--hx-space-2xl);
  text-align: center;
  transition: all var(--hx-transition-slow);
  overflow: hidden;
}

.hx-island-mode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--hx-gradient-primary);
  opacity: 0;
  transition: opacity var(--hx-transition-base);
}

.hx-island-mode-card:hover {
  transform: translateY(-8px);
  border-color: var(--hx-border-emphasis);
  box-shadow: var(--hx-shadow-xl), var(--hx-shadow-glow-purple);
}

.hx-island-mode-card:hover::before {
  opacity: 1;
}

.hx-island-mode-community { --mode-color: #6366f1; }
.hx-island-mode-watch { --mode-color: #22c55e; }
.hx-island-mode-explore { --mode-color: #f59e0b; }

.hx-island-mode-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin: 0 auto var(--hx-space-lg);
  background: linear-gradient(135deg, var(--mode-color), color-mix(in srgb, var(--mode-color), white 20%));
  border-radius: var(--hx-radius-xl);
  font-size: var(--hx-text-3xl);
  box-shadow: 0 0 20px color-mix(in srgb, var(--mode-color), transparent 60%);
}

.hx-island-mode-title {
  font-size: var(--hx-text-xl);
  font-weight: 700;
  margin-bottom: var(--hx-space-md);
}

.hx-island-mode-desc {
  color: var(--hx-text-secondary);
  font-size: var(--hx-text-base);
  line-height: var(--hx-leading-relaxed);
  margin-bottom: var(--hx-space-lg);
}

.hx-island-mode-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.hx-island-mode-features li {
  display: flex;
  align-items: center;
  gap: var(--hx-space-sm);
  padding: var(--hx-space-xs) 0;
  font-size: var(--hx-text-sm);
  color: var(--hx-text-secondary);
}

.hx-island-mode-features li i.fa-check {
  color: var(--hx-success);
}

.hx-island-mode-features li i.fa-times {
  color: var(--hx-text-muted);
}

/* Feature card for YouTuber Island preview in game modes */
.hx-feature-card-gradient {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(239, 68, 68, 0.1));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--hx-radius-2xl);
  padding: var(--hx-space-3xl);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}

.hx-youtuber-island-preview {
  text-align: center;
}

.hx-island-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  border-radius: var(--hx-radius-xl);
  font-size: var(--hx-text-4xl);
  margin: 0 auto var(--hx-space-lg);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
  animation: float 4s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   NAVIGATION DROPDOWN
═══════════════════════════════════════════════════════════════════════════════ */
.hx-nav-dropdown {
  position: relative;
}

.hx-nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: var(--hx-space-xs);
}

.hx-nav-dropdown-toggle i {
  font-size: 0.7em;
  transition: transform var(--hx-transition-fast);
}

.hx-nav-dropdown:hover .hx-nav-dropdown-toggle i {
  transform: rotate(180deg);
}

.hx-nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(8, 8, 15, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--hx-border-subtle);
  border-radius: var(--hx-radius-lg);
  padding: var(--hx-space-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--hx-transition-fast);
  list-style: none;
  box-shadow: var(--hx-shadow-xl);
  z-index: 1000;
}

.hx-nav-dropdown:hover .hx-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hx-nav-dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: var(--hx-space-sm);
  padding: var(--hx-space-sm) var(--hx-space-md);
  color: var(--hx-text-secondary);
  border-radius: var(--hx-radius-md);
  transition: all var(--hx-transition-fast);
}

.hx-nav-dropdown-menu li a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--hx-text-primary);
}

.hx-nav-badge-live {
  font-size: 0.7em;
  padding: 2px 6px;
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
  border-radius: var(--hx-radius-full);
  margin-left: auto;
}

.hx-nav-badge-soon {
  font-size: 0.7em;
  padding: 2px 6px;
  background: rgba(168, 85, 247, 0.2);
  color: var(--hx-purple-300);
  border-radius: var(--hx-radius-full);
  margin-left: auto;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   WHY US SECTION GRID
═══════════════════════════════════════════════════════════════════════════════ */
.hx-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--hx-space-xl);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════════════════════════════════════ */
.hx-section-cta {
  padding: var(--hx-space-4xl) 0;
}

.hx-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(59, 130, 246, 0.1));
  border: 1px solid var(--hx-border-emphasis);
  border-radius: var(--hx-radius-2xl);
  padding: var(--hx-space-3xl);
  position: relative;
  overflow: hidden;
}

.hx-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--hx-gradient-primary);
}

.hx-cta-content h2 {
  margin-bottom: var(--hx-space-sm);
}

.hx-cta-text {
  color: var(--hx-text-secondary);
  font-size: var(--hx-text-lg);
}

.hx-cta-actions {
  display: flex;
  gap: var(--hx-space-md);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE ADJUSTMENTS FOR NEW SECTIONS
═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hx-island-modes-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .hx-youtuber-island-modes {
    grid-template-columns: 1fr;
  }

  .hx-announcements-grid {
    grid-template-columns: 1fr;
  }

  .hx-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hx-cta-card {
    flex-direction: column;
    text-align: center;
    gap: var(--hx-space-xl);
  }

  .hx-nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    padding: var(--hx-space-sm) 0 var(--hx-space-sm) var(--hx-space-lg);
    box-shadow: none;
    display: none;
  }

  .hx-nav-dropdown.active .hx-nav-dropdown-menu {
    display: block;
  }
}

@media (max-width: 768px) {
  .hx-hero-subtitle-premium {
    font-size: var(--hx-text-lg);
  }

  .hx-hero-stats {
    flex-direction: column;
    gap: var(--hx-space-md);
    align-items: center;
  }

  .hx-announcement-title {
    font-size: var(--hx-text-xl);
  }

  .hx-why-grid {
    grid-template-columns: 1fr;
  }

  .hx-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .hx-cta-actions .hx-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hx-hero-badge-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hx-announcement-header {
    flex-direction: column;
    gap: var(--hx-space-sm);
    align-items: flex-start;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   DISCORD-STYLE TEAM CARDS & PROFILE MODALS
═══════════════════════════════════════════════════════════════════════════════ */
.hx-team-card-discord {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  padding-top: 0;
}

.hx-team-card-discord:hover {
  transform: translateY(-8px) scale(1.02);
}

.hx-team-banner {
  height: 60px;
  width: 100%;
  border-radius: var(--hx-radius-xl) var(--hx-radius-xl) 0 0;
  margin: -1px -1px 0 -1px;
  width: calc(100% + 2px);
}

.hx-team-card-discord .hx-team-avatar-wrapper {
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.hx-team-mc-head {
  border: 4px solid var(--hx-bg-elevated);
  image-rendering: pixelated;
}

.hx-badge-owner {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: white;
}

.hx-badge-staff {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
}

/* Profile Modal Overlay */
.hx-profile-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.hx-profile-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Profile Modal */
.hx-profile-modal {
  background: var(--hx-bg-elevated);
  border-radius: var(--hx-radius-2xl);
  width: 90%;
  max-width: 400px;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hx-profile-modal-overlay.active .hx-profile-modal {
  transform: scale(1) translateY(0);
}

.hx-profile-modal-close {
  position: absolute;
  top: var(--hx-space-md);
  right: var(--hx-space-md);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.hx-profile-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.hx-profile-modal-banner {
  height: 120px;
  width: 100%;
}

.hx-profile-modal-content {
  padding: var(--hx-space-xl);
  padding-top: 0;
}

.hx-profile-modal-avatar-wrapper {
  margin-top: -60px;
  position: relative;
  display: inline-block;
  margin-bottom: var(--hx-space-md);
}

.hx-profile-modal-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 6px solid var(--hx-bg-elevated);
  image-rendering: pixelated;
}

.hx-profile-modal-avatar-wrapper .hx-team-status {
  width: 24px;
  height: 24px;
  border-width: 4px;
}

.hx-profile-modal-info {
  margin-bottom: var(--hx-space-lg);
}

.hx-profile-modal-name {
  font-size: var(--hx-text-2xl);
  font-weight: 700;
  margin-bottom: var(--hx-space-xs);
}

.hx-profile-modal-section {
  background: var(--hx-bg-secondary);
  border-radius: var(--hx-radius-lg);
  padding: var(--hx-space-md);
  margin-bottom: var(--hx-space-md);
}

.hx-profile-modal-section h4 {
  font-size: var(--hx-text-xs);
  font-weight: 700;
  color: var(--hx-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--hx-space-xs);
}

.hx-profile-modal-section p {
  color: var(--hx-text-secondary);
  font-size: var(--hx-text-sm);
  line-height: 1.5;
}

.hx-profile-modal-roles {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hx-space-xs);
}

.hx-profile-role {
  background: var(--hx-bg-elevated);
  color: var(--hx-text-secondary);
  padding: 4px 10px;
  border-radius: var(--hx-radius-full);
  font-size: var(--hx-text-xs);
  font-weight: 500;
  border: 1px solid var(--hx-border-subtle);
}

.hx-profile-modal-socials {
  display: flex;
  gap: var(--hx-space-sm);
  flex-wrap: wrap;
}

.hx-profile-social-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--hx-space-xs);
  background: var(--hx-primary);
  color: white;
  padding: var(--hx-space-sm) var(--hx-space-md);
  border-radius: var(--hx-radius-md);
  font-size: var(--hx-text-sm);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hx-profile-social-btn:hover {
  background: var(--hx-primary-hover);
  transform: translateY(-2px);
}
