/* NOTE: Core design tokens, reset, primitives moved to core.css to avoid duplication. */
/* This file now contains feature/module-specific styles only. */

body { overflow-x: hidden; }

/* 🌌 Cosmic Background */
.cosmic-bg {
  background: 
    radial-gradient(ellipse at top, rgba(0, 167, 212, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(107, 70, 193, 0.1) 0%, transparent 50%),
    var(--deep-space);
  min-height: 100vh;
}

/* =============== LOADING SCREEN =============== */

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--deep-space);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  /* FORCE HIDE BY DEFAULT TO PREVENT OVERLAY ISSUES */
  display: none !important;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  display: none !important;
}

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

.loading-title {
  font-family: var(--font-orbitron);
  font-size: 1.5rem;
  color: var(--icp-blue);
  margin: var(--spacing-lg) 0;
}

.icp-logo-pulse {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
  margin: 0 auto;
}

.loading-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: var(--spacing-lg) auto 0;
}

.loading-progress {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
  animation: loading 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes loading {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

/* =============== MAIN APP CONTAINER =============== */

.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =============== HEADER & NAVIGATION =============== */

.main-header {
  background: rgba(26, 26, 46, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 167, 212, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) var(--spacing-xl) var(--spacing-md) var(--spacing-3xl);
  max-width: 1400px;
  margin: 0 auto;
}

/* Logo Section */
.logo-container {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.logo-icon {
  font-size: 2rem;
  filter: drop-shadow(0 0 10px var(--icp-blue));
}

.logo-text {
  font-family: var(--font-orbitron);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* HORIZONTAL NAVIGATION TABS ONLY */
.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: var(--spacing-xs);
  list-style: none;
  background: rgba(0, 167, 212, 0.1);
  padding: var(--spacing-sm);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  max-width: 900px;
  width: 100%;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  text-decoration: none;
  color: var(--stellar-white);
  border-radius: 15px;
  transition: var(--transition-smooth);
  font-weight: 500;
  white-space: nowrap;
  font-size: 0.9rem;
  text-align: center;
}

.nav-link:hover {
  background: var(--glass-hover);
  transform: translateY(-2px);
}

.nav-link.active {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 167, 212, 0.4);
}

/* Grid positioning for two-row navigation - Updated 1756326366 */
.nav-item-1 { grid-row: 1; grid-column: 1; } /* ZenSwap DEX */
.nav-item-2 { grid-row: 1; grid-column: 2; } /* Universal Wallet */
.nav-item-3 { grid-row: 1; grid-column: 3; } /* Gaming */
.nav-item-4 { grid-row: 2; grid-column: 1; } /* NFT Marketplace */
.nav-item-5 { grid-row: 2; grid-column: 2; } /* Analytics */
.nav-item-6 { grid-row: 2; grid-column: 3; } /* Launchpad */

/* Home button in wallet area */
.home-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(0, 167, 212, 0.1);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--stellar-white);
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 1.2rem;
  margin-right: var(--spacing-sm);
}

.home-button:hover {
  background: var(--glass-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 167, 212, 0.2);
}

.wallet-section {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.nav-icon {
  font-size: 1.2rem;
}

.nav-badge {
  background: linear-gradient(135deg, #ff6b35, #ff8e3c);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 8px;
  margin-left: 6px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Wallet Section */
.wallet-section {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.connect-wallet-btn {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.connect-wallet-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 167, 212, 0.4);
}

.wallet-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--card-surface);
  border-radius: 12px;
  border: 1px solid rgba(0, 167, 212, 0.3);
}

.wallet-info.hidden {
  display: none;
}

.balance-amount {
  font-family: var(--font-mono);
  color: var(--icp-blue);
  font-weight: 600;
}

.wallet-address {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

/* =============== MAIN CONTENT =============== */

.main-content {
  flex: 1;
  padding: var(--spacing-xl);
  /* Removed max-width to allow full browser width */
  margin: 0 auto;
  width: 100%;
}

/* Page Sections */
.page-section {
  display: none;
  animation: fadeInUp 0.5s ease;
}

.page-section.active {
  display: block;
}

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

/* =============== HOME PAGE =============== */

.hero-section {
  text-align: center;
  padding: var(--spacing-2xl) 0;
}

.hero-title {
  font-family: var(--font-orbitron);
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: var(--spacing-lg);
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--spacing-lg);
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto var(--spacing-2xl);
  line-height: 1.8;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.stat-item {
  padding: var(--spacing-lg);
  background: var(--gradient-card);
  border-radius: 15px;
  border: 1px solid rgba(0, 167, 212, 0.3);
  transition: var(--transition-smooth);
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: var(--icp-blue);
  box-shadow: 0 10px 30px rgba(0, 167, 212, 0.3);
}

.stat-number {
  font-family: var(--font-orbitron);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--icp-blue);
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  margin-top: var(--spacing-sm);
}

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

/* =============== BUTTONS =============== */

.primary-btn, .secondary-btn {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition-bounce);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
}

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

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 167, 212, 0.4);
}

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

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

/* =============== NFT MARKETPLACE =============== */

.marketplace-header {
  margin-bottom: var(--spacing-2xl);
}

.page-title-section {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.page-title {
  font-family: var(--font-orbitron);
  font-size: 3rem;
  font-weight: 700;
  color: var(--icp-blue);
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
}

.title-icon {
  font-size: 3rem;
  filter: drop-shadow(0 0 15px var(--icp-blue));
}

.page-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Collection Stats */
.collection-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

.stat-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: var(--gradient-card);
  border-radius: 15px;
  border: 1px solid rgba(0, 167, 212, 0.3);
  transition: var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--icp-blue);
  box-shadow: 0 15px 40px rgba(0, 167, 212, 0.3);
}

.stat-icon {
  font-size: 2rem;
  filter: drop-shadow(0 0 10px var(--icp-blue));
}

.stat-value {
  font-family: var(--font-orbitron);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--icp-blue);
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.stat-change {
  font-size: 0.8rem;
  font-weight: 600;
}

.stat-change.positive { color: #10B981; }
.stat-change.negative { color: #EF4444; }
.stat-change.neutral { color: rgba(255, 255, 255, 0.6); }

/* Collection Info Bar */
.collection-info-bar {
  margin-bottom: var(--space-lg);
  text-align: center;
  padding: var(--space-lg);
  background: linear-gradient(135deg, rgba(0, 167, 212, 0.1), rgba(107, 70, 193, 0.1));
  border-radius: 16px;
  border: 1px solid rgba(0, 167, 212, 0.2);
}

.collection-summary .collection-title {
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-sm) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.collection-icon {
  font-size: 2.5rem;
}

.collection-count {
  color: var(--accent-color);
  font-size: 1.2rem;
  font-weight: 600;
}

.scroll-hint {
  color: var(--text-secondary);
  font-size: 1rem;
  margin: var(--space-sm) 0 0 0;
  opacity: 0.8;
  font-style: italic;
}

/* Marketplace Controls */
.marketplace-controls {
  background: var(--card-surface);
  padding: var(--spacing-lg);
  border-radius: 20px;
  border: 1px solid rgba(0, 167, 212, 0.3);
  margin-bottom: var(--spacing-2xl);
}

.search-section {
  margin-bottom: var(--spacing-lg);
}

.search-container {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.search-input {
  flex: 1;
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 167, 212, 0.3);
  border-right: none;
  border-radius: 25px 0 0 25px;
  color: var(--stellar-white);
  font-size: 1rem;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
  outline: none;
  border-color: var(--icp-blue);
  box-shadow: 0 0 0 3px rgba(0, 167, 212, 0.2);
}

.search-btn {
  padding: var(--spacing-md);
  background: var(--gradient-primary);
  border: 1px solid var(--icp-blue);
  border-radius: 0 25px 25px 0;
  color: white;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.search-btn:hover {
  background: var(--icp-blue);
  transform: scale(1.05);
}

.filter-section {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  align-items: center;
  justify-content: center;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.filter-label {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  white-space: nowrap;
}

.filter-select {
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 167, 212, 0.3);
  border-radius: 10px;
  color: var(--stellar-white);
  cursor: pointer;
}

.filter-select:focus {
  outline: none;
  border-color: var(--icp-blue);
}

.clear-filters-btn {
  padding: var(--spacing-sm) var(--spacing-md);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.clear-filters-btn:hover {
  border-color: var(--icp-blue);
  color: var(--icp-blue);
}

/* NFT Grid */
/* NFT Horizontal Scroll Layout */
.nft-grid-container {
  margin-top: var(--space-lg);
  position: relative;
}

/* Scroll Navigation Buttons */
.scroll-navigation {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 10;
  pointer-events: none;
  transform: translateY(-50%);
}

.scroll-btn {
  position: absolute;
  top: 0;
  width: 50px;
  height: 50px;
  background: rgba(0, 167, 212, 0.9);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 167, 212, 0.3);
}

.scroll-btn:hover {
  background: var(--primary-color);
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0, 167, 212, 0.5);
}

.scroll-left {
  left: 10px;
}

.scroll-right {
  right: 10px;
}

#nft-grid.nft-grid {
  display: flex !important;
  flex-direction: row !important;
  gap: var(--space-md);
  padding: var(--space-md);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) var(--surface-color);
  padding-bottom: var(--space-lg);
}

/* Custom scrollbar for webkit browsers */
.nft-grid::-webkit-scrollbar {
  height: 8px;
}

.nft-grid::-webkit-scrollbar-track {
  background: var(--surface-color);
  border-radius: 4px;
}

.nft-grid::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 4px;
}

.nft-grid::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

.nft-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: var(--space-md);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-width: 280px;
  max-width: 280px;
  flex-shrink: 0;
}

.nft-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 167, 212, 0.2);
  border-color: var(--accent-color);
}

