:root {
  /* Primary colors */
  --primary: #6c5ce7;
  --primary-dark: #5541d9;
  --primary-light: #8177e6;

  /* Secondary colors */
  --secondary: #00d2d3;
  --secondary-dark: #00b4b4;
  --secondary-light: #33e3e3;

  /* Accent colors */
  --accent: #ff9f43;
  --accent-dark: #ff8910;
  --accent-light: #ffbc75;

  /* Status colors */
  --success: #10ac84;
  --warning: #fdcb6e;
  --error: #ee5253;

  /* Neutral colors */
  --dark: #0f0f1c;
  --dark-800: #1a1a30;
  --dark-700: #252544;
  --dark-600: #313159;
  --dark-500: #3c3c6e;

  /* Light colors */
  --light: #ffffff;
  --light-800: #f5f6fa;
  --light-700: #e1e5ee;
  --light-600: #d1d5e1;
  --light-500: #c0c5d4;

  /* Font families */
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Font sizes */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;

  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 15px 30px rgba(0, 0, 0, 0.18);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, #7d5fff 100%);
  --gradient-secondary: linear-gradient(
    135deg,
    var(--secondary) 0%,
    #00b0b9 100%
  );
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #ff7b00 100%);
  --gradient-dark: linear-gradient(135deg, var(--dark) 0%, #242458 100%);
  --gradient-text: linear-gradient(
    to right,
    var(--primary) 0%,
    var(--secondary) 50%,
    var(--accent) 100%
  );
}

/* Import Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Montserrat:wght@600;700;800&display=swap");

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--dark);
  color: var(--light);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary);
}

/* Layout */
.container {
  padding-left: 1rem;
  padding-right: 1rem;
}

section {
  padding: var(--space-10) 0;
}

/* Background Effects */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJub2lzZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSI+PGZlVHVyYnVsZW5jZSB0eXBlPSJmcmFjdGFsTm9pc2UiIGJhc2VGcmVxdWVuY3k9IjAuNjUiIG51bU9jdGF2ZXM9IjMiIHN0aXRjaFRpbGVzPSJzdGl0Y2giIHJlc3VsdD0ibm9pc2UiLz48ZmVDb2xvck1hdHJpeCB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMC4wMiAwIi8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjMwMCIgaGVpZ2h0PSIzMDAiIGZpbHRlcj0idXJsKCNub2lzZSkiLz48L3N2Zz4=");
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

.glow-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(108, 92, 231, 0.15) 0%,
    rgba(0, 0, 0, 0) 50%
  );
  z-index: -2;
  pointer-events: none;
}

/* Typography */
.text-gradient {
  background-image: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.section-header {
  margin-bottom: var(--space-8);
}

.section-header h2 {
  font-size: var(--fs-4xl);
  margin-bottom: var(--space-2);
}

.section-subtitle {
  font-size: var(--fs-lg);
  color: var(--light-500);
}

/* Navbar */
.navbar {
  padding: var(--space-4) 0;
  transition: all 0.3s ease;
  background-color: rgba(15, 15, 28, 0.8);
}

.navbar.scrolled {
  background-color: rgba(15, 15, 28, 0.9);
  backdrop-filter: blur(8px);
  padding: var(--space-3) 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-2xl);
}

.logo-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.25),
    0 1.5px 8px rgba(0, 210, 211, 0.12);
  width: 48px;
  height: 48px;
  transition: transform 0.2s cubic-bezier(0.4, 2, 0.6, 1), box-shadow 0.2s;
  border: 2px solid var(--accent);
  position: relative;
  overflow: hidden;
}
.logo-icon-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 24px 8px var(--primary-light);
  opacity: 0.18;
  pointer-events: none;
}
.logo-icon-wrapper:hover {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 8px 32px rgba(108, 92, 231, 0.35),
    0 3px 16px rgba(0, 210, 211, 0.18);
}
.logo-icon {
  width: 40px;
  height: 40px;
  display: block;
  filter: drop-shadow(0 2px 8px var(--primary-light));
  transition: filter 0.2s;
  border-radius: 50%;
}
.logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: 2px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 8px rgba(108, 92, 231, 0.15);
  transition: text-shadow 0.2s;
}
.logo-accent {
  color: var(--accent);
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 2px 8px rgba(255, 159, 67, 0.18);
}

