/* ===================================
   GRAVE GAME - CSS Styles
   Horror Theme
   =================================== */

/* CSS Variables */
:root {
  --background: hsl(220, 20%, 6%);
  --foreground: hsl(0, 0%, 95%);
  --card: hsl(220, 20%, 10%);
  --card-foreground: hsl(0, 0%, 95%);
  --primary: hsl(157, 97%, 46%);
  --primary-foreground: hsl(220, 20%, 6%);
  --secondary: hsl(0, 70%, 45%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(220, 15%, 15%);
  --muted-foreground: hsl(0, 0%, 60%);
  --border: hsl(220, 15%, 20%);
  --input: hsl(220, 15%, 15%);
  --radius: 1rem;
  --glass-bg: hsla(220, 20%, 10%, 0.8);
  --glass-border: hsla(220, 15%, 25%, 0.5);
  --glow-primary: 0 10px 60px hsla(157, 97%, 46%, 0.4);
  --glow-secondary: 0 10px 60px hsla(0, 70%, 45%, 0.4);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

body {
  font-family: 'Urbanist', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

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

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  border-radius: var(--radius);
  transition: var(--transition-smooth);
  font-size: 1rem;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--glow-primary);
}

.btn-primary:hover {
  background-color: hsl(157, 97%, 40%);
  transform: scale(1.05);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
  transform: scale(1.05);
}

.btn-ghost {
  background: transparent;
  color: var(--foreground);
  padding: 0.5rem 1rem;
}

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

.btn-full {
  width: 100%;
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

@media (min-width: 768px) {
  .navbar-content {
    height: 6rem;
  }
}

.logo img {
  height: 3rem;
  width: auto;
  transition: transform 0.3s;
}

.logo:hover img {
  transform: scale(1.05);
}

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

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  color: var(--foreground);
  font-weight: 600;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  background: transparent;
  color: var(--foreground);
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeIn 0.3s ease;
}

.mobile-link {
  display: block;
  color: hsla(0, 0%, 95%, 0.8);
  font-weight: 600;
  padding: 0.5rem 0;
  transition: var(--transition-smooth);
}

.mobile-link:hover {
  color: var(--primary);
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--foreground);
  font-weight: 500;
  cursor: pointer;
}

.lang-selector:hover {
  border-color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      hsla(220, 20%, 6%, 0.8),
      hsla(220, 20%, 6%, 0.4),
      var(--background));
}

.hero-fog {
  position: absolute;
  inset: 0;
  opacity: 0.4;
}

.hero-fog-layer {
  position: absolute;
  left: 0;
  width: 100%;
  height: 16rem;
  background: linear-gradient(to right, transparent, hsla(157, 97%, 46%, 0.2), transparent);
  animation: pulse 4s ease-in-out infinite;
}

.hero-fog-layer:first-child {
  top: 25%;
}

.hero-fog-layer:last-child {
  bottom: 33%;
  animation-delay: 2s;
}

.hero-particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--primary);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  opacity: 0.5;
}

.hero-decorations {
  position: absolute;
  inset: 0;
  font-size: 2rem;
  opacity: 0.2;
}

.decoration {
  position: absolute;
  animation: float 6s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  text-align: center;
  animation: fadeIn 0.8s ease;
  padding: 0 1rem;
}

.hero-heading {
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero-heading {
    margin-bottom: 3rem;
  }
}

.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-skull {
  font-size: 1.5rem;
  opacity: 0.6;
  animation: flicker 3s infinite;
  display: none;
}

@media (min-width: 768px) {
  .hero-skull {
    display: block;
  }
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.hero-title-green {
  color: var(--primary);
  animation: flicker 3s infinite;
  text-shadow: 0 0 15px hsla(157, 97%, 46%, 0.5);
}

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

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

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

.hero-subtitle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 56rem;
  margin: 1.5rem auto;
}

.hero-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--primary), var(--primary));
  display: none;
}

@media (min-width: 640px) {
  .hero-line {
    display: block;
  }
}

.hero-line:last-child {
  background: linear-gradient(to left, transparent, var(--primary), var(--primary));
}

.hero-subtitle {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 0.875rem;
    letter-spacing: 0.3em;
  }
}

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

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

