/*
 * Frontpage CSS - Bajuma Gameservers
 * Public-facing pages: Home, Gameserver Catalog, News, Registration
 * Uses CSS variables from dark-gaming-theme.css
 */

/* ========================================
   Frontpage Body
   ======================================== */
body.frontpage {
  background: var(--bg-body);
  color: var(--text-primary);
}

/* Animated background gradient */
.fp-bg-gradient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 229, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(187, 134, 252, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(88, 166, 255, 0.04) 0%, transparent 50%);
  animation: fpGradientShift 15s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
}
@keyframes fpGradientShift {
  0% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 0.7; transform: scale(1); }
}

.fp-main {
  position: relative;
  z-index: 1;
}

/* ========================================
   Navbar
   ======================================== */
.fp-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(48, 54, 61, 0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding: 0.6rem 0;
}
.fp-navbar.scrolled {
  background: rgba(13, 17, 23, 0.98);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  border-bottom-color: rgba(48, 54, 61, 0.5);
}
/* The logo is an image (images/logo/bajuma-logo-on-dark.svg), its letters are paths */
.fp-navbar .navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s;
}
.fp-navbar .navbar-brand img {
  display: block;
  width: auto;
  height: 30px;
}
.fp-navbar .navbar-brand:hover {
  opacity: 0.85;
}
.fp-navbar .nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem !important;
  transition: color 0.2s;
  position: relative;
}
.fp-navbar .nav-link:hover,
.fp-navbar .nav-link.active {
  color: var(--text-primary);
}
.fp-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

