:root {
  --space-dark: #08080f;
  --cyber-silver: #d3d3d8;
  --font-title: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--space-dark);
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  color: #fff;
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

.holo-container {
  width: 90%;
  max-width: 950px;
  padding: 40px 0;
}

.holo-header {
  text-align: center;
  margin-bottom: 50px;
}

.nav-back {
  color: #7d7d8e;
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 0.8rem;
  letter-spacing: 2px;
  border: 1px solid #222;
  padding: 5px 12px;
  transition: color 0.2s, border-color 0.2s;
}

.nav-back:hover {
  color: #fff;
  border-color: #fff;
}

/* Chrome metal title reflections */
.holo-title {
  font-family: var(--font-title);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  margin: 20px 0 0 0;
  letter-spacing: 5px;
  text-transform: uppercase;
  background: linear-gradient(to bottom, #cfd9df 0%, #e2ebf0 40%, #88939b 50%, #b1bac0 65%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 15px rgba(255,255,255,0.15));
}

.holo-subtitle {
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: #9292a8;
  margin-top: 10px;
}

/* Holo Cards Grid */
.holo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 35px;
}

/* Holographic Reflective Cards */
.holo-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  overflow: hidden;
  padding: 35px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.05);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.holo-card:hover {
  transform: scale(1.02) rotate(var(--rot, 0deg)) !important;
  border-color: rgba(255, 255, 255, 0.35);
}

/* Shiny reflective gradient overlay */
.holo-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 154, 158, 0.25) 0%,
    rgba(254, 207, 239, 0.2) 25%,
    rgba(161, 196, 253, 0.25) 50%,
    rgba(194, 233, 251, 0.2) 75%,
    rgba(255, 154, 158, 0.25) 100%
  );
  background-size: 200% 200%;
  background-position: 0% 0%;
  mix-blend-mode: color-dodge;
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
  transition: background-position 0.1s ease;
}

.card-content {
  position: relative;
  z-index: 2;
}

.card-star {
  font-size: 2rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255,255,255,0.4);
}

.holo-card h2 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  margin-top: 0;
  color: #fff;
  letter-spacing: 1px;
}

.holo-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #b0b0bc;
}
