/* ========== THREADS ========== */

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap; /* zorgt dat het op mobiel niet breekt */
  min-height: 70px;
  padding-left: 20px;
  padding-right: 20px;
}

.top-bar-left {
  flex: 1 1 50%;
}

.top-bar-largeleft {
  flex: 1 1 75%;
}

.top-bar-center,
.top-bar-right {
  flex: 0 0 auto;
}

.top-container {

  padding-left: 20px;
  padding-right: 20px;
}

.master-split {
  display: flex;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

.master-split > div {
  flex: 1 1 0;
}

.split-left,
.split-right {
  width: calc(50% - 10px); /* 10px + 10px = 20px, gedeeld over beide kanten */
}

@media (max-width: 768px) {
  .master-split {
    flex-direction: column;
    gap: 10px; /* kleinere verticale ruimte tussen de blokken */
  }

  .split-left,
  .split-right {
    width: 100%; /* volle breedte per blok */
  }
}

.top-bar-game {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 20px;
  padding-right: 20px;
}

.back-link-game {
  display: none; /* standaard verborgen */
}

.info-link-game {
  margin-left: auto; /* dwingt de info-link altijd naar rechts */
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 600px) {
  .back-link-game {
    display: block; /* zichtbaar op mobiel */
  }
  .info-text-game {
    display: none; /* tekst verbergen op mobiel */
  }
}

/* ========== EERSTE VARIANT ========== */

.thread-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.thread {
  position: relative; /* nodig om ::before absoluut te positioneren */
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background-image: url('../img/parchment.jpg');
  background-position: top left;
  background-repeat: repeat;
  background-size: auto;
  overflow: hidden; /* om overflow te voorkomen */
  transition: all 0.2s ease;
  min-height: 74px;
  margin-bottom: 5px;
}

.thread::before {
  content: '';
  position: absolute;
  inset: 0; /* vult de gehele thread-div */
  background: rgba(0, 0, 0, 0); /* start transparant */
  transition: background 0.2s ease;
}

.thread:hover::before {
  background: rgba(0, 0, 0, 0.15); /* donkerdere overlay bij hover */
  cursor: pointer;
}

/*.thread:hover {
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}*/

.thread-icon {
  font-size: 1.5em;
  margin-right: 15px;
  color: #f0c674;
}

.thread-icon-small {
  font-size: 1.5em;
  margin-right: 5px;
  color: #3b322a;
}

.thread-icon-read {
  font-size: 1.5em;
  margin-right: 15px;
  color: #3b322a;
}

.thread-details {
  display: flex;
  flex-direction: column;
}

.thread-title {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.1em;
  margin: 0;
  transition: color 0.2s ease;
  color: #3b322a;
}

.thread-meta {
  font-size: 0.85em;
  color: #bbb;
  margin-top: 4px;
  color: #3b322a;
}

.thread.unread .thread-title {
  /* */
}

.thread-light {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: #fdf8e7; /* lichte perkamentkleur */
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.1);
  color: #3b322a; /* donkerbruine tekstkleur voor goede leesbaarheid */
  transition: background 0.2s ease, transform 0.1s ease;
}

.thread-light:hover {
  background: #f7f0d8; /* iets donkerder perkament bij hover */
}

.small-icon-right {

  position: absolute;
  right: 30px;
  top: 22px;
  height: 32px;
  width: 32px;    
  overflow: hidden; 

}

.small-icon-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* vult hele div, snijdt eventueel af */
}

/* ========== TWEEDE VARIANT ========== */

.thread-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 360px);
  gap: 20px; /* gelijke ruimte tussen de items */
  justify-content: center; 
  padding: 20px;
  max-width: 1400px;
}

.thread-grid-large {
  display: grid;
  grid-template-columns: repeat(auto-fit, 360px);
  /*grid-template-rows: repeat(auto-fit, 360px);*/
  gap: 20px;
  justify-content: center; 
  padding: 20px;
  max-width: 1400px;
}