/* Navbar toggler (mobile) */
.fp-navbar .navbar-toggler {
  border-color: var(--border-default);
  padding: 0.35rem 0.6rem;
}
.fp-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(230,237,243,0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Nav auth buttons */
.fp-btn-login {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #000;
  background: linear-gradient(135deg, var(--accent-cyan), #0099cc);
  border: none;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}
.fp-btn-login:hover {
  color: #000;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
  transform: translateY(-1px);
}
.fp-btn-register {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #000;
  background: linear-gradient(135deg, var(--accent-green, #00e676), #00c853);
  border: none;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}
.fp-btn-register:hover {
  color: #000;
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.3);
  transform: translateY(-1px);
}
.fp-btn-panel {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #000;
  background: linear-gradient(135deg, var(--accent-green), #00c853);
  border: none;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}
.fp-btn-panel:hover {
  color: #000;
  box-shadow: 0 0 20px rgba(57, 211, 83, 0.3);
  transform: translateY(-1px);
}
.fp-btn-logout {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}
.fp-btn-logout:hover {
  color: var(--accent-red);
  border-color: var(--accent-red);
}

/* Navbar spacer */
.fp-nav-spacer {
  height: 60px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1rem 4rem;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 229, 255, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(187, 134, 252, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(88, 166, 255, 0.06) 0%, transparent 50%);
  animation: heroGradient 15s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes heroGradient {
  0% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 0.7; transform: scale(1); }
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.hero-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}
.hero-title .text-glow {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-cta .btn-hero-primary {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  background: linear-gradient(135deg, var(--accent-green), #00c853);
  border: none;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-cta .btn-hero-primary:hover {
  color: #000;
  box-shadow: 0 4px 25px rgba(0, 230, 118, 0.4);
  transform: translateY(-2px);
}
.hero-cta .btn-hero-secondary {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: transparent;
  border: 2px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.3s;
}
.hero-cta .btn-hero-secondary:hover {
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-cyan);
  box-shadow: 0 4px 25px rgba(0, 229, 255, 0.2);
  transform: translateY(-2px);
}

/* Hero stats bar */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat-value {
  font-size: 2rem;
  font-weight: 900;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  color: var(--accent-cyan);
  text-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.35rem;
}

/* ========================================
   Section Layout
   ======================================== */
.fp-section {
  padding: 5rem 0;
  position: relative;
}
.fp-section-alt {
  background: rgba(22, 27, 34, 0.4);
}
.fp-section-title {
  text-align: center;
  margin-bottom: 0.75rem;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.fp-section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   Feature Cards (USPs)
   ======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(22, 27, 34, 0.6);
  border: 1px solid rgba(48, 54, 61, 0.4);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.feature-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}
.feature-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ========================================
   News Cards (Home Preview + List)
   ======================================== */
.news-card {
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: rgba(22, 27, 34, 0.6);
  border: 1px solid rgba(48, 54, 61, 0.4);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.news-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.news-card h3 a,
.news-card h2 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}
.news-card h3 a:hover,
.news-card h2 a:hover {
  color: var(--accent-cyan);
}
.news-meta {
  display: flex;
  gap: 1rem;
  margin: 0.5rem 0 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.news-meta .fa {
  margin-right: 0.3rem;
  color: var(--accent-cyan);
  opacity: 0.7;
}
.news-text {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.9rem;
}
.news-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.news-tag {
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s;
}
.news-tag-category {
  color: var(--accent-purple);
  border: 1px solid rgba(187, 134, 252, 0.3);
  background: rgba(187, 134, 252, 0.06);
}
.news-tag-category:hover {
  background: rgba(187, 134, 252, 0.15);
  color: var(--accent-purple);
}
.news-tag-tag {
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
  background: rgba(0, 229, 255, 0.06);
}
.news-tag-tag:hover {
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
}

/* ========================================
   Pagination (BS5 Dark)
   ======================================== */
.fp-pagination .page-link {
  background: var(--bg-surface);
  border-color: var(--border-default);
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 0.45rem 0.8rem;
  transition: all 0.2s;
}
.fp-pagination .page-link:hover {
  background: var(--bg-surface-hover);
  color: var(--text-primary);
  border-color: var(--accent-cyan);
}
.fp-pagination .page-item.active .page-link {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #000;
  font-weight: 700;
}
.fp-pagination .page-item.disabled .page-link {
  background: var(--bg-body);
  border-color: var(--border-muted);
  color: var(--text-muted);
}

/* ========================================
   Content Page (News, Register, etc.)
   ======================================== */
.fp-content {
  padding: 2.5rem 0 4rem;
  min-height: 60vh;
}
.fp-content h1 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}
.fp-content h1 .fa {
  color: var(--accent-cyan);
  margin-right: 0.5rem;
}

/* ========================================
   Register Form
   ======================================== */
.register-card {
  max-width: 560px;
  margin: 0 auto;
}
.register-form .form-group {
  margin-bottom: 1rem;
}
.register-form label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
  display: block;
}
.register-form .form-control,
.register-form .form-select {
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.register-form .form-control:focus,
.register-form .form-select:focus {
  background: var(--bg-input);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
  color: var(--text-primary);
  outline: none;
}
.register-form .form-control::placeholder {
  color: var(--text-muted);
}
.register-form .form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}
.register-form .form-select option {
  background: #161b22;
  color: #e6edf3;
}
.register-form .form-check-input {
  background-color: var(--bg-input);
  border-color: var(--border-default);
}
.register-form .form-check-input:checked {
  background-color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}
.register-form .form-check-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.register-form .btn-submit {
  width: 100%;
  padding: 0.7rem;
  background: linear-gradient(135deg, var(--accent-cyan), #0099cc);
  border: none;
  border-radius: var(--radius-md);
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}
.register-form .btn-submit:hover {
  box-shadow: var(--glow-cyan);
  transform: translateY(-1px);
}

/* ========================================
   Comment Form (News Single)
   ======================================== */
.comment-card {
  padding: 1.25rem;
  margin-bottom: 0.75rem;
  background: rgba(22, 27, 34, 0.4);
  border: 1px solid rgba(48, 54, 61, 0.3);
  border-radius: var(--radius-md);
}
.comment-author {
  font-weight: 600;
  color: var(--accent-cyan);
  font-size: 0.85rem;
}
.comment-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}
.comment-text {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-default);
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}
.site-footer h5 {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.site-footer h5.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.site-footer h5.footer-brand img {
  display: block;
  flex: none;
}
.site-footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.45rem;
}
.footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--accent-cyan);
}
.footer-divider {
  border: none;
  height: 1px;
  background: var(--border-default);
  margin: 2rem 0 1rem;
}
.footer-copy {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ========================================
   Alerts (Dark Theme)
   ======================================== */
.fp-alert {
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  border: 1px solid;
}
.fp-alert-danger {
  background: rgba(248, 81, 73, 0.1);
  border-color: rgba(248, 81, 73, 0.3);
  color: var(--accent-red);
}
.fp-alert-success {
  background: rgba(57, 211, 83, 0.1);
  border-color: rgba(57, 211, 83, 0.3);
  color: var(--accent-green);
}
.fp-alert-info {
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.2);
  color: var(--accent-cyan);
}

/* ========================================
   CTA Section
   ======================================== */
.fp-cta-section {
  text-align: center;
  padding: 4rem 1rem;
  position: relative;
}
.fp-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.fp-cta-section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  position: relative;
}
.fp-cta-section p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  position: relative;
}

/* ========================================
   Language Selector (Navbar)
   ======================================== */
