/* ===========================
   RESET & BASE STYLES
   =========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  /* Original palette (cyan/purple) + subtle gold accent */
  --primary: #43c7ff;
  --primary-dark: #1a9bd6;
  --secondary: #7c3aed;
  --accent: #f7c948; /* gold */
  --accent-dark: #f59e0b;
  --bg-dark: #0a0e17;
  --bg-darker: #050810;
  --bg-card: #121827;
  --bg-card-hover: #1a2332;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #1e293b;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  
  /* Spacing */
  --container-width: 1200px;
  --section-padding: 64px;
  --card-padding: 24px;
  
  /* Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(67, 199, 255, 0.26);
  --shadow-glow-gold: 0 0 34px rgba(247, 201, 72, 0.28);
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(67, 199, 255, 0.09) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.08) 0%, transparent 55%),
    radial-gradient(circle at 70% 20%, rgba(247, 201, 72, 0.05) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */

header {
  background: rgba(18, 24, 39, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 14px 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

.logo-icon {
  font-size: 24px;
  color: var(--accent);
  filter: drop-shadow(0 0 10px rgba(247, 201, 72, 0.32));
}

.logo-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* legacy markup support: <div class="logo">⚡ <span>MeinNetzwerk</span></div> */
.logo > span {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: var(--transition);
  position: relative;
  padding: 5px 10px;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition);
  transform: translateX(-50%);
}

nav a:hover,
nav a.active {
  color: var(--primary);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
  position: relative;
  padding: 96px 0 64px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 50%, rgba(124, 200, 255, 0.12) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.hero h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* ===========================
   COPY BUTTON
   =========================== */

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.btn-copy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: var(--transition);
}

.btn-copy:hover::before {
  opacity: 1;
}

.btn-copy:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-gold);
}

.btn-copy:active {
  transform: translateY(0);
}

.icon-wrap {
  width: 22px;
  height: 22px;
  position: relative;
}

.icon-wrap svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: var(--transition);
}

.icon-check {
  opacity: 0;
  transform: scale(0.6);
}

.btn-copy.copied .icon-copy {
  opacity: 0;
  transform: scale(0.6);
}

.btn-copy.copied .icon-check {
  opacity: 1;
  transform: scale(1);
}

.btn-copy.copied {
  /* keep the same look; only swap the icon */
  box-shadow: 0 0 28px rgba(67, 199, 255, 0.22);
}

/* ===========================
   STATS
   =========================== */

.stats {
  display: flex;
  justify-content: center;
  gap: 44px;
  margin-top: 48px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* ===========================
   SECTIONS
   =========================== */

section {
  padding: var(--section-padding) 0;
  position: relative;
  z-index: 1;
}

section h2 {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 15px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 44px;
}

/* ===========================
   CARDS & GRID
   =========================== */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--card-padding);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  transform: scaleX(1);
}

.card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--accent), #ea580c);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(67, 199, 255, 0.1), rgba(124, 58, 237, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.card p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.features {
  list-style: none;
}

.features li {
  color: var(--text-secondary);
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
}

.features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* ===========================
   FEATURES GRID
   =========================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-item {
  text-align: center;
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 10px rgba(67, 199, 255, 0.3));
}

.feature-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* ===========================
   PAGE STYLES
   =========================== */

.content {
  padding-top: 60px;
  padding-bottom: 60px;
  min-height: calc(100vh - 300px);
}

.page-header {
  text-align: center;
  margin-bottom: 60px;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 15px;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 16px;
}

/* ===========================
   RULES PAGE
   =========================== */

.rules-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
  margin-top: 40px;
}

.rules-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 100px;
  height: fit-content;
}

.rule-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.rule-nav-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  color: var(--text-primary);
}

.rule-nav-btn.active {
  background: linear-gradient(135deg, rgba(67, 199, 255, 0.1), rgba(124, 58, 237, 0.1));
  border-color: var(--primary);
  color: var(--primary);
}

.rule-nav-icon {
  font-size: 20px;
}

.rules-content {
  position: relative;
}

.rule-block {
  display: none;
  animation: fadeIn 0.4s ease;
}

.rule-block.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rule-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border);
}

.rule-icon {
  font-size: 32px;
}

.rule-header h2 {
  font-size: 32px;
  margin: 0;
}

.rule-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rule-item {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: var(--transition);
}

.rule-item:hover {
  border-color: var(--primary);
  transform: translateX(5px);
}

.rule-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  font-weight: 700;
  font-size: 18px;
}

.rule-text strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.rule-text p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ===========================
   TEAM PAGE
   =========================== */

.team-section {
  margin-bottom: 60px;
}

.role-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border);
}

.role-icon {
  font-size: 32px;
}

.role-header h2 {
  font-size: 28px;
  margin: 0;
  text-align: left;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.member-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}

.member-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.member-avatar {
  position: relative;
  width: 104px;
  height: 104px;
  margin: 0 auto 16px;
}

.member-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid var(--border);
  transition: var(--transition);
}

.member-card:hover .member-avatar img {
  border-color: var(--primary);
}

.member-status {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid var(--bg-card);
}

.member-status.online {
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}

.member-status.offline {
  background: var(--text-muted);
}

.member-name {
  font-size: 18px;
  margin-bottom: 12px;
}

