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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #581c87 50%, #0f172a 100%);
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Particle Canvas */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Header Banner */
.header-banner {
  background: rgba(124, 58, 237, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(124, 58, 237, 0.2);
  padding: 1rem;
  position: relative;
  z-index: 20;
}

.banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.banner-text {
  color: #ffffff;
  font-weight: 500;
  text-align: center;
}

.premium-btn {
  background: #ffffff;
  color: #7c3aed;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.premium-btn:hover {
  background: #f9fafb;
  transform: translateY(-1px);
}

/* Navigation */
.nav-links {
  position: absolute;
  top: 5rem;
  right: 1.5rem;
  z-index: 20;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

/* Main Content */
.main-content {
  position: relative;
  z-index: 10;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

/* Hero Section */
.hero-section {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-logo {
  font-size: 8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #a78bfa, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  user-select: none;
}

.hero-tagline {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.025em;
}

/* Premium Card */
.premium-card {
  background: rgba(124, 58, 237, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.premium-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.premium-card p {
  color: #d1d5db;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.premium-access-btn {
  background: #ffffff;
  color: #7c3aed;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.premium-access-btn:hover {
  background: #f9fafb;
  transform: translateY(-1px);
}

/* Action Buttons */
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.btn {
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: #7c3aed;
  color: #ffffff;
}

.btn-primary:hover {
  background: #6d28d9;
}

.btn-secondary {
  background: #374151;
  color: #ffffff;
}

.btn-secondary:hover {
  background: #4b5563;
}

.btn-discord {
  background: #4f46e5;
  color: #ffffff;
}

.btn-discord:hover {
  background: #4338ca;
}

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

/* Cards */
.card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(75, 85, 99, 0.5);
  border-radius: 0.75rem;
  padding: 2rem;
}

/* About Section */
.about-section {
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.about-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  text-align: center;
}

.about-section p {
  color: #d1d5db;
  line-height: 1.6;
  text-align: center;
}

.creator-name {
  color: #fbbf24;
  font-weight: 600;
}

/* Game Support */
.game-support {
  width: 100%;
  max-width: 96rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: #d1d5db;
  max-width: 32rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.game-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(75, 85, 99, 0.5);
  border-radius: 0.75rem;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.game-card:hover {
  background: rgba(51, 65, 85, 0.5);
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-2px);
}

.game-card.selected {
  border-color: rgba(124, 58, 237, 0.5);
  background: rgba(51, 65, 85, 0.5);
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.5);
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.game-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

.status-badge {
  background: #059669;
  color: #ffffff;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.game-description {
  color: #d1d5db;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}

.features h4 {
  font-weight: 500;
  font-size: 0.875rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.feature-tag {
  background: rgba(124, 58, 237, 0.2);
  color: #c4b5fd;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.game-action {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #4b5563;
}

.game-action.hidden {
  display: none;
}

.access-btn {
  width: 100%;
  background: #7c3aed;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.access-btn:hover {
  background: #6d28d9;
}

/* Roblox Exclusive */
.roblox-exclusive {
  margin-top: 3rem;
  text-align: center;
}

.roblox-exclusive .card {
  max-width: 32rem;
  margin: 0 auto;
}

.roblox-exclusive h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.roblox-exclusive p {
  color: #d1d5db;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(75, 85, 99, 0.5);
  margin-top: 5rem;
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: 96rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  max-width: 28rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.creator-credit {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.footer-buttons {
  display: flex;
  gap: 0.75rem;
}

.footer-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  color: #ffffff;
  transition: all 0.2s ease;
}

.footer-btn.discord {
  background: #4f46e5;
}

.footer-btn.discord:hover {
  background: #4338ca;
}

.footer-btn.premium {
  background: #7c3aed;
}

.footer-btn.premium:hover {
  background: #6d28d9;
}

.footer-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(75, 85, 99, 0.5);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: #9ca3af;
  font-size: 0.875rem;
}

.footer-disclaimer {
  color: #6b7280;
  font-size: 0.75rem;
}

/* Toast Notification */
.toast {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 100;
  background: linear-gradient(135deg, #059669, #10b981);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 0.75rem;
  padding: 1rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  max-width: 24rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.toast.show {
  transform: translateX(0);
}

.toast.hidden {
  display: none;
}

.toast-content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

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

.toast-title {
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.toast-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-logo {
    font-size: 5rem;
  }

  .hero-tagline {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .banner-content {
    flex-direction: column;
    text-align: center;
  }

  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 20rem;
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

@media (max-width: 480px) {
  .main-content {
    padding: 1rem;
  }

  .premium-card {
    padding: 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .game-card {
    padding: 1rem;
  }
}

/* Utility Classes */
.hidden {
  display: none;
}

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

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

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