:root{
  --bg:#071d22;
  --card:rgba(255,255,255,0.06);
  --card-border:rgba(255,255,255,0.08);
  --accent:#00b4ff;
  --accent-hover:#52cbff;
  --text:#ffffff;
  --muted:#9ec7d3;
}

*{
  box-sizing:border-box;
}

html,
body{
  margin:0;
  padding:0;
  min-height:100%;
  background:#071d22;
}

body{
  color:var(--text);
  font-family:Inter, Arial, sans-serif;
  overflow-x:hidden;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;

  background:
    radial-gradient(
      circle at top,
      #0e3b45 0%,
      #071d22 65%
    );
}

/* PAGINA */

.page{
  width:100%;
  max-width:560px;

  margin:0 auto;

  padding:24px 16px 40px;

  display:flex;
  flex-direction:column;
  align-items:center;
}

/* LOGO */

.logo-img{
  display:block;

  width:240px;

  margin:0 auto 24px;

  border-radius:18px;

  box-shadow:
    0 10px 30px
    rgba(0,0,0,0.35);
}

/* MENU - NIET FIXED */

.menu{
  width:100%;
  max-width:360px;

  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;

  margin:0 auto 26px;

  padding:8px;

  background:#071d22;
  border:1px solid var(--card-border);
  border-radius:18px;

  box-shadow:
    0 10px 30px
    rgba(0,0,0,0.35);
}

.menu a{
  min-height:30px;

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

  padding:5px 6px;

  border-radius:10px;

  text-align:center;
  text-decoration:none;

  font-size:11px;
  font-weight:600;

  color:white;

  background:rgba(255,255,255,0.08);

  border:1px solid var(--card-border);

  transition:0.2s;
}

.menu a:hover,
.menu a.active{
  background:var(--accent);

  box-shadow:
    0 6px 20px
    rgba(0,180,255,0.35);
}

/* INFO BLOKKEN */

.info{
  width:100%;
  max-width:360px;

  margin:0 auto 18px;
}

.info th{
  padding:14px;

  font-size:15px;

  background:var(--card);

  border:none;

  border-radius:
    18px 18px 0 0;
}

.info td{
  padding:10px;

  color:var(--muted);

  background:
    rgba(255,255,255,0.03);

  border:none;

  text-align:center;

  border-radius:
    0 0 18px 18px;
}

.info td{
  overflow:hidden;
}

/* DEELNEMERSLIJST */

.lijst{
  width:100%;
  max-width:360px;

  border-collapse:separate;

  border-spacing:0 8px;

  margin:0 auto 28px;
}

.lijst tr{
  background:var(--card);

  backdrop-filter:blur(10px);

  transition:0.2s;
}

.lijst tr:hover{
  transform:scale(1.01);

  background:
    rgba(255,255,255,0.09);
}

.lijst td{
  border:none;

  padding:14px 12px;

  font-size:14px;
}

.lijst td:first-child{
  width:46px;

  text-align:center;

  color:var(--accent);

  font-weight:700;

  border-radius:
    14px 0 0 14px;
}

.lijst td:nth-child(2){
  width:100%;

  text-align:left;

  font-weight:600;

  border-radius:
    0 14px 14px 0;
}

/* POULES */

#poules{
  width:100%;
  max-width:360px;
  margin:0 auto;
}

.pool{
  width:100%;
  max-width:360px;

  border-collapse:separate;
  border-spacing:0 10px;

  table-layout:fixed;

  margin:0 auto 26px;
}

.pool tr{
  background:var(--card);

  backdrop-filter:blur(10px);

  transition:0.2s;
}

.pool tr:hover{
  transform:scale(1.01);

  background:
    rgba(255,255,255,0.09);
}

.pool th{
  background:var(--card);
  border:none;
  padding:14px;
  font-size:15px;
  text-align:center;
}

.pool td{
  border:none;

  padding:14px 12px;

  font-size:14px;
}

.pool td:first-child{
  width:55%;

  text-align:left;

  font-weight:600;

  border-radius:
    14px 0 0 14px;
}

.pool td:not(:first-child){
  width:11.25%;

  text-align:center;
}

.pool td:last-child{
  border-radius:
    0 14px 14px 0;
}

.pool tr:first-child th:first-child{
  border-radius:18px;
}

.pool tr:nth-child(2) th:first-child{
  border-radius:14px 0 0 14px;
}