.logo-text {
  letter-spacing: 1px;
}

.logo-accent {
  color: var(--primary);
}

.nav-link {
  font-weight: 500;
  padding: var(--space-2) var(--space-4) !important;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.signin-btn,
.signup-btn {
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5);
}

.signin-btn {
  border-color: var(--primary);
  color: var(--light);
}

.signin-btn:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--light);
}

.signup-btn {
  background: var(--gradient-primary);
  border: none;
  transition: all 0.3s ease;
}

.signup-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Buttons */
.btn {
  border-radius: var(--radius-md);
  font-weight: 500;
  padding: var(--space-2) var(--space-4);
  transition: all 0.3s ease;
}

.btn-lg {
  padding: var(--space-3) var(--space-6);
  font-weight: 600;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--light);
}

.btn-outline-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--light);
}

.btn-outline-secondary {
  border: 2px solid var(--secondary);
  color: var(--light);
}

.btn-outline-secondary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: var(--light);
}

.glow-btn {
  position: relative;
}

.glow-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-full);
  opacity: 0.5;
  filter: blur(15px);
  transition: all 0.3s ease;
  z-index: -1;
  transform: scale(0.9);
}

.glow-btn:hover::after {
  opacity: 0.8;
  transform: scale(1);
}

.pulse-btn {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(108, 92, 231, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(108, 92, 231, 0);
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--space-6);
  position: relative;
  overflow: hidden;
}

.hero-content h1 {
  font-size: var(--fs-5xl);
  margin-bottom: var(--space-4);
  line-height: 1.1;
}

.hero-content p {
  font-size: var(--fs-xl);
  color: var(--light-700);
  margin-bottom: var(--space-6);
}

.hero-buttons {
  margin-bottom: var(--space-6);
}

.hero-stats {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat span:first-child {
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-1);
}

.stat span:last-child {
  font-size: var(--fs-sm);
  color: var(--light-500);
}

.nft-showcase {
  position: relative;
  display: flex;
  justify-content: center;
}

.main-nft {
  border-radius: var(--radius-lg);
  max-height: 500px;
  box-shadow: var(--shadow-xl);
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
  border: 4px solid rgba(255, 255, 255, 0.1);
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

.floating-element {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.floating-element i {
  font-size: var(--fs-xl);
  color: var(--primary-light);
}

.elem1 {
  top: 10%;
  left: 0;
  animation: float 8s ease-in-out infinite;
}

.elem2 {
  top: 50%;
  right: 5%;
  animation: float 7s ease-in-out infinite 1s;
}

.elem3 {
  bottom: 10%;
  left: 10%;
  animation: float 9s ease-in-out infinite 2s;
}

/* About Section */
.about-section {
  background-color: var(--dark-800);
  padding: var(--space-12) 0;
}

.feature-card {
  background: var(--dark-700);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--light);
  font-size: var(--fs-3xl);
}

.feature-card h3 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-3);
}

.feature-card p {
  color: var(--light-600);
}

/* Games Preview Section */
.games-preview {
  padding: var(--space-12) 0;
}

.game-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--dark-700);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  height: 100%;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.game-card-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.game-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover .game-card-img img {
  transform: scale(1.1);
}

.game-card-overlay {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
}

.game-card-overlay span {
  color: var(--light);
}

.game-card-body {
  padding: var(--space-4);
}

.game-card-body h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-2);
}

.game-card-body p {
  color: var(--light-600);
  margin-bottom: var(--space-4);
}

/* NFT Showcase Section */
.nft-showcase-section {
  background-color: var(--dark-800);
  padding: var(--space-12) 0;
}

.nft-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--dark-700);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  height: 100%;
}

.nft-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.nft-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.nft-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.nft-card:hover .nft-image img {
  transform: scale(1.1);
}

.nft-info {
  padding: var(--space-4);
}

