/* ============================================
   PKMONAD Design System - Purple Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Purple Gradient Colors */
  --primary-purple: #7C3AED;
  --secondary-purple: #A855F7;
  --dark-purple: #5B21B6;
  --light-purple: #C084FC;
  --purple-glow: rgba(124, 58, 237, 0.5);
  
  /* Background Colors */
  --bg-dark: #0A0A0F;
  --bg-darker: #060609;
  --bg-card: rgba(20, 20, 30, 0.6);
  --bg-card-hover: rgba(30, 30, 45, 0.8);
  
  /* Text Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #B8B8C8;
  --text-muted: #6B6B80;
  
  /* Accent Colors */
  --accent-pink: #EC4899;
  --accent-blue: #3B82F6;
  --accent-green: #10B981;
  --accent-yellow: #FBBF24;
  
  /* Effects */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-purple: 0 10px 40px var(--purple-glow);
  
  /* Spacing */
  --nav-height: 80px;
}

/* ============================================
   Global Styles
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, #1a0a2e 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.3s ease;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 4rem;
}

.nav-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
}

.nav-logo img {
  height: 50px;
  width: 50px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: var(--glass-bg);
  color: var(--secondary-purple);
}

.nav-link.active {
  background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
  color: white;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: rgba(20, 20, 30, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: var(--glass-bg);
  color: var(--secondary-purple);
  transform: translateX(5px);
}

/* Connect Wallet Button */
.btn-wallet {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
  color: white;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-purple);
  transition: all 0.3s ease;
}

.btn-wallet:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px var(--purple-glow);
}

.btn-wallet:active {
  transform: translateY(0);
}

/* ============================================
   Buttons & CTAs
   ============================================ */

.btn-primary {
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
  color: white;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow-purple);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px var(--purple-glow);
}

.btn-secondary {
  padding: 1rem 2.5rem;
  background: var(--glass-bg);
  border: 2px solid var(--glass-border);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--glass-border);
  border-color: var(--primary-purple);
}

/* ============================================
   Cards & Containers
   ============================================ */

.card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-purple);
  transform: translateY(-5px);
  box-shadow: var(--shadow-purple);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
}

/* ============================================
   Layout Utilities
   ============================================ */

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

.section {
  padding: 6rem 0;
  min-height: calc(100vh - var(--nav-height));
}

.hero-section {
  padding-top: calc(var(--nav-height) + 4rem);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   Animations
   ============================================ */

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

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px var(--purple-glow); }
  50% { box-shadow: 0 0 40px var(--purple-glow), 0 0 60px var(--purple-glow); }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

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

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

/* ============================================
   Input Fields
   ============================================ */

input[type="text"],
input[type="search"] {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--glass-bg);
  border: 2px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus {
  outline: none;
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

input::placeholder {
  color: var(--text-muted);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
  .navbar {
    padding: 0 2rem;
  }
  
  .nav-menu {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 1rem;
  }
  
  .nav-logo {
    font-size: 1.2rem;
  }
  
  .nav-menu {
    gap: 0.5rem;
  }
  
  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
  
  .btn-wallet {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}