.nft-image-container {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.nft-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.nft-rarity-badge {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.rarity-legendary { background: rgba(255, 215, 0, 0.9); color: #000; }
.rarity-epic { background: rgba(192, 192, 192, 0.9); color: #000; }
.rarity-rare { background: rgba(255, 69, 0, 0.9); color: #fff; }
.rarity-common { background: rgba(255, 255, 255, 0.9); color: #000; }

.nft-info {
  padding: var(--spacing-lg);
}

.nft-title {
  font-family: var(--font-orbitron);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.nft-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-sm);
}

.price-amount {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--icp-blue);
}

.nft-details {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Loading & Empty States */
.nft-loading, .nft-empty {
  text-align: center;
  padding: var(--spacing-2xl);
  color: rgba(255, 255, 255, 0.7);
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(0, 167, 212, 0.3);
  border-top: 3px solid var(--icp-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto var(--spacing-lg);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.5;
}

.load-more-btn {
  display: block;
  margin: var(--spacing-xl) auto;
  padding: var(--spacing-md) var(--spacing-2xl);
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.load-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 167, 212, 0.4);
}

/* =============== MODAL =============== */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal.hidden {
  display: none;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  max-width: 800px;
  max-height: 90vh;
  background: var(--card-surface);
  border-radius: 20px;
  border: 1px solid rgba(0, 167, 212, 0.3);
  overflow: hidden;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg);
  border-bottom: 1px solid rgba(0, 167, 212, 0.3);
}

.modal-close {
  background: none;
  border: none;
  color: var(--stellar-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--spacing-sm);
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--icp-blue);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  padding: var(--spacing-lg);
}

.modal-nft-image {
  width: 100%;
  border-radius: 15px;
}

.nft-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-label {
  color: rgba(255, 255, 255, 0.7);
}

.detail-value {
  font-weight: 600;
  color: var(--icp-blue);
}

.modal-actions {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

/* =============== UTILITY CLASSES =============== */

.hidden {
  display: none !important;
}

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

.coming-soon {
  text-align: center;
  padding: var(--spacing-2xl);
  color: rgba(255, 255, 255, 0.7);
}

/* =============== RESPONSIVE DESIGN =============== */

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
  }
  
  .nav-tabs {
    order: 2;
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: none;
    grid-template-rows: none;
    gap: var(--spacing-xs);
    justify-content: center;
  }
  
  /* Reset grid positioning on mobile */
  .nav-item-1, .nav-item-2, .nav-item-3, 
  .nav-item-4, .nav-item-5, .nav-item-6 {
    grid-row: unset;
    grid-column: unset;
  }
  
  .nav-link .nav-text {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .collection-stats {
    grid-template-columns: 1fr;
  }
  
  .filter-section {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-group {
    justify-content: space-between;
  }
  
  /* Responsive horizontal scroll - no grid override */
  .nft-grid {
    gap: var(--space-sm);
    padding: var(--space-sm);
  }
  
  .modal-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: var(--spacing-md);
  }
  
  /* Responsive horizontal scroll - no grid override */
  .nft-grid {
    gap: var(--space-xs);
    padding: var(--space-xs);
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .page-title {
    font-size: 1.5rem;
    flex-direction: column;
  }
}

/* =============== NOTIFICATION SYSTEM =============== */

.notification-container {
  position: fixed;
  top: 100px;
  right: var(--spacing-lg);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.notification {
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--card-surface);
  border-radius: 10px;
  border-left: 4px solid var(--icp-blue);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: slideInRight 0.3s ease;
  max-width: 300px;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.notification.success {
  border-left-color: #10B981;
}

.notification.error {
  border-left-color: #EF4444;
}

.notification.warning {
  border-left-color: #F59E0B;
}

/* =============== FOOTER =============== */

.main-footer {
  background: var(--card-surface);
  border-top: 1px solid rgba(0, 167, 212, 0.3);
  margin-top: var(--spacing-2xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  padding: var(--spacing-2xl);
  max-width: 1400px;
  margin: 0 auto;
}

.footer-section h4 {
  font-family: var(--font-orbitron);
  color: var(--icp-blue);
  margin-bottom: var(--spacing-md);
}

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

.footer-section ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-section a:hover {
  color: var(--icp-blue);
}

.footer-bottom {
  text-align: center;
  padding: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive Horizontal Scroll */
@media (max-width: 768px) {
  .scroll-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .scroll-left {
    left: 5px;
  }
  
  .scroll-right {
    right: 5px;
  }
  
  .collection-title {
    font-size: 1.5rem !important;
    flex-direction: column;
    gap: var(--space-xs) !important;
  }
  
  .collection-icon {
    font-size: 2rem !important;
  }
  
  .nft-card {
    min-width: 240px !important;
    max-width: 240px !important;
  }
}

@media (max-width: 480px) {
  .nft-card {
    min-width: 200px !important;
    max-width: 200px !important;
  }
  
  .collection-title {
    font-size: 1.2rem !important;
  }
  
  .scroll-hint {
    font-size: 0.9rem;
  }
}


/* FORCE HORIZONTAL SCROLL - CACHE BUSTER */
.nft-grid:not(#user-listings-grid), #nft-grid, .nft-grid-container .nft-grid {
  display: flex !important;
  flex-direction: row !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  gap: 16px !important;
  grid-template-columns: none !important;
  flex-wrap: nowrap !important;
}

/* ========== USER LISTINGS SECTION ========== */
#user-listings-section {
  margin-top: var(--spacing-3xl);
  margin-left: calc(-1 * var(--spacing-xl)); /* Extend beyond main-content padding */
  margin-right: calc(-1 * var(--spacing-xl)); /* Extend beyond main-content padding */
  padding: var(--spacing-2xl) var(--spacing-xl); /* Add back internal padding */
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-xl);
  padding: 0 var(--spacing-lg);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.section-icon {
  font-size: 2.5rem;
}

.section-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-left: var(--spacing-sm);
}

.add-listing-btn {
  background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
  color: white;
  border: none;
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.add-listing-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* Marketplace Actions Container */
.marketplace-actions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  align-items: flex-end;
}

/* Create NFT Button Styling */
.create-nft-btn {
  background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
  color: white;
  border: none;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  opacity: 0.9;
}

.create-nft-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
  opacity: 1;
}

/* Responsive adjustments for marketplace actions */
@media (max-width: 768px) {
  .marketplace-actions {
    align-items: center;
    gap: var(--spacing-xs);
  }
  
  .create-nft-btn {
    font-size: 0.85rem;
    padding: var(--spacing-xs) var(--spacing-sm);
  }
}

/* ========== ADD LISTING FORM ========== */
.add-listing-form {
  margin-bottom: var(--spacing-xl);
  padding: 0 var(--spacing-lg);
}

.form-container {
  background: var(--surface-color);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  max-width: 600px;
  margin: 0 auto;
}

.form-container h3 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
  text-align: center;
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group label {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--spacing-md);
  background: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(0, 167, 212, 0.2);
}

.form-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: flex-end;
  margin-top: var(--spacing-xl);
}

.form-actions button {
  padding: var(--spacing-md) var(--spacing-lg);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-actions button[type="submit"] {
  background: linear-gradient(135deg, var(--accent-color) 0%, #0088aa 100%);
  color: white;
}

.form-actions button[type="button"] {
  background: var(--surface-color);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

/* ========== USER LISTINGS GRID ========== */
.user-listings-container {
  position: relative;
  /* Removed padding to allow full width */
  padding: 0;
}

/* User Listings Grid - Updated for Multi-Row Layout */
.user-listings-grid {
  display: flex !important;
  flex-direction: column !important; /* Ensure vertical stacking of rows */
  overflow-x: visible !important; /* Allow rows to handle their own horizontal overflow */
  overflow-y: visible !important; /* Removed auto to prevent separate scrollbar */
  gap: 24px !important; /* Space between rows */
  padding: 20px 0 !important;
  scroll-behavior: smooth;
  /* Removed max-height to allow natural page flow */
}

.empty-listings {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-3xl);
  color: var(--text-secondary);
  width: 100%;
  min-height: 300px;
}

.empty-listings .empty-icon {
  font-size: 4rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.5;
}

.empty-listings h3 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  font-size: 1.5rem;
}

.empty-listings p {
  margin-bottom: var(--spacing-lg);
  font-size: 1.1rem;
}

.cta-btn {
  background: linear-gradient(135deg, var(--accent-color) 0%, #0088aa 100%);
  color: white;
  border: none;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 167, 212, 0.3);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-actions button {
    width: 100%;
  }
}

/* ========== MULTICHAIN USER LISTINGS STYLES ========== */

/* Filter Controls */
.marketplace-filters {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
  align-items: center;
}

.filter-group {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}

.filter-label {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
}

.chain-filter-btn, .price-filter-btn, .sort-btn {
  background: var(--card-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.9rem;
  font-weight: 500;
}

.chain-filter-btn:hover, .price-filter-btn:hover, .sort-btn:hover {
  background: var(--glass-hover);
  border-color: var(--icp-blue);
}

.chain-filter-btn.active, .price-filter-btn.active, .sort-btn.active {
  background: var(--gradient-primary);
  border-color: var(--icp-blue);
  color: white;
}

/* Row Container with Navigation */
.row-container {
  position: relative;
  margin-bottom: 24px;
}

.row-scroll-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
  pointer-events: none; /* Allow clicks to pass through container */
}

.row-scroll-btn {
  pointer-events: all; /* Re-enable clicks on buttons */
  background: linear-gradient(135deg, var(--icp-blue) 0%, var(--cosmic-purple) 100%);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 167, 212, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.row-scroll-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 167, 212, 0.5);
}

.row-scroll-btn:active {
  transform: scale(0.95);
}

.scroll-arrow {
  color: white;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
}

/* Arrow visibility based on scroll position */
.row-scroll-left {
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.row-scroll-right {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Multi-Row Grid Layout - Fixed Overlapping */
.user-listings-row {
  display: flex;
  flex-direction: row !important; /* Ensure horizontal layout within row */
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden; /* Prevent vertical overflow within rows */
  padding: 20px;
  min-height: 420px; /* Reduced since we removed extra buttons */
  max-height: 450px; /* Simpler cards need less height */
  scroll-behavior: smooth;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.3) 0%, rgba(22, 33, 62, 0.3) 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  flex-shrink: 0; /* Prevent shrinking that causes overlap */
  position: relative; /* Ensure proper positioning */
  margin-bottom: 0; /* Remove any margin that might cause issues */
}

.user-listings-row:hover {
  border-color: rgba(0, 167, 212, 0.3);
  box-shadow: 0 8px 32px rgba(0, 167, 212, 0.1);
}

/* Row Header Styling for Dynamic Row System */
.row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-md);
  padding: 0 var(--spacing-lg);
}

.row-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.row-count {
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.row-status {
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: 8px;
  font-weight: 500;
}

.row-status.full {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
}

.row-status.active {
  background: linear-gradient(135deg, var(--icp-blue) 0%, var(--cosmic-purple) 100%);
  color: white;
}

/* Enhanced scrollbar for rows - Always visible */
.user-listings-row::-webkit-scrollbar {
  height: 12px; /* Increased height for better visibility */
}

.user-listings-row::-webkit-scrollbar-track {
  background: rgba(26, 26, 46, 0.8);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-listings-row::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--icp-blue) 0%, var(--cosmic-purple) 100%);
  border-radius: 6px;
  border: 2px solid rgba(26, 26, 46, 0.8);
  min-width: 40px; /* Ensure thumb is visible */
}

