:root {
  --primary: #f43f5e;
  --primary-glow: rgba(244, 63, 94, 0.4);
  --secondary: #e11d48;
  --accent: #fb7185;
  --accent-glow: rgba(251, 113, 133, 0.3);
  --bg-from: #1c0a0d;
  --bg-via: #2d1215;
  --bg-to: #0f0506;
  --card-bg: rgba(45, 18, 21, 0.6);
  --card-border: rgba(244, 63, 94, 0.2);
  --text: #ffffff;
  --text-muted: #d1d5db;
  --radius: 16px;
}

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

body {
  font-family: 'Work Sans', system-ui, sans-serif;
  background: linear-gradient(135deg, var(--bg-from) 0%, var(--bg-via) 50%, var(--bg-to) 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f43f5e' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.q8pl-top-accent {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  z-index: 1000;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.q8pl-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.q8pl-age-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.q8pl-age-modal.active {
  opacity: 1;
  pointer-events: all;
}

.q8pl-age-modal-content {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 2px solid var(--card-border);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 0 40px var(--primary-glow);
}

.q8pl-age-icon {
  font-size: 64px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px var(--primary-glow));
}

.q8pl-age-modal h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--primary);
}

.q8pl-age-modal p {
  font-size: 16px;
  margin-bottom: 30px;
  color: var(--text-muted);
}

.q8pl-age-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.q8pl-btn {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Outfit', sans-serif;
  text-decoration: none;
  display: inline-block;
}

.q8pl-btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.q8pl-btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 30px var(--primary-glow);
}

.q8pl-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.q8pl-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.02);
}

.q8pl-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(28, 10, 13, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
}

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

.q8pl-logo {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.q8pl-nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.q8pl-nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.q8pl-nav-links a:hover {
  color: var(--primary);
}

.q8pl-age-badge {
  background: var(--primary);
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  font-family: 'Outfit', sans-serif;
}

.q8pl-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.q8pl-hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.q8pl-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 100px 20px;
}

.q8pl-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, var(--primary-glow) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, var(--accent-glow) 0%, transparent 50%);
  animation: q8pl-pulse 8s ease-in-out infinite;
}

@keyframes q8pl-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

.q8pl-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.q8pl-hero-badge {
  display: inline-block;
  margin-bottom: 20px;
}

.q8pl-hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.q8pl-hero p {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.q8pl-hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.q8pl-hero-disclaimer {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.q8pl-section {
  padding: 100px 0;
  position: relative;
}

.q8pl-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.q8pl-section-header h2 {
  font-size: 42px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.q8pl-section-header p {
  font-size: 18px;
  color: var(--text-muted);
}

.q8pl-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.q8pl-game-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.q8pl-game-card:hover {
  transform: scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.q8pl-game-image-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.q8pl-game-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.q8pl-game-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 18px;
  font-weight: 700;
  color: white;
  text-align: center;
  padding: 20px;
}

.q8pl-game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.q8pl-game-category {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.q8pl-game-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--text);
}

.q8pl-play-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Outfit', sans-serif;
}

.q8pl-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.q8pl-game-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
}

.q8pl-game-modal.active {
  opacity: 1;
  pointer-events: all;
}

.q8pl-modal-content {
  background: var(--bg-from);
  border: 2px solid var(--card-border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 1200px;
  height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.q8pl-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--card-border);
  gap: 16px;
}

.q8pl-modal-header h2 {
  font-size: 24px;
  flex: 1;
}

.q8pl-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.q8pl-close-btn:hover {
  color: var(--primary);
}

.q8pl-game-iframe {
  flex: 1;
  border: none;
  width: 100%;
  height: 100%;
  background: #000;
}

.q8pl-demo-unavailable {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-muted);
}

.q8pl-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  position: relative;
}

.q8pl-step {
  text-align: center;
  padding: 30px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.q8pl-step:hover {
  transform: scale(1.02);
  border-color: var(--primary);
}

.q8pl-step-icon {
  font-size: 48px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px var(--primary-glow));
}

.q8pl-step h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.q8pl-step p {
  color: var(--text-muted);
}

