/* Exo 2 Font - Sleek & Minimal Design */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;600;700;800&display=swap');

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

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Exo 2', sans-serif;
  background: linear-gradient(
    135deg,
    #0d0e12 0%,
    #1a1b23 15%,
    #252732 30%,
    #1f2133 45%,
    #2a2d42 60%,
    #1f2133 75%,
    #1a1b23 85%,
    #0d0e12 100%
  );
  background-size: 400% 400%;
  background-attachment: fixed;
  animation: gradientShift 20s ease infinite;
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* Color System - Tebex Exo Design (Mørkegrå & Grå) */
:root {
  --primary: #5b5f66;
  --primary-dark: #3b3d3f;
  --secondary: #8f9297;
  --bg-primary: #202020;
  --bg-secondary: #292a2b;
  --bg-card: rgba(79, 80, 82, 0.7);
  --text-primary: #e2e8f0;
  --text-secondary: #b6b9be;
  --text-muted: #8f9297;
  --border: rgba(104, 106, 110, 0.3);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.9);
  --border-radius: 4px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gradient Text - Smidig blå til mørkegrå overgang */
.gradient-text {
  background: linear-gradient(135deg, 
    #6b9fff 0%,      /* Lys blå (start) */
    #5865F2 25%,     /* Discord blå */
    #5a6dc8 45%,     /* Mellemliggende blå */
    #6b7280 70%,     /* Mørkegrå med blå nuance */
    #4b5563 100%     /* Mørkegrå (slut) */
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  will-change: background;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: rgba(60, 60, 61, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.8);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 20px;
  transition: var(--transition);
  position: relative;
}

.brand:hover img {
  transform: rotate(5deg);
}

.brand img {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  transition: var(--transition);
}

.brand-friheden {
  color: var(--text-primary);
}

.brand-roleplay {
  color: #0099FF;
}

/* Navigation Links - Horizontal */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  color: var(--text-primary);
  text-decoration: none;
  font-family: 'Exo 2', sans-serif;
  font-weight: 500;
  font-size: 14px;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(91, 96, 105, 0.2);
  color: #b6b9be;
}

.nav-link.active {
  background: rgba(74, 85, 104, 0.3);
  color: #b6b9be;
}

.nav-link.requires-login {
  display: none;
}

.nav-link.requires-login.visible {
  display: flex;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(74, 85, 104, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-primary {
  background: #64686e;
  color: white;
  border: none;
}

.btn-primary:hover {
  background: #3b3d3f;
}

.btn-secondary {
  background: transparent;
  border: 1px solid #8f9297;
}

.btn-secondary:hover {
  background: rgba(113, 128, 150, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(113, 128, 150, 0.4);
}

.btn-discord {
  background: #64686e;
  color: white;
  border: none;
  padding: 12px 32px;
  font-size: 16px;
}

.btn-discord:hover {
  background: #3b3d3f;
}

.btn-login {
  padding: 8px 16px;
  background: rgba(74, 85, 104, 0.1);
  border: 1px solid #8f9297;
}

/* Login Overlay */
.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 32px;
  max-width: 400px;
  width: 90%;
  box-shadow: var(--shadow-lg);
}

.login-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.login-header h2 {
  font-size: 24px;
  color: var(--text-primary);
}

.login-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-content {
  text-align: center;
}

.login-content p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* User Menu */
.user-menu {
  position: relative;
}

.user-menu-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  cursor: pointer;
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.user-menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 180px;
  box-shadow: var(--shadow);
  display: none;
}

.user-menu-dropdown a {
  display: block;
  padding: 12px 16px;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}

.user-menu-dropdown a:hover {
  background: rgba(74, 85, 104, 0.2);
}

/* Live Player Count */
.live-player-count {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #1b1b1b; /* darker inner */
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px; /* more squared */
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6); /* subtle shadow */
}