.hero-description {
  font-size: 0.875rem;
  color: hsla(0, 0%, 95%, 0.7);
  max-width: 40rem;
  margin: 0 auto;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

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

.hero-cta {
  padding-top: 1.5rem;
  animation: fadeIn 0.8s ease 0.2s both;
}

@media (min-width: 768px) {
  .hero-cta {
    padding-top: 2rem;
  }
}

.hero-cta .btn {
  font-size: 1rem;
  padding: 1.25rem 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 0 30px hsla(157, 97%, 46%, 0.4);
}

@media (min-width: 640px) {
  .hero-cta .btn {
    font-size: 1.125rem;
    padding: 1.5rem 3rem;
  }
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 2rem;
  animation: fadeIn 0.8s ease 0.3s both;
}

@media (min-width: 768px) {
  .hero-stats {
    gap: 3rem;
    padding-top: 3rem;
  }
}

.stat-card {
  text-align: center;
  background: hsla(220, 20%, 6%, 0.3);
  backdrop-filter: blur(8px);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  border: 1px solid hsla(157, 97%, 46%, 0.2);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  text-shadow: 0 0 10px hsla(157, 97%, 46%, 0.5);
}

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

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

.stat-label {
  font-size: 0.625rem;
  color: hsla(0, 0%, 95%, 0.8);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--background), transparent);
}

/* Section Styles */
section {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  section {
    padding: 8rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeIn 0.8s ease;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 5rem;
  }
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: hsla(157, 97%, 46%, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid hsla(157, 97%, 46%, 0.2);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.section-badge span {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

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

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

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

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

.section-description {
  font-size: 1rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.8;
}

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

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

@media (min-width: 768px) {
  .section-cta {
    margin-top: 4rem;
  }
}

/* Hidden utility */
.hidden {
  display: none !important;
}

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

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

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes flicker {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }

  75% {
    opacity: 0.95;
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.6;
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-33.333%);
  }
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Game Showcase Section */
.game-showcase {
  background: linear-gradient(to bottom, var(--background), hsla(220, 20%, 10%, 0.2));
  position: relative;
  overflow: hidden;
}

.showcase-bg-orb {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(80px);
}

.showcase-bg-orb:first-child {
  top: 0;
  left: 25%;
  background: hsla(157, 97%, 46%, 0.1);
}

.showcase-bg-orb:last-child {
  bottom: 0;
  right: 25%;
  background: hsla(0, 70%, 45%, 0.1);
}

/* Hero Slider */
.hero-slider {
  position: relative;
  margin-bottom: 5rem;
}

.slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 1rem;
}

.slider-btn {
  z-index: 10;
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.slider-btn:hover {
  background: hsl(157, 97%, 40%);
  transform: scale(1.1);
}

.slider-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary-foreground);
}

@media (min-width: 768px) {
  .slider-btn {
    width: 4rem;
    height: 4rem;
  }

  .slider-btn svg {
    width: 2rem;
    height: 2rem;
  }
}

.slides-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex: 1;
  max-width: 64rem;
  height: 25rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .slides-wrapper {
    height: 31rem;
  }
}

.slide {
  position: absolute;
  transition: all 0.5s ease;
  border-radius: 1rem;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5), transparent);
  padding: 1.5rem;
  border-radius: 0 0 1rem 1rem;
}

.slide-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  text-align: center;
}

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

.slide-left,
.slide-right {
  width: 12rem;
  height: 17rem;
  opacity: 0.5;
}

@media (min-width: 768px) {

  .slide-left,
  .slide-right {
    width: 18rem;
    height: 22rem;
  }
}

.slide-left {
  left: 0;
}

.slide-right {
  right: 0;
}

.slide-center {
  width: 17rem;
  height: 22rem;
  z-index: 10;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .slide-center {
    width: 26rem;
    height: 30rem;
  }
}

/* Game Carousel */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.games-carousel {
  display: flex;
  gap: 1.5rem;
  animation: scroll 60s linear infinite;
}

.games-carousel:hover {
  animation-play-state: paused;
}

.game-card {
  position: relative;
  flex-shrink: 0;
  width: 17rem;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--card);
  backdrop-filter: blur(20px);
  border: 1px solid hsla(220, 15%, 20%, 0.5);
  cursor: pointer;
  transition: var(--transition-smooth);
}

@media (min-width: 640px) {
  .game-card {
    width: 20rem;
  }
}

@media (min-width: 768px) {
  .game-card {
    width: 22rem;
  }
}

.game-card:hover {
  transform: scale(1.02);
  box-shadow: var(--glow-primary);
}

.game-card-image {
  position: relative;
  height: 20rem;
  overflow: hidden;
}