.user-listings-row::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--cosmic-purple) 0%, var(--icp-blue) 100%);
  box-shadow: 0 0 10px rgba(0, 167, 212, 0.5);
}

/* Force scrollbar to always show */
.user-listings-row {
  scrollbar-width: auto; /* Firefox */
  overflow-x: scroll !important; /* Force scroll instead of auto */
}

/* Main grid container enhancements - Fixed for Multi-Row */
#user-listings-grid {
  display: flex !important;
  flex-direction: column !important; /* Ensure vertical stacking */
  /* Removed max-height to let it flow with main page scroll */
  overflow-y: visible !important; /* No separate scrollbar needed */
  overflow-x: visible !important; /* Let rows handle horizontal overflow */
  padding: 20px 0 !important;
  gap: 24px !important;
  position: relative; /* Ensure proper positioning context */
}

/* Override any conflicting styles that might cause horizontal layout */
#user-listings-grid.nft-grid {
  display: flex !important;
  flex-direction: column !important;
  overflow-x: visible !important;
  overflow-y: visible !important; /* Ensure no vertical scrollbar */
}

/* Additional override to prevent any scrollbar on user listings grid */
#user-listings-grid.user-listings-grid {
  overflow: visible !important; /* Override any inherited overflow settings */
  max-height: none !important; /* Remove any inherited height restrictions */
}

/* Nuclear option - force no scrollbars on user listings with highest specificity */
#user-listings-grid.user-listings-grid.nft-grid {
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  max-height: none !important;
  height: auto !important;
}

/* Also ensure the container doesn't create scrollbars */
.user-listings-container {
  overflow: visible !important;
  max-height: none !important;
}

/* Grid scrollbar styling removed - using natural page flow */

/* Enhanced NFT Cards */
.nft-card.multichain {
  min-width: 320px; /* Increased from 280px to accommodate action buttons */
  max-width: 320px;
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.nft-card.multichain:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 167, 212, 0.2);
  border-color: var(--icp-blue);
}

/* Chain Badge */
.chain-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.chain-icon {
  font-size: 0.9rem;
}

.chain-name {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Cross-Chain Offers */
.cross-chain-offers {
  margin: var(--spacing-sm) 0;
  padding: var(--spacing-sm);
  background: rgba(0, 167, 212, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(0, 167, 212, 0.2);
}

.cross-chain-offers small {
  color: var(--text-secondary);
  font-size: 0.75rem;
  display: block;
  margin-bottom: 4px;
}

.offer-tokens {
  display: flex;
  gap: 6px;
}

.offer-token {
  font-size: 1rem;
  font-weight: bold;
  transition: var(--transition-smooth);
}

.offer-token:hover {
  transform: scale(1.2);
}

/* Enhanced Action Buttons */
.nft-actions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
}

.buy-btn.primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
  color: white;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.9rem;
}

.offer-btn.secondary {
  background: linear-gradient(135deg, var(--icp-blue) 0%, #0284c7 100%);
  border: none;
  color: white;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.9rem;
}

.remove-btn.danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border: none;
  color: white;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.9rem;
}

.buy-btn:hover, .offer-btn:hover, .remove-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Offer Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease-out;
}

.modal-content.offer-modal {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  max-height: 90%;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: var(--text-primary);
}

