/**
 * CERBERUS RP - Modern Redesign
 * GTA/Rockstar-inspired aesthetic with hellish theme
 */

/* ============================================= */
/* CSS VARIABLES - Design System */
/* ============================================= */
:root {
  /* Colors - Hellish/Cerberus Theme */
  --primary: #e50914;
  --primary-dark: #b8070e;
  --primary-light: #ff1f29;
  
  --neon-red: #ff0040;
  --neon-orange: #ff6b00;
  --neon-purple: #c700ff;
  
  --bg-dark: #0a0a0a;
  --bg-darker: #050505;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --text-muted: #666666;
  
  --line: rgba(255, 255, 255, 0.1);
  --line-bright: rgba(229, 9, 20, 0.3);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 20px rgba(229, 9, 20, 0.3);
  
  /* Typography */
  --font-display: 'Bebas Neue', 'Impact', 'Arial Black', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: 'Courier New', monospace;
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================= */
/* GLOBAL STYLES */
/* ============================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Animated background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  overflow: hidden;
}

.bg-animation::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 70%),
              repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(229, 9, 20, 0.03) 2px, rgba(229, 9, 20, 0.03) 4px);
  animation: grain 8s steps(10) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 15%); }
  80% { transform: translate(3%, 35%); }
  90% { transform: translate(-10%, 10%); }
}

/* ============================================= */
/* HEADER & NAVIGATION */
/* ============================================= */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  height: 70px;
}

/* Logo */
.logo {
  height: 50px;
  width: auto;
  transition: transform var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

/* Main Navigation */
nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex: 1;
  margin-left: var(--space-2xl);
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--primary);
  transition: transform var(--transition);
}

nav a:hover {
  color: var(--text-primary);
}

nav a:hover::after,
nav a.active::after {
  transform: translateX(-50%) scaleX(1);
}

nav a.active {
  color: var(--primary);
}

/* Header Actions (Right Side) */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Buttons in Header */
.btn-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-header:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-header.btn-discord {
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  border-color: #5865F2;
}

.btn-header.btn-discord:hover {
  background: linear-gradient(135deg, #4752C4 0%, #3C45A5 100%);
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.4);
}

.btn-header.btn-play {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: var(--primary);
}

.btn-header.btn-play:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  box-shadow: var(--shadow-glow);
}

.btn-header svg {
  width: 18px;
  height: 18px;
}

/* Admin Icon Button */
.admin-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-secondary);
}

.admin-icon:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  color: var(--primary);
  transform: scale(1.1);
}

.admin-icon svg {
  width: 20px;
  height: 20px;
}

/* User Profile (when logged in) */
.nav-user {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.nav-user img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.nav-user span {
  font-size: 14px;
  font-weight: 600;
}

.nav-user .staff-badge {
  background: var(--primary);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.logout-btn {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 12px;
  transition: all var(--transition);
}

.logout-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
}

/* ============================================= */
/* MAIN CONTENT */
/* ============================================= */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg);
  min-height: calc(100vh - 200px);
}

/* ============================================= */
/* CARDS & CONTAINERS */
/* ============================================= */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--line-bright);
  box-shadow: var(--shadow-lg);
}

.card-full {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-md);
}

/* ============================================= */
/* TYPOGRAPHY */
/* ============================================= */
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(229, 9, 20, 0.3);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin: var(--space-xl) 0 var(--space-lg);
  line-height: 1.2;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: var(--space-lg) 0 var(--space-md);
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: var(--primary);
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-light);
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

.text-red {
  color: var(--primary);
}

/* ============================================= */
/* BUTTONS */
/* ============================================= */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: var(--text-primary);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  transform: translateY(-2px);
  color: var(--text-primary);
}

/* ============================================= */
/* FORMS */
/* ============================================= */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-darker);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

.form-group textarea {
  min-height: 200px;
  resize: vertical;
  font-family: var(--font-mono);
}

.helper-text {
  display: block;
  margin-top: var(--space-sm);
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================= */
/* ALERTS */
/* ============================================= */
.alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  font-weight: 600;
}

.alert-error {
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.3);
  color: #ff6b6b;
}

.alert-success {
  background: rgba(0, 255, 0, 0.1);
  border: 1px solid rgba(0, 255, 0, 0.3);
  color: #51cf66;
}

/* ============================================= */
/* LISTS */
/* ============================================= */
ul {
  list-style: none;
  margin: var(--space-lg) 0;
}

ul li {
  padding: var(--space-sm) 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: var(--space-lg);
}

ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

ol {
  margin: var(--space-lg) 0;
  padding-left: var(--space-xl);
}

ol li {
  padding: var(--space-sm) 0;
  color: var(--text-secondary);
}

