@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Archivo:wght@600;700&display=swap");

/* Algemene opmaak */
body {
  font-family: Arial, sans-serif;
  background-color: #f0f4f8;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

/* Alles staat in een gecentreerde kaart */
.container {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 40px;
  text-align: center;
  max-width: 420px;
  width: 100%;
}

h1 {
  color: #2d3748;
  margin-bottom: 24px;
  font-size: 1.8rem;
}

/* De drie keuze-knoppen */
.knoppen {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.knoppen button {
  background-color: #4a90e2;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.knoppen button:hover {
  background-color: #357abd;
  transform: scale(1.05);
}

.knoppen button:active {
  transform: scale(0.97);
}

/* Het uitslag-blok */
.uitslag {
  background-color: #f7fafc;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  font-size: 1rem;
  color: #4a5568;
}

.uitslag p {
  margin: 6px 0;
}

/* De uitslag-tekst: gekleurd op basis van resultaat */
.resultaat {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 12px !important;
  color: #2d3748;
}

.resultaat.gewonnen {
  color: #38a169; /* groen */
}

.resultaat.verloren {
  color: #e53e3e; /* rood */
}

.resultaat.gelijk {
  color: #d69e2e; /* geel */
}

/* Scorebord */
.score {
  display: flex;
  justify-content: center;
  gap: 40px;
  font-size: 1.1rem;
  color: #2d3748;
  margin-bottom: 20px;
}

/* Resetknop */
.reset {
  background-color: #e2e8f0;
  color: #4a5568;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.reset:hover {
  background-color: #cbd5e0;
}

.made-by {
  margin-top: 18px;
  font-size: 0.9rem;
  color: #888;
}

/* Homepagina moet niet de flex-layout van de game erven */
body.home {
  display: block;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(33, 89, 156, 0.22), transparent 42%),
    radial-gradient(circle at 90% 10%, rgba(22, 166, 186, 0.18), transparent 36%),
    #091425;
  color: #eff5ff;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.home .hero {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
  padding: 28px 0 36px;
  box-sizing: border-box;
}

.home .hero-top {
  width: min(1200px, 91vw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, rgba(12, 26, 45, 0.75), rgba(15, 48, 83, 0.44));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  border-radius: 18px;
  animation: rise-in 850ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.home .hero-content {
  max-width: 680px;
}

.home .hero-logo-link {
  display: inline-block;
  line-height: 0;
}

.home .hero-logo {
  height: clamp(80px, 11vw, 140px);
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}

.home .hero h1 {
  margin: 0;
  color: #f3f8ff;
  font-family: "Archivo", "Trebuchet MS", sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 3.3rem);
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

.home .subtitle {
  margin: 12px 0 0;
  color: #cfe3ff;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
}

.home .hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.home .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #f5fbff;
  background: linear-gradient(130deg, #0f7fd8, #10b3c6);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(15, 145, 200, 0.35);
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.home .cta-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 36px rgba(16, 178, 198, 0.42);
  filter: saturate(1.12);
}

.home .cta-button.secondary {
  background: linear-gradient(130deg, #1a3050, #2e5e8b);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 24px rgba(7, 38, 68, 0.42);
}

.home .hero-media {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.33);
  min-height: clamp(360px, 64vh, 760px);
  animation: hero-slam 1200ms cubic-bezier(0.16, 1, 0.3, 1) 90ms both;
}

.home .hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(3, 11, 19, 0.2) 0%, rgba(3, 11, 19, 0.54) 100%),
    url("hero-bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.08);
  animation: ken-burns 16s ease-in-out infinite alternate;
}

.home .hero-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: min(480px, 55vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 219, 255, 0.34), transparent 68%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: glow-drift 8s ease-in-out infinite alternate;
}

.home .scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 40px;
  height: 64px;
  border-radius: 999px;
  border: 2px solid rgba(239, 245, 255, 0.8);
  display: grid;
  place-items: center;
  text-decoration: none;
  backdrop-filter: blur(2px);
  z-index: 2;
}

.home .scroll-indicator span {
  width: 7px;
  height: 14px;
  border-radius: 999px;
  background: #eff5ff;
  animation: scroll-dot 1.7s ease-in-out infinite;
}

.home-main {
  width: min(1100px, 92vw);
  margin: 0 auto 48px;
}

.home .coming-soon {
  margin-top: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(140deg, rgba(13, 35, 59, 0.88), rgba(11, 21, 40, 0.78));
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.27);
  padding: clamp(20px, 3vw, 34px);
  animation: rise-in 900ms ease-out 220ms both;
}

