:root {
  --bg-color: #0d1117;
  --card-bg: #161b22;
  --text-color: #c9d1d9;
  --heading-color: #ffffff;
  --accent: #58a6ff;
  --accent-glow: rgba(88, 166, 255, 0.4);
  --border-color: #30363d;
}

body.dark-theme {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Outfit', sans-serif;
  overflow-x: clip;
}

/* Typography & Utilities */
h1,
h2,
h3,
h4,
h5,
h6,
.brand-text {
  color: var(--heading-color);
  font-weight: 600;
}

.gradient-text {
  background: linear-gradient(90deg, #58a6ff, #bc8cff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-muted {
  color: #8b949e !important;
}

.form-control::placeholder {
  color: #191c1f !important;
  opacity: 1 !important;
}

.form-control:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 0.25rem var(--accent-glow) !important;
}

.steam-icon-link {
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.steam-icon-link:hover {
  color: #ffffff !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Header & Navbar */
header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.custom-navbar {
  padding: 1rem 0;
}

.custom-link {
  color: var(--text-color) !important;
  transition: color 0.3s ease;
  font-weight: 500;
}

.custom-link:hover {
  color: var(--accent) !important;
}

/* Grid Layout */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Footer Styling */
.custom-footer {
  border-top: 1px solid var(--border-color);
  background-color: rgba(13, 17, 23, 0.95);
  color: var(--text-color);
  font-size: 0.9rem;
}

.top-text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 768px) {
  .top-text-container {
    display: none;
  }
}