/* Base styles */
:root {
  --background: #121212;
  --foreground: #f2f2f2;
  --card: #1E1E1E;
  --card-foreground: #ffffff;
  --primary: #FF4655;
  --primary-foreground: #ffffff;
  --secondary: #1E1E1E;
  --secondary-foreground: #f2f2f2;
  --accent: #7F3FBF;
  --accent-foreground: #ffffff;
  --border: #333333;
  --gaming-red: #FF4655;
  --gaming-blue: #0F1923;
  --gaming-accent: #7F3FBF;
  --gaming-dark: #121212;
  --gaming-gray: #1E1E1E;
  --radius: 0.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--gaming-dark);
  color: var(--foreground);
  line-height: 1.6;
  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='%237F3FBF' fill-opacity='0.1'%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");
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(127, 63, 191, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.main-nav {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 0.5rem 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(127, 63, 191, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  animation: navFadeIn 0.5s ease-out;
}

@keyframes navFadeIn {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.main-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    rgba(127, 63, 191, 0.1) 0%,
    rgba(255, 70, 85, 0.1) 50%,
    rgba(127, 63, 191, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: gradientMove 8s linear infinite;
}

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

.main-nav::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(127, 63, 191, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
  animation: glowPulse 4s infinite;
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  position: relative;
  animation: logoFloat 3s ease-in-out infinite;
}

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

.logo a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 0.3rem;
}

.logo-text {
  position: relative;
  z-index: 1;
  padding: 0.3rem 0.8rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(45deg, rgba(127, 63, 191, 0.2), rgba(255, 70, 85, 0.2));
  border-radius: 6px;
  border: 1px solid rgba(127, 63, 191, 0.3);
  overflow: hidden;
  animation: borderPulse 2s infinite;
}

@keyframes borderPulse {
  0%, 100% {
    border-color: rgba(127, 63, 191, 0.3);
  }
  50% {
    border-color: rgba(126, 70, 255, 0.5);
  }
}

.logo-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(127, 63, 191, 0.4), rgba(255, 255, 255, 0.4));
  z-index: -1;
  transform: skewX(-15deg) translateZ(0);
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.logo-text::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

.logo:hover .logo-text {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(127, 63, 191, 0.3);
}

.logo:hover .logo-text::before {
  opacity: 1;
  transform: skewX(-15deg) scale(1.1) translateZ(0);
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  background: rgba(30, 30, 30, 0.5);
  padding: 0.3rem 1.2rem;
  border-radius: 8px;
  border: 1px solid rgba(127, 63, 191, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  animation: navLinksFade 0.5s ease-out;
}

@keyframes navLinksFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-links::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(127, 63, 191, 0.1),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.nav-links:hover::before {
  transform: translateX(100%);
}

.nav-link {
  position: relative;
  padding: 0.3rem 0;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  animation: linkFadeIn 0.5s ease-out forwards;
  opacity: 0;
}

@keyframes linkFadeIn {
  to {
    opacity: 1;
  }
}

.nav-link:nth-child(1) { animation-delay: 0.1s; }
.nav-link:nth-child(2) { animation-delay: 0.2s; }
.nav-link:nth-child(3) { animation-delay: 0.3s; }
.nav-link:nth-child(4) { animation-delay: 0.4s; }

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gaming-red), var(--gaming-accent));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gaming-accent), var(--gaming-red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
  opacity: 0;
}

.nav-link:hover {
  color: var(--gaming-red);
  text-shadow: 0 0 8px rgba(141, 70, 255, 0.5);
  transform: translateY(-2px);
  animation: linkHover 0.3s ease-out;
}

@keyframes linkHover {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
  100% {
    transform: translateY(-2px);
  }
}

.nav-link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: right;
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-discord-btn {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: linear-gradient(45deg, #5865F2, #7289DA);
  color: white;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(45, 4, 120, 0.4);
  transform: translateY(0);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(45, 4, 120, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.discord-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.nav-discord-btn:hover .discord-icon {
  transform: scale(1.2) rotate(5deg);
}

.nav-discord-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #7289DA, #5865F2);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-discord-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(126, 70, 255, 0.2),
    transparent
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
  z-index: -1;
}

.nav-discord-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(45, 4, 120, 0.6);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 8px 25px rgba(45, 4, 120, 0.6);
  }
  50% {
    box-shadow: 0 8px 35px rgba(45, 4, 120, 0.8);
  }
  100% {
    box-shadow: 0 8px 25px rgba(45, 4, 120, 0.6);
  }
}

/* Add a glowing border effect */
.nav-discord-btn::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #5865F2, #4a269e, #5865F2);
  z-index: -2;
  border-radius: 8px;
  animation: borderGlow 2s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-discord-btn:hover::before {
  opacity: 1;
}

