:root {
  --bg: #e6e2df;
  --fg: #1a1a1a;
  --fg-dim: #706d6a;
  --white: #ffffff;
  --accent: #a59e98;
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--grain);
  opacity: 0.06;
  pointer-events: none;
  z-index: 9999;
}

header {
  padding: 40px 8vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  z-index: 10;
}

.logo-text {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-link {
  text-decoration: none;
  color: var(--fg);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  opacity: 0.5;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 120px;
}

.brand-section {
  margin: 60px 0 100px;
  text-align: center;
  width: 100%;
}

.label-top {
  font-size: 14px;
  color: var(--fg-dim);
  margin-bottom: 60px;
  letter-spacing: -0.01em;
}

.cinematic-window {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d2cdc9;
}

.cinematic-window img,
.cinematic-window video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.1) brightness(0.9);
  transform: scale(1.1);
  transition: transform 0.16s linear;
}

.brand-name {
  margin-top: 60px;
  font-size: 20px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.charity-container {
  width: 100%;
  max-width: 1200px;
  padding: 0 8vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.charity-card {
  border-top: 0.5px solid rgba(0, 0, 0, 0.1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.card-index {
  font-size: 10px;
  font-weight: 600;
  color: var(--fg-dim);
  font-family: monospace;
}

.live-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #3b7a57;
}

.status-dot {
  width: 4px;
  height: 4px;
  background: #3b7a57;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.charity-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  max-width: 220px;
  min-height: 42px;
}

.data-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.data-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  font-weight: 600;
}

.data-value {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.04em;
  font-feature-settings: "tnum" on, "lnum" on;
}

.sol-ticker {
  font-size: 14px;
  color: var(--accent);
  margin-left: 4px;
}

.usd-value {
  font-size: 13px;
  color: var(--fg-dim);
  letter-spacing: 0;
}

@media (max-width: 1024px) {
  .charity-container {
    grid-template-columns: 1fr;
    gap: 80px;
  }
}

@media (max-width: 600px) {
  .nav-links {
    gap: 20px;
  }

  .brand-name {
    margin-top: 40px;
  }

  .label-top {
    margin-bottom: 40px;
  }

  .cinematic-window {
    height: 240px;
  }

}
