/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&family=Fredoka:wght@300;400;500;600;700&display=swap");

/* CSS Variables - ROT SCHWARZ THEME */
:root {
  /* Dark Gaming Theme - Rot/Schwarz */
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #2a2a2a;
  --bg-card: #1e1e1e;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #888888;
  --border-color: #333333;
  --shadow: rgba(0, 0, 0, 0.8);

  /* Gaming Colors - ROT FOKUS */
  --neon-red: #ff0000;
  --neon-red-light: #ff3333;
  --neon-red-dark: #cc0000;
  --neon-white: #ffffff;
  --neon-gray: #666666;
  --accent-red: #ff1a1a;
  --accent-dark: #990000;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #ff0000, #cc0000);
  --gradient-secondary: linear-gradient(135deg, #333333, #000000);
  --gradient-accent: linear-gradient(135deg, #ff0000, #000000);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Fredoka", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-10px) rotate(1deg);
  }
  66% {
    transform: translateY(5px) rotate(-1deg);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    box-shadow: 0 0 20px var(--neon-red), 0 0 40px var(--neon-red);
  }
  50% {
    box-shadow: 0 0 10px var(--neon-red), 0 0 20px var(--neon-red);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes neon-flicker {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* Gaming UI Elements */
.gaming-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.gaming-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.gaming-card:hover {
  border-color: var(--neon-red);
  box-shadow: 0 20px 40px rgba(255, 0, 0, 0.3);
}

.gaming-card:hover::before {
  opacity: 0.1;
}

/* Neon Button */
.neon-btn {
  background: transparent;
  border: 2px solid var(--neon-red);
  color: var(--neon-red);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.neon-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.3s ease;
  z-index: -1;
}

.neon-btn:hover {
  color: white;
  box-shadow: 0 0 30px var(--neon-red);
  animation: glow-pulse 2s infinite;
}

.neon-btn:hover::before {
  left: 0;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: radial-gradient(circle at 20% 80%, rgba(255, 0, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 0, 0, 0.05) 0%, transparent 50%), var(--bg-primary);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ff0000" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 900;
  background: var(--gradient-primary);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
  text-shadow: 0 0 50px rgba(255, 0, 0, 0.5);
}

/* Navigation */
.navbar {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  color: var(--neon-red);
  background: rgba(255, 0, 0, 0.1);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

/* Cards */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.feature-card:hover {
  border-color: var(--neon-red);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.feature-card:hover::before {
  opacity: 0.1;
}

/* Icon Styles */
.neon-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.neon-icon.red {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.neon-icon.gray {
  background: var(--gradient-secondary);
  color: white;
  box-shadow: 0 0 20px rgba(102, 102, 102, 0.5);
}

.neon-icon.white {
  background: linear-gradient(135deg, #ffffff, #cccccc);
  color: black;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Form Styles */
.gaming-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 600;
  font-family: "Outfit", sans-serif;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 1rem;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  color: var(--text-primary);
  font-family: "Fredoka", sans-serif;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--neon-red);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

/* Status Indicators */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}

.status-online {
  background: rgba(0, 255, 0, 0.2);
  color: #00ff00;
  border: 1px solid #00ff00;
}

.status-offline {
  background: rgba(255, 0, 0, 0.2);
  color: var(--neon-red);
  border: 1px solid var(--neon-red);
}

.status-prelaunch {
  background: rgba(255, 255, 0, 0.2);
  color: #ffff00;
  border: 1px solid #ffff00;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: neon-flicker 2s infinite;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: var(--neon-red);
  text-shadow: 0 0 10px var(--neon-red);
}

/* Social Links */
.social-link {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-link:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--neon-red);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

/* Mobile Menu */
.mobile-menu {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  backdrop-filter: blur(20px);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 999;
}

.mobile-menu.show {
  display: block;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 4rem 0;
}

.text-center {
  text-align: center;
}
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-8 {
  gap: 2rem;
}
.grid {
  display: grid;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hidden {
  display: none;
}
.block {
  display: block;
}

.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-12 {
  margin-bottom: 3rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-8 {
  margin-top: 2rem;
}
.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .md\:flex-row {
    flex-direction: row;
  }
  .md\:hidden {
    display: none;
  }
  .md\:block {
    display: block;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  .gaming-card,
  .feature-card {
    padding: 1.5rem;
  }
  .neon-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  
  /* Mobile Navigation Fix */
  .navbar .container {
    padding: 0 0.5rem;
  }
  
  .navbar .flex {
    gap: 0.5rem;
  }
  
  .navbar .flex > div:first-child {
    flex: 1;
    min-width: 0;
  }
  
  .navbar .flex > div:first-child span {
    font-size: 1.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .navbar img {
    height: 40px !important;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-red);
}

/* Notification */
.notification {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 9999;
  padding: 1rem 1.5rem;
  border-radius: 15px;
  color: white;
  font-weight: 600;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.notification.show {
  transform: translateX(0);
}
.notification.success {
  background: #00ff00;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}
.notification.error {
  background: var(--neon-red);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}
.notification.info {
  background: #ffff00;
  color: black;
  box-shadow: 0 0 20px rgba(255, 255, 0, 0.5);
}
