/* Unstable Coin (USC) Styles v18.2 Clean */
/* CSS Reset & Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary-color: #1a73e8;
  --secondary-color: #34a853;
  --accent-color: #ea4335;
  --warning-color: #fbbc04;
  --positive-color: #34a853;
  --negative-color: #ea4335;
  --text-primary: #202124;
  --text-secondary: #5f6368;
  --text-tertiary: #9aa0a6;
  --surface: #ffffff;
  --surface-variant: #f8f9fa;
  --surface-hover: #f1f3f4;
  --border-color: #e8eaed;
  --shadow-1: 0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
  --shadow-2: 0 1px 2px 0 rgba(60,64,67,.3), 0 2px 6px 2px rgba(60,64,67,.15);
  --shadow-3: 0 4px 8px 3px rgba(60,64,67,.15), 0 1px 3px 0 rgba(60,64,67,.3);
  --gradient-primary: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
  --gradient-secondary: linear-gradient(135deg, #34a853 0%, #137333 100%);
  --gradient-accent: linear-gradient(135deg, #ea4335 0%, #fbbc04 100%);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-mono { font-family: 'JetBrains Mono', monospace; }

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 1rem 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.375rem;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.logo-section:hover {
  transform: scale(1.02);
}

.logo-image {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: var(--shadow-2);
  transition: all 0.3s ease;
}

.logo-image:hover {
  box-shadow: var(--shadow-3);
  transform: rotate(5deg);
}

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

.nav-item {
  padding: 0.625rem 1rem;
  border-radius: 24px;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.nav-item.active {
  background: var(--surface-variant);
  color: var(--text-primary);
}

.nav-item:hover:not(.active) {
  background: var(--surface-hover);
  color: var(--text-primary);
}

/* Social Media Icons */
.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-left: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--surface-variant);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

/* Language Switcher */
.language-switcher {
  position: relative;
  display: inline-block;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--surface-variant);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.lang-btn:hover {
  background: var(--surface-hover);
}

.lang-icon {
  font-size: 1rem;
}

.lang-current {
  font-weight: 600;
  color: var(--primary-color);
}

.lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-2);
  min-width: 120px;
  z-index: 1000;
}

.lang-dropdown.show {
  display: block;
}

.lang-option {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: background 0.2s ease;
  font-size: 0.875rem;
}

.lang-option:hover {
  background: var(--surface-hover);
}

.lang-option.active {
  background: var(--primary-color);
  color: white;
}

.lang-option:first-child {
  border-radius: 12px 12px 0 0;
}

.lang-option:last-child {
  border-radius: 0 0 12px 12px;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.hero-content {
  max-width: 800px;
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.btn-secondary {
  padding: 0.875rem 2rem;
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--text-secondary);
}

.btn-icon {
  width: 1rem;
  height: 1rem;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.floating-1 {
  width: 200px;
  height: 200px;
  background: var(--gradient-primary);
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-2 {
  width: 150px;
  height: 150px;
  background: var(--gradient-secondary);
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-3 {
  width: 100px;
  height: 100px;
  background: var(--gradient-accent);
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

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

/* Section Styles */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  margin: 2rem auto 0;
}

/* Manifesto Section */
.manifesto-section {
  padding: 8rem 0;
  background: var(--surface-variant);
}

.manifesto-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.manifesto-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
}

.manifesto-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.manifesto-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.manifesto-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Mechanism Section */
.mechanism-section {
  padding: 8rem 0;
}

.mechanism-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.mechanism-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-1);
}

.mechanism-card h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

/* Notice Section (Live Prices) */
.notice-section {
  padding: 8rem 0;
  background: var(--surface-variant);
}

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

.coin-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.coin-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.coin-index {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2rem;
  height: 2rem;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.coin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}

.coin-info {
  text-align: left;
  flex: 1;
  margin-left: 3rem;
}

.coin-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.coin-ticker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.coin-change {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  white-space: nowrap;
}

.coin-change.positive {
  background: rgba(52, 168, 83, 0.1);
  color: var(--positive-color);
}

.coin-change.negative {
  background: rgba(234, 67, 53, 0.1);
  color: var(--negative-color);
}

.coin-change.neutral {
  background: var(--surface-variant);
  color: var(--text-tertiary);
}

.coin-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.coin-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
}

