/* Modern landing page styles for PhysicsJS */
.landing-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #232526 0%, #414345 100%);
  padding: 40px 10px;
}

.landing-title {
  color: #fff;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: 1px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.simulations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  width: 100%;
  max-width: 900px;
}

.simulation-card {
  background-color: #ffffff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.1);
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
  min-height: 340px;
}

.simulation-card h2 {
  margin: 18px 0 8px 0;
  font-size: 1.4rem;
  color: #232526;
  font-weight: 600;
}
.simulation-card p {
  color: #555;
  font-size: 1rem;

  text-align: center;
}

.preview {
  width: 100%;
  max-width: 220px;
  height: 120px;
  border-radius: 12px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;

  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  position: relative;
  overflow: hidden;
}

.gravity-preview {
  background: linear-gradient(120deg, #4e54c8 0%, #8f94fb 100%);
}
.collision-preview {
  background: linear-gradient(120deg, #43cea2 0%, #185a9d 100%);
}
.wip-preview {
  background: repeating-linear-gradient(
    135deg,
    #e0e0e0 0 10px,
    #bdbdbd 10px 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 700px) {
  .simulations-grid {
    grid-template-columns: 1fr;
  }
  .landing-title {
    font-size: 2rem;
  }
}