.pool tr:nth-child(2) th:last-child{
  border-radius:0 14px 14px 0;
}

/* STATUS */

.melding{
  text-align:center;

  color:var(--muted);

  padding:30px 0;
}

/* AFFICHE */

.affiche-container{
  width:100%;
  max-width:360px;

  display:flex;
  justify-content:center;

  margin:0 auto;
}

.affiche-img{
  width:100%;

  border-radius:22px;

  box-shadow:
    0 12px 40px
    rgba(0,0,0,0.35);

  object-fit:cover;
}

/* KNOCKOUT */

#knockout{
  width:100%;
  max-width:360px;
}

.ronde-titel{
  margin:28px 0 14px;

  padding:14px;

  text-align:center;

  font-size:18px;
  font-weight:700;

  border-radius:18px;

  background:var(--card);
}

.match{
  margin-bottom:14px;

  border-radius:18px;

  overflow:hidden;

  background:var(--card);

  backdrop-filter:blur(10px);
}

.player{
  display:flex;

  justify-content:space-between;

  align-items:center;

  padding:14px 16px;

  border-bottom:1px solid
    rgba(255,255,255,0.06);
}

.player:last-child{
  border-bottom:none;
}

.player span{
  font-weight:600;
}

.player strong{
  color:var(--accent);
  font-size:18px;
}

/* DATUM AFBEELDING */

.datum-img{
  width:auto;
  max-width:220px;
  max-height:90px;

  display:block;

  margin:0 auto;

  border-radius:14px;
}

.info .datum-img{
  width:220px;
  max-width:100%;
  height:auto;
  max-height:90px;
  object-fit:contain;
}

/* UITSLAGEN - COMPACT OVERRIDE */

.table-wrap{
  width:100% !important;
  max-width:360px !important;
  overflow-x:hidden !important;
  margin:0 auto !important;
}

#uitslagenTable{
  width:100% !important;
  max-width:360px !important;

  border-collapse:separate !important;
  border-spacing:0 6px !important;

  table-layout:fixed !important;

  margin:14px auto 0 !important;
}

#uitslagenTable th,
#uitslagenTable td{
  background:rgba(255,255,255,0.07) !important;

  border:none !important;

  padding:8px 3px !important;

  font-size:12px !important;
  font-weight:700 !important;

  color:white !important;

  text-align:center !important;

  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

#uitslagenTable th{
  background:rgba(255,255,255,0.10) !important;
}

/* nr */

#uitslagenTable th:first-child,
#uitslagenTable td:first-child{
  width:9% !important;
  border-radius:10px 0 0 10px !important;
}

/* speler 1 */

#uitslagenTable th:nth-child(2),
#uitslagenTable td:nth-child(2){
  width:25% !important;
  text-align:center !important;
  padding-left:3px !important;
  padding-right:3px !important;
}

/* speler 2 */

#uitslagenTable th:nth-child(3),
#uitslagenTable td:nth-child(3){
  width:25% !important;
  text-align:center !important;
  padding-left:3px !important;
  padding-right:3px !important;
}

/* s1 */

#uitslagenTable th:nth-child(4),
#uitslagenTable td:nth-child(4){
  width:10% !important;
}

/* uitslag */

#uitslagenTable th:nth-child(5),
#uitslagenTable td:nth-child(5){
  width:16% !important;
}

/* s2 */

#uitslagenTable th:nth-child(6),
#uitslagenTable td:nth-child(6){
  width:15% !important;
  border-radius:0 10px 10px 0 !important;
}

/* alles gecentreerd houden */

#uitslagenTable th,
#uitslagenTable td{
  text-align:center !important;
}

/* INVOER PAGINA */

.invoer-box{
  width:100%;
  max-width:360px;

  margin:0 auto 24px;
  padding:18px;

  background:var(--card);
  border:1px solid var(--card-border);
  border-radius:18px;

  box-shadow:
    0 10px 30px
    rgba(0,0,0,0.25);
}

.invoer-box h2{
  margin:0 0 18px;

  text-align:center;

  font-size:20px;
  font-weight:800;
}

.invoer-box label{
  display:block;

  margin:12px 0 6px;

  color:var(--muted);

  font-size:13px;
  font-weight:700;
}

/* normale invoervelden bovenaan */