.offer-item-info {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.offer-item-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.offer-form {
  margin-bottom: var(--spacing-lg);
}

.offer-form label {
  display: block;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
}

.offer-input-group {
  display: flex;
  gap: var(--spacing-sm);
}

.offer-input-group input {
  flex: 1;
  background: var(--card-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--text-primary);
  font-size: 1rem;
}

.offer-input-group select {
  background: var(--card-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--text-primary);
  font-size: 1rem;
  min-width: 120px;
}

.offer-conversion {
  margin-top: var(--spacing-sm);
}

.offer-conversion small {
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.modal-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: flex-end;
  padding: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn.primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn.secondary {
  background: var(--card-surface);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Mobile Responsiveness for Multichain */
@media (max-width: 768px) {
  .marketplace-filters {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-group {
    justify-content: center;
  }
  
  .nft-card.multichain {
    min-width: 280px; /* Slightly smaller on tablets */
    max-width: 280px;
  }
  
  .user-listings-row {
    gap: 12px;
    padding: 15px;
    min-height: 655px; /* Added 5px to match desktop button visibility */
    max-height: 705px;
  }
  
  #user-listings-grid {
    /* Removed max-height for natural page flow */
    gap: 20px;
  }
  
  .modal-content.offer-modal {
    margin: var(--spacing-md);
    width: calc(100% - 2rem);
  }
  
  .modal-actions {
    flex-direction: column;
  }
}

/* Large Desktop - Show even more rows */
@media (min-width: 1400px) {
  .user-listings-row {
    min-height: 725px; /* Added 5px to match perfect button display on large screens */
    max-height: 785px;
  }
  
  .nft-card.multichain {
    min-width: 340px; /* Wider on large screens for better button visibility */
    max-width: 340px;
  }
}

/* Ultra-wide screens */
@media (min-width: 1920px) {
  /* All max-height restrictions removed for natural page flow */
}

/* Form Layout Improvements */
.form-row {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .form-row .form-group {
    margin-bottom: var(--spacing-md);
  }
}

/* ========== NFT DETAIL MODAL ========== */
.nft-detail-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.nft-detail-content {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
  color: var(--stellar-white);
  font-size: 1.5rem;
  margin: 0;
}

.close-modal {
  background: none;
  border: none;
  color: var(--stellar-white);
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.close-modal:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nft-detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  padding: var(--spacing-lg);
}

.nft-detail-image {
  position: relative;
}

.nft-detail-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chain-badge.large {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
}

.nft-rarity.large {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
}

.nft-detail-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.price-section, .description-section, .owner-section, .actions-section, .cross-chain-section {
  background: rgba(26, 26, 46, 0.3);
  padding: var(--spacing-md);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.price-section h3, .description-section h3, .owner-section h3, .cross-chain-section h3 {
  margin: 0 0 var(--spacing-sm) 0;
  color: var(--stellar-white);
  font-size: 1.1rem;
}

.price-display {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.price-main.large {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--icp-blue);
}

.price-usd.large {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.primary-actions {
  margin-bottom: var(--spacing-md);
}

.buy-btn.large, .offer-btn.large, .remove-btn.large {
  width: 100%;
  padding: var(--spacing-md);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  margin-bottom: var(--spacing-sm);
}

.secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
}

.offer-tokens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.offer-token-option {
  background: rgba(26, 26, 46, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: var(--spacing-sm);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.offer-token-option:hover {
  border-color: var(--icp-blue);
  background: rgba(26, 26, 46, 0.8);
}

.offer-input-section {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--spacing-sm);
  align-items: end;
}

.offer-input-section label {
  grid-column: 1 / -1;
  color: var(--stellar-white);
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.offer-input-section input, .offer-input-section select {
  padding: var(--spacing-sm);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(26, 26, 46, 0.8);
  color: var(--stellar-white);
  font-size: 1rem;
}

.submit-offer-btn {
  background: linear-gradient(135deg, var(--icp-blue) 0%, #0284c7 100%);
  border: none;
  color: white;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.submit-offer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 167, 212, 0.3);
}

/* Responsive modal */
@media (max-width: 768px) {
  .nft-detail-body {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .nft-detail-image img {
    height: 300px;
  }
  
  .secondary-actions {
    grid-template-columns: 1fr;
  }
  
  .offer-input-section {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CANISTER CREATURES SPECIALIZED STYLING
   ============================================ */

/* CanisterCreature Card Styling */
.canister-creature-card {
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border: 2px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.canister-creature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(138, 43, 226, 0.4);
  border-color: #8a2be2;
}

.canister-creature-card.legendary {
  background: linear-gradient(135deg, #ffd700 0%, #ffb347 50%, #ff8c00 100%);
  border-color: #ffd700;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.canister-creature-card.epic {
  background: linear-gradient(135deg, #9370db 0%, #8a2be2 50%, #6a0dad 100%);
  border-color: #9370db;
  box-shadow: 0 4px 20px rgba(147, 112, 219, 0.3);
}

.canister-creature-card.rare {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 50%, #e55039 100%);
  border-color: #ff6b6b;
  box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
}

.canister-creature-card.common {
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 50%, #2d3436 100%);
  border-color: #74b9ff;
  box-shadow: 0 4px 20px rgba(116, 185, 255, 0.3);
}

/* Creature Image Container */
.creature-image-container {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.creature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.canister-creature-card:hover .creature-image {
  transform: scale(1.05);
}

/* Creature Badges */
.creature-badges-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 8px;
}

.creature-type-badge {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: bold;
}

.creature-type-badge.bull {
  background: linear-gradient(45deg, #10ac84, #00d2d3);
}

.creature-type-badge.bear {
  background: linear-gradient(45deg, #ff3838, #ff9500);
}

.canister-badge {
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
}

.bitcoin-ordinal-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(45deg, #f39c12, #e67e22);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
}

.creature-rarity {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  color: white;
}

.creature-rarity.legendary {
  background: linear-gradient(45deg, #ffd700, #ffb347);
  color: #333;
}

.creature-rarity.epic {
  background: linear-gradient(45deg, #9370db, #8a2be2);
}

.creature-rarity.rare {
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
}

.creature-rarity.common {
  background: linear-gradient(45deg, #74b9ff, #0984e3);
}

/* Creature Info Section */
.creature-info {
  padding: 16px;
  color: white;
}

.creature-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 8px 0;
  color: #ffffff;
}

.creature-utility {
  font-size: 12px;
  color: #a0a0a0;
  margin-bottom: 12px;
  font-style: italic;
}

.creature-price-section {
  margin-bottom: 12px;
}

.price-display .price-main {
  font-size: 16px;
  font-weight: bold;
  color: #ffd700;
}

.price-display .price-usd {
  font-size: 12px;
  color: #a0a0a0;
  margin-left: 8px;
}

.revenue-preview {
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.revenue-label {
  font-size: 11px;
  color: #a0a0a0;
}

.revenue-value {
  font-size: 12px;
  color: #10ac84;
  font-weight: bold;
}

/* Benefits Preview */
.creature-benefits-preview {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.benefit-preview {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

.benefit-icon {
  font-size: 12px;
}

.benefit-text {
  color: #e0e0e0;
}

/* Creature Meta */
.creature-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.creature-status {
  font-size: 11px;
  color: #10ac84;
  font-weight: bold;
}

.collection-badge {
  font-size: 10px;
  color: #8a2be2;
  text-transform: uppercase;
  font-weight: bold;
}

/* Creature Actions */
.creature-actions {
  padding: 0 16px 16px 16px;
}

.creature-buy, .creature-inscribe {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 12px;
}

.creature-buy {
  background: linear-gradient(45deg, #10ac84, #00d2d3);
  color: white;
}

.creature-buy:hover {
  background: linear-gradient(45deg, #00d2d3, #10ac84);
  transform: translateY(-2px);
}

.creature-inscribe {
  background: linear-gradient(45deg, #f39c12, #e67e22);
  color: white;
}

.creature-inscribe:hover {
  background: linear-gradient(45deg, #e67e22, #f39c12);
  transform: translateY(-2px);
}

/* ============================================
   CANISTER CREATURES MODAL STYLING
   ============================================ */

.canister-creature-modal .modal-content {
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  border-radius: 20px;
  border: 2px solid #8a2be2;
}

.creature-header {
  background: linear-gradient(90deg, #8a2be2, #9370db);
  padding: 20px;
  border-radius: 18px 18px 0 0;
}

.creature-title-section {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.creature-title-section h2 {
  margin: 0;
  font-size: 24px;
  color: white;
}

.creature-detail-body {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 30px;
  padding: 30px;
}

.creature-image-section {
  position: relative;
}

.creature-image {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.creature-badges {
  position: absolute;
  bottom: 15px;
  left: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rarity-badge.large {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 20px;
  font-weight: bold;
}

.bitcoin-badge, .ecosystem-badge {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: bold;
}

/* Investment Section */
.investment-section {
  background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  border-left: 4px solid #ffd700;
}

.investment-section h3 {
  margin: 0 0 15px 0;
  color: #ffd700;
}

.price-display {
  margin-bottom: 10px;
}

.price-main {
  font-size: 28px;
  font-weight: bold;
  color: #ffd700;
}

.price-usd {
  font-size: 16px;
  color: #a0a0a0;
  margin-left: 10px;
}

.roi-display, .revenue-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.roi-value.positive {
  color: #10ac84;
  font-weight: bold;
}

.roi-value.moderate {
  color: #fdcb6e;
  font-weight: bold;
}

.revenue-value {
  color: #10ac84;
  font-weight: bold;
}

/* Benefits Grid */
.ecosystem-benefits-section {
  margin-bottom: 25px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 15px;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 12px;
  border-left: 4px solid;
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-2px);
}

.benefit-card.trading {
  border-left-color: #10ac84;
}

.benefit-card.revenue {
  border-left-color: #ffd700;
}

.benefit-card.staking {
  border-left-color: #74b9ff;
}

.benefit-card.governance {
  border-left-color: #a29bfe;
}

.benefit-icon {
  font-size: 24px;
  margin-bottom: 8px;
  display: block;
}

.benefit-title {
  font-weight: bold;
  color: white;
  display: block;
  margin-bottom: 4px;
}

.benefit-value {
  font-size: 18px;
  font-weight: bold;
  color: #ffd700;
  display: block;
  margin-bottom: 4px;
}

.benefit-detail {
  font-size: 12px;
  color: #a0a0a0;
}

/* Revenue Sources */
.revenue-sources {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.revenue-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.source-icon {
  font-size: 18px;
  margin-right: 10px;
}

.source-name {
  flex-grow: 1;
  color: white;
}

.source-share {
  font-weight: bold;
  color: #10ac84;
}

/* Traits Grid */
.traits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 15px;
}

.trait-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.trait-label {
  color: #a0a0a0;
  font-size: 12px;
}

.trait-value {
  color: white;
  font-weight: bold;
  font-size: 12px;
}

/* Creature Actions */
.creature-actions-section {
  margin-top: 25px;
}

.creature-buy {
  background: linear-gradient(45deg, #10ac84, #00d2d3);
  padding: 15px 30px;
  font-size: 16px;
  border-radius: 12px;
}

.inscribe-btn {
  background: linear-gradient(45deg, #f39c12, #e67e22);
  padding: 15px 30px;
  font-size: 16px;
  border-radius: 12px;
}

.inscription-section {
  background: rgba(243, 156, 18, 0.1);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #f39c12;
}

.inscription-info {
  margin-bottom: 15px;
}

.inscription-info p {
  margin: 5px 0;
  color: #e0e0e0;
}

/* Responsive Design for CanisterCreatures */
@media (max-width: 768px) {
  .creature-detail-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .traits-grid {
    grid-template-columns: 1fr;
  }
  
  .canister-creature-card {
    margin-bottom: 20px;
  }
}

/* ============================================
   ENHANCED NFT LISTING FORM STYLING
   ============================================ */

.enhanced-listing-form {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Form Header */
.form-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 30px;
  text-align: center;
  color: white;
}

.form-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.form-header h3 {
  margin: 0 0 10px 0;
  font-size: 28px;
  font-weight: bold;
}

.form-subtitle {
  margin: 0;
  font-size: 16px;
  opacity: 0.9;
  font-weight: 300;
}

/* Step Indicator */
.step-indicator {
  display: flex;
  justify-content: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 30px;
  position: relative;
  color: #666;
  transition: all 0.3s ease;
}

.step.active {
  color: #667eea;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 25px;
  right: -30px;
  width: 60px;
  height: 2px;
  background: #333;
}

.step.active:not(:last-child)::after {
  background: #667eea;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #333;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.step.active .step-number {
  background: #667eea;
  transform: scale(1.1);
}

.step-label {
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

/* Form Steps */
.form-step {
  display: none;
  padding: 30px;
  color: white;
}

.form-step.active {
  display: block;
}

.step-title {
  font-size: 20px;
  margin: 0 0 25px 0;
  color: #667eea;
  border-bottom: 2px solid rgba(102, 126, 234, 0.3);
  padding-bottom: 10px;
}

/* Enhanced Form Groups */
.form-group.enhanced {
  margin-bottom: 25px;
}

.enhanced-label {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  font-weight: bold;
  color: #e0e0e0;
}

.label-required {
  color: #ff6b6b;
  font-size: 14px;
}

.enhanced-input, .enhanced-textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #333;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 16px;
  transition: all 0.3s ease;
}

.enhanced-input:focus, .enhanced-textarea:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
  outline: none;
}

.input-help {
  font-size: 12px;
  color: #999;
  margin-top: 5px;
  font-style: italic;
}

/* Custom Select Styling */
.custom-select-wrapper {
  position: relative;
}

.enhanced-select {
  width: 100%;
  padding: 15px;
  border: 2px solid #333;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 16px;
  appearance: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.enhanced-select:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
  outline: none;
}

.select-arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
}

/* Image Upload Section */
.image-upload-section {
  border: 2px dashed #333;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.image-upload-section:hover {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.05);
}

.upload-options {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.upload-btn {
  padding: 12px 24px;
  background: linear-gradient(45deg, #667eea, #764ba2);
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.upload-divider {
  color: #999;
  font-style: italic;
}

.image-preview {
  margin-top: 20px;
  position: relative;
  display: inline-block;
}

.image-preview img {
  max-width: 200px;
  max-height: 200px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.remove-image {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ff6b6b;
  border: none;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

.price-input-wrapper {
  position: relative;
}

.price-input {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.price-suggestions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  justify-content: center;
}

.price-suggestion {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #333;
  border-radius: 6px;
  color: #ccc;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.3s ease;
}

.price-suggestion:hover {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

/* Price Calculator */
.price-calculator {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 5px 0;
}

.calc-row.total {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  margin-top: 15px;
  font-weight: bold;
  font-size: 16px;
}

.calc-label {
  color: #ccc;
}

.calc-value {
  color: white;
  font-weight: bold;
}

.calc-value.success {
  color: #10ac84;
}

/* Rarity Selector */
.rarity-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.rarity-option {
  padding: 15px;
  border: 2px solid #333;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.rarity-option:hover {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.1);
}

.rarity-option.selected {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.2);
}

.rarity-badge {
  font-weight: bold;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 20px;
  display: inline-block;
}

.rarity-badge.common {
  background: rgba(116, 185, 255, 0.2);
  color: #74b9ff;
}

.rarity-badge.rare {
  background: rgba(255, 107, 107, 0.2);
  color: #ff6b6b;
}

.rarity-badge.epic {
  background: rgba(147, 112, 219, 0.2);
  color: #9370db;
}

.rarity-badge.legendary {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
}

.rarity-desc {
  font-size: 12px;
  color: #999;
}

/* Attributes Section */
.attributes-section {
  margin-bottom: 15px;
}

.attribute-item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
}

.attr-name, .attr-value {
  flex: 1;
  padding: 10px;
  border: 1px solid #333;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.remove-attr {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ff6b6b;
  border: none;
  color: white;
  cursor: pointer;
}

.add-attribute {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px dashed #667eea;
  border-radius: 6px;
  color: #667eea;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-attribute:hover {
  background: rgba(102, 126, 234, 0.1);
}

/* Form Navigation */
.form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
}

.nav-btn {
  padding: 15px 30px;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 14px;
}

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

.nav-btn.primary {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
}

.nav-btn.success {
  background: linear-gradient(45deg, #10ac84, #00d2d3);
  color: white;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.nav-spacer {
  flex-grow: 1;
}

/* Form Footer */
.form-footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cancel-btn {
  padding: 12px 24px;
  background: transparent;
  border: 1px solid #666;
  border-radius: 8px;
  color: #999;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cancel-btn:hover {
  border-color: #ff6b6b;
  color: #ff6b6b;
}

/* Responsive Design for Enhanced Form */
@media (max-width: 768px) {
  .step-indicator {
    padding: 20px 15px;
  }
  
  .step {
    padding: 0 15px;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .rarity-selector {
    grid-template-columns: 1fr;
  }
  
  .upload-options {
    flex-direction: column;
  }
  
  .form-navigation {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-btn {
    width: 100%;
  }
}

/* ============================================
   WALLET MODAL SYSTEM - COMPREHENSIVE DESIGN
   ============================================ */

/* Modal Base Styling */
.wallet-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s ease-out;
}

.wallet-modal.hidden {
  display: none;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.wallet-modal-content {
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 20px;
  border: 1px solid rgba(124, 77, 255, 0.3);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(124, 77, 255, 0.1);
  max-width: 480px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease-out;
}

/* Modal Header */
.wallet-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid rgba(124, 77, 255, 0.2);
}

.modal-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.wallet-icon {
  font-size: 28px;
  animation: iconPulse 2s ease-in-out infinite;
}

.modal-close {
  background: none;
  border: none;
  color: #888;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: scale(1.1);
}

/* Wallet Status Display */
.wallet-status {
  padding: 20px 28px;
  border-bottom: 1px solid rgba(124, 77, 255, 0.2);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.status-icon {
  font-size: 20px;
}

.status-text {
  font-weight: 600;
  color: #2ecc71;
}

.connected-wallet-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wallet-type-display,
.wallet-address-display,
.wallet-balance-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(124, 77, 255, 0.2);
}

.wallet-address-display {
  font-family: 'Courier New', monospace;
  font-size: 14px;
}

.copy-address {
  background: rgba(124, 77, 255, 0.2);
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.copy-address:hover {
  background: rgba(124, 77, 255, 0.4);
}

/* Wallet Options */
.wallet-options {
  padding: 20px 28px 0;
}

.wallet-section {
  margin-bottom: 28px;
}

.section-title {
  margin: 0 0 16px 0;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Individual Wallet Option */
.wallet-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(124, 77, 255, 0.2);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.wallet-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(124, 77, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.wallet-option:hover::before {
  left: 100%;
}

.wallet-option:hover {
  background: rgba(124, 77, 255, 0.1);
  border-color: rgba(124, 77, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 77, 255, 0.2);
}

.wallet-option.recommended {
  border-color: rgba(124, 77, 255, 0.6);
  background: rgba(124, 77, 255, 0.08);
}

.wallet-option.ecosystem {
  border-color: rgba(255, 215, 0, 0.6);
  background: rgba(255, 215, 0, 0.08);
}

.wallet-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.wallet-logo {
  font-size: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(124, 77, 255, 0.3);
}

.wallet-details {
  flex: 1;
}

.wallet-name {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.wallet-description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

/* Wallet Badges */
.wallet-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge.popular {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

.badge.secure {
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.badge.native {
  background: rgba(52, 152, 219, 0.2);
  color: #3498db;
  border: 1px solid rgba(52, 152, 219, 0.3);
}

.badge.passwordless {
  background: rgba(155, 89, 182, 0.2);
  color: #9b59b6;
  border: 1px solid rgba(155, 89, 182, 0.3);
}

.badge.nft {
  background: rgba(241, 196, 15, 0.2);
  color: #f1c40f;
  border: 1px solid rgba(241, 196, 15, 0.3);
}

.badge.web {
  background: rgba(26, 188, 156, 0.2);
  color: #1abc9c;
  border: 1px solid rgba(26, 188, 156, 0.3);
}

.badge.evm {
  background: rgba(230, 126, 34, 0.2);
  color: #e67e22;
  border: 1px solid rgba(230, 126, 34, 0.3);
}

.badge.crosschain {
  background: rgba(142, 68, 173, 0.2);
  color: #8e44ad;
  border: 1px solid rgba(142, 68, 173, 0.3);
}

.badge.solana {
  background: rgba(153, 69, 255, 0.2);
  color: #9945ff;
  border: 1px solid rgba(153, 69, 255, 0.3);
}

.badge.premium {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.badge.offline {
  background: rgba(127, 140, 141, 0.2);
  color: #7f8c8d;
  border: 1px solid rgba(127, 140, 141, 0.3);
}

/* Modal Footer */
.wallet-modal-footer {
  padding: 20px 28px 28px;
  border-top: 1px solid rgba(124, 77, 255, 0.2);
}

.security-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: rgba(46, 204, 113, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(46, 204, 113, 0.2);
}

.security-icon {
  font-size: 16px;
  color: #2ecc71;
}

.security-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.help-links {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.help-links a {
  color: rgba(124, 77, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.help-links a:hover {
  color: #7c4dff;
  text-decoration: underline;
}

/* Connection Loading Overlay */
.connection-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}

.connection-loading.hidden {
  display: none;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(124, 77, 255, 0.3);
  border-top: 4px solid #7c4dff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

.loading-text {
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
}

/* Animations */
@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

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

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Design for Wallet Modal */
@media (max-width: 768px) {
  .wallet-modal-content {
    width: 95%;
    margin: 20px;
    max-height: 90vh;
  }
  
  .wallet-modal-header,
  .wallet-options,
  .wallet-modal-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .wallet-option {
    padding: 14px 16px;
  }
  
  .wallet-logo {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  
  .wallet-name {
    font-size: 16px;
  }
  
  .wallet-description {
    font-size: 13px;
  }
  
  .wallet-badges {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }
}

/* ============================================
   ZENLAUNCH PLATFORM STYLES
   ============================================ */

/* Launch Selection Container */
.launch-selection-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(45deg, #7c4dff, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Launch Options Grid */
.launch-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.launch-option-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(124, 77, 255, 0.3);
  border-radius: 20px;
  padding: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.launch-option-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(124, 77, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.launch-option-card:hover::before {
  left: 100%;
}

.launch-option-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 77, 255, 0.6);
  box-shadow: 0 20px 40px rgba(124, 77, 255, 0.2);
}

.launch-option-card.popular {
  border-color: rgba(255, 215, 0, 0.6);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.05) 100%);
}

.launch-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
}

.launch-icon {
  font-size: 48px;
  animation: iconFloat 3s ease-in-out infinite;
}

.launch-price {
  font-size: 24px;
  font-weight: 700;
  color: #7c4dff;
  background: rgba(124, 77, 255, 0.1);
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid rgba(124, 77, 255, 0.3);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: linear-gradient(45deg, #ff6b6b, #ffd700);
  color: #000;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: badgePulse 2s ease-in-out infinite;
}

.new-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: linear-gradient(45deg, #f39c12, #e67e22);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: badgePulse 2s ease-in-out infinite;
}

.launch-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.launch-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 24px;
}

.launch-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.feature-item {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 8px;
}

.launch-select-btn {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(45deg, #7c4dff, #9c27b0);
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.launch-select-btn:hover {
  background: linear-gradient(45deg, #651fff, #8e24aa);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(124, 77, 255, 0.3);
}

.launch-select-btn.primary {
  background: linear-gradient(45deg, #ffd700, #ff6b6b);
  color: #000;
}

.launch-select-btn.primary:hover {
  background: linear-gradient(45deg, #ffed4a, #ff5252);
}

/* Launch Configuration Container */
.launch-config-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.launch-form {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(124, 77, 255, 0.3);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.form-progress {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.progress-step {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(124, 77, 255, 0.3);
  border-radius: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.progress-step.active {
  background: linear-gradient(45deg, #7c4dff, #9c27b0);
  color: #ffffff;
  border-color: rgba(124, 77, 255, 0.6);
}

.form-step {
  animation: slideInUp 0.5s ease-out;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(124, 77, 255, 0.3);
  border-radius: 12px;
  font-size: 16px;
  color: #ffffff;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(124, 77, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

.form-group small {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
}

/* Payment Selection */
.payment-selection {
  margin-bottom: 30px;
}

.payment-selection h4 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.payment-note {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.payment-option {
  position: relative;
}

.payment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.payment-option label {
  display: block;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(124, 77, 255, 0.3);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-option input[type="radio"]:checked + label {
  background: rgba(124, 77, 255, 0.2);
  border-color: rgba(124, 77, 255, 0.8);
  box-shadow: 0 0 0 2px rgba(124, 77, 255, 0.3);
}

.payment-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.payment-token {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.payment-amount {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.payment-badge {
  font-size: 12px;
  color: #7c4dff;
  background: rgba(124, 77, 255, 0.2);
  padding: 4px 8px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.payment-badge.discount {
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
  animation: discountGlow 2s ease-in-out infinite;
}

/* Price Comparison */
.price-comparison {
  margin-top: 12px;
  text-align: center;
}

.price-comparison small {
  color: #ff6b6b;
  font-weight: 600;
  font-size: 13px;
}

/* Premium Add-ons */
.premium-addons {
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
}

.premium-addons h5 {
  font-size: 16px;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 16px;
}

.addon-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.addon-option {
  position: relative;
}

.addon-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.addon-option label {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.addon-option input[type="checkbox"]:checked + label {
  background: rgba(255, 215, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.8);
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

.addon-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.addon-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* Pricing Breakdown */
.pricing-breakdown {
  margin-top: 24px;
  padding: 20px;
  background: rgba(124, 77, 255, 0.1);
  border: 1px solid rgba(124, 77, 255, 0.3);
  border-radius: 12px;
}

.cost-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.cost-item:last-child {
  border-bottom: none;
}

.cost-item.total-cost {
  font-size: 16px;
  font-weight: 700;
  color: #7c4dff;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 2px solid rgba(124, 77, 255, 0.5);
}

.cost-item.discount-item span:last-child {
  color: #2ecc71;
  font-weight: 600;
}

.cost-item.addons-cost span:last-child {
  color: #ffd700;
  font-weight: 600;
}

/* Demand Indicator */
.demand-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
  padding: 4px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 107, 107, 0.3);
  margin-left: 8px;
}

.demand-indicator.high {
  animation: demandPulse 1.5s ease-in-out infinite;
}

/* Real-time Price Updates */
.price-updating {
  animation: priceUpdate 0.5s ease-in-out;
}

/* Additional animations for pricing */
@keyframes discountGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(46, 204, 113, 0);
  }
}

@keyframes demandPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
    background: rgba(255, 107, 107, 0.2);
  }
}

@keyframes priceUpdate {
  0% {
    background: rgba(255, 215, 0, 0.3);
  }
  100% {
    background: transparent;
  }
}

/* Chain Selection */
.chain-selection {
  margin-bottom: 30px;
}

.chain-selection h4 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.chain-note {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.chain-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chain-option {
  position: relative;
}

.chain-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.chain-option label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(124, 77, 255, 0.3);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.chain-option input[type="checkbox"]:checked + label {
  background: rgba(124, 77, 255, 0.2);
  border-color: rgba(124, 77, 255, 0.8);
}

.chain-option.selected label {
  background: rgba(124, 77, 255, 0.3);
  border-color: rgba(124, 77, 255, 1);
}

.chain-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chain-icon {
  font-size: 24px;
}

.chain-name {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.chain-badge {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.chain-badge.required {
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
}

/* Review Section */
.launch-review {
  margin-bottom: 30px;
}

.launch-review h4 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
}

.review-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.review-item label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.review-item span {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.launch-benefits {
  margin-top: 20px;
  padding: 20px;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: 12px;
}

.launch-benefits h5 {
  font-size: 16px;
  font-weight: 600;
  color: #2ecc71;
  margin-bottom: 12px;
}

.launch-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.launch-benefits li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

/* Form Navigation */
.form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  gap: 20px;
}

.nav-btn {
  padding: 16px 32px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 200px;
}

.nav-btn.primary {
  background: linear-gradient(45deg, #7c4dff, #9c27b0);
  color: #ffffff;
}

.nav-btn.primary:hover {
  background: linear-gradient(45deg, #651fff, #8e24aa);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(124, 77, 255, 0.3);
}

.nav-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.nav-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.nav-btn.launch-btn {
  background: linear-gradient(45deg, #ff6b6b, #ffd700);
  color: #000;
  font-size: 18px;
  animation: launchButtonPulse 2s ease-in-out infinite;
}

/* Launch Status */
.launch-status-container {
  max-width: 600px;
  margin: 40px auto;
  padding: 40px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(124, 77, 255, 0.3);
  border-radius: 20px;
  text-align: center;
}

.status-header {
  margin-bottom: 40px;
}

.status-icon {
  font-size: 64px;
  animation: rocketLaunch 2s ease-in-out infinite;
  margin-bottom: 20px;
}

.status-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.status-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  position: relative;
}

.status-progress::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(124, 77, 255, 0.3);
  z-index: 1;
}

.status-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.step-indicator {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(124, 77, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.status-step.active .step-indicator {
  background: linear-gradient(45deg, #7c4dff, #9c27b0);
  border-color: rgba(124, 77, 255, 0.8);
  color: #ffffff;
  animation: stepPulse 1.5s ease-in-out infinite;
}

.step-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.status-details {
  margin-top: 20px;
}

#status-message {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

/* Launch Success */
.launch-success-container {
  max-width: 700px;
  margin: 40px auto;
  padding: 40px;
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.2) 0%, rgba(46, 204, 113, 0.05) 100%);
  border: 1px solid rgba(46, 204, 113, 0.5);
  border-radius: 20px;
  text-align: center;
}

.success-celebration {
  margin-bottom: 40px;
}

.success-icon {
  font-size: 80px;
  animation: celebrate 2s ease-in-out infinite;
  margin-bottom: 20px;
}

.success-title {
  font-size: 32px;
  font-weight: 700;
  color: #2ecc71;
  margin-bottom: 12px;
}

.success-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
}

.success-details {
  margin-bottom: 40px;
  text-align: left;
}

.success-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.success-item label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.success-item span {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.success-btn {
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.success-btn.primary {
  background: linear-gradient(45deg, #2ecc71, #27ae60);
  color: #ffffff;
}

.success-btn.secondary {
  background: rgba(124, 77, 255, 0.2);
  border: 1px solid rgba(124, 77, 255, 0.5);
  color: #7c4dff;
}

.success-btn.tertiary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.success-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Recent Launches */
.recent-launches-section {
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 0 20px;
}

.recent-launches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.recent-launch-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(124, 77, 255, 0.3);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
}

.recent-launch-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

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

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

@keyframes launchButtonPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
  }
}

@keyframes rocketLaunch {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) rotate(-5deg);
  }
  75% {
    transform: translateY(-5px) rotate(5deg);
  }
}

@keyframes stepPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(124, 77, 255, 0.4);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(124, 77, 255, 0);
  }
}

@keyframes celebrate {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.1) rotate(-5deg);
  }
  75% {
    transform: scale(1.1) rotate(5deg);
  }
}

/* Responsive Design for ZenLaunch */
@media (max-width: 768px) {
  .launch-options-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .launch-option-card {
    padding: 20px;
  }
  
  .launch-icon {
    font-size: 36px;
  }
  
  .launch-price {
    font-size: 18px;
  }
  
  .launch-title {
    font-size: 20px;
  }
  
  .form-progress {
    flex-direction: column;
    gap: 8px;
  }
  
  .progress-step {
    text-align: center;
  }
  
  .payment-options {
    grid-template-columns: 1fr;
  }
  
  .form-navigation {
    flex-direction: column;
  }
  
  .nav-btn {
    max-width: none;
  }
  
  .status-progress {
    flex-direction: column;
    gap: 20px;
  }
  
  .success-actions {
    gap: 12px;
  }
  
  .recent-launches-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   WHITELIST CONFIGURATION STYLES
   ============================================ */

.whitelist-configuration {
  margin-top: 20px;
  padding: 20px;
  background: rgba(124, 77, 255, 0.1);
  border: 1px solid rgba(124, 77, 255, 0.3);
  border-radius: 12px;
  animation: slideInUp 0.3s ease-out;
}

.whitelist-configuration h5 {
  font-size: 18px;
  font-weight: 600;
  color: #7c4dff;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.whitelist-configuration .form-group {
  margin-bottom: 20px;
}

.whitelist-configuration textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(124, 77, 255, 0.3);
  border-radius: 12px;
  font-size: 14px;
  font-family: 'Courier New', monospace;
  color: #ffffff;
  resize: vertical;
  min-height: 120px;
  transition: all 0.3s ease;
}

.whitelist-configuration textarea:focus {
  outline: none;
  border-color: rgba(124, 77, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

.whitelist-configuration textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

.whitelist-preview {
  margin-top: 20px;
  padding: 16px;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: 12px;
}

.whitelist-preview strong {
  font-size: 16px;
  color: #2ecc71;
  margin-bottom: 12px;
  display: block;
}

.preview-item {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 6px;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-item:last-child {
  margin-bottom: 0;
}

/* Premium Add-ons Enhanced */
.premium-addons {
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
}

.premium-addons h5 {
  font-size: 18px;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.addon-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.addon-option {
  position: relative;
}

.addon-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.addon-option label {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.addon-option input[type="checkbox"]:checked + label {
  background: rgba(255, 215, 0, 0.15);
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.addon-option label:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 215, 0, 0.4);
}

.addon-name {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.addon-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

/* Whitelist Status Indicators */
.whitelist-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(124, 77, 255, 0.2);
  border: 1px solid rgba(124, 77, 255, 0.4);
  border-radius: 8px;
  font-size: 12px;
  color: #7c4dff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.whitelist-status.active {
  background: rgba(46, 204, 113, 0.2);
  border-color: rgba(46, 204, 113, 0.4);
  color: #2ecc71;
}

.whitelist-status.ended {
  background: rgba(149, 165, 166, 0.2);
  border-color: rgba(149, 165, 166, 0.4);
  color: #95a5a6;
}

/* Launch Success Enhanced */
.success-details .whitelist-info {
  margin-top: 20px;
  padding: 16px;
  background: rgba(124, 77, 255, 0.1);
  border: 1px solid rgba(124, 77, 255, 0.3);
  border-radius: 12px;
}

.whitelist-info h5 {
  font-size: 16px;
  font-weight: 600;
  color: #7c4dff;
  margin-bottom: 12px;
}

.whitelist-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.whitelist-stat {
  text-align: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.whitelist-stat-number {
  font-size: 24px;
  font-weight: 700;
  color: #7c4dff;
  display: block;
}

.whitelist-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mobile Responsive for Whitelist */
@media (max-width: 768px) {
  .whitelist-configuration {
    padding: 16px;
  }
  
  .addon-options {
    gap: 8px;
  }
  
  .addon-option label {
    padding: 12px 16px;
  }
  
  .whitelist-stats {
    grid-template-columns: 1fr 1fr;
  }
  
  .preview-item {
    font-size: 13px;
  }
}

/* =============== RECENT LAUNCHES SECTION =============== */

.recent-launches-section {
  margin-top: 3rem;
  padding: 2rem 0;
}

.recent-launches-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.view-all-launches {
  opacity: 0.8;
}

.view-all-btn {
  background: linear-gradient(135deg, var(--icp-blue) 0%, var(--cosmic-purple) 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 167, 212, 0.3);
}

.launches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.launch-card {
  background: var(--card-surface);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.launch-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 167, 212, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Demo Badge for Mock Projects */
.demo-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(156, 39, 176, 0.2);
  color: rgba(156, 39, 176, 1);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid rgba(156, 39, 176, 0.3);
  z-index: 2;
  backdrop-filter: blur(10px);
}

.launch-card:has(.demo-badge) {
  opacity: 0.85;
}

.launch-card:has(.demo-badge):hover {
  opacity: 1;
}

/* Loading Projects */
.loading-projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: rgba(255, 255, 255, 0.7);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--icp-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Launch Card Structure for Dynamic Content */
.launch-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.token-icon {
  font-size: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.token-info h3.token-name {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: white;
}

.token-info p.token-symbol {
  margin: 4px 0 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.launch-description {
  margin-bottom: 16px;
}

.launch-description p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.4;
}

.launch-stats {
  margin-bottom: 16px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.stat-label {
  color: rgba(255, 255, 255, 0.7);
}

.stat-value {
  color: white;
  font-weight: 500;
}

.progress-container {
  margin-bottom: 16px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--icp-blue), var(--cosmic-purple));
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.launch-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.action-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-btn.primary {
  background: linear-gradient(45deg, var(--icp-blue), var(--cosmic-purple));
  color: white;
}

.action-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 167, 212, 0.3);
}

.action-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.action-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.action-btn.tertiary {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.action-btn.tertiary:hover {
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.launch-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 12px;
}

.time-remaining {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.time-label {
  color: rgba(255, 255, 255, 0.7);
}

.time-value {
  color: white;
  font-weight: 500;
}

/* Error States */
.error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.error-state p {
  margin-bottom: 16px;
  font-size: 16px;
}

.retry-btn {
  padding: 8px 16px;
  background: rgba(255, 65, 108, 0.2);
  color: #ff416c;
  border: 1px solid rgba(255, 65, 108, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.retry-btn:hover {
  background: rgba(255, 65, 108, 0.3);
  transform: translateY(-1px);
}

/* Form Close Button */
.form-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.2s ease;
  z-index: 10;
}

.form-close-btn:hover {
  background: rgba(255, 65, 108, 0.2);
  border-color: rgba(255, 65, 108, 0.4);
  color: #ff416c;
  transform: scale(1.1);
}

.form-header {
  position: relative;
}

.launch-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--icp-blue), var(--cosmic-purple), var(--neon-cyan));
}

.launch-card.live::before {
  background: linear-gradient(90deg, #ff4444, #ff6b6b, #ff8e8e);
  animation: pulse 2s infinite;
}

.launch-card.successful::before {
  background: linear-gradient(90deg, #00ff88, #00cc6a, #00aa56);
}

.launch-card.upcoming::before {
  background: linear-gradient(90deg, #ffaa00, #ffcc44, #ffdd77);
}

.launch-card.nft::before {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa, #c4b5fd);
}

.launch-card.cross-chain::before {
  background: linear-gradient(90deg, #06b6d4, #0891b2, #0e7490);
}

.launch-card.gaming::before {
  background: linear-gradient(90deg, #10b981, #059669, #047857);
}

.launch-status-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.launch-status-badge.live {
  background: rgba(255, 68, 68, 0.2);
  color: #ff6b6b;
  border: 1px solid rgba(255, 68, 68, 0.3);
}

.launch-status-badge.successful {
  background: rgba(0, 255, 136, 0.2);
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.launch-status-badge.upcoming {
  background: rgba(255, 170, 0, 0.2);
  color: #ffaa00;
  border: 1px solid rgba(255, 170, 0, 0.3);
}

.launch-status-badge.nft {
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.launch-status-badge.cross-chain {
  background: rgba(6, 182, 212, 0.2);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.launch-status-badge.gaming {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.launch-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

.token-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.token-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--stellar-white);
  margin-bottom: 4px;
}

.token-info p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
}

.launch-progress {
  margin-bottom: 1.5rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--icp-blue), var(--neon-cyan));
  border-radius: 4px;
  transition: width 0.5s ease;
}

.progress-stats {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.raised {
  color: var(--neon-cyan);
  font-weight: 600;
}

.target {
  color: rgba(255, 255, 255, 0.7);
}

.target.success {
  color: #00ff88;
  font-weight: 600;
}

.launch-details {
  margin-bottom: 1.5rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.detail-label {
  color: rgba(255, 255, 255, 0.7);
}

.detail-value {
  color: var(--stellar-white);
  font-weight: 600;
}

.detail-value.gain {
  color: #00ff88;
}

.detail-value.countdown {
  color: var(--neon-cyan);
  font-family: var(--font-mono);
}

.launch-countdown {
  margin-bottom: 1.5rem;
}

.countdown-timer {
  display: flex;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1rem;
}

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

.countdown-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--neon-cyan);
  font-family: var(--font-mono);
}

.countdown-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.chain-indicators {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}

.chain-badge {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.chain-badge.active {
  background: var(--gradient-primary);
  color: white;
}

.launch-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.launch-actions button {
  flex: 1;
  min-width: 120px;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.participate-btn, .mint-btn {
  background: linear-gradient(135deg, #00ff88, #00cc6a);
  color: white;
}

.trade-btn, .view-details-btn {
  background: var(--gradient-primary);
  color: white;
}

.notify-btn, .whitelist-btn {
  background: rgba(255, 170, 0, 0.2);
  color: #ffaa00;
  border: 1px solid rgba(255, 170, 0, 0.3);
}

.view-collection-btn, .bridge-btn, .play-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--stellar-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.launch-actions button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Launch Statistics */
.launch-stats-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 2rem;
}

.stats-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--stellar-white);
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 167, 212, 0.3);
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--neon-cyan);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 16px;
  color: var(--stellar-white);
  margin-bottom: 4px;
  font-weight: 600;
}

.stat-change {
  font-size: 12px;
  color: #00ff88;
  font-weight: 500;
}

/* Animations */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Mobile Responsive for Launches */
@media (max-width: 768px) {
  .recent-launches-section .section-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .launches-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .launch-card {
    padding: 1rem;
  }
  
  .launch-actions {
    flex-direction: column;
  }
  
  .launch-actions button {
    min-width: unset;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stat-card {
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 24px;
  }
}

/* =============== GAMING PLATFORM STYLES =============== */

/* Gaming Header */
.gaming-header {
  padding: 2rem 0;
  background: linear-gradient(135deg, rgba(0, 167, 212, 0.1) 0%, rgba(107, 70, 193, 0.1) 100%);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

.gaming-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--icp-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 167, 212, 0.1);
}

.stat-icon {
  font-size: 2.5rem;
  opacity: 0.8;
}

.stat-content {
  flex: 1;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Gaming Layout */
.gaming-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  margin-top: 2rem;
}

.featured-games {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.5rem 0 1rem 0;
}

/* Game Cards */
.game-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.game-card:hover {
  border-color: var(--icp-blue);
  box-shadow: 0 12px 30px rgba(0, 167, 212, 0.1);
}

.game-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(0, 167, 212, 0.05) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.game-icon {
  font-size: 2.5rem;
}

.game-info {
  flex: 1;
}

.game-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.game-description {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.game-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.game-stats .stat {
  font-size: 0.875rem;
  color: var(--text-muted);
  background: var(--bg-muted);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.game-status {
  display: flex;
  align-items: center;
}

.status-badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.live {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  animation: pulse 2s infinite;
}

.game-content {
  padding: 1.5rem;
}

/* ZenSlots Slot Machine */
.slot-machine {
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-surface) 100%);
  border: 2px solid var(--border-subtle);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.slot-reels {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.reel {
  width: 80px;
  height: 80px;
  background: var(--bg-surface);
  border: 3px solid var(--border-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}

.reel-symbol {
  transition: all 0.3s ease;
}

.slot-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.bet-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.bet-controls label {
  font-weight: 600;
  color: var(--text-primary);
}

.token-select, .bet-input {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

.token-select:focus, .bet-input:focus {
  outline: none;
  border-color: var(--icp-blue);
  box-shadow: 0 0 0 2px rgba(0, 167, 212, 0.1);
}

.spin-button {
  background: linear-gradient(135deg, var(--icp-blue), var(--accent-purple));
  border: none;
  border-radius: 12px;
  padding: 1rem 2rem;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 140px;
}

.spin-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 167, 212, 0.3);
}

.spin-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.button-amount {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* Game Result */
.game-result {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--bg-muted);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

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

.result-message {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.result-payout {
  font-size: 1.25rem;
  font-weight: 700;
}

.result-payout.win {
  color: #10b981;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

/* Jackpot Game */
.jackpot-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.jackpot-pool h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.pool-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: #f59e0b;
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
  margin-bottom: 1rem;
}

.pool-progress {
  margin-top: 1rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-muted);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  transition: width 0.3s ease;
  border-radius: 4px;
}

.progress-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

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

.deposit-controls h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.deposit-form {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.deposit-input {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.75rem;
  color: var(--text-primary);
  font-weight: 500;
  width: 150px;
}

.deposit-input:focus {
  outline: none;
  border-color: var(--icp-blue);
  box-shadow: 0 0 0 2px rgba(0, 167, 212, 0.1);
}

.deposit-button {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.deposit-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.deposit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Coming Soon Games */
.upcoming-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.upcoming-game {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.upcoming-game:hover {
  border-color: var(--icp-blue);
  transform: translateY(-2px);
}

.upcoming-game .game-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.upcoming-game h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.upcoming-game p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.coming-soon-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--accent-purple), #8b5cf6);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Gaming Sidebar */
.gaming-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.5rem;
}

.sidebar-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Gaming Portfolio */
.portfolio-stats {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.portfolio-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.portfolio-item:last-child {
  border-bottom: none;
}

.portfolio-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.portfolio-value {
  font-weight: 600;
  color: var(--text-primary);
}

.portfolio-value.profit {
  color: #10b981;
}

/* Recent Winners */
.winners-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.winner-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem;
  background: var(--bg-muted);
  border-radius: 8px;
}

.winner-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.winner-address {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-primary);
}

.winner-game {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.winner-amount {
  font-weight: 600;
  color: #10b981;
}

.winner-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Achievements */
.achievements-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.achievement {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--bg-muted);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.achievement.unlocked {
  border-left: 3px solid #10b981;
}

.achievement.locked {
  opacity: 0.5;
  border-left: 3px solid var(--border-subtle);
}

.achievement-icon {
  font-size: 1.5rem;
}

.achievement-info {
  flex: 1;
}

.achievement-name {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.875rem;
}

.achievement-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* Cross-Chain Info */
.chain-stats {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chain-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.chain-item:last-child {
  border-bottom: none;
}

.chain-name {
  font-size: 0.875rem;
  color: var(--text-primary);
}

.chain-volume {
  font-weight: 600;
  color: var(--text-secondary);
}

/* Gaming Responsive Design */
@media (max-width: 1024px) {
  /* Navigation adjustments for tablets */
  .nav-tabs {
    max-width: 800px;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xs);
  }
  
  .nav-item-1 { grid-row: 1; grid-column: 1; }
  .nav-item-2 { grid-row: 1; grid-column: 2; }
  .nav-item-3 { grid-row: 1; grid-column: 3; }
  .nav-item-4 { grid-row: 3; grid-column: 1; } /* Gaming */
  .nav-item-5 { grid-row: 2; grid-column: 1; } /* NFT Marketplace */
  .nav-item-6 { grid-row: 2; grid-column: 2; } /* Analytics */
  .nav-item-7 { grid-row: 2; grid-column: 3; } /* Launchpad */
  
  .nav-link {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.85rem;
  }
  
  .gaming-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .gaming-sidebar {
    order: -1;
  }
  
  .gaming-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .gaming-header {
    padding: 1.5rem 0;
  }
  
  .gaming-stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-card {
    padding: 1rem;
  }
  
  .slot-reels {
    gap: 0.5rem;
  }
  
  .reel {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
  
  .bet-controls {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .deposit-form {
    flex-direction: column;
    align-items: stretch;
  }
  
  .deposit-input {
    width: 100%;
  }
  
  .upcoming-games-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .game-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .game-stats {
    justify-content: center;
  }
  
  .slot-machine {
    padding: 1rem;
  }
  
  .spin-button {
    width: 100%;
  }
}

/* =============== ZENLAUNCH PROJECT SHOWCASE =============== */

.showcase-section {
  margin: var(--spacing-xl) 0;
  padding: var(--spacing-xl);
  background: linear-gradient(145deg, rgba(13, 13, 23, 0.6), rgba(26, 26, 46, 0.4));
  border: 1px solid rgba(0, 167, 212, 0.2);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(20px);
}

.showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.platform-stats {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 80px;
}

.stat-number {
  font-family: var(--font-orbitron);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--icp-blue);
  text-shadow: 0 0 10px rgba(0, 167, 212, 0.5);
  transition: all 0.3s ease;
}

.stat-number.animate-counter {
  animation: counterPulse 0.6s ease-out;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@keyframes counterPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); color: var(--success); }
  100% { transform: scale(1); }
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
}

.project-card {
  background: linear-gradient(145deg, rgba(26, 26, 46, 0.8), rgba(13, 13, 23, 0.9));
  border: 1px solid rgba(0, 167, 212, 0.15);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--icp-blue);
  box-shadow: 0 8px 32px rgba(0, 167, 212, 0.2);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover::before {
  opacity: 1;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.project-icon {
  font-size: 2rem;
  filter: drop-shadow(0 0 8px rgba(0, 167, 212, 0.3));
}

.project-status {
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-status.active {
  background: rgba(34, 197, 94, 0.2);
  color: var(--success);
  border: 1px solid var(--success);
}

.project-status.completed {
  background: rgba(0, 167, 212, 0.2);
  color: var(--icp-blue);
  border: 1px solid var(--icp-blue);
}

.project-status.pending {
  background: rgba(251, 191, 36, 0.2);
  color: var(--warning);
  border: 1px solid var(--warning);
}

.project-content h3 {
  font-family: var(--font-orbitron);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin: 0 0 0.25rem 0;
}

.project-symbol {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--icp-blue);
  margin: 0 0 var(--spacing-sm) 0;
  font-weight: 600;
}

.project-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0 0 var(--spacing-md) 0;
}

.project-progress {
  margin: var(--spacing-md) 0;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-bar.large {
  height: 10px;
  border-radius: 5px;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: inherit;
  transition: width 0.8s ease;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: progressShimmer 2s infinite;
}

@keyframes progressShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-text {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.meta-icon {
  opacity: 0.7;
}

.zenswap-link {
  color: var(--icp-blue);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.zenswap-link:hover {
  color: var(--success);
  text-shadow: 0 0 8px currentColor;
}

.showcase-footer {
  text-align: center;
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(0, 167, 212, 0.1);
}

.showcase-note {
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: var(--spacing-md);
}

.view-all-btn {
  padding: 0.75rem 2rem;
  background: linear-gradient(145deg, rgba(0, 167, 212, 0.1), rgba(107, 70, 193, 0.1));
  border: 1px solid var(--icp-blue);
  border-radius: var(--border-radius-md);
  color: var(--icp-blue);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.view-all-btn:hover {
  background: var(--gradient-primary);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 167, 212, 0.3);
}

.loading-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl);
  color: var(--text-secondary);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 167, 212, 0.1);
  border-top: 3px solid var(--icp-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: var(--spacing-md);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Project Modal */
.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: var(--spacing-md);
}

.modal-content {
  background: linear-gradient(145deg, rgba(26, 26, 46, 0.95), rgba(13, 13, 23, 0.95));
  border: 1px solid rgba(0, 167, 212, 0.3);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  backdrop-filter: blur(20px);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
  font-family: var(--font-orbitron);
  color: var(--text-primary);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: var(--danger);
}

.project-details {
  color: var(--text-secondary);
  line-height: 1.6;
}

.project-details p {
  margin: var(--spacing-sm) 0;
}

.project-details strong {
  color: var(--text-primary);
}

.project-details code {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.funding-details h3 {
  color: var(--text-primary);
  font-family: var(--font-orbitron);
  margin: var(--spacing-md) 0 var(--spacing-sm) 0;
}

.modal-footer {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  background: var(--gradient-primary);
  color: var(--text-primary);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 167, 212, 0.3);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

/* Enhanced ZenSwap Integration Badges */
.zenswap-integration {
  margin: var(--spacing-md) 0;
  padding: var(--spacing-sm) var(--spacing-md);
  background: linear-gradient(145deg, rgba(0, 167, 212, 0.1), rgba(107, 70, 193, 0.1));
  border: 1px solid rgba(0, 167, 212, 0.3);
  border-radius: var(--border-radius-md);
  border-left: 4px solid var(--icp-blue);
}

.integration-badge {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--icp-blue);
  display: block;
  margin-bottom: 0.25rem;
}

.integration-badge.premium {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.integration-badge.nft {
  color: var(--warning);
}

.integration-badge.bitcoin {
  color: #f7931a;
}

.integration-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

/* Enhanced Notification System */
.notification {
  position: fixed;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  background: linear-gradient(145deg, rgba(26, 26, 46, 0.95), rgba(13, 13, 23, 0.95));
  border: 1px solid rgba(0, 167, 212, 0.3);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-md);
  max-width: 400px;
  z-index: 10001;
  backdrop-filter: blur(20px);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

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

.notification.success {
  border-left: 4px solid var(--success);
}

.notification.error {
  border-left: 4px solid var(--danger);
}

.notification.info {
  border-left: 4px solid var(--icp-blue);
}

.notification-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.notification-message {
  color: var(--text-primary);
  font-size: 0.9rem;
  line-height: 1.4;
  white-space: pre-line;
}

.notification-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.notification-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: var(--danger);
}

/* Form Error States */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.field-error {
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: block;
}

/* Responsive Design for Showcase */
@media (max-width: 1024px) {
  .showcase-header {
    flex-direction: column;
    text-align: center;
  }
  
  .platform-stats {
    justify-content: center;
  }
  
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .showcase-section {
    padding: var(--spacing-lg);
  }
  
  .platform-stats {
    gap: var(--spacing-md);
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .project-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .modal-content {
    padding: var(--spacing-lg);
    margin: var(--spacing-sm);
  }
  
  .modal-footer {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .notification {
    right: var(--spacing-sm);
    left: var(--spacing-sm);
    max-width: none;
  }
  
  .project-card {
    padding: var(--spacing-md);
  }
  
  .project-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
  }
  
  .showcase-footer {
    padding: var(--spacing-md);
  }
}