/* ============================================= */
/* SERVER STATUS WIDGET */
/* ============================================= */
.status-widget {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.1) 0%, rgba(20, 20, 20, 0.8) 100%);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-lg);
}

.status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.status-header h2 {
  margin: 0;
  font-size: 2rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-lg);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: relative;
}

.pulse-dot.online {
  background: #51cf66;
  box-shadow: 0 0 10px #51cf66;
  animation: pulse 2s ease-in-out infinite;
}

.pulse-dot.offline {
  background: #ff6b6b;
  box-shadow: 0 0 10px #ff6b6b;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition);
}

.stat-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: var(--space-sm);
}

.join-button {
  display: inline-block;
  padding: 16px 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
}

.join-button:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  color: var(--text-primary);
}

/* ============================================= */
/* TIPS & TRICKS PAGE */
/* ============================================= */
.tips-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.tips-header h1 {
  margin: 0;
}

.category-filters {
  display: flex;
  gap: var(--space-sm);
  margin: var(--space-xl) 0;
  flex-wrap: wrap;
}

.category-btn {
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition);
}

.category-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  color: var(--text-primary);
}

.category-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: var(--primary);
  color: var(--text-primary);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.tip-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}

.tip-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.tip-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tip-card-body {
  padding: var(--space-lg);
}

.tip-card-category {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.tip-card-category.featured {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-primary);
}

.tip-card-title {
  margin-bottom: var(--space-md);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
}

.tip-card-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition);
}

.tip-card-title a:hover {
  color: var(--primary);
}

.tip-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.tip-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.tip-card-meta img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

/* Single Tip Page */
.tip-single {
  max-width: 800px;
  margin: 0 auto;
}

.tip-single-header {
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--line);
}

.tip-single-category {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.tip-single-category.featured {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-primary);
}

.tip-single-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-lg);
}

.tip-single-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.tip-single-meta img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.tip-single-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.tip-single-content p {
  margin-bottom: var(--space-lg);
}

.tip-single-content strong {
  color: var(--text-primary);
  font-weight: 700;
}

.tip-single-content em {
  color: var(--primary-light);
  font-style: italic;
}

.tip-single-content code {
  background: var(--bg-darker);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--neon-orange);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
  opacity: 0.3;
}

.empty-state h3 {
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.empty-state p {
  color: var(--text-muted);
}

/* ============================================= */
/* VIP SHOWCASE PAGE */
/* ============================================= */
.vip-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-bottom: 2px solid var(--line-bright);
}

.vip-category-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
  flex-wrap: wrap;
}

.vip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.vip-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}

.vip-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.vip-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

/* Slideshow Container */
.vip-slideshow {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: var(--bg-darker);
}

.vip-slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.vip-slideshow img.active {
  opacity: 1;
}

.slideshow-controls {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slideshow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition);
}

.slideshow-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

.slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 24px;
  padding: 10px 15px;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 10;
}

.slideshow-nav:hover {
  background: rgba(229, 9, 20, 0.8);
}

.slideshow-nav.prev {
  left: 10px;
}

.slideshow-nav.next {
  right: 10px;
}

.vip-card-body {
  padding: var(--space-lg);
}

.vip-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.vip-card-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.vip-featured-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  box-shadow: var(--shadow-md);
}

/* ============================================= */
/* CONTENT CREATORS PAGE */
/* ============================================= */
.creators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.stream-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}

.stream-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stream-card.live::before {
  content: '🔴 LIVE';
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 0, 0, 0.9);
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 700;
  z-index: 10;
  animation: pulse-live 2s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.stream-thumbnail {
  width: 100%;
  height: 225px;
  object-fit: cover;
  background: var(--bg-darker);
}

.stream-info {
  padding: var(--space-lg);
}

.stream-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.stream-streamer {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.stream-streamer img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.stream-stats {
  display: flex;
  gap: var(--space-lg);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================= */
/* FOOTER */
/* ============================================= */
footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--line);
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  margin-top: var(--space-3xl);
}

footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================= */
/* UTILITY CLASSES */
/* ============================================= */
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.big-emoji {
  font-size: 5rem;
  margin: var(--space-xl) 0;
}

/* Easter Egg */
.pineapple-egg {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 2rem;
  text-decoration: none;
  opacity: 0.3;
  transition: all var(--transition);
  z-index: 999;
}

.pineapple-egg:hover {
  opacity: 1;
  transform: scale(1.2) rotate(15deg);
}

/* Quick Links */
.quick-links ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.quick-links li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: all var(--transition);
}

.quick-links li:hover {
  border-color: var(--primary);
  transform: translateX(5px);
}