.invoer-box > input{
  width:100%;

  padding:12px 14px;

  border:none;
  outline:none;

  border-radius:12px;

  background:rgba(255,255,255,0.95);

  color:#071d22;

  font-size:16px;
  font-weight:700;

  text-align:center;
}

.invoer-box input:focus{
  box-shadow:
    0 0 0 3px
    rgba(0,180,255,0.35);
}

/* wedstrijd info */

.wedstrijd-info{
  margin:18px 0;
  padding:14px;

  border-radius:14px;

  background:rgba(255,255,255,0.05);
}

.wedstrijd-info div{
  display:flex;
  justify-content:space-between;
  gap:12px;

  padding:8px 0;
}

.wedstrijd-info span{
  color:var(--muted);
  font-weight:700;
}

.wedstrijd-info strong{
  color:var(--accent);
  text-align:right;
}

/* spelerregels */

.speler-invoer{
  display:flex;
  flex-direction:column;
  gap:10px;

  margin-top:16px;
}

.speler-regel{
  display:grid;
  grid-template-columns:1fr 64px 58px 58px;
  gap:6px;

  align-items:center;

  padding:10px;

  border-radius:14px;

  background:rgba(255,255,255,0.05);
}

.speler-naam{
  min-width:0;
}

.speler-naam span{
  display:block;

  color:var(--muted);

  font-size:11px;
  font-weight:700;
}

.speler-naam strong{
  display:block;

  color:white;

  font-size:15px;
  font-weight:800;

  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}

/* alleen de velden in de spelerregel */

.speler-regel input{
  width:100%;

  padding:9px 4px;

  border:none;
  outline:none;

  border-radius:10px;

  background:rgba(255,255,255,0.95);

  color:#071d22;

  font-size:13px;
  font-weight:800;

  text-align:center;
}

/* knop */

.invoer-box button{
  width:100%;

  margin-top:18px;
  padding:13px;

  border:none;
  border-radius:14px;

  background:var(--accent);

  color:white;

  font-size:15px;
  font-weight:800;

  cursor:pointer;

  box-shadow:
    0 8px 22px
    rgba(0,180,255,0.28);
}

.invoer-box button:disabled{
  opacity:0.45;
  cursor:not-allowed;
  box-shadow:none;
}

/* status */

.status{
  margin-top:14px;

  text-align:center;

  color:var(--muted);

  font-size:13px;
  font-weight:700;
}

/* kleinere schermen */

@media(max-width:420px){

  .speler-regel{
    grid-template-columns:1fr 56px 50px 50px;
    gap:5px;
    padding:8px;
  }

  .speler-naam strong{
    font-size:14px;
  }

  .speler-regel input{
    font-size:12px;
    padding:8px 3px;
  }

}

@media(max-width:340px){

  .speler-regel{
    grid-template-columns:1fr 50px 46px 46px;
  }

  .speler-regel input{
    font-size:11px;
  }

}

/* TERUG KNOP */

.terug-knop{
  width:100%;
  max-width:360px;

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

  min-height:42px;

  margin:0 auto 22px;
  padding:10px 12px;

  border-radius:14px;

  text-decoration:none;

  color:white;

  font-size:14px;
  font-weight:800;

  background:var(--card);

  border:1px solid var(--card-border);

  box-shadow:
    0 8px 22px
    rgba(0,0,0,0.25);
}

.terug-knop:hover{
  background:var(--accent);

  box-shadow:
    0 6px 20px
    rgba(0,180,255,0.35);
}

/* PIN + WEDSTRIJDNUMMER NAAST ELKAAR */

.top-invoer-regel{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;

  margin-bottom:16px;
}

.top-invoer-regel label{
  margin-top:0;
}

.top-invoer-regel input{
  width:100%;

  padding:12px 10px;

  border:none;
  outline:none;

  border-radius:12px;

  background:rgba(255,255,255,0.95);

  color:#071d22;

  font-size:16px;
  font-weight:700;

  text-align:center;
}

/* HEADER BOVEN INVOERVELDEN */

.speler-header{
  display:grid;
  grid-template-columns:1fr 64px 58px 58px;
  gap:6px;

  align-items:center;

  padding:0 10px 6px;

  color:var(--muted);

  font-size:11px;
  font-weight:800;

  text-align:center;
}

.speler-header div:first-child{
  text-align:left;
}

@media(max-width:420px){

  .speler-header{
    grid-template-columns:1fr 56px 50px 50px;
    gap:5px;
    padding:0 8px 6px;
  }

}