.home .coming-soon h2 {
  margin: 0;
  font-family: "Archivo", "Trebuchet MS", sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  color: #f3f8ff;
}

.home .coming-soon p {
  margin: 12px 0 0;
  color: #c0d6f4;
  max-width: 70ch;
  line-height: 1.65;
}

.home .reviews-section {
  margin-top: 22px;
  padding: clamp(22px, 3.2vw, 36px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at top right, rgba(29, 178, 193, 0.16), transparent 26%),
    linear-gradient(145deg, rgba(10, 28, 48, 0.94), rgba(8, 17, 34, 0.88));
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.27);
  animation: rise-in 980ms ease-out 280ms both;
}

.home .section-heading {
  max-width: 70ch;
}

.home .section-kicker {
  margin: 0 0 10px;
  color: #71e6f4;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
}

.home .reviews-section h2 {
  margin: 0;
  font-family: "Archivo", "Trebuchet MS", sans-serif;
  font-size: clamp(1.45rem, 2.3vw, 2.2rem);
  color: #f3f8ff;
}

.home .reviews-section h3 {
  margin: 0;
  color: #f3f8ff;
  font-size: 1.12rem;
}

.home .reviews-section p {
  color: #c0d6f4;
  line-height: 1.7;
}

.home .reviews-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.home .review-form,
.home .reviews-panel {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 16, 31, 0.62);
  padding: 18px;
}

.home .review-form {
  display: grid;
  gap: 10px;
  align-content: start;
}

.home .review-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.home .review-form label {
  color: #e7f2ff;
  font-weight: 700;
  font-size: 0.95rem;
}

.home .review-form input,
.home .review-form select,
.home .review-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(180, 214, 255, 0.2);
  border-radius: 12px;
  background: rgba(12, 28, 48, 0.92);
  color: #f5fbff;
  padding: 12px 14px;
  font: inherit;
}

.home .review-form textarea {
  resize: vertical;
  min-height: 132px;
}

.home .review-form input::placeholder,
.home .review-form textarea::placeholder {
  color: #8ba7c8;
}

.home .review-form input:focus,
.home .review-form select:focus,
.home .review-form textarea:focus {
  outline: 2px solid rgba(96, 228, 246, 0.35);
  border-color: rgba(96, 228, 246, 0.45);
}

.home .form-status {
  min-height: 24px;
  margin: 2px 0 0;
  font-size: 0.95rem;
}

.home .form-status--info {
  color: #90dff0;
}

.home .form-status--success {
  color: #8df0b0;
}

.home .form-status--error {
  color: #ff9d9d;
}

.home .reviews-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 16px;
}

.home .reviews-panel-top p {
  margin: 0;
  max-width: 30ch;
}

.home .review-list {
  display: grid;
  gap: 14px;
}

.home .review-card {
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(145deg, rgba(19, 43, 70, 0.95), rgba(10, 24, 43, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.home .review-card--empty {
  text-align: center;
}

.home .review-card--empty p {
  margin: 0;
}

.home .review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.home .review-card strong {
  color: #f3f8ff;
  font-size: 1rem;
}

.home .review-card p {
  margin: 0;
}

.home .review-card time {
  display: inline-block;
  margin-top: 12px;
  color: #87a6ca;
  font-size: 0.88rem;
}

.home .review-rating {
  color: #ffd56a;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-hero {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0 round 24px);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0 round 24px);
  }
}

@keyframes hero-slam {
  0% {
    opacity: 0;
    transform: translateY(90px) scale(1.08);
    filter: saturate(0.7) contrast(0.9);
  }
  55% {
    opacity: 1;
    transform: translateY(-8px) scale(1.01);
    filter: saturate(1.15) contrast(1.03);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: saturate(1) contrast(1);
  }
}

@keyframes ken-burns {
  from {
    transform: scale(1.03) translateY(0);
  }
  to {
    transform: scale(1.12) translateY(-1.5%);
  }
}

@keyframes glow-drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-4%, 8%) scale(1.12);
  }
}