.player-count-info {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.player-count-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.player-count-value {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}

.status-indicator-small {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  position: relative;
}

.pulse-small {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-color, #10b981);
  background-color: var(--status-color, #10b981);
  animation: pulse 2s infinite;
}

/* Status indicator online/offline states */
.status-indicator-small.online .pulse-small,
.pulse-small.online {
  background: #10b981 !important;
  background-color: #10b981 !important;
  --status-color: #10b981 !important;
}

.status-indicator-small.offline .pulse-small,
.pulse-small.offline {
  background: #ef4444 !important;
  background-color: #ef4444 !important;
  --status-color: #ef4444 !important;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: transparent;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(107, 114, 128, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(156, 163, 175, 0.1) 0%, transparent 50%);
}

/* Slideshow */
.slideshow-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.1s ease-out, opacity 0.1s ease-out;
  will-change: transform, opacity;
}

.slideshow-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.nav-dot.active {
  background: #f3f4f6;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  max-width: 800px;
  width: 100%;
  padding: 0 24px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
  will-change: transform, opacity;
}

.hero-content.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-weight: 400;
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Hero Stats - Statistics Section */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 600px;
  margin: 0 auto;
  margin-top: 60px;
  transition: transform 0.1s ease-out, opacity 0.1s ease-out;
  will-change: transform, opacity;
}

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

.hero-stats .stat-value {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, 
    #6b9fff 0%,      /* Lys blå (start) */
    #5865F2 50%,     /* Discord blå */
    #5a6dc8 100%     /* Mellemliggende blå */
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1;
}

.hero-stats .stat-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .hero-stats {
    gap: 32px;
    margin-top: 40px;
  }
  
  .hero-stats .stat-value {
    font-size: 3rem;
  }
}

/* Sections */
section {
  padding: 80px 0;
}


.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  /* Color removed - using gradient instead */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-title.scroll-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Section Titles - Blue Gradient (applies to all sections) */
.section-title {
  background: linear-gradient(135deg, 
    #6b9fff 0%,      /* Lys blå (start) */
    #5865F2 35%,     /* Discord blå */
    #5a6dc8 60%,     /* Mellemliggende blå */
    #4a90e2 85%,     /* Klarere blå */
    #6b9fff 100%     /* Lys blå (slut) */
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  will-change: background;
}

/* Features Section with Gradient Background */

.features {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    #0d0e12 0%,
    #1a1b23 25%,
    #252732 50%,
    #1a1b23 75%,
    #0d0e12 100%
  );
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
}

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

/* Discord Section with Gradient Background */
.discord-section {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.discord-section.scroll-animate {
  opacity: 1;
  transform: translateY(0);
}

.discord-section {
  overflow: hidden;
  padding: 80px 24px;
  background: linear-gradient(
    135deg,
    #0d0e12 0%,
    #1f2133 25%,
    #2a2d42 50%,
    #1f2133 75%,
    #0d0e12 100%
  );
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
}

.features .container,
.discord-section .container {
  position: relative;
  z-index: 2;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, var(--transition);
}

.feature-card.scroll-animate {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: #8f9297;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 85, 104, 0.2);
  border-radius: 16px;
  color: #8f9297;
  font-size: 28px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-weight: 400;
}

/* Cards */
.card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  text-decoration: none;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, var(--transition);
}

.card.scroll-animate {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: #8f9297;
}

.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(90, 95, 104, 0.2);
  border-radius: 12px;
  color: #8f9297;
  font-size: 24px;
}

.card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

