/* Opera GX Dark Gaming Design System */
/* System fonts only - no external dependencies */

:root {
  /* Color palette */
  --bg-dark: hsl(230, 25%, 8%);
  --bg-card: hsl(230, 30%, 12%);
  --bg-secondary: hsl(230, 25%, 18%);
  --text-primary: hsl(0, 0%, 98%);
  --text-muted: hsl(230, 10%, 60%);
  --border-color: hsl(230, 20%, 20%);
  
  /* Accent colors */
  --gx-red: hsl(346, 100%, 60%);
  --gx-pink: hsl(340, 100%, 65%);
  --gx-cyan: hsl(180, 100%, 50%);
  
  /* Gradients & effects */
  --gradient-primary: linear-gradient(135deg, hsl(346, 100%, 60%) 0%, hsl(340, 100%, 55%) 50%, hsl(320, 100%, 50%) 100%);
  --shadow-card: 0 4px 24px -4px hsla(0, 0%, 0%, 0.5);
  --shadow-card-hover: 0 8px 32px -4px hsla(346, 100%, 60%, 0.25);
  --glow-red: 0 0 30px hsla(346, 100%, 60%, 0.4);
  --neon-border: 0 0 10px hsla(346, 100%, 60%, 0.5), inset 0 0 10px hsla(346, 100%, 60%, 0.1);
  
  --radius: 0.75rem;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--gx-red);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gx-pink);
}

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

.container-narrow {
  max-width: 768px;
}

/* Utility Classes */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-text {
  text-shadow: 0 0 20px hsla(346, 100%, 60%, 0.6), 0 0 40px hsla(346, 100%, 60%, 0.4);
}

.text-white {
  color: var(--text-primary);
}

/* Sticky Header */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsla(230, 25%, 8%, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsla(230, 20%, 20%, 0.5);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}

.logo {
  height: 2rem;
}

@media (min-width: 768px) {
  .logo {
    height: 2.5rem;
  }
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--text-primary);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.cta-button:focus {
  outline: 2px solid var(--gx-red);
  outline-offset: 2px;
}

.cta-button.glow {
  box-shadow: var(--glow-red);
}

.cta-button.pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px hsla(346, 100%, 60%, 0.4);
  }
  50% {
    box-shadow: 0 0 40px hsla(346, 100%, 60%, 0.6);
  }
}

@media (min-width: 768px) {
  .cta-button {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
  }
  
  .cta-hero {
    padding: 0.75rem 2rem;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 2rem 1rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 3rem 1rem;
  }
}

.hero-gradient-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, hsla(346, 100%, 60%, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, hsla(346, 100%, 60%, 0.5), transparent);
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.hero-content {
  text-align: center;
}

@media (min-width: 768px) {
  .hero-content {
    text-align: left;
  }
}

.hero-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.125rem;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Benefits List */
.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

@media (min-width: 768px) {
  .benefits-list {
    margin-left: 0;
    margin-right: 0;
  }
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: hsla(346, 100%, 60%, 0.5);
  transform: translateY(-2px);
}

.benefit-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.trust-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .trust-text {
    justify-content: flex-start;
  }
}

.check-icon {
  color: var(--gx-red);
}

/* Hero Image */
.hero-image-container {
  position: relative;
  max-width: 280px;
  margin: 0 auto;
  order: -1;
}

@media (min-width: 768px) {
  .hero-image-container {
    max-width: 360px;
    order: 1;
  }
}

.image-glow {
  position: absolute;
  inset: 0;
  background: hsla(346, 100%, 60%, 0.2);
  filter: blur(48px);
  border-radius: 1.5rem;
  transform: scale(0.9);
}

.hero-image {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--neon-border);
  border: 1px solid hsla(346, 100%, 60%, 0.5);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Section Styles */
.discover-section,
.testimonials-section {
  padding: 2.5rem 1rem;
  position: relative;
}

@media (min-width: 768px) {
  .discover-section,
  .testimonials-section {
    padding: 3.5rem 1rem;
  }
}

.section-gradient-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, hsla(230, 25%, 18%, 0.3), transparent);
  pointer-events: none;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.section-description {
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .section-description {
    font-size: 1.125rem;
  }
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 1024px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Feature Card */
.feature-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: hsla(346, 100%, 60%, 0.5);
  transform: translateY(-4px);
}

.card-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.feature-card:hover .card-icon {
  transform: scale(1.1);
}

.card-icon svg {
  color: var(--text-primary);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .card-title {
    font-size: 1.5rem;
  }
}

.card-description {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Why Section */
.why-section {
  padding: 2.5rem 1rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .why-section {
    padding: 3.5rem 1rem;
  }
}

.decorative-blob {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(48px);
  top: 50%;
  transform: translateY(-50%);
}

.decorative-blob.left {
  left: 0;
  transform: translateX(-50%) translateY(-50%);
  background: hsla(346, 100%, 60%, 0.05);
}

.decorative-blob.right {
  right: 0;
  transform: translateX(50%) translateY(-50%);
  background: hsla(180, 100%, 50%, 0.05);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 32rem;
  margin: 0 auto 2.5rem;
}

.stat-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: hsla(346, 100%, 60%, 0.5);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 3rem;
  }
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .stat-label {
    font-size: 1rem;
  }
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 1024px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: hsla(346, 100%, 60%, 0.5);
  transform: translateY(-4px);
}

.quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: hsla(346, 100%, 60%, 0.3);
}

.testimonial-quote {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .testimonial-quote {
    font-size: 1.125rem;
  }
}

.testimonial-footer {
  border-top: 1px solid hsla(230, 20%, 20%, 0.5);
  padding-top: 1rem;
}

.testimonial-author {
  font-weight: 700;
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--gx-red);
}

/* FAQ Section */
.faq-section {
  padding: 2.5rem 1rem;
}

@media (min-width: 768px) {
  .faq-section {
    padding: 3.5rem 1rem;
  }
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.accordion-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item.active {
  box-shadow: var(--neon-border);
  border-color: hsla(346, 100%, 60%, 0.5);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .accordion-trigger {
    font-size: 1.125rem;
  }
}

.accordion-trigger:hover {
  color: var(--gx-red);
}

.accordion-trigger:focus {
  outline: none;
}

.accordion-trigger:focus-visible {
  outline: 2px solid var(--gx-red);
  outline-offset: -2px;
}

.accordion-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 200px;
}

.accordion-content p {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Disclaimer */
.disclaimer {
  font-size: 0.75rem;
  color: hsla(230, 10%, 60%, 0.6);
  text-align: center;
  margin-top: 2rem;
}

/* Footer */
.footer {
  padding: 2rem 1rem;
  border-top: 1px solid var(--border-color);
}

.footer-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Focus visible for accessibility */
*:focus-visible {
  outline: 2px solid var(--gx-red);
  outline-offset: 2px;
}