@media(max-width:340px){

  .speler-header{
    grid-template-columns:1fr 50px 46px 46px;
  }

}

/* CONTACT PAGINA */

.contact-box{
  width:100%;
  max-width:360px;

  margin:0 auto 24px;
  padding:18px;

  background:var(--card);
  border:1px solid var(--card-border);
  border-radius:18px;

  box-shadow:
    0 10px 30px
    rgba(0,0,0,0.25);
}

.contact-box h2{
  margin:0 0 18px;

  text-align:center;

  font-size:20px;
  font-weight:800;
}

.contact-box label{
  display:block;

  margin:12px 0 6px;

  color:var(--muted);

  font-size:13px;
  font-weight:700;
}

.contact-box input,
.contact-box textarea{
  width:100%;

  padding:12px 14px;

  border:none;
  outline:none;

  border-radius:12px;

  background:rgba(255,255,255,0.95);

  color:#071d22;

  font-size:15px;
  font-weight:700;

  font-family:Inter, Arial, sans-serif;
}

.contact-box textarea{
  min-height:130px;
  resize:vertical;
}

.contact-box input:focus,
.contact-box textarea:focus{
  box-shadow:
    0 0 0 3px
    rgba(0,180,255,0.35);
}

.contact-box button{
  width:100%;

  margin-top:18px;
  padding:13px;

  border:none;
  border-radius:14px;

  background:var(--accent);

  color:white;

  font-size:15px;
  font-weight:800;

  cursor:pointer;

  box-shadow:
    0 8px 22px
    rgba(0,180,255,0.28);
}

.contact-box button:hover{
  background:var(--accent-hover);
}

/* FOOTER */

.site-footer{
  width:100%;
  max-width:360px;

  margin:24px auto 0;
  padding:16px;

  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;

  background:var(--card);
  border:1px solid var(--card-border);
  border-radius:18px;

  box-shadow:
    0 10px 30px
    rgba(0,0,0,0.25);
}

.footer-img{
  width:70px;
  height:auto;

  display:block;

  border-radius:12px;
}

.footer-text{
  color:var(--muted);

  font-size:13px;
  font-weight:700;

  text-align:center;
}

.footer-text a{
  color:var(--accent);

  text-decoration:none;
  font-weight:800;
}

.footer-text a:hover{
  color:var(--accent-hover);
}

:root{
  --bg:#071d22;
  --card:rgba(255,255,255,0.06);
  --card-border:rgba(255,255,255,0.08);
  --accent:#00b4ff;
  --accent-hover:#52cbff;
  --text:#ffffff;
  --muted:#9ec7d3;
}

*{
  box-sizing:border-box;
}

html,
body{
  margin:0;
  padding:0;
  min-height:100%;
  background:#071d22;
}

body{
  color:var(--text);
  font-family:Inter, Arial, sans-serif;
  overflow-x:hidden;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(
      circle at top,
      #0e3b45 0%,
      #071d22 65%
    );
}

/* PAGINA */

.page{
  width:100%;
  max-width:420px;
  margin:0 auto;
  padding:24px 16px 40px;
  display:flex;
  flex-direction:column;
  align-items:center;
}

/* LOGO */

.logo-img{
  display:block;
  width:140px;
  margin:0 auto 24px;
  border-radius:18px;
  box-shadow:0 10px 30px rgba(0,0,0,0.35);
}

/* MENU */

.menu{
  width:100%;
  max-width:360px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:0 auto 26px;
}

.menu a{
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:14px;
  text-align:center;
  text-decoration:none;
  font-size:13px;
  font-weight:600;
  color:white;
  background:var(--card);
  border:1px solid var(--card-border);
  backdrop-filter:blur(12px);
  transition:0.2s;
}

.menu a:hover,
.menu a.active{
  background:var(--accent);
  box-shadow:0 6px 20px rgba(0,180,255,0.35);
}

/* INFO BLOKKEN */

.info{
  width:100%;
  max-width:360px;
  margin:0 auto 18px;
}

.info th{
  padding:14px;
  font-size:15px;
  background:var(--card);
  border:none;
  border-radius:18px 18px 0 0;
}

.info td{
  padding:10px;
  color:var(--muted);
  background:rgba(255,255,255,0.03);
  border:none;
  text-align:center;
  border-radius:0 0 18px 18px;
}