.fp-lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s;
}
.fp-lang-toggle:hover {
  color: var(--text-primary);
}
.fp-lang-flag {
  font-size: 1.1rem;
}
.fp-lang-code {
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
}
.fp-lang-menu {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-default) !important;
  border-radius: var(--radius-md) !important;
  padding: 0.4rem !important;
  min-width: 160px;
}
.fp-lang-menu .dropdown-item {
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.fp-lang-menu .dropdown-item:hover,
.fp-lang-menu .dropdown-item.active {
  background: rgba(0, 229, 255, 0.08);
  color: var(--text-primary);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh;
    padding: 4rem 1rem 3rem;
  }
  .hero-stats {
    gap: 1.5rem;
  }
  .hero-stat-value {
    font-size: 1.5rem;
  }
  .fp-section {
    padding: 3rem 0;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  .hero-cta a {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

/* ========================================
   Front page: compact hero with the promise, flags, popular games, steps
   ======================================== */
.hero-section.fp-hero-compact {
  min-height: 0;
  padding: 7.5rem 1rem 3rem;
}
.fp-usp-row {
  list-style: none;
  padding: 0;
  margin: -1rem auto 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.75rem;
}
.fp-usp-row li {
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.06);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
}
.fp-usp-row .fa {
  color: var(--accent-cyan);
  margin-right: 0.3rem;
}
/* The free trial: green like the order page's trial chip, first in the row */
.fp-usp-row li.fp-usp-trial {
  border-color: rgba(57, 211, 83, 0.45);
  background: rgba(57, 211, 83, 0.1);
}
.fp-usp-row li.fp-usp-trial .fa {
  color: var(--accent-green, #39d353);
}
.fp-trial-note {
  margin: 0.75rem 0 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.fp-trial-note .fa {
  color: var(--accent-green, #39d353);
  margin-right: 0.3rem;
}
.fp-trial-note a {
  color: var(--accent-green, #39d353);
  font-weight: 600;
}
.fp-flags {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.fp-flags .fi {
  width: 1.6em;
  line-height: 1.2em;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.fp-popular-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.fp-tax-note {
  font-size: 0.75rem;
}
.feature-icon {
  font-size: 2rem;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}
.fp-features-6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.fp-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.fp-steps li {
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
}
.fp-step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: #000;
  font-weight: 900;
  margin-bottom: 0.75rem;
}
.fp-steps h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.fp-steps p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 991.98px) {
  .fp-popular-grid,
  .fp-features-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767.98px) {
  .fp-steps {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575.98px) {
  .hero-section.fp-hero-compact {
    padding-top: 6rem;
  }
  .fp-features-6 {
    grid-template-columns: 1fr;
  }
  .fp-popular-grid {
    gap: 0.75rem;
  }
  .fp-popular-grid .game-order-card-body {
    padding: 0.6rem 0.7rem 0.75rem;
  }
  .fp-popular-grid .game-order-card-title {
    font-size: 0.9rem;
  }
}

/* ========================================
   Game pages (/de/gameserver/<game>/)
   ======================================== */
.fp-game-hero {
  position: relative;
  padding: 6.5rem 0 3rem;
  overflow: hidden;
}
.fp-game-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(28px) saturate(1.2);
  opacity: 0.22;
  transform: scale(1.15);
  z-index: 0;
}
.fp-game-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13, 17, 23, 0.2) 0%, var(--bg-primary, #0d1117) 100%);
  z-index: 0;
}
.fp-game-hero .container {
  position: relative;
  z-index: 1;
}
.fp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.fp-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
}
.fp-breadcrumb a:hover {
  color: var(--accent-cyan);
}
.fp-game-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 2.5rem;
  align-items: center;
}
.fp-game-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.fp-game-lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.fp-usp-row.fp-usp-left {
  justify-content: flex-start;
  margin: 0 0 1.5rem;
}
.fp-game-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.fp-game-price-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-green);
}
.fp-game-price .fp-tax-note {
  flex-basis: 100%;
  color: var(--text-muted);
}
.hero-cta.fp-game-cta {
  justify-content: flex-start;
}
.fp-flags.fp-flags-left {
  justify-content: flex-start;
}
.fp-game-cover img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 229, 255, 0.08);
}
.fp-pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}
.fp-pkg-card {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
}
.fp-pkg-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.fp-pkg-card.fp-pkg-recommended {
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.1);
}
.fp-pkg-badge {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-green);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.fp-pkg-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.9;
}
.fp-pkg-specs .fa {
  color: var(--accent-cyan);
  width: 1.2em;
}
.fp-pkg-price {
  margin-bottom: 0.75rem;
}
.fp-pkg-flags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
}
.fp-pkg-flags .fi {
  width: 1.4em;
  line-height: 1.05em;
  border-radius: 2px;
}
.fp-game-text {
  max-width: 860px;
  padding: 2rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.fp-faq {
  max-width: 860px;
}
.fp-faq details {
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}
.fp-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text-primary);
}
.fp-faq details p {
  margin: 0.75rem 0 0;
  color: var(--text-secondary);
  line-height: 1.6;
}
@media (max-width: 991.98px) {
  .fp-game-hero-grid {
    grid-template-columns: 1fr;
  }
  .fp-game-cover {
    order: -1;
    max-width: 520px;
  }
}
@media (max-width: 575.98px) {
  .fp-game-hero {
    padding-top: 5.5rem;
  }
}