@keyframes borderGlow {
  0% {
    filter: blur(5px);
    opacity: 0.5;
  }
  50% {
    filter: blur(8px);
    opacity: 0.8;
  }
  100% {
    filter: blur(5px);
    opacity: 0.5;
  }
}

/* Add a ripple effect on click */
.nav-discord-btn {
  position: relative;
  overflow: hidden;
}

.nav-discord-btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 22px;
  position: relative;
  z-index: 101;
  padding: 0;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gaming-red), var(--gaming-accent));
  margin: 5px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
  transform-origin: center;
  animation: menuLinePulse 2s infinite;
}

@keyframes menuLinePulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background: var(--gaming-red);
  animation: none;
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background: var(--gaming-red);
  animation: none;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  border-bottom: 1px solid rgba(127, 63, 191, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-nav-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mobile-nav-link::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  height: 8px;
  width: 8px;
  background-color: var(--gaming-red);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  padding-left: 15px;
  color: var(--gaming-red);
}

.mobile-nav-link:hover::before {
  opacity: 1;
  left: 0;
}

.mobile-discord-btn {
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.3);
}

/* Scroll Reveal Animation */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-100 {
  transition-delay: 0.1s;
}

.reveal-delay-200 {
  transition-delay: 0.2s;
}

.reveal-delay-300 {
  transition-delay: 0.3s;
}

.reveal-delay-400 {
  transition-delay: 0.4s;
}

.reveal-delay-500 {
  transition-delay: 0.5s;
}

/* Adjust header for fixed navigation */
header {
  padding-top: calc(var(--nav-height) + 3rem);
  position: relative;
  overflow: hidden;
}

header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(127, 63, 191, 0.15) 0%, rgba(255, 70, 85, 0.1) 100%);
  z-index: -1;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

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

.text-4xl {
  font-size: 2.25rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-sm {
  font-size: 0.875rem;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.font-medium {
  font-weight: 500;
}

.text-white {
  color: #ffffff;
}

.text-gaming-red {
  color: var(--gaming-red);
}

.text-gray-300 {
  color: #d1d5db;
}

.text-gray-400 {
  color: #9ca3af;
}

.text-gray-500 {
  color: #6b7280;
}

/* Layout */
.min-h-screen {
  min-height: 100vh;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-8 {
  gap: 2rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-auto {
  margin-top: auto;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

/* Grid */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* Borders */
.border {
  border-width: 1px;
  border-style: solid;
}

.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

.border-b {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.border-gray-600 {
  border-color: #4b5563;
}

.border-gray-700 {
  border-color: #374151;
}

.border-gaming-accent\/20 {
  border-color: rgba(127, 63, 191, 0.2);
}

.border-white\/30 {
  border-color: rgba(255, 255, 255, 0.3);
}

.border-white {
  border-color: #ffffff;
}

/* Background */
.bg-gaming-dark {
  background-color: var(--gaming-dark);
}

.bg-gaming-blue {
  background-color: var(--gaming-blue);
}

.bg-gaming-blue\/30 {
  background-color: rgba(15, 25, 35, 0.3);
}

.bg-gaming-gray {
  background-color: var(--gaming-gray);
}

.bg-gaming-red {
  background-color: var(--gaming-red);
}

.bg-white\/10 {
  background-color: rgba(255, 255, 255, 0.1);
}

.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-gaming-accent\/10 {
  --tw-gradient-from: rgba(127, 63, 191, 0.1);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(127, 63, 191, 0));
}

.from-gaming-blue {
  --tw-gradient-from: var(--gaming-blue);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(15, 25, 35, 0));
}

.to-transparent {
  --tw-gradient-to: transparent;
}

.to-gaming-gray {
  --tw-gradient-to: var(--gaming-gray);
}

/* Cards */
.gaming-card {
  background: rgba(30, 30, 30, 0.8);
  border: 1px solid rgba(127, 63, 191, 0.2);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

.gaming-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(127, 63, 191, 0.1),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.gaming-card:hover {
  animation: glow 2s infinite;
  transform: scale(1.05) translateY(-10px);
  border-color: rgba(127, 63, 191, 0.4);
}

.gaming-card:hover::before {
  transform: translateX(100%);
}

.gaming-card-highlight {
  position: relative;
  border: 2px solid var(--gaming-red);
  box-shadow: 0 0 20px rgba(255, 70, 85, 0.2);
}

.price-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg, var(--gaming-red), var(--gaming-accent));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 70, 85, 0.3);
  transform: rotate(5deg);
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.price-badge:hover {
  animation: glow 2s infinite;
  transform: rotate(0) scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 70, 85, 0.4);
}

/* Feature */
.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gaming-red), var(--gaming-accent));
  color: white;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  animation: rotate3D 10s linear infinite;
}

