/* static/css/sigil.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0d1117;
  color: #e0e0e0;
  line-height: 1.6;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

/* === Header === */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #30363d;
  margin-bottom: 30px;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #00c8ff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: white;
}

.main-nav a {
  margin-left: 20px;
  color: #8b949e;
  text-decoration: none;
  font-weight: 500;
}

.main-nav a.active, .main-nav a:hover {
  color: #00c8ff;
}

/* === Hero === */
.hero, .premium-hero {
  text-align: center;
  margin-bottom: 30px;
}

.hero h1, .premium-hero h1 {
  font-size: 2.2rem;
  color: #00c8ff;
  margin-bottom: 10px;
}

.subtitle, .premium-subtitle {
  color: #8b949e;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 20px;
}

/* === Filtres === */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 30px 0;
}

.filter-btn {
  background: #161b22;
  border: 1px solid #30363d;
  color: #c9d1d9;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover, .filter-btn.active {
  background: #00c8ff;
  color: white;
  border-color: #00c8ff;
}

/* === TX LIST === */
.tx-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
}

.tx-card {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.tx-card:hover {
  transform: translateY(-2px);
  border-color: #00c8ff;
}

.tx-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.tx-currency {
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: white;
}

.tx-currency.btc { background: #f7931a; }
.tx-currency.eth { background: #627eea; }
.tx-currency.bnb { background: #f3ba2f; }
.tx-currency.matic { background: #8247e5; }
.tx-currency.sol { background: #9945ff; }

.tx-value {
  font-size: 1.3rem;
  font-weight: bold;
  color: #00c8ff;
}

.tx-body {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #ddd;
}

.tx-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #888;
}

.explorer-link {
  color: #00c8ff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.explorer-link:hover {
  text-decoration: underline;
}

.tx-time {
  background: #21262d;
  padding: 4px 8px;
  border-radius: 4px;
  color: #aaa;
}

.empty {
  text-align: center;
  padding: 40px;
  color: #888;
  font-style: italic;
}

/* === Affiliation === */
.affiliation {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 20px;
  margin: 40px 0;
  font-size: 0.95rem;
}

.affiliation-title {
  font-weight: bold;
  color: #00c8ff;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.affiliation p {
  margin: 8px 0;
  color: #c9d1d9;
}

.affiliation a {
  color: #00c8ff;
  text-decoration: none;
}

.affiliation a:hover {
  text-decoration: underline;
}

/* === Premium Page === */
.premium-main {
  text-align: center;
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.feature-card {
  background: #161b22;
  padding: 20px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid #30363d;
}

.feature-card i {
  font-size: 2rem;
  color: #00c8ff;
  margin-bottom: 10px;
}

.feature-card h3 {
  color: #c9d1d9;
  margin-bottom: 10px;
}

.pricing {
  margin: 50px 0;
  text-align: center;
}

.price-card {
  display: inline-block;
  background: #161b22;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #30363d;
  max-width: 350px;
}

.price-card h2 {
  font-size: 2.5rem;
  color: #00c8ff;
  margin-bottom: 10px;
}

.price-card p {
  color: #8b949e;
  margin-bottom: 20px;
}

.price-card button {
  background: #00c8ff;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
}

.price-card button:hover {
  background: #00a8d0;
}

.small {
  color: #8b949e;
  font-size: 0.9rem;
  margin-top: 10px;
}

/* === Footer === */
footer {
  text-align: center;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #30363d;
  color: #8b949e;
  font-size: 0.9rem;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  color: #00c8ff;
  margin: 0 10px;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}


.stats-overview {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: nowrap;
}

.stat-card {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 20px;
  flex: 1;
  text-align: center;
}

.stat-card h3 {
  font-size: 1rem;
  color: #8b949e;
  margin-bottom: 8px;
  font-weight: 500;
}

.stat-card p {
  font-size: 1.4rem;
  font-weight: bold;
  color: #00c8ff;
  margin: 0;
}


@media (max-width: 768px) {
  .stats-overview {
    flex-direction: column;
    align-items: center;
  }
  .stat-card {
    width: 90%;
  }
}