.quick-links li::before {
  position: relative;
  left: 0;
}

/* Application Preview */
.application-preview {
  background: var(--bg-darker);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin: var(--space-lg) 0;
}

.application-preview ol {
  margin: 0;
}

.application-preview li {
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

/* ============================================= */
/* RULES PAGE SPECIFIC */
/* ============================================= */
.card-wide {
  max-width: 1200px;
  margin: 0 auto;
}

/* Tabs */
.tabs {
  display: flex !important;
  gap: var(--space-sm);
  margin: var(--space-xl) 0;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--line);
  padding-bottom: 0;
}

.tab-btn,
button.tab-btn {
  padding: 12px 24px !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 3px solid transparent !important;
  color: var(--text-secondary) !important;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  font-family: var(--font-body) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.tab-btn:hover,
button.tab-btn:hover {
  color: var(--text-primary) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  transform: none !important;
}

.tab-btn.active,
button.tab-btn.active {
  color: var(--primary) !important;
  border-bottom-color: var(--primary) !important;
  background: rgba(229, 9, 20, 0.1) !important;
}

/* Rule Sections */
.rule-section {
  display: none;
  padding: var(--space-xl) 0;
}

.rule-section.active {
  display: block;
}

.section-box {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.1) 0%, rgba(20, 20, 20, 0.5) 100%);
  border-left: 4px solid var(--primary);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  border-radius: var(--radius-md);
}

.section-box h2 {
  margin: 0;
  color: var(--primary);
}

/* Rules Layout (Sidebar + Content) */
.rules-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: var(--space-2xl);
  margin-top: var(--space-xl);
}

.rules-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.rules-sidebar-title {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.rules-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rules-sidebar ul.plain li {
  padding: 0;
  margin-bottom: var(--space-sm);
}

.rules-sidebar ul.plain li::before {
  display: none;
}

.rules-sidebar a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  font-size: 14px;
}

.rules-sidebar a:hover {
  background: rgba(229, 9, 20, 0.1);
  color: var(--primary);
  transform: translateX(5px);
}

.rules-content {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.rules-content h3 {
  color: var(--primary);
  border-bottom: 2px solid var(--line);
  padding-bottom: var(--space-sm);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-lg);
}

.rules-content h3:first-child {
  margin-top: 0;
}

/* Accordion */
.accordion {
  margin: var(--space-lg) 0;
}

.acc-item {
  background: var(--bg-darker);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
}

.acc-head {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: transparent;
  border: none;
  color: var(--text-primary);
  text-align: left;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-body);
}

.acc-head:hover {
  background: rgba(229, 9, 20, 0.1);
  color: var(--primary);
}

.acc-head.active {
  background: rgba(229, 9, 20, 0.15);
  color: var(--primary);
  border-bottom: 1px solid var(--line);
}

.acc-body {
  display: none;
  padding: var(--space-lg);
  color: var(--text-secondary);
}

.acc-body p {
  margin-bottom: var(--space-md);
}

.acc-body p:last-child {
  margin-bottom: 0;
}

.acc-body strong {
  color: var(--text-primary);
}

/* ============================================= */
/* RESPONSIVE DESIGN */
/* ============================================= */
@media (max-width: 1024px) {
  .header-container {
    padding: 0 var(--space-md);
  }
  
  nav {
    gap: var(--space-lg);
    margin-left: var(--space-lg);
  }
  
  main {
    padding: var(--space-2xl) var(--space-md);
  }
  
  .tips-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .vip-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .creators-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  }
}