@media (min-width: 640px) {
  .game-card-image {
    height: 22rem;
  }
}

@media (min-width: 768px) {
  .game-card-image {
    height: 25rem;
  }
}

.game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.game-card:hover .game-card-image img {
  transform: scale(1.1);
}

.game-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4), transparent);
  opacity: 0.8;
  transition: opacity 0.3s;
}

.game-card:hover .game-card-gradient {
  opacity: 0.7;
}

.game-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.game-card:hover .game-card-play {
  opacity: 1;
}

.play-btn {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-primary);
  animation: scaleIn 0.3s ease;
}

.play-btn svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary-foreground);
  margin-left: 0.25rem;
}

.game-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}

.game-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.game-card-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: white;
}

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

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.feature-card {
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: var(--transition-smooth);
  animation: fadeIn 0.8s ease both;
}

.feature-card:hover {
  transform: scale(1.02);
  box-shadow: var(--glow-primary);
}

.feature-card-glow {
  position: absolute;
  inset: 0;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 1.5rem;
}

.feature-card:hover .feature-card-glow {
  opacity: 0.1;
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px hsla(157, 97%, 46%, 0.3);
  transition: transform 0.3s;
}

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

.feature-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary-foreground);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

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

.feature-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

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

/* 2-Column Feature Grid */
.features-grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

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

.feature-card-large {
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  transition: var(--transition-smooth);
}

@media (min-width: 768px) {
  .feature-card-large {
    padding: 3rem;
  }
}

.feature-card-large:hover {
  transform: scale(1.02);
}

.feature-card-glow-bg {
  position: absolute;
  top: -2.5rem;
  right: -2.5rem;
  width: 10rem;
  height: 10rem;
  background: hsla(157, 97%, 46%, 0.2);
  border-radius: 50%;
  filter: blur(60px);
  transition: transform 0.7s;
}

.feature-card-large:hover .feature-card-glow-bg {
  transform: scale(1.5);
}

.feature-icon-large {
  width: 5rem;
  height: 5rem;
  border-radius: 1.5rem;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: var(--glow-primary);
  transition: all 0.5s;
}

.feature-card-large:hover .feature-icon-large {
  transform: scale(1.1) rotate(6deg);
}

.feature-icon-large svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary-foreground);
}

.feature-title-large {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .feature-title-large {
    font-size: 1.875rem;
  }
}

.feature-description-large {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.8;
}

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

/* Best Platform Section */
.best-games-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .best-games-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.best-game-card {
  position: relative;
  overflow: hidden;
  background: var(--card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.best-game-card:hover {
  transform: scale(1.05);
  box-shadow: var(--glow-primary);
}

.best-game-image {
  position: relative;
  height: 25rem;
  overflow: hidden;
  border-radius: 1.5rem;
}

.best-game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.best-game-card:hover .best-game-image img {
  transform: scale(1.25);
}

.best-game-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.5), transparent);
  opacity: 0.9;
  transition: opacity 0.3s;
}

.best-game-card:hover .best-game-gradient {
  opacity: 0.8;
}

.best-game-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.best-game-card:hover .best-game-play {
  opacity: 1;
}

.best-play-btn {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-primary);
}

.best-play-btn svg {
  width: 3rem;
  height: 3rem;
  color: var(--primary-foreground);
  margin-left: 0.375rem;
}

.best-game-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}

.best-game-category {
  display: inline-block;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.best-game-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
}

@media (min-width: 768px) {
  .best-game-title {
    font-size: 1.875rem;
  }
}

/* Testimonials Section */
.testimonials {
  background: linear-gradient(to bottom, var(--background), hsla(220, 15%, 15%, 0.2), var(--background));
  position: relative;
  overflow: hidden;
}

.testimonials-bg-orb {
  position: absolute;
  top: 50%;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(80px);
}

.testimonials-bg-orb:first-child {
  left: 25%;
  background: hsla(157, 97%, 46%, 0.1);
}

.testimonials-bg-orb:last-child {
  right: 25%;
  background: hsla(0, 70%, 45%, 0.1);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

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

.testimonial-card {
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: scale(1.02);
  box-shadow: var(--glow-primary);
}

.testimonial-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.375rem;
  background: var(--primary);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.testimonial-stars svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--primary);
  color: var(--primary);
  transition: transform 0.3s;
}

.testimonial-card:hover .testimonial-stars svg {
  transform: scale(1.1);
}

