body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.55)), url('../afbeelding/padelkooi2.jpg');
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', sans-serif;
}

/* De Glassmorphism Kast */
.kast-container {
    width: 90%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.2); /* Semi-transparant */
    backdrop-filter: blur(15px); /* Het "glas" effect */
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* De Planken (Subtiele houten look in glasstijl) */
.plank {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3); /* Subtiele plank lijn */
    padding: 30px 0;
    margin-bottom: 20px;
    position: relative;
}

/* Plank schaduw voor diepte */
.plank::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 51, 102, 0.1);
}

.trofee-item {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    padding: 10px;
}

.trofee-item:hover { transform: scale(1.2); }

.trofee-item img { 
    height: 100px; 
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.3));
}

/* Modal Glass-style */
.modal-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid white;
    border-radius: 20px;
    padding: 40px;
    width: 80%; max-width: 400px;
    text-align: center;
    color: #003366;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.close { color: #003366; font-size: 40px; }

.back-wrapper {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.back-btn {
    background: linear-gradient(135deg, #003366, #7EC8FF);
    border: 2px solid white;
    color: white;
    padding: 10px 25px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(0,51,102,0.35);
    backdrop-filter: blur(5px);
    transition: 0.3s ease;
    display: inline-block;
}

.back-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,51,102,0.55);
}

.trofee-card {
  text-align: center;
  margin: 20px;
}

.trofee-img {
  width: 180px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.trofee-img:hover {
  transform: scale(1.05);
}

.trofee-popup {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.98) 0%, rgba(240,240,240,0.95) 100%);
  text-align: center;
  padding-top: 60px;
  animation: fadeIn 0.4s ease;
  box-shadow: inset 0 0 80px rgba(0,0,0,0.15);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.trofee-popup-img {
  width: 340px;
  max-width: 90%;
  margin-bottom: 25px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  background: #fff;
  padding: 12px;
  border: 3px solid rgba(255,215,0,0.6);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  transition: 0.3s ease;
}

.close-btn:hover {
  color: #d4af37;
  transform: scale(1.1);
}

.wedstrijden {
  font-size: 1rem;
  color: #222;
  background: linear-gradient(135deg, #f9f9f9, #eaeaea);
  display: inline-block;
  padding: 18px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  border: 1px solid rgba(0,0,0,0.1);
}