.nft-info h4 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-2);
}

.nft-price {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-4);
  color: var(--primary);
  font-weight: 700;
}

.nft-price img {
  margin-right: var(--space-1);
}

.nft-actions {
  display: flex;
  justify-content: space-between;
}

/* CTA Section */
.cta-section {
  padding: var(--space-12) 0;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.15"><circle cx="400" cy="600" r="200" fill="%236C5CE7"/><circle cx="800" cy="300" r="150" fill="%2300D2D3"/><circle cx="200" cy="200" r="100" fill="%23FF9F43"/></svg>')
    no-repeat center center;
  background-size: cover;
  z-index: 0;
  opacity: 0.1;
}

.cta-section h2 {
  font-size: var(--fs-4xl);
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: var(--fs-lg);
  color: var(--light-600);
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 1;
}

.cta-buttons {
  position: relative;
  z-index: 1;
}

.token-card {
  background-color: var(--dark-600);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.token-logo {
  height: 150px;
  overflow: hidden;
}

.token-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.token-info {
  padding: var(--space-4);
}

.token-info h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-3);
}

.token-stat {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-2);
  font-size: var(--fs-sm);
}

.token-stat span:first-child {
  color: var(--light-600);
}

.token-stat .value {
  font-weight: 700;
}

.token-stat .positive {
  color: var(--success);
}

.token-stat .negative {
  color: var(--error);
}

/* Newsletter Section */
.newsletter-section {
  background-color: var(--dark-700);
  padding: var(--space-8) 0;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-content h2 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-3);
}

.newsletter-content p {
  color: var(--light-600);
  margin-bottom: var(--space-5);
}

.newsletter-form .input-group {
  box-shadow: var(--shadow-md);
}

.newsletter-form .form-control {
  border: none;
  padding: var(--space-3) var(--space-4);
  background-color: var(--dark-600);
  color: var(--light);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.newsletter-form .form-control::placeholder {
  color: var(--light-500);
}

.newsletter-form .btn {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-3) var(--space-5);
}

/* Footer */
.site-footer {
  background-color: var(--dark);
  padding: var(--space-6) 0 var(--space-2);
  position: relative;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-3);
}

.footer-logo span {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--dark-700);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.social-links a:hover i {
  color: #fff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-flow: row nowrap;
  gap: var(--space-4);
  justify-content: center;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: var(--light-600);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.site-footer h4 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-4);
  color: var(--light);
}

hr {
  border-color: var(--dark-600);
  margin: var(--space-6) 0;
}

.copyright {
  text-align: center;
  color: var(--light-600);
  font-size: var(--fs-sm);
  margin-bottom: 0;
}


/* Responsiveness */
@media (max-width: 992px) {
  .navbar-collapse {
    background-color: rgba(15, 15, 28, 0.95);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    margin-top: var(--space-3);
  }

  .hero-content h1 {
    font-size: var(--fs-4xl);
  }

  .hero-content p {
    font-size: var(--fs-lg);
  }

  .hero-stats {
    gap: var(--space-4);
  }

  .stat span:first-child {
    font-size: var(--fs-2xl);
  }

  .section-header h2 {
    font-size: var(--fs-3xl);
  }

  .cta-section h2 {
    font-size: var(--fs-3xl);
  }
}

@media (max-width: 768px) {
  section {
    padding: var(--space-8) 0;
  }

  .hero {
    padding-top: var(--space-12);
    text-align: center;
  }

  .hero-content {
    margin-bottom: var(--space-6);
  }

  .hero-stats {
    justify-content: center;
  }

  .section-header {
    margin-bottom: var(--space-6);
  }

  .feature-card,
  .game-card,
  .nft-card {
    margin-bottom: var(--space-4);
  }

  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .token-card {
    margin-top: var(--space-6);
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: var(--fs-3xl);
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .section-header h2 {
    font-size: var(--fs-2xl);
  }

  .newsletter-form .input-group {
    flex-direction: column;
  }

  .newsletter-form .form-control {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }

  .newsletter-form .btn {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }
}