@keyframes scroll-dot {
  0% {
    transform: translateY(-8px);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}

@media (max-width: 760px) {
  .home .hero {
    padding: 16px 0 24px;
    gap: 16px;
  }

  .home .hero-top {
    width: 92vw;
    flex-direction: column;
    align-items: flex-start;
  }

  .home .hero-actions {
    width: 100%;
  }

  .home .cta-button {
    width: 100%;
  }

  .home .hero-media {
    min-height: 62vh;
  }

  .home .reviews-layout {
    grid-template-columns: 1fr;
  }

  .home .reviews-panel-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Beheerpagina ──────────────────────────────────────── */
body.admin {
  display: block;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(33, 89, 156, 0.22), transparent 42%),
    #091425;
  color: #eff5ff;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

/* Inlogscherm */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.admin-login-card {
  width: min(420px, 100%);
  padding: clamp(24px, 4vw, 42px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(145deg, rgba(13, 35, 59, 0.92), rgba(10, 22, 42, 0.88));
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.4);
  animation: rise-in 700ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.admin-login-card h1 {
  margin: 0 0 8px;
  color: #f3f8ff;
  font-family: "Archivo", "Trebuchet MS", sans-serif;
  font-size: 1.9rem;
}

.admin-login-card p {
  margin: 0 0 24px;
  color: #c0d6f4;
}

.admin-login-card form {
  display: grid;
  gap: 10px;
}

.admin-login-card label {
  color: #e7f2ff;
  font-weight: 700;
  font-size: 0.95rem;
}

.admin-login-card input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(180, 214, 255, 0.2);
  border-radius: 12px;
  background: rgba(12, 28, 48, 0.92);
  color: #f5fbff;
  padding: 12px 14px;
  font: inherit;
}

.admin-login-card input:focus {
  outline: 2px solid rgba(96, 228, 246, 0.35);
  border-color: rgba(96, 228, 246, 0.45);
}

.admin-login-card button[type="submit"] {
  margin-top: 6px;
  padding: 13px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(130deg, #0f7fd8, #10b3c6);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: filter 200ms ease, transform 200ms ease;
}

.admin-login-card button[type="submit"]:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.admin-status {
  min-height: 22px;
  font-size: 0.92rem;
}

.admin-status--info   { color: #90dff0; }
.admin-status--success { color: #8df0b0; }
.admin-status--error  { color: #ff9d9d; }

/* Beheerpaneel */
.admin-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 14, 28, 0.88);
  backdrop-filter: blur(8px);
}

.admin-header-inner {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.admin-header h1 {
  margin: 0;
  color: #f3f8ff;
  font-family: "Archivo", "Trebuchet MS", sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
}

.admin-user {
  margin: 4px 0 0;
  color: #87a6ca;
  font-size: 0.88rem;
}

.admin-header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Knoppen */
.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: none;
  border-radius: 10px;
  padding: 9px 16px;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: filter 180ms ease, transform 180ms ease;
}

.admin-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.admin-btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #dce9fc;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.admin-btn--approve {
  background: linear-gradient(130deg, #1a7a45, #22a05a);
  color: #fff;
}

.admin-btn--reject {
  background: linear-gradient(130deg, #5a3a0a, #8a5e10);
  color: #ffe8a0;
}

.admin-btn--delete {
  background: linear-gradient(130deg, #7a1a1a, #a02020);
  color: #fff;
}

/* Tabs */
.admin-main {
  width: min(1100px, 92vw);
  margin: 28px auto 48px;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.admin-tab {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #c0d6f4;
  font: inherit;
  font-size: 0.95rem;
  padding: 10px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 180ms ease, color 180ms ease;
}

.admin-tab--active {
  background: linear-gradient(130deg, #0f7fd8, #10b3c6);
  color: #fff;
  border-color: transparent;
}

.admin-badge {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 0.82rem;
  font-weight: 700;
}

/* Recensielijst */
.admin-reviews {
  display: grid;
  gap: 14px;
}

.admin-loading,
.admin-leeg,
.admin-error {
  color: #87a6ca;
  padding: 24px 0;
  text-align: center;
}

.admin-error { color: #ff9d9d; }

.admin-review-card {
  border-radius: 18px;
  padding: clamp(16px, 2.5vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(13, 35, 59, 0.92), rgba(10, 22, 42, 0.88));
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  animation: rise-in 400ms ease both;
}

.admin-review-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.admin-review-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.admin-review-meta strong {
  color: #f3f8ff;
  font-size: 1rem;
}

.admin-review-datum {
  color: #87a6ca;
  font-size: 0.84rem;
}

.admin-review-rating {
  color: #ffd56a;
  font-size: 1.1rem;
  white-space: nowrap;
}

.admin-review-bericht {
  margin: 0 0 14px;
  color: #c0d6f4;
  line-height: 1.65;
}

.admin-review-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .admin-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-review-top {
    flex-direction: column;
  }
}

/* Game pagina in dezelfde stijl als home */
body.game {
  display: block;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(20, 100, 170, 0.28), transparent 44%),
    radial-gradient(circle at 85% 15%, rgba(16, 188, 206, 0.24), transparent 38%),
    #091425;
  color: #eff5ff;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.game-main {
  width: min(1100px, 92vw);
  margin: 30px auto 48px;
}

.game-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(12, 26, 45, 0.75), rgba(15, 48, 83, 0.44));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  animation: rise-in 700ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.game-top h1 {
  margin: 0;
  color: #f3f8ff;
  font-family: "Archivo", "Trebuchet MS", sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
}

.game-subtitle {
  margin: 8px 0 0;
  color: #cfe3ff;
}

.back-home {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #f5fbff;
  background: linear-gradient(130deg, #0f7fd8, #10b3c6);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(15, 145, 200, 0.35);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.back-home:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(16, 178, 198, 0.42);
}

.game .game-card {
  max-width: none;
  width: 100%;
  box-sizing: border-box;
  padding: clamp(20px, 3.5vw, 38px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(145deg, rgba(13, 35, 59, 0.88), rgba(11, 21, 40, 0.78));
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.32);
  color: #dce9fc;
  animation: hero-slam 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.game .knoppen {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.game .knoppen button {
  background: linear-gradient(125deg, #1479d3, #1a9ed4);
  color: #f4fbff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 1.02rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(8, 79, 143, 0.33);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.game .knoppen button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(10, 108, 179, 0.4);
  filter: saturate(1.1);
}

.handen {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.hand-blok {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 15, 29, 0.45);
  padding: 14px;
}

.hand-label {
  color: #aac5e9;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.hand {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1;
  min-height: 56px;
}

.hand.computer {
  transform: scaleX(-1);
}

.schudden {
  animation: hand-shake 340ms linear 0s 3;
}

@keyframes hand-shake {
  0% { transform: translateX(0) rotate(0deg); }
  25% { transform: translateX(-5px) rotate(-8deg); }
  50% { transform: translateX(5px) rotate(8deg); }
  75% { transform: translateX(-5px) rotate(-8deg); }
  100% { transform: translateX(0) rotate(0deg); }
}

.game .hand.computer.schudden {
  animation: hand-shake-computer 340ms linear 0s 3;
}

@keyframes hand-shake-computer {
  0% { transform: scaleX(-1) translateX(0) rotate(0deg); }
  25% { transform: scaleX(-1) translateX(-5px) rotate(-8deg); }
  50% { transform: scaleX(-1) translateX(5px) rotate(8deg); }
  75% { transform: scaleX(-1) translateX(-5px) rotate(-8deg); }
  100% { transform: scaleX(-1) translateX(0) rotate(0deg); }
}

.game .uitslag {
  background: rgba(8, 22, 40, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
  color: #cfe3ff;
}

.game .resultaat {
  color: #eff5ff;
}

.game .score {
  color: #e7f1ff;
  margin-bottom: 18px;
}

.game .reset {
  background: linear-gradient(125deg, #1b304d, #22486f);
  color: #eaf4ff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 11px 20px;
}

.game .reset:hover {
  background: linear-gradient(125deg, #22446a, #2b5d90);
}

.game-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.game .back-home.secondary {
  padding: 11px 20px;
  background: linear-gradient(125deg, #18344f, #24557a);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 24px rgba(10, 50, 85, 0.35);
}

.game .back-home.secondary:hover {
  box-shadow: 0 14px 32px rgba(19, 86, 138, 0.42);
}

body.game::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 0;
}

body.game.game-win::before {
  background: radial-gradient(circle at 50% 35%, rgba(56, 194, 124, 0.25), transparent 62%);
  animation: result-pulse 760ms ease-out;
}

body.game.game-lose::before {
  background: radial-gradient(circle at 50% 35%, rgba(236, 89, 89, 0.25), transparent 62%);
  animation: result-pulse 760ms ease-out;
}

body.game.game-draw::before {
  background: radial-gradient(circle at 50% 35%, rgba(245, 196, 84, 0.2), transparent 62%);
  animation: result-pulse 760ms ease-out;
}

@keyframes result-pulse {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  35% {
    opacity: 1;
    transform: scale(1.02);
  }
  100% {
    opacity: 0;
    transform: scale(1.04);
  }
}

.game .made-by {
  color: #8fb0d8;
}

body.loaded .game-top,
body.loaded .game-card {
  will-change: transform, opacity;
}

@media (max-width: 760px) {
  .game-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .game .knoppen {
    grid-template-columns: 1fr;
  }

  .handen {
    grid-template-columns: 1fr;
  }

  .game-actions {
    flex-direction: column;
  }
}


