/* Base */
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at top, #1c2a38, #05080d);
  color: white;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* Layout */
.container {
  max-width: 900px;
  text-align: center;
}

/* Liquid Glass */
.glass {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

/* Cards */
.card {
  padding: 24px;
  margin: 24px;
}

/* 3D object image */
#model {
  width: 260px;
  height: 260px;
  margin: 60px auto;
  display: block;

  image-rendering: pixelated;
  image-rendering: crisp-edges;

  transform-style: preserve-3d;
  will-change: transform, filter;

  /* Fake depth + volume */
  filter:
    drop-shadow(200px 30px 40px rgba(0, 0, 0, 0.6))
    drop-shadow(200px 20px 20px rgba(255, 255, 255, 0.08));

  transition:
    transform 0.08s linear,
    filter 0.08s linear;
}

/* Scene depth */
body {
  perspective: 12000px;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* Pixel-perfect rendering */
  image-rendering: pixelated;
  image-rendering: crisp-edges;

  border-radius: 18px;
  transform-style: preserve-3d;
  transition: transform 0.1s linear;

  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.6);
}

/* Links */
a {
  color: #9fdcff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Floating */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
  100% { transform: translateY(0); }
}

.float {
  animation: float 6s ease-in-out infinite;
}

.float.slow { animation-duration: 8s; }
.float.fast { animation-duration: 4.5s; }

/* Lists */
ul {
  list-style: none;
  padding: 0;
}

li {
  margin: 8px 0;
}
