/* Gaming-focused CSS Variables */
:root {
  --gaming-dark: hsl(215, 28%, 6%);
  --gaming-gray: hsl(220, 13%, 13%);
  --gaming-blue: hsl(195, 100%, 50%);
  --gaming-purple: hsl(250, 65%, 60%);
  --gaming-accent: hsl(215, 15%, 22%);
  --text-white: hsl(0, 0%, 100%);
  --text-gray-300: hsl(0, 0%, 82%);
  --text-gray-400: hsl(0, 0%, 63%);
  --border-gray-600: hsl(0, 0%, 38%);
  --border-gray-700: hsl(0, 0%, 25%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--gaming-dark);
  color: var(--text-white);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

.text-4xl { font-size: 2.25rem; }
.text-3xl { font-size: 1.875rem; }
.text-2xl { font-size: 1.5rem; }
.text-xl { font-size: 1.25rem; }
.text-lg { font-size: 1.125rem; }

/* Layout */
.grid { display: grid; }
.flex { display: flex; }
.hidden { display: none; }
.block { display: block; }
.inline-flex { display: inline-flex; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-x-8 > * + * { margin-left: 2rem; }

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* Spacing */
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.pb-8 { padding-bottom: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; }
.mt-12 { margin-top: 3rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }

/* Colors */
.text-white { color: var(--text-white); }
.text-gray-300 { color: var(--text-gray-300); }
.text-gray-400 { color: var(--text-gray-400); }
.text-gaming-blue { color: var(--gaming-blue); }
.text-gaming-purple { color: var(--gaming-purple); }

.bg-gaming-dark { background-color: var(--gaming-dark); }
.bg-gaming-gray { background-color: var(--gaming-gray); }
.bg-gaming-accent { background-color: var(--gaming-accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(to right, var(--gaming-blue), var(--gaming-purple));
  color: var(--gaming-dark);
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-size: 1.125rem;
}

.btn-primary:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.btn-secondary {
  border: 2px solid var(--gaming-blue);
  color: var(--gaming-blue);
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  background: transparent;
}

.btn-secondary:hover {
  background-color: var(--gaming-blue);
  color: var(--gaming-dark);
}

/* Forms */
.form-input {
  width: 100%;
  background-color: rgba(15, 20, 25, 0.5);
  border: 1px solid var(--border-gray-600);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--text-white);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  border-color: var(--gaming-blue);
  outline: none;
  box-shadow: 0 0 0 1px var(--gaming-blue);
}

.form-input::placeholder {
  color: var(--text-gray-400);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-gray-300);
  margin-bottom: 0.5rem;
}

/* Cards */
.card {
  background-color: rgba(45, 55, 72, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  border: 1px solid rgba(0, 217, 255, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: rgba(0, 217, 255, 0.3);
  transform: scale(1.02);
}

/* Header */
.header {
  background-color: rgba(26, 32, 44, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 217, 255, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-link {
  color: var(--text-gray-300);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gaming-blue);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--gaming-dark) 0%, var(--gaming-gray) 50%, var(--gaming-dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cGF0dGVybiBpZD0iZ3JpZCIgd2lkdGg9IjYwIiBoZWlnaHQ9IjYwIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIj48cGF0aCBkPSJNIDYwIDAgTCAwIDAgMCA2MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDBEOUZGIiBzdHJva2Utd2lkdGg9IjAuNSIgb3BhY2l0eT0iMC4xIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyaWQpIi8+PC9zdmc+');
  opacity: 0.3;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--gaming-gray);
  border-top: 1px solid rgba(0, 217, 255, 0.2);
  padding: 1rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

/* Responsive */
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:flex-row { flex-direction: row; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:text-6xl { font-size: 3.75rem; }
}

/* Utilities */
.w-full { width: 100%; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-48 { height: 12rem; }
.h-auto { height: auto; }

.max-w-md { max-width: 28rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }

.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

.object-cover { object-fit: cover; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.resize-none { resize: none; }

.transition-all { transition: all 0.2s ease; }
.transition-colors { transition: color 0.2s ease, background-color 0.2s ease; }

.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-2 { border-width: 2px; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.top-4 { top: 1rem; }
.bottom-4 { bottom: 1rem; }
.left-4 { left: 1rem; }
.right-4 { right: 1rem; }

.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.overflow-hidden { overflow: hidden; }

.flex-shrink-0 { flex-shrink: 0; }
.flex-col { flex-direction: column; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

.min-h-screen { min-height: 100vh; }

.cursor-pointer { cursor: pointer; }

.underline { text-decoration: underline; }

.outline-none { outline: none; }

/* Custom animations for gaming feel */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* Gaming badge styles */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.badge-blue {
  background-color: rgba(0, 217, 255, 0.2);
  color: var(--gaming-blue);
  border: 1px solid rgba(0, 217, 255, 0.2);
}

.badge-purple {
  background-color: rgba(124, 58, 237, 0.2);
  color: var(--gaming-purple);
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.badge-red {
  background-color: rgba(239, 68, 68, 0.2);
  color: hsl(0, 84%, 60%);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Star rating */
.star-rating {
  color: hsl(45, 93%, 58%);
}