.testimonial-text {
  font-size: 1rem;
  color: var(--foreground);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.25rem;
}

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

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid hsla(220, 15%, 20%, 0.5);
}

.testimonial-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px hsla(157, 97%, 46%, 0.3);
}

.testimonial-name {
  font-weight: 900;
  font-size: 1.125rem;
  color: var(--foreground);
}

.testimonial-username {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* FAQ Section */
.faq {
  background: linear-gradient(to bottom, var(--background), hsla(220, 20%, 10%, 0.2));
}

.faq-container {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  background: hsla(220, 20%, 10%, 0.4);
  backdrop-filter: blur(8px);
  border: 2px solid var(--border);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.3s;
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: transparent;
  color: var(--foreground);
  font-weight: 700;
  font-size: 1.125rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}

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

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

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  color: hsla(0, 0%, 95%, 0.7);
  line-height: 1.7;
}

.faq-support-text {
  color: hsla(0, 0%, 95%, 0.7);
  margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg-orb {
  position: absolute;
  width: 37rem;
  height: 37rem;
  border-radius: 50%;
  filter: blur(150px);
  animation: float 6s ease-in-out infinite;
}

.cta-bg-orb:nth-child(1) {
  top: 50%;
  left: 25%;
  background: hsla(157, 97%, 46%, 0.2);
}

.cta-bg-orb:nth-child(2) {
  top: 50%;
  right: 25%;
  background: hsla(0, 70%, 45%, 0.15);
  animation-delay: 2s;
}

.cta-bg-orb:nth-child(3) {
  bottom: 0;
  left: 50%;
  background: hsla(157, 97%, 46%, 0.1);
  animation-delay: 4s;
}

.cta-content {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
  animation: fadeIn 0.8s ease;
}

.cta-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .cta-title {
    font-size: 2.5rem;
  }
}

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

@media (min-width: 1024px) {
  .cta-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
  }
}

.cta-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

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

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  padding-top: 1.5rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.cta-buttons .btn {
  padding: 1.5rem 3rem;
  font-size: 1.25rem;
  border-radius: 1rem;
}

.btn-secondary-outline {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 2px solid var(--foreground);
  color: var(--foreground);
}

.btn-secondary-outline:hover {
  border-color: var(--primary);
  transform: scale(1.05);
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-top: 4rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .trust-badges {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.trust-badge {
  text-align: center;
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.trust-badge:hover {
  border-color: hsla(157, 97%, 46%, 0.3);
  transform: scale(1.05);
}

.trust-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  transition: transform 0.3s;
}

.trust-badge:hover .trust-icon {
  transform: scale(1.1);
}

.trust-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
}

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

/* Footer */
.footer {
  background: hsla(220, 20%, 10%, 0.4);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-brand img {
  height: 3rem;
  width: auto;
  margin-bottom: 1rem;
}

.footer-description {
  font-size: 0.875rem;
  color: hsla(0, 0%, 95%, 0.7);
}

.footer-heading {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: hsla(0, 0%, 95%, 0.7);
  transition: color 0.3s;
}

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

.footer-social-text {
  font-size: 0.875rem;
  color: hsla(0, 0%, 95%, 0.6);
  margin-top: 0.5rem;
}

.footer-company {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  margin-bottom: 2rem;
}

.footer-company h4 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-company p {
  font-size: 0.875rem;
  color: hsla(0, 0%, 95%, 0.7);
}

.footer-company a {
  font-size: 0.875rem;
  color: var(--primary);
  transition: text-decoration 0.3s;
}

.footer-company a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright,
.footer-love {
  font-size: 0.875rem;
  color: hsla(0, 0%, 95%, 0.6);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: hsla(220, 20%, 6%, 0.5);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--foreground);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted-foreground);
}

.form-textarea {
  resize: none;
  min-height: 150px;
}

/* Card Styles for Pages */
.page-card {
  background: hsla(220, 20%, 10%, 0.4);
  backdrop-filter: blur(8px);
  border: 2px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: border-color 0.3s;
}

.page-card:hover {
  border-color: var(--primary);
}

