.archaeological-site {
  position: relative;
  background: #2c2416;
  color: #d4c5a1;
  padding: 2rem;
  font-family: 'Courier New', monospace;
  line-height: 1.6;
  overflow: hidden;
}

/* Earth layers that fade on scroll */
.archaeological-site::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 36, 22, 0.9) 0%,
    rgba(55, 45, 30, 0.8) 20%,
    rgba(65, 52, 35, 0.7) 40%,
    rgba(75, 58, 40, 0.6) 60%,
    rgba(85, 65, 45, 0.4) 80%,
    transparent 100%
  );
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Individual content layers */
[data-depth] {
  position: relative;
  margin: 2rem 0;
  padding: 1rem;
  background: rgba(212, 197, 161, 0.05);
  border-left: 3px solid #8b7355;
  opacity: 0.3;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

[data-depth="surface"] {
  background: rgba(212, 197, 161, 0.1);
  border-left-color: #d4c5a1;
}

[data-depth="shallow"] {
  background: rgba(139, 115, 85, 0.1);
  border-left-color: #8b7355;
}

[data-depth="medium"] {
  background: rgba(101, 80, 60, 0.1);
  border-left-color: #65503c;
}

[data-depth="deep"] {
  background: rgba(75, 58, 40, 0.1);
  border-left-color: #4b3a28;
}

[data-depth="profound"] {
  background: rgba(55, 42, 30, 0.1);
  border-left-color: #372a1e;
}

[data-depth="ancient"] {
  background: rgba(35, 25, 18, 0.2);
  border-left-color: #231912;
  box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.1);
}

/* Revealed state - triggered by scroll intersection */
[data-depth].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Brush away animation for discovered content */
[data-depth].revealed::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(212, 197, 161, 0.1) 50%,
    transparent 100%
  );
  animation: brush-away 2s ease-out;
  pointer-events: none;
}

@keyframes brush-away {
  0% {
    transform: translateX(-100%);
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .archaeological-site {
    padding: 1rem;
    font-size: 0.9rem;
  }

  [data-depth] {
    margin: 1rem 0;
    padding: 0.75rem;
  }
}