@media (max-width: 768px) {
  .header-container {
    height: auto;
    padding: var(--space-md);
    flex-wrap: wrap;
  }
  
  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    margin-left: 0;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    margin-top: var(--space-md);
  }
  
  nav.mobile-open {
    display: flex;
  }
  
  nav a {
    width: 100%;
    padding: var(--space-md);
    text-align: left;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .header-actions {
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
  }
  
  .btn-header {
    flex: 1;
    justify-content: center;
    min-width: 120px;
  }
  
  .status-grid {
    grid-template-columns: 1fr;
  }
  
  .tips-grid {
    grid-template-columns: 1fr;
  }
  
  .vip-grid {
    grid-template-columns: 1fr;
  }
  
  .creators-grid {
    grid-template-columns: 1fr;
  }
  
  .category-filters {
    justify-content: center;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  /* Rules page mobile */
  .rules-layout {
    grid-template-columns: 1fr;
  }
  
  .rules-sidebar {
    position: relative;
    top: 0;
    max-height: none;
    margin-bottom: var(--space-lg);
  }
  
  .tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  
  .tab-btn {
    white-space: nowrap;
    font-size: 12px;
    padding: 10px 16px;
  }
}

@media (max-width: 480px) {
  .header-actions {
    gap: var(--space-sm);
  }
  
  .btn-header {
    font-size: 11px;
    padding: 8px 12px;
  }
  
  .btn-header svg {
    width: 14px;
    height: 14px;
  }
  
  main {
    padding: var(--space-xl) var(--space-md);
  }
  
  .card,
  .card-full {
    padding: var(--space-lg);
  }
  
  .status-widget {
    padding: var(--space-lg);
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .join-button {
    font-size: 1.2rem;
    padding: 12px 32px;
  }
}/* ============================================= */
/* RULES PAGE FIX - Add this to the BOTTOM of your style.css */
/* ============================================= */

/* Force tab button styles */
.tabs button.tab-btn,
button.tab-btn {
  padding: 12px 24px !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0 !important;
  color: #b3b3b3 !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
  box-shadow: none !important;
  transform: none !important;
}

.tabs button.tab-btn:hover,
button.tab-btn:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-bottom-color: transparent !important;
  transform: none !important;
}

.tabs button.tab-btn.active,
button.tab-btn.active {
  color: #e50914 !important;
  border-bottom-color: #e50914 !important;
  background: rgba(229, 9, 20, 0.1) !important;
}

/* Tabs container */
.tabs {
  display: flex !important;
  gap: 8px !important;
  margin: 32px 0 !important;
  flex-wrap: wrap !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
  padding-bottom: 0 !important;
}

/* Rule sections */
.rule-section {
  display: none !important;
  padding: 32px 0 !important;
}

.rule-section.active {
  display: block !important;
}

/* Section boxes */
.section-box {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.1) 0%, rgba(20, 20, 20, 0.5) 100%) !important;
  border-left: 4px solid #e50914 !important;
  padding: 24px !important;
  margin-bottom: 32px !important;
  border-radius: 8px !important;
}

.section-box h2 {
  margin: 0 !important;
  color: #e50914 !important;
}

/* Rules sidebar and layout */
.rules-layout {
  display: grid !important;
  grid-template-columns: 250px 1fr !important;
  gap: 48px !important;
  margin-top: 32px !important;
}

.rules-sidebar {
  position: sticky !important;
  top: 90px !important;
  align-self: start !important;
  background: #141414 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  padding: 24px !important;
  max-height: calc(100vh - 120px) !important;
  overflow-y: auto !important;
}

.rules-sidebar-title {
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  letter-spacing: 1px !important;
  color: #666666 !important;
  margin-bottom: 16px !important;
}

.rules-sidebar ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.rules-sidebar ul.plain li {
  padding: 0 !important;
  margin-bottom: 8px !important;
}

.rules-sidebar ul.plain li::before {
  display: none !important;
}

.rules-sidebar a {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 16px !important;
  color: #b3b3b3 !important;
  text-decoration: none !important;
  border-radius: 4px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  font-size: 14px !important;
}

.rules-sidebar a:hover {
  background: rgba(229, 9, 20, 0.1) !important;
  color: #e50914 !important;
  transform: translateX(5px) !important;
}

.rules-content {
  background: #141414 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  padding: 48px !important;
}

.rules-content h3 {
  color: #e50914 !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
  padding-bottom: 8px !important;
  margin-top: 48px !important;
  margin-bottom: 24px !important;
}

.rules-content h3:first-child {
  margin-top: 0 !important;
}

/* Accordion styles */
.accordion {
  margin: 24px 0 !important;
}

.acc-item {
  background: #050505 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  margin-bottom: 16px !important;
  overflow: hidden !important;
}

.acc-head {
  width: 100% !important;
  padding: 16px 24px !important;
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  text-align: left !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

.acc-head:hover {
  background: rgba(229, 9, 20, 0.1) !important;
  color: #e50914 !important;
}

.acc-head.active {
  background: rgba(229, 9, 20, 0.15) !important;
  color: #e50914 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.acc-body {
  display: none !important;
  padding: 24px !important;
  color: #b3b3b3 !important;
}

.acc-body p {
  margin-bottom: 16px !important;
}

.acc-body p:last-child {
  margin-bottom: 0 !important;
}

.acc-body strong {
  color: #ffffff !important;
}

/* Mobile responsive for rules */
@media (max-width: 768px) {
  .rules-layout {
    grid-template-columns: 1fr !important;
  }
  
  .rules-sidebar {
    position: relative !important;
    top: 0 !important;
    max-height: none !important;
    margin-bottom: 24px !important;
  }
  
  .tabs {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
  }
  
  .tab-btn,
  button.tab-btn {
    white-space: nowrap !important;
    font-size: 12px !important;
    padding: 10px 16px !important;
  }
}