.feature-icon:hover {
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 0 20px rgba(255, 70, 85, 0.4);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

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

.feature-check {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gaming-red);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateX(10px);
}

.feature-item:hover .feature-check {
  transform: scale(1.2) rotate(360deg);
}

/* Pricing options */
.price-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.price-option {
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid #4b5563;
}

.price-option.active {
  background-color: var(--gaming-red);
  color: white;
  border-color: var(--gaming-red);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(45deg, var(--gaming-red), #ff6b6b);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #ff6b6b, var(--gaming-red));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(127, 63, 191, 0.3);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-outline:hover {
  border-color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.btn-full {
  display: block;
  width: 100%;
  background-color: var(--gaming-red);
  color: white;
  font-weight: 700;
  padding: 0.75rem 0;
  border-radius: 0.5rem;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-full a {
  text-decoration: none;
  color: white;
  display: block;
  width: 100%;
  height: 100%;
}

.btn-full:hover {
  background-color: rgba(255, 70, 85, 0.8);
}

/* FAQ */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border: 1px solid rgba(127, 63, 191, 0.2);
  border-radius: var(--radius);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  border-color: var(--gaming-red);
  box-shadow: 0 5px 15px rgba(255, 70, 85, 0.1);
  transform: translateX(10px);
}

.faq-question {
  padding: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-arrow {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1rem;
  border-top: 1px solid rgba(127, 63, 191, 0.2);
}

/* Footer */
.footer-link {
  position: relative;
  color: var(--foreground);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gaming-red), var(--gaming-accent));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.footer-link:hover {
  color: var(--gaming-red);
}

.footer-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

/* Animations */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 5px #FF4655, 0 0 10px #FF4655, 0 0 15px #FF4655;
  }
  50% {
    box-shadow: 0 0 20px #FF4655, 0 0 25px #7F3FBF, 0 0 30px #7F3FBF;
  }
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Position Utilities */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-10 {
  z-index: 10;
}

.opacity-30 {
  opacity: 0.3;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.overflow-hidden {
  overflow: hidden;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

/* Responsive */
@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:text-4xl {
    font-size: 2.25rem;
  }

  .md\:text-6xl {
    font-size: 3.75rem;
  }

  .md\:text-xl {
    font-size: 1.25rem;
  }

  .md\:p-8 {
    padding: 2rem;
  }

  .md\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Enhanced Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gaming-red), var(--gaming-accent));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(var(--gaming-accent), var(--gaming-red));
}

/* Enhanced Animations and Effects */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(127, 63, 191, 0.5),
                0 0 10px rgba(127, 63, 191, 0.3),
                0 0 15px rgba(127, 63, 191, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(127, 63, 191, 0.8),
                0 0 30px rgba(127, 63, 191, 0.6),
                0 0 40px rgba(127, 63, 191, 0.4);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes rotate3D {
  0% {
    transform: perspective(1000px) rotateY(0deg);
  }
  100% {
    transform: perspective(1000px) rotateY(360deg);
  }
}

/* Apply animations to elements */
.gaming-card {
  animation: float 6s ease-in-out infinite;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gaming-card:hover {
  animation: glow 2s infinite;
  transform: scale(1.05) translateY(-10px);
}

.feature-icon {
  animation: rotate3D 10s linear infinite;
}

.btn-primary, .btn-secondary, .btn-outline {
  position: relative;
  overflow: hidden;
}

.btn-primary::after, .btn-secondary::after, .btn-outline::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

/* Enhanced hover effects */
.nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gaming-red), var(--gaming-accent));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Enhanced card effects */
.gaming-card {
  position: relative;
  overflow: hidden;
}

.gaming-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(127, 63, 191, 0.1),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.gaming-card:hover::before {
  transform: translateX(100%);
}

/* Enhanced button effects */
.btn-primary, .btn-secondary, .btn-outline {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover, .btn-secondary:hover, .btn-outline:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(127, 63, 191, 0.3);
}

/* Enhanced FAQ animations */
.faq-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  transform: translateX(10px);
}

.faq-arrow {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Enhanced price badge animation */
.price-badge {
  animation: float 3s ease-in-out infinite;
}

.price-badge:hover {
  animation: glow 2s infinite;
}

/* Enhanced feature list animations */
.feature-item {
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateX(10px);
}

.feature-check {
  transition: all 0.3s ease;
}

.feature-item:hover .feature-check {
  transform: scale(1.2) rotate(360deg);
}