.member-badges {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.badge.owner {
  background: linear-gradient(135deg, #dc2626, #991b1b);
}

.badge.manager {
  background: linear-gradient(135deg, var(--accent), #ea580c);
}

.badge.dev {
  background: linear-gradient(135deg, var(--secondary), #6d28d9);
}

.member-description {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.empty-state {
  text-align: center;
  padding: 60px 30px;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: 12px;
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 15px;
  opacity: 0.5;
}

.empty-state p {
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 10px;
}

.empty-hint {
  color: var(--text-muted);
  font-size: 14px;
}

.team-cta {
  text-align: center;
  padding: 44px;
  background: linear-gradient(135deg, rgba(124, 200, 255, 0.08), rgba(247, 201, 72, 0.08));
  border: 1px solid var(--primary);
  border-radius: 16px;
  margin-top: 60px;
}

.team-cta h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.team-cta p {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* ===========================
   TEAM PAGE (LEGACY MARKUP)
   Matches: .role/.members/.member/.name/.empty
   =========================== */

section.team h2 {
  text-align: center;
  font-size: 34px;
  margin-bottom: 28px;
}

section.team {
  padding-top: 44px;
  padding-bottom: 44px;
}

section.team .role {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 34px 0;
}

section.team .role:first-of-type {
  margin-top: 18px;
}

section.team .role h3 {
  font-size: 24px;
  margin-bottom: 14px;
  color: var(--accent);
  letter-spacing: 0.2px;
}

.members {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
}

.member {
  background: rgba(18, 24, 39, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 20px;
  text-align: left;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
}

.member:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.45);
}

.member img {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0;
}

/* Text block inside legacy member cards */
.member .name,
.member .badges {
  margin-left: 4px;
}

.name {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
}

.badges {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

/* Slightly softer badge look on legacy team */
section.team .badge {
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 11px;
}

section.team .badge.owner {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

section.team .badge.manager {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

section.team .badge.dev {
  background: rgba(67, 199, 255, 0.12);
  border: 1px solid rgba(67, 199, 255, 0.28);
}

.empty {
  color: var(--text-secondary);
  font-size: 14px;
}

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ===========================
   STATUS PAGE
   =========================== */

.status-info {
  margin-bottom: 40px;
}

.info-card {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: rgba(67, 199, 255, 0.1);
  border: 1px solid var(--primary);
  border-radius: 12px;
}

.info-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.info-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.server-status-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 60px;
}

.server-status-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  transition: var(--transition);
}

.server-status-card:hover {
  border-color: var(--primary);
  transform: translateX(5px);
}

.server-status-card.online {
  border-left: 4px solid var(--success);
}

.server-status-card.offline {
  border-left: 4px solid var(--error);
}

.server-status-card.maintenance {
  border-left: 4px solid var(--warning);
}

.server-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.server-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.server-icon {
  font-size: 48px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(67, 199, 255, 0.1), rgba(124, 58, 237, 0.1));
  border-radius: 12px;
}

.server-info h3 {
  font-size: 24px;
  margin-bottom: 5px;
}

.server-desc {
  color: var(--text-secondary);
  font-size: 14px;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
}

.status-badge.online {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid var(--success);
}

.status-badge.offline {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
  border: 1px solid var(--error);
}

.status-badge.maintenance {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
  border: 1px solid var(--warning);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.status-badge.online .status-dot {
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}

.status-badge.offline .status-dot {
  background: var(--error);
}

.status-badge.maintenance .status-dot {
  background: var(--warning);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.server-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.detail-label {
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.detail-value {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 16px;
}

.status-legend {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 40px;
}

.status-legend h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.legend-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.legend-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.legend-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
}

.legend-dot.online {
  background: var(--success);
}

.legend-dot.maintenance {
  background: var(--warning);
}

.legend-dot.offline {
  background: var(--error);
}

.legend-item strong {
  display: block;
  margin-bottom: 5px;
}

.legend-item p {
  color: var(--text-secondary);
  font-size: 14px;
}

.status-help {
  text-align: center;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.status-help h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.status-help p {
  color: var(--text-secondary);
  margin-bottom: 25px;
}

.btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  background: var(--bg-darker);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: var(--bg-card);
  transform: translateY(-2px);
}

/* ===========================
   FOOTER
   =========================== */

footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
  padding: 60px 0 20px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-section a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 0;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 968px) {
  .hero h1 {
    font-size: 42px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .stats {
    gap: 40px;
  }
  
  .rules-layout {
    grid-template-columns: 1fr;
  }
  
  .rules-nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;
  }
  
  .rule-nav-btn {
    flex-shrink: 0;
  }
  
  section h2 {
    font-size: 32px;
  }
  
  .page-header h1 {
    font-size: 36px;
  }
}

@media (max-width: 640px) {
  header .container {
    flex-direction: column;
    gap: 20px;
  }
  
  nav {
    gap: 15px;
    font-size: 14px;
  }
  
  .hero {
    padding: 80px 0 60px;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .stats {
    flex-direction: column;
    gap: 30px;
  }
  
  .grid,
  .features-grid,
  .members-grid {
    grid-template-columns: 1fr;
  }
  
  .server-status-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .server-details {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   UTILITIES
   =========================== */

.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.hidden {
  display: none !important;
}