.thread-visual {
  width: 100%;
  max-width: 320px;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  min-height: 100px;  
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin: 0 auto; 
  padding: 16px 20px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  backdrop-filter: blur(2px);
  background-color: rgba(5, 10, 20, 0.7); /* fallback */
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.thread-visual-inner {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  padding: 5px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  display: flex;
  background-color: rgba(255, 255, 255, 0.3); /* fallback */
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.thread-visual-large {
  width: 100%;
  height: 100%;
  max-width: 320px;
  max-height: 320px;
  min-width: 320px;
  min-height: 320px;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin: 0 auto; 
  padding: 16px 20px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  backdrop-filter: blur(2px);
  background-color: rgba(5, 10, 20, 0.7); /* fallback */
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.thread-visual-large::before {
  border-radius: 10px;
  content: '';
  position: absolute;
  inset: 0;
  /*background-color: rgba(255, 255, 255, 0.5);  witte overlay met 50% transparantie */
  z-index: 1;
  pointer-events: none; /* zorgt dat klikken niet geblokkeerd worden */
}

.thread-visual-large > * {
  position: relative;
  z-index: 2; /* zorg dat content boven de overlay ligt */
}

.lightmode {
 color: #131304 !important;
}

.darkmode {
 color: #000 !important;
}

.thread-visual:hover {
  background-color: rgba(10, 20, 40, 0.75);
  box-shadow: 0 0 14px rgba(120, 180, 255, 0.7);
  cursor: pointer;
}

.thread-visual-large:hover {
  background-color: rgba(10, 20, 40, 0.75);
  box-shadow: 0 0 14px rgba(120, 180, 255, 0.7);
  cursor: pointer;
}

.thread-visual .icon {
  margin-right: 16px;
  font-size: 1.8em;
  color: gold;
}

.thread-visual .thread-info {
  flex: 1;
}

.thread-visual .thread-title {
  font-weight: bold;
  font-size: 1.2em;
  color: white;
  margin: 0 0 4px;
}

.thread-visual .thread-meta {
  font-size: 0.9em;
  color: #ccc;
}

/* ========== RESPONSIVE (≤768px) ========== */
@media (max-width: 768px) {
  .thread-visual {
    width: 80%;
  }

.thread-visual-large {
  max-width: 100%;
  /*max-height: 220px;*/
  min-width: 100%;
  /*min-height: 220px; */
  padding: 0px;
}

.thread-grid-large {
  /*grid-template-rows: repeat(auto-fit, 220px);*/
}
}

/* ========== DERDE VARIANT ========== */


.split-container {
  display: flex;
  flex-direction: row;
  height: 100%;
}

.split-thread-list {
  width: 30%;
}

.split-thread-detail {
  width: 70%;
  padding-left: 1rem;
}

.split-thread-detail-container {
  min-height: 35vh;
  display: flex;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: background 0.2s ease;
  flex-direction: column;
  background-image: url('../img/parchment.jpg');
  background-position: top left; /* uitlijning linksboven */
  background-repeat: repeat;     /* herhaalt indien nodig */
  background-size: auto; 
  color: #3b322a; 
}

.split-thread-detail-container img.thread-image {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: contain;
  align-self: center;
  cursor: pointer;
}

@media (max-width: 768px) {

  .split-thread-detail-container img.thread-image {
    max-width: 90%;
  }

  .split-container {
    flex-direction: column;
  }

  .split-thread-list,
  .split-thread-detail {
    width: 100%;
    padding-left: 0px;
  }

  .split-thread-list.active,
  .split-thread-detail.active {
    display: block;
  }
}

/* ========== SPEL 1 ========== */

.split-thread-detail-container-spel1 {
  min-height: 35vh;
  display: flex;
  padding: 16px 20px;
  background-image: url('../img/parchment1.jpg');
  /*background: linear-gradient(180deg, #FFF7F4 0%, #FFE3E8 50%, #FFC7D3 100%);*/
  /*background: linear-gradient(180deg, #FFF4F2 0%, #FFE4DF 50%, #FFB4A4 100%);*/
  border: 1px solid rgba(243, 140, 43, 0.25);
  border-radius: 10px;
  transition: background 0.2s ease;
  flex-direction: column;
  color: #5A3B2E;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6),
              0 8px 18px rgba(240, 120, 150, .22);
}

.split-thread-detail-container-spel1 img.thread-image {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: contain;
  align-self: center;
  cursor: pointer;
}

.thread-spel1 {
  position: relative;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid rgba(243, 140, 43, 0.3); /* warm oranje rand */
  border-radius: 10px;
  background-image: url('../img/parchment1.jpg');
  /*background: linear-gradient(180deg, #FFF7F4 0%, #FFE3E8 50%, #FFC7D3 100%);*/
  /*background: linear-gradient(180deg, #FFF4F2 0%, #FFE4DF 50%, #FFB4A4 100%);*/
  overflow: hidden;
  transition: all 0.2s ease;
  min-height: 74px;
  margin-bottom: 5px;
  box-shadow: 0 6px 14px rgba(240, 120, 150, 0.2);
}

.thread-spel1::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.2s ease;
}

.thread-spel1:hover::before {
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.thread-icon-spel1 {
  font-size: 1.5em;
  margin-right: 15px;
  color: #F38C2B; /* oranje accent */
}

.thread-icon-small-spel1 {
  font-size: 1.5em;
  margin-right: 5px;
  color: #F38C2B;
}

.thread-icon-read-spel1 {
  font-size: 1.5em;
  margin-right: 15px;
  color: #5A3B2E; /* donkerbruin */
}

.thread-details-spel1 {
  display: flex;
  flex-direction: column;
}

.thread-title-spel1 {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.1em;
  margin: 0;
  transition: color 0.2s ease;
  color: #5A3B2E;
}

.thread-meta-spel1 {
  font-size: 0.85em;
  color: #7A5549;
  margin-top: 4px;
}

/* Optionele variant zonder achtergrondafbeelding */
.thread-light-spel1 {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: #FFE3E8;
  border: 1px solid rgba(243, 140, 43, 0.25);
  border-radius: 8px;
  box-shadow: inset 0 0 8px rgba(243, 140, 43, 0.1), 
              0 2px 4px rgba(240, 120, 150, 0.15);
  color: #5A3B2E;
  transition: background 0.2s ease, transform 0.1s ease;
}

.thread-light-spel1:hover {
  background: #FFC7D3;
}


/* ========== SPEL 2 ========== */

.split-thread-detail-container-spel2 {
  min-height: 35vh;
  display: flex;
  padding: 16px 20px;
  background-image: url('../img/parchment2.jpg');
  /*background: linear-gradient(180deg, #0E1724 0%, #142132 50%, #1B2A3F 100%);*/
  border: 1px solid rgba(118, 180, 255, 0.25);
  border-radius: 10px;
  transition: background 0.2s ease;
  flex-direction: column;
  color: #E5ECF4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05),
              0 8px 18px rgba(40, 80, 130, .25);
}

.split-thread-detail-container-spel2 img.thread-image {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: contain;
  align-self: center;
  cursor: pointer;
}

.thread-spel2 {
  position: relative;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid rgba(80, 130, 200, 0.3); /* koele blauwe rand */
  border-radius: 10px;
  background-image: url('../img/parchment2.jpg');
  /*background: linear-gradient(180deg, #0E1724 0%, #142132 60%, #1B2A3F 100%);*/
  overflow: hidden;
  transition: all 0.2s ease;
  min-height: 74px;
  margin-bottom: 5px;
  box-shadow: 0 6px 14px rgba(40, 80, 130, 0.25);
}

.thread-spel2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.2s ease;
}

.thread-spel2:hover::before {
  background: rgba(120, 180, 255, 0.08); /* subtiele blauwe highlight */
  cursor: pointer;
}

.thread-icon-spel2 {
  font-size: 1.5em;
  margin-right: 15px;
  color: #76B4FF; /* helder blauw accent */
}

.thread-icon-small-spel2 {
  font-size: 1.5em;
  margin-right: 5px;
  color: #76B4FF;
}

.thread-icon-read-spel2 {
  font-size: 1.5em;
  margin-right: 15px;
  color: #AFC7E0; /* lichtgrijs-blauw */
}

.thread-details-spel2 {
  display: flex;
  flex-direction: column;
}

.thread-title-spel2 {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.1em;
  margin: 0;
  transition: color 0.2s ease;
  color: #E5ECF4; /* bijna wit */
}

.thread-meta-spel2 {
  font-size: 0.85em;
  color: #AFC7E0;
  margin-top: 4px;
}

/* Optionele lichte variant zonder achtergrondafbeelding */
.thread-light-spel2 {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: #1C2A3D;
  border: 1px solid rgba(120, 180, 255, 0.25);
  border-radius: 8px;
  box-shadow: inset 0 0 8px rgba(120, 180, 255, 0.08),
              0 2px 4px rgba(40, 80, 130, 0.18);
  color: #E5ECF4;
  transition: background 0.2s ease, transform 0.1s ease;
}

.thread-light-spel2:hover {
  background: #22354D;
}


/* ========== SPEL 3 ========== */

.split-thread-detail-container-spel3 {
  min-height: 35vh;
  display: flex;
  padding: 16px 20px;
  background-image: url('../img/parchment3.jpg');
  background-position: center;
  background-repeat: repeat;
  background-size: cover;
  border: 1px solid rgba(110, 85, 60, 0.2);
  border-radius: 10px;
  transition: background 0.2s ease;
  flex-direction: column;
  color: #4B3A2A;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5),
              0 8px 18px rgba(80, 60, 40, .15);
}

.split-thread-detail-container-spel3 img.thread-image {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: contain;
  align-self: center;
  cursor: pointer;
}

.thread-spel3 {
  position: relative;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid rgba(110, 85, 60, 0.2); /* zachte bruinachtige rand */
  border-radius: 10px;
  background-image: url('../img/parchment3.jpg');
  background-position: center;
  background-repeat: repeat;
  background-size: cover;
  overflow: hidden;
  transition: all 0.2s ease;
  min-height: 74px;
  margin-bottom: 5px;
  box-shadow: 0 6px 14px rgba(80, 60, 40, 0.15);
}

.thread-spel3::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.2s ease;
}

.thread-spel3:hover::before {
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
}

.thread-icon-spel3 {
  font-size: 1.5em;
  margin-right: 15px;
  color: #8B5E3C; /* warm bruin accent */
}

.thread-icon-small-spel3 {
  font-size: 1.5em;
  margin-right: 5px;
  color: #8B5E3C;
}

.thread-icon-read-spel3 {
  font-size: 1.5em;
  margin-right: 15px;
  color: #5A3B2E; /* donkerder bruin */
}

.thread-details-spel3 {
  display: flex;
  flex-direction: column;
}

.thread-title-spel3 {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.1em;
  margin: 0;
  transition: color 0.2s ease;
  color: #4B3A2A;
}

.thread-meta-spel3 {
  font-size: 0.85em;
  color: #5E4A38;
  margin-top: 4px;
}

/* Lichte variant zonder rand voor subtiele secties */
.thread-light-spel3 {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background-image: url('../img/parchment.jpg');
  background-position: center;
  background-repeat: repeat;
  background-size: cover;
  border: 1px solid rgba(110, 85, 60, 0.15);
  border-radius: 8px;
  box-shadow: inset 0 0 8px rgba(110, 85, 60, 0.1), 
              0 2px 4px rgba(80, 60, 40, 0.15);
  color: #4B3A2A;
  transition: background 0.2s ease, transform 0.1s ease;
}

.thread-light-spel3:hover {
  filter: brightness(1.05);
}


/* ========== SPEL 4 ========== */

/* 🌿 Jungle achtergrond container */
.split-thread-detail-container-spel4 {
  min-height: 35vh;
  display: flex;
  padding: 16px 20px;
  background-image: url('../img/parchment4.jpg'); /* Jungle-achtig papier of textuur */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid rgba(34, 85, 34, 0.25);
  border-radius: 10px;
  transition: background 0.2s ease;
  flex-direction: column;
  color: #FFDFBF; /* Warme lichte tekstkleur */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3),
              0 8px 18px rgba(34, 85, 34, 0.22);
}

/* 🌿 Thread item */
.thread-spel4 {
  position: relative;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid rgba(34, 85, 34, 0.3);
  border-radius: 10px;
  background-image: url('../img/parchment4.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
  transition: all 0.2s ease;
  min-height: 74px;
  margin-bottom: 8px;
  box-shadow: 0 6px 14px rgba(34, 85, 34, 0.2);
  color: #FFDFBF;
}

.thread-spel4::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.2s ease;
  z-index: 0;
}

.thread-spel4:hover::before {
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
}

/* 🌿 Iconen */
.thread-icon-spel4 {
  font-size: 1.5em;
  margin-right: 15px;
  color: #FFDFBF;
  z-index: 1;
}

.thread-icon-small-spel4 {
  font-size: 1.5em;
  margin-right: 5px;
  color: #FFDFBF;
  z-index: 1;
}

.thread-icon-read-spel4 {
  font-size: 1.5em;
  margin-right: 15px;
  color: #C2B29B; /* iets subtieler */
  z-index: 1;
}

/* 🌿 Inhoud */
.thread-details-spel4 {
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.thread-title-spel4 {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.15em;
  margin: 0;
  transition: color 0.2s ease;
  color: #FFDFBF;
  text-shadow: 0 0 2px rgba(255, 223, 191, 0.5);
}

.thread-meta-spel4 {
  font-size: 0.85em;
  color: #E9D6C2;
  margin-top: 4px;
}

/* 🌿 Lichte variant (zonder afbeelding) */
.thread-light-spel4 {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: #24522E;
  border: 1px solid rgba(60, 120, 60, 0.2);
  border-radius: 8px;
  box-shadow: inset 0 0 8px rgba(50, 100, 50, 0.1),
              0 2px 4px rgba(34, 85, 34, 0.15);
  color: #FFDFBF;
  transition: background 0.2s ease, transform 0.1s ease;
}

.thread-light-spel4:hover {
  background: #2D5E37;
}


/* ========== SPEL 9 ========== */

/* 🌟 Magische groene/gele achtergrond container */
.split-thread-detail-container-spel9 {
  min-height: 35vh;
  display: flex;
  padding: 16px 20px;
  background-image: url('../img/parchment9.jpg');
  background-position: center;
  background-repeat: repeat;
  background-size: cover;
  border: 1px solid rgba(100, 150, 80, 0.25); /* zacht groen */
  border-radius: 10px;
  transition: background 0.2s ease;
  flex-direction: column;
  color: #2d402f; /* donkergroen/bruinige tekstkleur, goed leesbaar */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5),
              0 8px 18px rgba(100, 150, 80, .2);
}

.split-thread-detail-container-spel9 img.thread-image {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: contain;
  align-self: center;
  cursor: pointer;
}

/* 🌟 Thread item */
.thread-spel9 {
  position: relative;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid rgba(100, 150, 80, 0.25);
  border-radius: 10px;
  background-image: url('../img/parchment9.jpg');
  background-position: center;
  background-repeat: repeat;
  background-size: cover;
  overflow: hidden;
  transition: all 0.2s ease;
  min-height: 74px;
  margin-bottom: 5px;
  box-shadow: 0 6px 14px rgba(100, 150, 80, 0.15);
}

.thread-spel9::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.2s ease;
}

.thread-spel9:hover::before {
  background: rgba(255, 250, 200, 0.25); /* zacht geel highlight */
  cursor: pointer;
}

/* 🌟 Iconen */
.thread-icon-spel9 {
  font-size: 1.5em;
  margin-right: 15px;
  color: #c9a73c; /* warm goud */
}

.thread-icon-small-spel9 {
  font-size: 1.5em;
  margin-right: 5px;
  color: #c9a73c;
}

.thread-icon-read-spel9 {
  font-size: 1.5em;
  margin-right: 15px;
  color: #9abf72; /* zachter mosgroen */
}

/* 🌟 Inhoud */
.thread-details-spel9 {
  display: flex;
  flex-direction: column;
}

.thread-title-spel9 {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.1em;
  margin: 0;
  transition: color 0.2s ease;
  color: #2d402f; /* donkergroen voor goede leesbaarheid */
  text-shadow: 0 0 2px rgba(255, 255, 200, 0.4);
}

.thread-meta-spel9 {
  font-size: 0.85em;
  color: #567a4c; /* grijsgroen */
  margin-top: 4px;
}

/* 🌟 Lichte variant zonder rand */
.thread-light-spel9 {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background-image: url('../img/parchment-light9.jpg'); /* lichtere versie */
  background-position: center;
  background-repeat: repeat;
  background-size: cover;
  border: 1px solid rgba(100, 150, 80, 0.15);
  border-radius: 8px;
  box-shadow: inset 0 0 8px rgba(200, 180, 100, 0.1), 
              0 2px 4px rgba(100, 150, 80, 0.15);
  color: #2d402f;
  transition: background 0.2s ease, transform 0.1s ease;
}

.thread-light-spel9:hover {
  filter: brightness(1.05);
}


/* Container in basisstijl (deepblue look) */
.split-thread-detail-container-basis {
  min-height: 35vh;
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  background: linear-gradient(180deg, #0b162a 0%, #1b2e4a 100%);
  border: 1px solid rgba(144, 205, 244, 0.15);
  border-radius: 10px;
  color: #ffffff;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .08),
              0 8px 18px rgba(0, 0, 0, 0.4);
  transition: background 0.2s ease;
}

/* Thread item */
.thread-basis {
  position: relative;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid rgba(144, 205, 244, 0.2);
  border-radius: 10px;
  background: linear-gradient(180deg, #0e1b33 0%, #203554 100%);
  overflow: hidden;
  transition: all 0.2s ease;
  min-height: 74px;
  margin-bottom: 8px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

.thread-basis::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.2s ease;
}

.thread-basis:hover::before {
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

/* Icon */
.thread-icon-basis {
  font-size: 1.5em;
  margin-right: 15px;
  color: #90cdf4; /* lichtblauw accent */
}

.thread-icon-small-basis {
  font-size: 1.3em;
  margin-right: 5px;
  color: #90cdf4;
}

.thread-icon-read-basis {
  font-size: 1.5em;
  margin-right: 15px;
  color: #a0b7d7;
}

/* Inhoud */
.thread-details-basis {
  display: flex;
  flex-direction: column;
}

.thread-title-basis {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.1em;
  margin: 0;
  color: #ffffff;
  transition: color 0.2s ease;
}

.thread-meta-basis {
  font-size: 0.85em;
  color: #b5d0ea;
  margin-top: 4px;
}

/* Variant zonder achtergrondafbeelding */
.thread-light-basis {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: #233a59;
  border: 1px solid rgba(144, 205, 244, 0.2);
  border-radius: 8px;
  box-shadow: inset 0 0 8px rgba(144, 205, 244, 0.08),
              0 2px 4px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  transition: background 0.2s ease, transform 0.1s ease;
}

.thread-light-basis:hover {
  background: #2b4564;
}







/* Dashboard-container in basisstijl */
.dashboard-container-basis {
  background: linear-gradient(180deg, #101f34 0%, #1c2f4a 100%);
  border: 1px solid rgba(144, 205, 244, 0.15);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, .05);
  color: #d8e9f9;
  overflow-x: auto;
}

/* Optionele titel boven dashboard */
.dashboard-title-basis {
  font-size: 1.4rem;
  font-family: 'Cinzel Decorative', serif;
  margin-bottom: 16px;
  color: #ffffff;
  border-bottom: 1px solid rgba(144, 205, 244, 0.2);
  padding-bottom: 8px;
}

/* Tabel */
.dashboard-table-basis {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.dashboard-table-basis th,
.dashboard-table-basis td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(144, 205, 244, 0.1);
}

.dashboard-table-basis th {
  background-color: rgba(144, 205, 244, 0.05);
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dashboard-table-basis tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.PoemRiddleUnstarted {
  width: 100%;
  aspect-ratio: 3 / 2; /* Of gebruik de verhouding van je afbeelding */
  background-image: url('../img/scroll.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10% 15%;
  box-sizing: border-box;
  text-align: center;
  font-size: clamp(12px, 0.5vw, 28px);
  font-family: 'Cinzel Decorative', cursive;
  color: #381A10;
  line-height: 1.5;
}

.PoemRiddle {
  width: 100%;
  aspect-ratio: 3 / 2; /* Of gebruik de verhouding van je afbeelding */
  background-image: url('../img/scroll.png');
  /*background-size: contain;*/
  background-size: 46vw 60vh;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12% 13%;
  box-sizing: border-box;
  text-align: center;
  font-size: clamp(12px, 1.0vw, 28px);
  font-family: 'Cinzel Decorative', cursive;
  color: #381A10;
  line-height: 1.5; cursor: pointer;
}

/* ========== RESPONSIVE (≤768px) ========== */
@media (max-width: 768px) {
  .PoemRiddle {
  background-size: 100vw 100vh;
  line-height: 1.0; cursor: pointer;
  }

  .PoemRiddleUnstarted {
    line-height: 1.0;
  }
}


/* ========== PLANNER ========== */

/* 🌌 Outer space glass container */
.split-thread-detail-container-planner {
  min-height: 35vh;
  display: flex;
  padding: 16px 20px;
  flex-direction: column;

  background:
    linear-gradient(
      135deg,
      rgba(20, 24, 45, 0.65),
      rgba(8, 10, 20, 0.75)
    ),
    url('../img/cosmic-glass-noise.jpg');

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: overlay;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(120, 140, 255, 0.25);
  border-radius: 14px;

  color: #E8ECFF;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 30px rgba(40, 60, 120, 0.35);

  transition: background 0.25s ease, box-shadow 0.25s ease;
}

/* 🌌 Thread item */
.thread-planner {
  position: relative;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  min-height: 74px;
  margin-bottom: 10px;

  background:
    linear-gradient(
      135deg,
      rgba(30, 36, 70, 0.55),
      rgba(12, 14, 30, 0.65)
    ),
    url('../img/cosmic-glass-noise.jpg');

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: overlay;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(140, 160, 255, 0.25);
  border-radius: 12px;
  overflow: hidden;

  color: #E8ECFF;

  box-shadow:
    0 8px 22px rgba(30, 50, 120, 0.35),
    inset 0 0 12px rgba(140, 160, 255, 0.08);

  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.thread-planner::before {
  content: '';
  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at top left,
    rgba(120, 160, 255, 0.22),
    transparent 60%
  );

  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 0;
}

.thread-planner:hover::before {
  opacity: 1;
}

.thread-planner:hover {
  transform: translateY(-1px);
  box-shadow:
    0 12px 30px rgba(60, 90, 180, 0.45),
    inset 0 0 18px rgba(140, 180, 255, 0.15);
  cursor: pointer;
}

/* 🌌 Iconen */
.thread-icon-planner,
.thread-icon-small-planner,
.thread-icon-read-planner {
  font-size: 1.5em;
  margin-right: 15px;
  z-index: 1;
}

.thread-icon-planner {
  color: #9FB4FF;
  text-shadow: 0 0 8px rgba(160, 190, 255, 0.6);
}

.thread-icon-small-planner {
  margin-right: 6px;
  color: #9FB4FF;
}

.thread-icon-read-planner {
  color: #7A88B8;
  text-shadow: none;
}

/* 🌌 Inhoud */
.thread-details-planner {
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.thread-title-planner {
  font-family: 'Orbitron', 'Segoe UI', sans-serif;
  font-size: 1.1em;
  margin: 0;

  color: #EAF0FF;
  letter-spacing: 0.5px;

  text-shadow:
    0 0 6px rgba(150, 180, 255, 0.45);

  transition: color 0.2s ease;
}

.thread-meta-planner {
  font-size: 0.85em;
  margin-top: 4px;
  color: #B9C4FF;
  opacity: 0.85;
}

/* 🌌 Lichte variant (zonder afbeelding) */
.thread-light-planner {
  display: flex;
  align-items: center;
  padding: 16px 20px;

  background:
    linear-gradient(
      135deg,
      rgba(40, 48, 90, 0.7),
      rgba(20, 24, 50, 0.75)
    ),
    url('../img/cosmic-glass-noise.jpg');

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-blend-mode: overlay;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border: 1px solid rgba(140, 160, 255, 0.25);
  border-radius: 10px;

  color: #E8ECFF;

  box-shadow:
    inset 0 0 10px rgba(140, 160, 255, 0.12),
    0 4px 10px rgba(40, 60, 120, 0.3);

  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.thread-light-planner:hover {
  background:
    linear-gradient(
      135deg,
      rgba(55, 65, 120, 0.75),
      rgba(25, 30, 70, 0.8)
    ),
    url('../img/cosmic-glass-noise.jpg');
}