.coin-market-cap {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.update-info {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.update-text, .update-source {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

/* Error State */
.error-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--surface);
  border: 1px solid rgba(234, 67, 53, 0.2);
  border-radius: 16px;
  box-shadow: var(--shadow-1);
}

.error-state h2 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.error-state p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Loading Spinner */
.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  gap: 1rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--surface-variant);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: white;
}

.footer-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* ===== Team Page Styles ===== */
.team-section {
  padding: 8rem 0;
  background: var(--surface);
}

.team-header {
  text-align: center;
  margin-bottom: 4rem;
}

.team-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.team-subtitle {
  font-size: 1.375rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 500;
}

.team-content {
  max-width: 1000px;
  margin: 0 auto;
}

.team-intro {
  background: var(--surface-variant);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 4rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-1);
}

.team-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-primary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.team-recruiting {
  margin-bottom: 4rem;
}

.recruiting-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

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

.requirement-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.requirement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--primary-color);
}

.requirement-card:nth-child(1):hover {
  border-color: var(--primary-color);
}

.requirement-card:nth-child(2):hover {
  border-color: var(--secondary-color);
}

.requirement-card:nth-child(3):hover {
  border-color: var(--accent-color);
}

.requirement-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.requirement-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.requirement-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.team-call-to-action {
  background: var(--surface-variant);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-1);
}

.cta-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-section {
  max-width: 500px;
  margin: 0 auto;
}

.contact-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.email-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-1);
  transition: all 0.2s ease;
}

.email-container:hover {
  box-shadow: var(--shadow-2);
  border-color: var(--primary-color);
}

.email-label {
  font-size: 1.25rem;
}

.email-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.125rem;
  font-family: 'JetBrains Mono', monospace;
  transition: color 0.2s ease;
}

.email-link:hover {
  color: var(--text-primary);
}

/* Team page responsive design */
@media (max-width: 768px) {
  .header-container { padding: 0 1rem; }
  .section-container { padding: 0 1rem; }
  .hero-content { padding: 1rem; }
  .hero-title { font-size: 2.5rem; }
  .mechanism-grid { grid-template-columns: 1fr; }
  .manifesto-content { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .nav-menu { gap: 0.25rem; }
  .nav-item { padding: 0.5rem 0.75rem; font-size: 0.875rem; }
  .coins-grid { grid-template-columns: 1fr; }
  .update-info { flex-direction: column; gap: 0.5rem; }
  .logo-image { width: 48px; height: 48px; }
  .logo-section { font-size: 1.25rem; }
  
  .coin-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .coin-info {
    margin-left: 3rem;
    margin-top: 0;
  }
  
  .coin-change {
    align-self: flex-end;
  }
  
  /* Mobile Social Icons */
  .social-icons {
    margin-left: 0.5rem;
    gap: 0.5rem;
  }
  
  .social-icon {
    width: 32px;
    height: 32px;
  }
  
  .social-icon svg {
    width: 16px;
    height: 16px;
  }
  
  /* Mobile Language Switcher */
  .lang-btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }
  
  .lang-text {
    display: none;
  }
  
  /* Team page responsive styles */
  .team-section {
    padding: 4rem 0;
  }
  
  .team-header {
    margin-bottom: 3rem;
  }
  
  .team-title {
    font-size: 2.5rem;
  }
  
  .team-subtitle {
    font-size: 1.125rem;
  }
  
  .team-intro {
    padding: 2rem;
    margin-bottom: 3rem;
  }
  
  .team-description {
    font-size: 1rem;
  }
  
  .recruiting-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .requirements-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .requirement-card {
    padding: 1.5rem;
  }
  
  .team-call-to-action {
    padding: 2rem;
    border-radius: 16px;
  }
  
  .cta-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .contact-title {
    font-size: 1.25rem;
  }
  
  .email-container {
    padding: 0.875rem 1.25rem;
  }
  
  .email-link {
    font-size: 1rem;
  }
  
  .contact-info {
    gap: 1.25rem;
  }
}

/* Copy Button Styles */
.copy-button {
  transition: all 0.2s ease;
}

.copy-button:hover {
  background: #1557b0 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(26, 115, 232, 0.3);
}

.copy-button:active {
  transform: translateY(0);
}

.copy-success {
  background: #34a853 !important;
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}