.page-card-icon {
  width: 4rem;
  height: 4rem;
  background: hsla(157, 97%, 46%, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.page-card-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.page-card-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.page-card-description {
  color: hsla(0, 0%, 95%, 0.7);
  line-height: 1.7;
}

/* Policy Pages */
.policy-content {
  max-width: 56rem;
  margin: 0 auto;
}

.policy-section {
  margin-bottom: 3rem;
}

.policy-title {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.policy-text {
  color: hsla(0, 0%, 95%, 0.8);
  line-height: 1.8;
}

.policy-list {
  list-style: disc;
  list-style-position: inside;
  margin: 1rem 0 1rem 1rem;
  color: hsla(0, 0%, 95%, 0.8);
}

.policy-list li {
  margin-bottom: 0.5rem;
}

/* Milestones Grid */
.milestones-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .milestones-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.milestone-card {
  background: hsla(220, 20%, 10%, 0.4);
  backdrop-filter: blur(8px);
  border: 2px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.3s;
}

.milestone-card:hover {
  border-color: var(--primary);
}

.milestone-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: hsla(0, 0%, 95%, 0.6);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.milestone-value {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
}

@media (min-width: 768px) {
  .milestone-value {
    font-size: 3.75rem;
  }
}

.milestone-suffix {
  color: hsla(0, 0%, 95%, 0.4);
}

/* Mission Card */
.mission-card {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2.5rem;
  background: linear-gradient(to right, hsla(157, 97%, 46%, 0.1), hsla(0, 70%, 45%, 0.1));
  backdrop-filter: blur(8px);
  border: 2px solid var(--primary);
  border-radius: 1rem;
  text-align: center;
}

.mission-title {
  font-size: 1.875rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.mission-text {
  font-size: 1.125rem;
  color: hsla(0, 0%, 95%, 0.8);
  line-height: 1.8;
}

/* Contact Info Cards */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

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

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contact-card {
  background: hsla(220, 20%, 10%, 0.4);
  backdrop-filter: blur(8px);
  border: 2px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}

.contact-card:hover {
  border-color: var(--primary);
  transform: scale(1.05);
}

.contact-card-icon {
  width: 3rem;
  height: 3rem;
  background: hsla(157, 97%, 46%, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.contact-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.contact-card-title {
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.contact-card-value {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-card-desc {
  font-size: 0.875rem;
  color: hsla(0, 0%, 95%, 0.6);
}

/* Sign In Card */
.signin-wrapper {
  min-height: calc(100vh - 10rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.signin-card {
  width: 100%;
  max-width: 28rem;
  background: hsla(220, 20%, 10%, 0.4);
  backdrop-filter: blur(8px);
  border: 2px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  animation: fadeIn 0.5s ease;
}

.signin-header {
  text-align: center;
  margin-bottom: 2rem;
}

.signin-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

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

.signin-subtitle {
  color: hsla(0, 0%, 95%, 0.7);
}

.signin-info {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: hsla(0, 0%, 95%, 0.6);
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

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

.pricing-card {
  background: hsla(220, 20%, 10%, 0.4);
  backdrop-filter: blur(8px);
  border: 2px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  animation: fadeIn 0.5s ease;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 30px hsla(157, 97%, 46%, 0.4);
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.pricing-period {
  color: hsla(0, 0%, 95%, 0.6);
}

.pricing-note {
  font-size: 0.875rem;
  color: hsla(0, 0%, 95%, 0.6);
  margin: 1.5rem 0;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

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

.step-card {
  background: hsla(220, 20%, 10%, 0.4);
  backdrop-filter: blur(8px);
  border: 2px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.step-description {
  font-size: 0.875rem;
  color: hsla(0, 0%, 95%, 0.7);
  line-height: 1.7;
}

/* Help Categories */
.help-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .help-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .help-categories {
    grid-template-columns: repeat(4, 1fr);
  }
}

.help-category-card {
  background: hsla(220, 20%, 10%, 0.5);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  cursor: pointer;
  transition: border-color 0.3s;
}

.help-category-card:hover {
  border-color: hsla(157, 97%, 46%, 0.5);
}

.help-category-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.help-category-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.help-category-desc {
  font-size: 0.875rem;
  color: hsla(0, 0%, 95%, 0.7);
}

/* Unsubscribe Steps */
.unsub-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .unsub-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .unsub-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.unsub-step {
  background: hsla(220, 20%, 10%, 0.5);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: border-color 0.3s;
}

.unsub-step:hover {
  border-color: hsla(157, 97%, 46%, 0.5);
}

.unsub-step-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.unsub-step-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.unsub-step-desc {
  font-size: 0.875rem;
  color: hsla(0, 0%, 95%, 0.7);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  box-shadow: var(--glow-primary);
  animation: fadeIn 0.3s ease;
  z-index: 9999;
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}