:root {
  --cardW: clamp(240px, 32vw, 400px);
  --cardH: clamp(160px, 22vw, 280px);
}

body {
  margin: 0;
  background: #000;
  font-family: system-ui, sans-serif;
  color: #fff;
  overflow-x: hidden;
}

.stage {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.deck {
  position: relative;
  width: var(--cardW);
  height: var(--cardH);
  transform-style: preserve-3d;
}

.card {
  position: absolute;
  width: var(--cardW);
  height: var(--cardH);
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition:
    transform 0.6s ease,
    opacity 0.4s ease,
    filter 0.4s ease,
    z-index 0s linear;
  will-change: transform, opacity, filter;
}
.card .thumb {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.card .meta {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.meta .label {
  display: block;
  font-size: 1.2em;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 
    0 0 6px rgba(0, 255, 255, 0.7),
    0 0 12px rgba(0, 255, 255, 0.5),
    1px 1px 2px rgba(0,0,0,0.6);
  margin-bottom: 6px;
}
/* ✨ Luminous glow Bekyk button */
.meta .cta {
  padding: 8px 14px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(90deg, #00f0ff, #ff00ff);
  color: #000;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(0,255,255,0.8),
              0 0 24px rgba(255,0,255,0.6),
              0 0 36px rgba(0,255,255,0.4);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.meta .cta:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(0,255,255,1),
              0 0 40px rgba(255,0,255,0.8),
              0 0 60px rgba(0,255,255,0.6);
}

.controls {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  position: relative;
  z-index: -1; /* hou pyle bo logo */
}
.controls button {
  font-size: 1.5em;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* Roterende logo onder pyle */
.logoWrap {
  margin-top: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: -1;
}
.rotatingLogo {
  width: 80px;
  height: auto;
}
/* Auth prompt */
.card.authPrompt {
  transform: scale(1.05) !important;
  z-index: 1 !important;
  filter: none !important;
  box-shadow: 0 0 25px 8px rgba(0,255,255,0.7), 0 0 50px rgba(0,255,255,0.5);
  height: auto !important;
  min-height: calc(var(--cardH) + 60px);
  overflow: visible !important;
}
.card .authBox {
  position: absolute;
  inset: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  background: rgba(0,0,0,0.85);
  box-sizing: border-box;
}
.card .authBox p { margin: 0 0 8px; text-align: center; }
.card .authBox button {
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  width: 80%;
}
.card .authBox .login { background: linear-gradient(90deg, #ff6b6b, #4ecdc4); color:#000; }
.card .authBox .register { background: linear-gradient(90deg, #4ecdc4, #ff6b6b); color:#000; }
.card .authBox .back { background: #555; color:#fff; }

/* Bekyk button styling */
.cta {
  background-color: #1c1f50;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.cta:hover {
  background-color: #b30c34;
  transform: scale(1.05);
}