.info .datum-img{
  width:220px;
  max-width:100%;
  height:auto;
  max-height:90px;
  object-fit:contain;
}

.info td{
  overflow:hidden;
}

/* DEELNEMERSLIJST */

.lijst{
  width:100%;
  max-width:360px;
  border-collapse:separate;
  border-spacing:0 8px;
  margin:0 auto 28px;
}

.lijst tr{
  background:var(--card);
  backdrop-filter:blur(10px);
  transition:0.2s;
}

.lijst tr:hover{
  transform:scale(1.01);
  background:rgba(255,255,255,0.09);
}

.lijst td{
  border:none;
  padding:14px 12px;
  font-size:14px;
}

.lijst td:first-child{
  width:46px;
  text-align:center;
  color:var(--accent);
  font-weight:700;
  border-radius:14px 0 0 14px;
}

.lijst td:nth-child(2){
  width:100%;
  text-align:left;
  font-weight:600;
  border-radius:0 14px 14px 0;
}

/* POULES */

#poules{
  width:100%;
  max-width:360px;
  margin:0 auto;
}

.pool{
  width:100%;
  max-width:360px;
  border-collapse:separate;
  border-spacing:0 10px;
  table-layout:fixed;
  margin:0 auto 26px;
}

.pool tr{
  background:var(--card);
  backdrop-filter:blur(10px);
  transition:0.2s;
}

.pool tr:hover{
  transform:scale(1.01);
  background:rgba(255,255,255,0.09);
}

.pool th{
  background:var(--card);
  border:none;
  padding:14px;
  font-size:15px;
  text-align:center;
}

.pool td{
  border:none;
  padding:14px 12px;
  font-size:14px;
}

.pool td:first-child{
  width:55%;
  text-align:left;
  font-weight:600;
  border-radius:14px 0 0 14px;
}

.pool td:not(:first-child){
  width:11.25%;
  text-align:center;
}

.pool td:last-child{
  border-radius:0 14px 14px 0;
}

.pool tr:first-child th:first-child{
  border-radius:18px;
}

.pool tr:nth-child(2) th:first-child{
  border-radius:14px 0 0 14px;
}

.pool tr:nth-child(2) th:last-child{
  border-radius:0 14px 14px 0;
}

/* STATUS */

.melding{
  text-align:center;
  color:var(--muted);
  padding:30px 0;
}

/* AFFICHE */

.affiche-container{
  width:100%;
  max-width:360px;
  display:flex;
  justify-content:center;
  margin:0 auto;
}

.affiche-img{
  width:100%;
  border-radius:22px;
  box-shadow:0 12px 40px rgba(0,0,0,0.35);
  object-fit:cover;
}

/* KNOCK-OUT */

#knockout{
  width:100%;
  max-width:360px;
}

.ronde-titel{
  margin:28px 0 14px;
  padding:14px;
  text-align:center;
  font-size:18px;
  font-weight:700;
  border-radius:18px;
  background:var(--card);
}

.match{
  margin-bottom:14px;
  border-radius:18px;
  overflow:hidden;
  background:var(--card);
  backdrop-filter:blur(10px);
}

.player{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,0.06);
}

.player:last-child{
  border-bottom:none;
}

.player span{
  font-weight:600;
}

.player strong{
  color:var(--accent);
  font-size:18px;
}

/* REGLEMENT */

.reglement{
  width:100%;
  max-width:360px;
}

.reglement-blok{
  margin-bottom:18px;
  padding:18px;
  border-radius:22px;
  background:
    linear-gradient(
      180deg,
      rgba(20,70,80,0.95) 0%,
      rgba(10,40,48,0.92) 100%
    );
  border:1px solid rgba(0,180,255,0.12);
  backdrop-filter:blur(14px);
  box-shadow:0 10px 30px rgba(0,0,0,0.28);
}

.reglement h2{
  margin-top:0;

  text-align:center;

  color:#6fdcff;

  font-size:24px;

  text-shadow:
    0 0 14px
    rgba(0,180,255,0.35);
}

.reglement h3{
  margin-top:0;

  text-align:center;

  color:#6fdcff;

  font-size:18px;

  text-shadow:
    0 0 12px
    rgba(0,180,255,0.35);
}

.reglement p,
.reglement li{
  line-height:1.6;
  color:var(--text);
  font-size:14px;
}

.reglement ul{
  padding-left:18px;
}