.q8pl-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.q8pl-feature {
  background: var(--card-bg);
  padding: 30px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.q8pl-feature:hover {
  transform: scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.q8pl-feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.q8pl-feature h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.q8pl-feature p {
  color: var(--text-muted);
  font-size: 15px;
}

.q8pl-trust {
  text-align: center;
  padding: 60px 40px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  max-width: 800px;
  margin: 0 auto;
}

.q8pl-trust h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.q8pl-trust ul {
  list-style: none;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 2;
}

.q8pl-trust ul li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
  margin-right: 8px;
}

.q8pl-cta-band {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 60px 40px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 10px 40px var(--primary-glow);
}

.q8pl-cta-band h2 {
  font-size: 36px;
  margin-bottom: 16px;
  color: white;
}

.q8pl-cta-band p {
  font-size: 18px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.q8pl-responsible {
  text-align: center;
  padding: 80px 40px;
  background: var(--card-bg);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  max-width: 900px;
  margin: 0 auto;
}

.q8pl-responsible-icon {
  font-size: 64px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 20px var(--primary-glow));
}

.q8pl-responsible h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--primary);
}

.q8pl-responsible p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.q8pl-responsible-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.q8pl-faq {
  max-width: 800px;
  margin: 0 auto;
}

.q8pl-faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.q8pl-faq-item:hover {
  border-color: var(--primary);
}

.q8pl-faq-question {
  width: 100%;
  padding: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Outfit', sans-serif;
}

.q8pl-faq-question::after {
  content: '+';
  font-size: 24px;
  color: var(--primary);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.q8pl-faq-item.active .q8pl-faq-question::after {
  transform: rotate(45deg);
}

.q8pl-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.q8pl-faq-answer p {
  padding: 0 20px 20px;
  color: var(--text-muted);
  line-height: 1.8;
}

.q8pl-footer {
  background: var(--bg-from);
  border-top: 1px solid var(--card-border);
  padding: 60px 0 30px;
  text-align: center;
}

.q8pl-footer-logo {
  font-size: 28px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  margin-bottom: 20px;
}

.q8pl-footer-badge {
  display: inline-block;
  font-size: 32px;
  background: var(--primary);
  color: white;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  margin: 20px 0;
  font-family: 'Outfit', sans-serif;
}

.q8pl-footer-disclaimer {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.8;
}

.q8pl-footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.q8pl-footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.q8pl-footer-links a:hover {
  color: var(--primary);
}

.q8pl-copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  padding-top: 30px;
  border-top: 1px solid var(--card-border);
}

.q8pl-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.q8pl-filter-btn {
  padding: 10px 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: white;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

.q8pl-filter-btn:hover,
.q8pl-filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: var(--primary);
  transform: scale(1.02);
}

.q8pl-page-hero {
  padding: 120px 0 80px;
  text-align: center;
}

.q8pl-page-hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.q8pl-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.q8pl-content h2 {
  font-size: 32px;
  margin: 40px 0 16px;
  color: var(--primary);
}

.q8pl-content h3 {
  font-size: 24px;
  margin: 30px 0 12px;
}

.q8pl-content p {
  margin-bottom: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}

.q8pl-content ul {
  margin: 16px 0;
  padding-left: 30px;
  color: var(--text-muted);
}

.q8pl-content li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .q8pl-nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(28, 10, 13, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--card-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .q8pl-nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .q8pl-hamburger {
    display: flex;
  }

  .q8pl-hero h1 {
    font-size: 36px;
  }

  .q8pl-hero p {
    font-size: 16px;
  }

  .q8pl-section {
    padding: 60px 0;
  }

  .q8pl-section-header h2 {
    font-size: 32px;
  }

  .q8pl-games-grid {
    grid-template-columns: 1fr;
  }

  .q8pl-modal-content {
    height: 95vh;
  }

  .q8pl-hero-cta {
    flex-direction: column;
  }

  .q8pl-btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .q8pl-age-modal-content {
    padding: 30px 20px;
    margin: 20px;
  }

  .q8pl-age-buttons {
    flex-direction: column;
    width: 100%;
  }

  .q8pl-age-buttons .q8pl-btn {
    width: 100%;
  }
}