/* $solben - Save The Local Art School Memecoin Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800;900&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --bg-dark: #090a0f;
  --bg-card: rgba(18, 20, 32, 0.75);
  --bg-card-hover: rgba(28, 32, 50, 0.85);
  --border-color: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(0, 242, 254, 0.4);
  
  --primary-cyan: #00F2FE;
  --primary-magenta: #FF007A;
  --accent-yellow: #FFD700;
  --accent-purple: #9D4EDD;
  --accent-green: #10B981;
  --accent-orange: #FF6B00;
  
  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-glow: 0 0 30px rgba(0, 242, 254, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

/* Background Ambient Glow */
.ambient-glow-1 {
  position: fixed;
  top: -10%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-2 {
  position: fixed;
  bottom: 10%;
  right: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 0, 122, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

/* Utility Containers */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-magenta) 50%, var(--accent-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-magenta {
  background: linear-gradient(135deg, #FF007A 0%, #FF5252 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(9, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  transition: var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
}

.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 2px solid var(--primary-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
  object-fit: cover;
}

.nav-title {
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
  text-decoration: none;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-cyan) 0%, #00C6FF 100%);
  color: #000;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 242, 254, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-magenta {
  background: linear-gradient(135deg, var(--primary-magenta) 0%, #FF5252 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(255, 0, 122, 0.4);
}

.btn-magenta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 0, 122, 0.6);
}

/* Copy CA Badge */
.ca-badge {
  background: rgba(18, 20, 32, 0.9);
  border: 1px solid var(--border-glow);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.ca-badge:hover {
  background: rgba(28, 32, 50, 1);
  border-color: var(--primary-cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.ca-text {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--primary-cyan);
  font-weight: 600;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: rgba(18, 20, 32, 0.95);
  border: 1px solid var(--primary-cyan);
  backdrop-filter: blur(16px);
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  animation: slideInRight 0.3s ease forwards;
}

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

/* Hero Section */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 0, 122, 0.15);
  border: 1px solid var(--primary-magenta);
  color: var(--primary-magenta);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 700;
  text-transform: uppercase;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: white;
}

.stat-change {
  font-size: 0.75rem;
  color: var(--accent-green);
  font-weight: 700;
}

/* Hero Media Canvas Preview */
.hero-media-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-color);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 242, 254, 0.2);
  background: #000;
}

.hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero-media-wrapper:hover .hero-img {
  transform: scale(1.03);
}

.hero-mascot-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(9, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--primary-cyan);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-glow);
}

.mascot-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: 2px solid var(--accent-yellow);
  object-fit: cover;
}

/* Fundraiser Meter Section */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.section-tag {
  color: var(--primary-cyan);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.fundraiser-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.fundraiser-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-cyan), var(--primary-magenta), var(--accent-yellow));
}

.fundraiser-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.fundraiser-raised {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent-yellow);
  font-family: var(--font-heading);
}

.fundraiser-target {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.progress-bar-bg {
  width: 100%;
  height: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
}

.progress-bar-fill {
  height: 100%;
  width: 68%;
  background: linear-gradient(90deg, var(--primary-cyan) 0%, var(--primary-magenta) 50%, var(--accent-yellow) 100%);
  border-radius: var(--radius-full);
  position: relative;
  transition: width 1s ease-in-out;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 75%,
    transparent 75%,
    transparent
  );
  background-size: 30px 30px;
  animation: moveStripes 2s linear infinite;
}

@keyframes moveStripes {
  0% { background-position: 0 0; }
  100% { background-position: 30px 0; }
}

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

.supply-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition-normal);
}

.supply-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  border-color: var(--primary-cyan);
}

.supply-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.supply-count {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  font-family: var(--font-heading);
}

.supply-name {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Interactive Paint Studio */
.studio-wrapper {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.studio-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  background: rgba(10, 12, 20, 0.8);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.tool-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-dot {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-fast);
}

.color-dot.active {
  border-color: white;
  transform: scale(1.2);
  box-shadow: 0 0 10px currentColor;
}

.canvas-container {
  position: relative;
  width: 100%;
  height: 480px;
  background: #11131F;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px dashed var(--border-glow);
  cursor: crosshair;
}

#paintCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Gallery Section */
.gallery-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary-cyan);
  color: black;
  border-color: var(--primary-cyan);
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.art-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.art-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-cyan);
  box-shadow: 0 12px 30px rgba(0, 242, 254, 0.25);
}

.art-img-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #000;
}

.art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.art-card:hover .art-img {
  transform: scale(1.08);
}

.art-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(9, 10, 15, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-cyan);
}

.art-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.art-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.art-artist {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.art-bid-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.art-price-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 600;
}

.art-price-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-yellow);
  font-family: var(--font-heading);
}

/* Swap Simulator Widget */
.swap-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glow);
}

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

.swap-title {
  font-size: 1.3rem;
  font-weight: 800;
}

.swap-input-box {
  background: rgba(10, 12, 20, 0.9);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  transition: var(--transition-fast);
}

.swap-input-box:focus-within {
  border-color: var(--primary-cyan);
}

.swap-input-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.swap-input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  width: 60%;
  font-family: var(--font-heading);
}

.token-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid var(--border-color);
}

.swap-icon-btn {
  display: flex;
  margin: -6px auto;
  background: var(--bg-dark);
  border: 1px solid var(--primary-cyan);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary-cyan);
  z-index: 2;
  transition: var(--transition-fast);
}

.swap-icon-btn:hover {
  transform: rotate(180deg);
}

/* Tokenomics Grid */
.tokenomics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.tokenomics-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 28px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
}

.tokenomics-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-magenta);
}

.tok-percent {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 8px;
}

.tok-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.tok-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Roadmap Grid */
.roadmap-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  position: relative;
}

.roadmap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 28px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  position: relative;
}

.phase-number {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 242, 254, 0.15);
  color: var(--primary-cyan);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 14px;
  border: 1px solid var(--primary-cyan);
}

.roadmap-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.roadmap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roadmap-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.check-icon {
  color: var(--accent-green);
}

/* Footer */
.footer {
  background: rgba(5, 6, 10, 0.95);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px 0;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition-fast);
  border: 1px solid var(--border-color);
}

.social-icon:hover {
  background: var(--primary-cyan);
  color: black;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .fundraiser-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
