:root {
  --primary-color: #0d6efd;
  --btc-color: #f7931a;
  --bch-color: #0ac18e;
  --bsv-color: #eab300;
  --dark-bg: #1a1d2b;
  --light-bg: #f8f9fa;
  --card-bg: #ffffff;
  --text-dark: #212529;
  --text-light: #6c757d;
  --border-radius: 12px;
  --box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Price Ticker Styles */
.price-ticker {
  background-color: var(--dark-bg);
  color: white;
  padding: 12px 0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%; 
  z-index: 1000; 
}

.price-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.price-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
}

.btc-color { color: var(--btc-color); }
.bch-color { color: var(--bch-color); }
.bsv-color { color: var(--bsv-color); }

.crypto-logo {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 8px;
  object-fit: contain;
}

.price-change {
  font-size: 0.85rem;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.price-change.up {
  background-color: rgba(25, 135, 84, 0.15);
  color: #198754;
}

.price-change.down {
  background-color: rgba(220, 53, 69, 0.15);
  color: #dc3545;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, #1a1d2b 0%, #2a3045 100%);
  padding: 60px 20px;
  text-align: center;
  color: white;
}

header h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  font-weight: 700;
}

header h3 {
  font-size: 1.2rem;
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Donation Section */
.donation-section {
  padding: 80px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--text-dark);
  font-weight: 700;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

.donation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.donation-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.donation-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.donation-card .crypto-logo {
  width: 32px;
  height: 32px;
}

.crypto-address {
  background-color: var(--light-bg);
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 0.85rem;
  word-break: break-all;
  margin-bottom: 25px;
  width: 100%;
  font-family: monospace;
  position: relative;
}

.copy-btn {
  position: absolute;
  right: -15px;
  top: 8px;
  background: rgba(0,0,0,0.05);
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 0.75rem;
  transition: var(--transition);
}

.copy-btn:hover {
  background: rgba(0,0,0,0.1);
}

.qr-code {
  width: 180px;
  height: 180px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  transition: var(--transition);
  cursor: pointer;
}

.qr-code:hover {
  transform: scale(1.2);
}

.btc-card { border-top: 4px solid var(--btc-color); }
.bch-card { border-top: 4px solid var(--bch-color); }
.bsv-card { border-top: 4px solid var(--bsv-color); }

/* Footer Styles */
footer {
  background-color: var(--dark-bg);
  color: white;
  padding: 40px 20px;
  text-align: center;
}

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

.footer-links a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
}

footer p {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--text-dark);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive Styles */
@media (max-width: 992px) {
  header h1 {
      font-size: 2.2rem;
  }

  .section-header h2 {
      font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .price-container {
      gap: 15px;
  }

  header {
      padding: 40px 20px;
  }

  header h1 {
      font-size: 1.8rem;
  }

  header h3 {
      font-size: 1rem;
  }

  .donation-section {
      padding: 50px 20px;
  }

  .section-header h2 {
      font-size: 1.8rem;
  }

  .section-header p {
      font-size: 1rem;
  }

  .donation-grid {
      grid-template-columns: 1fr;
      max-width: 400px;
      margin: 40px auto;
  }
}

@media (max-width: 480px) {
  .price-ticker {
      display: none;      
  }
  
  .price-item {
      font-size: 0.85rem;
  }

  .crypto-address {
      font-size: 0.75rem;
  }

  .crypto-logo {
      width: 20px;
      height: 20px;
  }

  .donation-card .crypto-logo {
      width: 24px;
      height: 24px;
  }
}