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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background: #000000;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  /* Nepal Flag Colors */
  --nepal-red: #dc143c;
  --nepal-blue: #003893;
  --nepal-white: #ffffff;
  --nepal-red-light: #e91e63;
  --nepal-blue-light: #1976d2;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #dc143c 0%, #003893 100%);
  --gradient-secondary: linear-gradient(135deg, #003893 0%, #1976d2 100%);
  --gradient-accent: linear-gradient(135deg, #dc143c 0%, #e91e63 100%);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Typography */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(220, 20, 60, 0.3);
  --shadow-glow-blue: 0 0 20px rgba(0, 56, 147, 0.3);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--font-size-xl);
  font-weight: 800;
}

.logo-image {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

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

.brand-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.follow-x {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  transition: all 0.3s ease;
}

.follow-x:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

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

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(220, 20, 60, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(0, 56, 147, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
  animation: heroBackground 20s ease-in-out infinite;
}

@keyframes heroBackground {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.1) rotate(1deg);
  }
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-xl);
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-banner {
  margin-bottom: var(--spacing-2xl);
  animation: slideInUp 1s ease-out;
}

.banner-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  transition: all 0.3s ease;
}

.banner-image:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.hero-content {
  animation: slideInUp 1s ease-out 0.2s both;
}

.hero-title {
  font-size: var(--font-size-6xl);
  font-weight: 900;
  margin-bottom: var(--spacing-lg);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.token-symbol {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--nepal-blue);
  margin-bottom: var(--spacing-xl);
}

.hero-description {
  font-size: var(--font-size-xl);
  color: #cccccc;
  margin-bottom: var(--spacing-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: var(--spacing-md) var(--spacing-xl);
  border: none;
  border-radius: var(--radius-full);
  font-size: var(--font-size-lg);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
  min-width: 160px;
  justify-content: center;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(220, 20, 60, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--nepal-blue);
  border: 2px solid var(--nepal-blue);
}

.btn-secondary:hover {
  background: var(--nepal-blue);
  color: white;
  transform: translateY(-3px);
}

/* Narrative Section */
.narrative-section {
  padding: var(--spacing-2xl) 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
  position: relative;
  overflow: hidden;
}

.narrative-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 30% 70%,
    rgba(220, 20, 60, 0.05) 0%,
    transparent 50%
  ),
  radial-gradient(
    circle at 70% 30%,
    rgba(0, 56, 147, 0.05) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.narrative-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.narrative-title {
  font-size: var(--font-size-5xl);
  font-weight: 900;
  margin-bottom: var(--spacing-2xl);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.narrative-text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.narrative-lead {
  font-size: var(--font-size-xl);
  color: #ffffff;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.narrative-body {
  font-size: var(--font-size-lg);
  color: #cccccc;
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
}

.narrative-call {
  font-size: var(--font-size-lg);
  color: #ffffff;
  font-weight: 600;
  line-height: 1.6;
  padding: var(--spacing-lg);
  background: rgba(0, 56, 147, 0.1);
  border-radius: var(--radius-xl);
  border-left: 4px solid var(--nepal-blue);
  margin: var(--spacing-lg) 0;
}

.narrative-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.stat-item {
  text-align: center;
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(220, 20, 60, 0.3);
}

.stat-number {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Wallet Section */
.wallet-section {
  padding: var(--spacing-2xl) 0;
  background: #111111;
}

.section-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wallet-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.wallet-address {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.05);
  padding: var(--spacing-md);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.wallet-address input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--nepal-white);
  font-family: monospace;
  font-size: var(--font-size-sm);
  outline: none;
}

.copy-btn {
  padding: var(--spacing-sm);
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-lg);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.wallet-description {
  color: #cccccc;
  font-size: var(--font-size-lg);
}

/* Footer */
.footer {
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--spacing-xl) 0;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.footer-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-brand {
  font-size: var(--font-size-xl);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer p {
  color: #888888;
  font-size: var(--font-size-sm);
}

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

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

.logo-image {
  animation: logoFloat 3s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 var(--spacing-sm);
  }

  .nav-logo {
    font-size: var(--font-size-lg);
  }

  .logo-image {
    height: 40px;
  }

  .follow-x {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-xs);
  }

  .hero-container {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .hero-title {
    font-size: var(--font-size-4xl);
  }

  .token-symbol {
    font-size: var(--font-size-3xl);
  }

  .hero-description {
    font-size: var(--font-size-lg);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
  }

  .wallet-address {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .wallet-address input {
    text-align: center;
    font-size: var(--font-size-xs);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: var(--font-size-3xl);
  }

  .token-symbol {
    font-size: var(--font-size-2xl);
  }

  .hero-description {
    font-size: var(--font-size-base);
  }

  .section-title {
    font-size: var(--font-size-3xl);
  }

  .narrative-title {
    font-size: var(--font-size-4xl);
  }

  .narrative-lead {
    font-size: var(--font-size-lg);
  }

  .narrative-body {
    font-size: var(--font-size-base);
  }

  .narrative-call {
    font-size: var(--font-size-base);
  }

  .narrative-stats {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    max-width: 100%;
    margin: var(--spacing-xl) 0;
  }

  .stat-number {
    font-size: var(--font-size-3xl);
  }
}

/* Focus and Selection */
button:focus,
input:focus {
  outline: 2px solid var(--nepal-red);
  outline-offset: 2px;
}

::selection {
  background: rgba(220, 20, 60, 0.3);
  color: var(--nepal-white);
}

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

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-secondary);
}