/* Quick Links Cards - Blue gradient titles */
.quick-links .card h3 {
  background: linear-gradient(135deg, 
    #6b9fff 0%,      /* Lys blå (start) */
    #5865F2 50%,     /* Discord blå */
    #5a6dc8 100%     /* Mellemliggende blå */
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card p {
  color: var(--text-secondary);
  font-weight: 400;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Footer */
footer {
  background: linear-gradient(180deg, #161616 0%, #0f0f0f 100%);
  border-top: 1px solid rgba(74, 85, 104, 0.3);
  padding: 60px 0 40px;
  margin-top: 80px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(107, 114, 128, 0.3) 50%,
    transparent 100%
  );
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-left {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
  flex: 1;
  min-width: 250px;
}

.footer-left strong {
  color: var(--text-primary);
  font-weight: 600;
}

.footer-middle {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-server-status {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-server-status i {
  color: var(--accent-primary);
  font-size: 16px;
}

.footer-player-count {
  font-weight: 600;
  color: var(--text-primary);
}

.footer-status-indicator {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.footer-status-indicator.offline {
  background: var(--error);
}

.footer-status-indicator .pulse-small {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease-in-out infinite;
}

.footer-status-indicator.offline .pulse-small {
  animation: none;
  background: var(--error);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  min-width: 300px;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  padding: 6px 0;
  position: relative;
}

.footer-link i {
  width: 18px;
  text-align: center;
  font-size: 16px;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.footer-link:hover i {
  color: #5865F2;
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .nav-right {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .nav-links {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
  }
  
  .live-player-count {
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .hero-content h1 {
    font-size: 28px;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 14px;
    padding: 0 20px;
  }
  
  .cta-row {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn {
    width: 100%;
    padding: 14px 20px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .features-grid,
  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .faq-question h3 {
    font-size: 16px;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  
  .footer-left {
    text-align: center;
    min-width: auto;
  }

  .footer-middle {
    order: 2;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    max-width: 300px;
  }
  
  .footer-link {
    padding: 8px 16px;
    background: rgba(79, 80, 82, 0.3);
    border-radius: 6px;
    border: 1px solid rgba(74, 85, 104, 0.2);
    width: 100%;
    justify-content: center;
  }
  
  .footer-link:hover {
    transform: translateY(-2px);
    background: rgba(79, 80, 82, 0.5);
  }
  
  .container {
    padding: 0 16px;
  }
  
  .hero-content {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 24px;
  }
  
  .hero-subtitle {
    font-size: 13px;
  }
  
  .nav-right {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 4px;
  }
  
  .nav-link {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
  }
  
  .brand span {
    font-size: 14px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card,
.card {
  animation: fadeIn 0.6s ease-out;
}

/* FAQ Section */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, var(--transition);
}

.faq-item.scroll-animate {
  opacity: 1;
  transform: translateY(0);
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.faq-question {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-question h3 i {
  color: var(--primary);
  font-size: 20px;
}

.faq-toggle {
  color: var(--text-secondary);
  transition: var(--transition);
  font-size: 18px;
  cursor: pointer;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 24px 24px 24px;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 15px;
}

/* Rules List Layout */
.rules-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.rule-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 24px;
  transition: var(--transition);
  overflow: hidden;
}

.rule-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow);
}

.rule-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.rule-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  min-width: 50px;
  font-family: 'Exo 2', sans-serif;
}

.rule-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 85, 104, 0.2);
  border-radius: 50%;
  font-size: 24px;
  color: var(--primary);
}

.rule-item h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}

.rule-item p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 15px;
  padding-left: 88px;
}

@media (max-width: 768px) {
  .rule-header {
    gap: 12px;
  }
  
  .rule-number {
    font-size: 20px;
    min-width: 40px;
  }
  
  .rule-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .rule-item h3 {
    font-size: 18px;
  }
  
  .rule-item p {
    padding-left: 0;
    margin-top: 12px;
  }
}

/* Announcements Section */
.announcements-section {
  padding: 80px 24px;
  background: transparent;
}

.announcements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.announcement-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.announcement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.announcement-card.featured {
  background: linear-gradient(135deg, rgba(91, 95, 102, 0.8) 0%, rgba(59, 61, 63, 0.9) 100%);
  border-color: var(--primary);
}

.announcement-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: var(--text-primary);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.announcement-date {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.announcement-card h3 {
  margin: 0 0 12px 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

.announcement-card p {
  margin: 0 0 16px 0;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 15px;
}

.announcement-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  font-size: 14px;
}

.announcement-link:hover {
  color: var(--text-primary);
  gap: 12px;
}

/* Stats Section */
.stats-section {
  padding: 80px 24px;
  background: transparent;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 32px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.stat-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(91, 95, 102, 0.3);
  border-radius: 12px;
  font-size: 28px;
  color: var(--primary);
  flex-shrink: 0;
}

.stat-content {
  flex: 1;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Gallery Section */
.gallery-section {
  padding: 80px 24px;
  background: transparent;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.gallery-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(255, 255, 255, 0.3);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 20px;
  color: var(--text-primary);
  font-weight: 600;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

/* Staff Section */
.staff-section {
  padding: 80px 24px;
  background: transparent;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.staff-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.staff-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.staff-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(91, 95, 102, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--primary);
}

.staff-card h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

.staff-role {
  margin: 0 0 16px 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.staff-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.staff-status.online {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.staff-status.offline {
  background: rgba(107, 114, 128, 0.2);
  color: var(--text-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.staff-status.online .status-dot {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.staff-status.offline .status-dot {
  background: var(--text-muted);
}

/* Discord Section */
/* .discord-section styles moved to top */

.discord-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.discord-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.discord-content p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

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

.discord-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 15px;
}

.discord-features li i {
  color: var(--primary);
  font-size: 18px;
  width: 24px;
}

.discord-widget {
  display: flex;
  justify-content: center;
  align-items: center;
}

.discord-widget iframe {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* Custom Discord Widget */
.custom-discord-widget {
  width: 100%;
  max-width: 450px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.custom-discord-widget:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.discord-widget-header {
  background: var(--bg-secondary);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border);
}

.discord-server-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.discord-server-info {
  flex: 1;
  min-width: 0;
}

.discord-server-name {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.discord-server-status {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot-online {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
  flex-shrink: 0;
}

.discord-widget-body {
  padding: 20px;
}

.discord-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.discord-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-secondary);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.discord-stat-item i {
  font-size: 20px;
  color: var(--primary);
  width: 24px;
  text-align: center;
}

.discord-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.discord-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.discord-join-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: #5865F2;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: 'Exo 2', sans-serif;
}

.discord-join-btn:hover {
  background: #4752C4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}

.discord-join-btn i {
  font-size: 18px;
}

/* Discord Online Preview */
.discord-online-preview {
  margin: 20px 0;
  padding: 16px;
  background: rgba(79, 80, 82, 0.2);
  border-radius: 8px;
  border: 1px solid rgba(74, 85, 104, 0.3);
}

.discord-preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.discord-members-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.discord-member-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: rgba(79, 80, 82, 0.2);
  border-radius: 6px;
  transition: var(--transition);
}

.discord-member-item:hover {
  background: rgba(79, 80, 82, 0.4);
  transform: translateX(4px);
}

.discord-member-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(74, 85, 104, 0.5);
}

.discord-member-info {
  flex: 1;
  min-width: 0;
}

.discord-member-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.discord-member-game {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.discord-member-game i {
  font-size: 9px;
}

@media (max-width: 768px) {
  .discord-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .discord-stat-item {
    padding: 10px 8px;
  }
  
  .discord-stat-value {
    font-size: 16px;
  }
  
  .discord-stat-label {
    font-size: 10px;
  }
  
  .discord-online-preview {
    padding: 12px;
  }
  
  .custom-discord-widget {
    max-width: 100%;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.4);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, #4752C4 0%, #3c45a5 100%);
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.6);
}

.back-to-top:active {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

/* Loading States */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #5865F2;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.skeleton {
  background: linear-gradient(
    90deg,
    rgba(79, 80, 82, 0.3) 0%,
    rgba(79, 80, 82, 0.5) 50%,
    rgba(79, 80, 82, 0.3) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 4px;
}

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

/* Accessibility Improvements */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 0;
  background: #5865F2;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 10000;
  border-radius: 0 0 4px 0;
  opacity: 0;
  pointer-events: none;
}

.skip-to-content:focus {
  top: 0;
  opacity: 1;
  pointer-events: auto;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 2px solid #5865F2;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Smooth scroll behavior - already defined at top, but ensure it's here */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Account for sticky header */
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 24px;
  background: transparent;
}

/* Testimonials Carousel */
.testimonials-carousel-wrapper {
  width: 100%;
  max-width: calc(4 * 300px + 3 * 24px + 40px); /* 4 cards + 3 gaps + padding */
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  padding: 0 20px;
}

.testimonials-grid,
.testimonials-carousel {
  display: flex;
  gap: 24px;
  animation: scrollTestimonials 40s linear infinite;
  width: max-content;
  will-change: transform;
}

.testimonials-grid:hover,
.testimonials-carousel:hover {
  animation-play-state: paused;
}

@keyframes scrollTestimonials {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 12px));
  }
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 32px;
  transition: var(--transition);
  min-width: 300px;
  max-width: 300px;
  width: 300px;
  flex-shrink: 0;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, var(--transition);
}

.testimonial-card.scroll-animate {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #fbbf24;
  font-size: 18px;
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px 0;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: rgba(91, 95, 102, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.testimonial-role {
  font-size: 13px;
  color: var(--text-muted);
}

/* Testimonial Form */
.testimonial-form-container {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.testimonial-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 32px;
  margin-top: 20px;
  text-align: left;
}

.testimonial-form-card h3 {
  margin: 0 0 24px 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 14px;
}

.form-group input[type="text"],
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-family: 'Exo 2', sans-serif;
  font-size: 15px;
  transition: var(--transition);
  box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91, 95, 102, 0.1);
}

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

/* Star Rating */
.star-rating {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.star-rating input[type="radio"] {
  display: none;
}

.star-rating label {
  cursor: pointer;
  font-size: 32px;
  color: #6b7280;
  transition: var(--transition);
  padding: 4px;
  display: inline-block;
  user-select: none;
}

.star-rating label:hover {
  color: #fbbf24;
  transform: scale(1.1);
}

/* When hovering, highlight this and previous stars */
.star-rating input[type="radio"]:hover ~ label {
  color: #fbbf24;
}

.star-rating label:hover ~ label {
  color: #fbbf24;
}

/* When checked, highlight this and previous stars */
.star-rating input[type="radio"]:checked ~ label {
  color: #fbbf24;
}

/* All stars before checked star should be highlighted */
.star-rating:has(input[type="radio"]:checked) label {
  color: #fbbf24;
}

/* Stars after checked star should be gray */
.star-rating input[type="radio"]:checked ~ label ~ label {
  color: #6b7280;
}

.star-rating label i {
  display: block;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}

.form-actions button {
  min-width: 120px;
}

/* Empty Star */
.star-empty {
  opacity: 0.3;
  color: #6b7280 !important;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
  .discord-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .discord-widget iframe {
    width: 100%;
    max-width: 350px;
  }
  
  .custom-discord-widget {
    max-width: 100%;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .announcements-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-carousel-wrapper {
    padding: 0 10px;
  }
  
  .testimonial-card {
    min-width: 280px;
    max-width: 280px;
    width: 280px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-card {
    flex-direction: column;
    text-align: center;
  }
}

/* Toast Notification System */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  pointer-events: none;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
  min-width: 300px;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast-success {
  border-left: 4px solid #10b981;
}

.toast-error {
  border-left: 4px solid #ef4444;
}

.toast-warning {
  border-left: 4px solid #f59e0b;
}

.toast-info {
  border-left: 4px solid #3b82f6;
}

.toast i:first-child {
  font-size: 20px;
  flex-shrink: 0;
}

.toast-success i:first-child {
  color: #10b981;
}

.toast-error i:first-child {
  color: #ef4444;
}

.toast-warning i:first-child {
  color: #f59e0b;
}

.toast-info i:first-child {
  color: #3b82f6;
}

.toast-message {
  flex: 1;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.5;
}

.toast-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: var(--transition);
  flex-shrink: 0;
}

.toast-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.toast-close i {
  font-size: 14px;
}

@media (max-width: 768px) {
  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  .toast {
    min-width: auto;
    width: 100%;
  }
}

/* Form Validation Feedback */
.form-group {
  position: relative;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
  border-color: #10b981;
}

.form-error {
  color: #ef4444;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.form-group.error .form-error {
  display: block;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #ef4444;
}

.form-group.success input,
.form-group.success textarea {
  border-color: #10b981;
}

/* Better Touch Targets for Mobile */
@media (max-width: 768px) {
  button,
  a,
  input[type="submit"],
  input[type="button"] {
    min-height: 44px;
    min-width: 44px;
  }
  
  .nav-links a {
    padding: 12px 16px;
  }
}

/* Footer Social Links */
.footer-social {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
  font-size: 18px;
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-link[aria-label*="Discord"]:hover {
  background: #5865F2;
  color: white;
}

.social-link[aria-label*="Tebex"]:hover {
  background: #7c3aed;
  color: white;
}

/* Print Styles */
@media print {
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
  
  body {
    background: white;
    font-size: 12pt;
    line-height: 1.5;
  }
  
  header,
  footer,
  .back-to-top,
  .toast-container,
  .discord-widget,
  .hero-slideshow,
  nav,
  button,
  .btn {
    display: none !important;
  }
  
  main {
    padding: 0;
  }
  
  .section {
    page-break-inside: avoid;
    margin-bottom: 20pt;
  }
  
  a {
    text-decoration: underline;
  }
  
  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #666;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
}

/* ============================================
   MODERN DESIGN STYLES (Inspired by OdessaRP)
   ============================================ */

/* Modern Hero Section */
.hero-modern {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slideshow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(13, 14, 18, 0.4) 0%,
    rgba(13, 14, 18, 0.7) 50%,
    rgba(13, 14, 18, 0.95) 100%
  );
  z-index: 1;
}

.hero-content-modern {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
  animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(88, 101, 242, 0.2);
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: 50px;
  color: #9ca3ff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-primary);
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
}

/* Modern Features Section - Unique Design */
.features-modern {
  padding: 120px 24px;
  background: linear-gradient(
    180deg,
    #0d0e12 0%,
    #1a1b23 30%,
    #252732 60%,
    #1a1b23 80%,
    #0d0e12 100%
  );
  background-size: 100% 400%;
  animation: gradientShift 20s ease infinite;
  position: relative;
  overflow: hidden;
}

.features-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(88, 101, 242, 0.3) 50%,
    transparent 100%
  );
}

.features-modern::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.section-title-modern {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, 
    #6b9fff 0%,
    #5865F2 50%,
    #5a6dc8 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Main Features Grid - 3 Large Cards */
.features-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 1;
}

.feature-card-modern {
  padding: 48px 40px;
  background: rgba(41, 42, 43, 0.7);
  border: 1px solid rgba(104, 106, 110, 0.3);
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(15px);
  opacity: 0;
  transform: translateY(30px);
  position: relative;
  overflow: hidden;
}

.feature-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-card-modern.scroll-animate {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease-out;
}

.feature-card-modern:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(88, 101, 242, 0.5);
  box-shadow: 0 24px 80px rgba(88, 101, 242, 0.15), 0 0 0 1px rgba(88, 101, 242, 0.1);
}

.feature-card-modern:hover::before {
  opacity: 1;
}

/* Feature Accent Line */
.feature-accent {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #5865F2, transparent);
  transition: width 0.4s ease;
}

.feature-card-modern:hover .feature-accent {
  width: 60%;
}

/* Primary Feature Card */
.feature-card-primary {
  border-color: rgba(107, 159, 255, 0.3);
}

.feature-card-primary:hover {
  border-color: rgba(107, 159, 255, 0.6);
  box-shadow: 0 24px 80px rgba(107, 159, 255, 0.2);
}

/* Secondary Feature Card */
.feature-card-secondary {
  border-color: rgba(88, 101, 242, 0.3);
}

.feature-card-secondary:hover {
  border-color: rgba(88, 101, 242, 0.6);
  box-shadow: 0 24px 80px rgba(88, 101, 242, 0.2);
}

/* Tertiary Feature Card */
.feature-card-tertiary {
  border-color: rgba(90, 109, 200, 0.3);
}

.feature-card-tertiary:hover {
  border-color: rgba(90, 109, 200, 0.6);
  box-shadow: 0 24px 80px rgba(90, 109, 200, 0.2);
}

.feature-icon-modern {
  width: 90px;
  height: 90px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  font-size: 40px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.feature-icon-primary {
  background: linear-gradient(135deg, rgba(107, 159, 255, 0.2), rgba(107, 159, 255, 0.05));
  color: #6b9fff;
  box-shadow: 0 8px 24px rgba(107, 159, 255, 0.15);
}

.feature-icon-secondary {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.2), rgba(88, 101, 242, 0.05));
  color: #5865F2;
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.15);
}

.feature-icon-tertiary {
  background: linear-gradient(135deg, rgba(90, 109, 200, 0.2), rgba(90, 109, 200, 0.05));
  color: #5a6dc8;
  box-shadow: 0 8px 24px rgba(90, 109, 200, 0.15);
}

.feature-card-modern:hover .feature-icon-modern {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 12px 32px rgba(88, 101, 242, 0.25);
}

.feature-card-modern h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
  background: linear-gradient(135deg, #e2e8f0, #b6b9be);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-card-modern p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
  max-width: 320px;
  margin: 0 auto;
}

/* Secondary Features Row - Smaller Items */
.features-secondary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.feature-item-small {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: rgba(41, 42, 43, 0.5);
  border: 1px solid rgba(104, 106, 110, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.feature-item-small:hover {
  background: rgba(41, 42, 43, 0.7);
  border-color: rgba(88, 101, 242, 0.3);
  transform: translateX(8px);
}

.feature-item-small i {
  font-size: 32px;
  color: #9ca3ff;
  min-width: 40px;
  text-align: center;
}

.feature-item-small h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.feature-item-small p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* Modern FAQ Section */
.faq-section-modern {
  padding: 120px 24px;
  background: linear-gradient(
    180deg,
    #0d0e12 0%,
    #1a1b23 100%
  );
}

.faq-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item-modern {
  background: rgba(41, 42, 43, 0.6);
  border: 1px solid rgba(104, 106, 110, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.faq-item-modern:hover {
  border-color: rgba(88, 101, 242, 0.3);
}

.faq-question-modern {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question-modern:hover {
  background: rgba(88, 101, 242, 0.05);
}

.faq-question-modern h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.faq-question-modern h3 i {
  color: #9ca3ff;
  font-size: 1rem;
}

.faq-toggle {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: transform 0.3s ease;
}

.faq-item-modern.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer-modern {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item-modern.active .faq-answer-modern {
  max-height: 500px;
  padding: 0 24px 24px;
}

.faq-answer-modern p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* Responsive Design for Modern Sections */
@media (max-width: 768px) {
  .hero-modern {
    min-height: 80vh;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-large {
    width: 100%;
  }
  
  .features-grid-modern {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .feature-card-modern {
    padding: 40px 24px;
  }
  
  .features-secondary-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .feature-item-small {
    padding: 20px;
  }
  
  .faq-grid-modern {
    grid-template-columns: 1fr;
  }
  
  .section-title-modern {
    font-size: 2rem;
  }
}

