:root{
  --black:#0a0908;
  --charcoal:#151312;
  --steel:#8a8d91;
  --steel-light:#c9ccd0;
  --off-white:#efece6;
  --red:#a3111f;
  --red-bright:#d81e2c;
  --red-deep:#5c0a11;
}

html{scrollbar-gutter:stable;}

*{margin:0; padding:0; box-sizing:border-box;}

body{
  background:var(--black);
  color:var(--off-white);
  font-family:'Oswald', sans-serif;
  font-size:16.5px;
  line-height:1.65;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

h1,h2,h3{
  font-family:'Anton', sans-serif;
  text-transform:uppercase;
  letter-spacing:0.02em;
}

a{color:inherit; text-decoration:none;}

/* header */
.site-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px 5%;
  background:var(--charcoal);
  border-bottom:1px solid rgba(216,30,44,0.25);
  flex-wrap:wrap;
  gap:16px;
  position:relative;
  overflow:visible;
}
.brand{display:flex; align-items:center; gap:10px;}
.brand a{display:flex; align-items:center; gap:10px;}
.brand-logo{
  height:100px;
  width:auto;
  display:block;
  filter:drop-shadow(0 0 8px rgba(216,30,44,0.4));
  position:relative;
  z-index:5;
  margin:-24px 0 -24px 0;
}
.brand-name{
  font-family:'Anton', sans-serif;
  font-size:1.9rem;
  letter-spacing:0.04em;
}
.brand-name .accent{color:var(--red-bright);}
.site-header nav ul{
  display:flex;
  gap:22px;
  list-style:none;
  flex-wrap:wrap;
  align-items:center;
}
.site-header nav a{
  font-size:0.88rem;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--steel-light);
  transition:color 0.2s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.site-header nav a:hover{color:var(--red-bright);}
.nav-icon{
  width:22px; height:22px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  display:block;
}
.nav-icon-img{width:22px; height:22px; object-fit:contain; display:block;}
.nav-label-text{
  position:absolute;
  width:1px; height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
}
.nav-badge{
  display:inline-block; min-width:16px; height:16px; padding:0 4px;
  background:var(--red-bright); color:#fff; border-radius:9px;
  font-size:0.62rem; line-height:16px; text-align:center; margin-left:5px;
  font-family:'Oswald', sans-serif;
}

main{flex:1; padding:60px 6% 80px;}

/* auth pages */
.auth-page{display:flex; justify-content:center;}
.auth-box{
  width:100%;
  max-width:420px;
  background:var(--charcoal);
  border:1px solid rgba(216,30,44,0.3);
  padding:40px 34px;
  clip-path:polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}
.auth-box h2{font-size:1.6rem; margin-bottom:26px; color:var(--off-white);}
.auth-form{display:flex; flex-direction:column; gap:18px;}
.auth-form label{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:0.8rem;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--steel-light);
}
.auth-form input{
  background:var(--black);
  border:1px solid rgba(255,255,255,0.12);
  color:var(--off-white);
  padding:12px 14px;
  font-family:'Oswald', sans-serif;
  font-size:0.95rem;
}
.auth-form input:focus{outline:none; border-color:var(--red-bright);}
.auth-form input[type="file"]{padding:8px 0; border:none;}
.auth-form textarea{
  background:var(--black);
  border:1px solid rgba(255,255,255,0.12);
  color:var(--off-white);
  padding:12px 14px;
  font-family:'Oswald', sans-serif;
  font-size:0.92rem;
  resize:none;
  min-height:110px;
}
.auth-form textarea:focus{outline:none; border-color:var(--red-bright);}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 28px;
  font-family:'Oswald', sans-serif;
  font-weight:600;
  font-size:0.85rem;
  letter-spacing:0.12em;
  text-transform:uppercase;
  cursor:pointer;
  border:none;
  clip-path:polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.btn-primary{
  background:var(--red);
  color:var(--off-white);
  transition:background 0.2s ease;
}
.btn-primary:hover{background:var(--red-bright);}

.btn-ghost{
  background:transparent;
  color:var(--steel-light);
  border:1px solid rgba(201,204,208,0.35);
  transition:border-color 0.2s ease, color 0.2s ease;
}
.btn-ghost:hover{border-color:var(--red-bright); color:var(--off-white);}

.auth-switch{margin-top:22px; font-size:0.85rem; color:var(--steel);}
.auth-switch a{color:var(--red-bright);}

.form-errors{
  list-style:none;
  background:rgba(216,30,44,0.12);
  border:1px solid rgba(216,30,44,0.4);
  padding:14px 16px;
  margin-bottom:20px;
  font-size:0.85rem;
  color:var(--off-white);
}
.form-error{
  color:var(--red-bright);
  font-size:0.85rem;
  margin-bottom:16px;
}

/* section head, reused across pages */
.section-head{text-align:center; max-width:600px; margin:0 auto 50px;}
.section-eyebrow{
  font-size:0.83rem;
  letter-spacing:0.35em;
  color:var(--red-bright);
  font-weight:600;
  margin-bottom:12px;
}
.section-head h2{font-family:'Anton', sans-serif; text-transform:uppercase; font-size:clamp(1.9rem, 4vw, 2.8rem); color:var(--off-white);}

/* custom page content (page.php) */
.custom-page-view{padding:100px 8% 90px; max-width:900px; margin:0 auto;}
.custom-page-view .page-body{max-width:680px; margin:0 auto; text-align:center; color:var(--steel-light); font-weight:300; line-height:1.9; font-size:1.02rem;}
.custom-page-view .page-body .rich-link{color:var(--red-bright); border-bottom:1px solid rgba(216,30,44,0.4); text-decoration:none;}
.custom-page-view .page-body .rich-link:hover{border-color:var(--red-bright);}

/* videos page */
.videos-page{max-width:1100px; margin:0 auto; padding:20px 0 20px;}
.video-grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); gap:22px;}
.video-empty{grid-column:1/-1; text-align:center; padding:50px 20px; color:var(--steel); font-size:0.9rem; border:1px dashed rgba(255,255,255,0.12);}
.video-card{background:var(--charcoal); border:1px solid rgba(255,255,255,0.08); overflow:hidden;}
.video-frame{position:relative; width:100%; padding-top:56.25%; background:#000;}
.video-frame iframe{position:absolute; inset:0; width:100%; height:100%; border:0;}
.video-title{padding:14px 16px; font-size:0.92rem; color:var(--off-white); display:flex; align-items:center; justify-content:space-between; gap:10px;}
.video-title a{font-size:0.76rem; letter-spacing:0.06em; color:var(--steel-light); text-transform:uppercase; white-space:nowrap;}

/* members grid */
.member-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(180px, 1fr));
  gap:24px;
  max-width:1100px;
  margin:0 auto;
}
.member-card{
  background:var(--charcoal);
  border:1px solid rgba(255,255,255,0.06);
  padding:26px 18px;
  text-align:center;
  transition:transform 0.2s ease, border-color 0.2s ease;
  display:block;
}
.member-card:hover{transform:translateY(-4px); border-color:rgba(216,30,44,0.5);}
.member-photo{
  width:90px; height:90px;
  margin:0 auto 16px;
  position:relative;
}
.member-photo img{
  width:100%; height:100%; object-fit:cover;
  border-radius:50%;
  border:2px solid rgba(216,30,44,0.5);
  display:block;
}
.member-photo-placeholder{
  width:100%; height:100%;
  border-radius:50%;
  border:2px solid rgba(216,30,44,0.5);
  box-sizing:border-box;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(145deg, var(--red-deep), var(--red));
  font-family:'Anton', sans-serif;
  font-size:1.4rem;
}
.member-card h3{font-size:1.05rem; margin-bottom:4px; color:var(--off-white);}
.member-age{font-size:0.86rem; color:var(--steel); display:block; margin-top:6px;}

/* feed */
.feed-page{max-width:640px; margin:0 auto;}
.post-form{
  background:var(--charcoal);
  border:1px solid rgba(255,255,255,0.08);
  padding:22px;
  margin-bottom:40px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.post-form textarea{
  background:var(--black);
  border:1px solid rgba(255,255,255,0.12);
  color:var(--off-white);
  padding:14px;
  font-family:'Oswald', sans-serif;
  font-size:0.95rem;
  min-height:90px;
  resize:none;
}
.post-form textarea:focus{outline:none; border-color:var(--red-bright);}

.post-list{display:flex; flex-direction:column; gap:18px;}
.post-card{
  background:var(--charcoal);
  border:1px solid rgba(255,255,255,0.06);
  padding:20px 22px;
}
.post-header{display:flex; align-items:center; gap:12px; margin-bottom:12px;}
.post-avatar, .post-avatar-placeholder{
  width:38px; height:38px;
  border-radius:50%;
  flex-shrink:0;
}
.post-avatar{object-fit:cover;}
.post-avatar-placeholder{
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(145deg, var(--red-deep), var(--red));
  font-family:'Anton', sans-serif;
  font-size:0.85rem;
}
.post-header strong{display:block; font-size:0.92rem; color:var(--off-white);}
.post-date{font-size:0.8rem; color:var(--steel);}
.post-content{font-size:0.92rem; line-height:1.6; color:var(--steel-light); font-weight:300;}

/* emoji reactions */
.reaction-bar{display:flex; gap:6px; flex-wrap:wrap; margin-top:12px;}
.reaction-btn{
  background:var(--black);
  border:1px solid rgba(255,255,255,0.1);
  color:var(--steel-light);
  font-size:0.95rem;
  padding:5px 10px;
  border-radius:20px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:5px;
  transition:border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.reaction-btn:hover{border-color:rgba(216,30,44,0.5); transform:translateY(-1px);}
.reaction-btn.active{background:rgba(216,30,44,0.18); border-color:var(--red-bright);}
.reaction-btn span{font-size:0.8rem; color:var(--steel-light); font-family:'Oswald', sans-serif;}

/* like/dislike (Nieuws & Forum) */
.like-dislike-bar{display:flex; gap:8px; margin-top:12px;}
.like-btn, .dislike-btn{
  background:var(--black);
  border:1px solid rgba(255,255,255,0.1);
  color:var(--steel-light);
  font-size:0.95rem;
  padding:6px 14px;
  border-radius:20px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:6px;
  transition:border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.like-btn:hover, .dislike-btn:hover{transform:translateY(-1px);}
.like-btn:hover{border-color:#3fc36b;}
.dislike-btn:hover{border-color:var(--red-bright);}
.like-btn.active{background:rgba(63,195,107,0.15); border-color:#3fc36b; color:#3fc36b;}
.dislike-btn.active{background:rgba(216,30,44,0.15); border-color:var(--red-bright); color:var(--red-bright);}
.like-btn span, .dislike-btn span{font-size:0.8rem; font-family:'Oswald', sans-serif;}

/* polls */
.poll-box{background:var(--black); border:1px solid rgba(216,30,44,0.3); padding:20px 22px;}
.poll-question{font-size:0.98rem; color:var(--off-white); font-weight:500; margin-bottom:16px;}
.poll-vote-form{display:flex; flex-direction:column; gap:10px;}
.poll-option-btn{
  background:var(--charcoal); border:1px solid rgba(255,255,255,0.12); color:var(--off-white);
  padding:11px 14px; text-align:left; font-family:'Oswald', sans-serif; font-size:0.88rem;
  cursor:pointer; transition:border-color 0.15s ease, background 0.15s ease;
}
.poll-option-btn:hover{border-color:var(--red-bright); background:#1c1917;}
.poll-results{display:flex; flex-direction:column; gap:10px;}
.poll-result-row{
  position:relative; background:var(--charcoal); border:1px solid rgba(255,255,255,0.1);
  padding:10px 14px; overflow:hidden; display:flex; justify-content:space-between; align-items:center; gap:10px;
}
.poll-result-row.my-vote{border-color:rgba(216,30,44,0.6);}
.poll-result-bar{
  position:absolute; left:0; top:0; bottom:0; background:rgba(216,30,44,0.22); z-index:0; transition:width 0.3s ease;
}
.poll-result-label{position:relative; z-index:1; font-size:0.85rem; color:var(--off-white);}
.poll-result-pct{position:relative; z-index:1; font-size:0.88rem; color:var(--steel-light); font-family:'Anton', sans-serif;}
.poll-total{margin-top:10px; font-size:0.83rem; color:var(--steel);}

/* privéberichten — inbox */
.inbox-page{max-width:700px; margin:0 auto;}
.conversation-list{display:flex; flex-direction:column; gap:2px;}
.conversation-row{
  display:flex; align-items:center; gap:14px;
  background:var(--charcoal); border:1px solid rgba(255,255,255,0.06); padding:14px 18px;
  transition:border-color 0.15s ease;
}
.conversation-row:hover{border-color:rgba(216,30,44,0.4);}
.conversation-row.unread{border-color:rgba(216,30,44,0.5); background:#1c1917;}
.conversation-avatar, .conversation-avatar-placeholder{
  width:46px; height:46px; border-radius:50%; flex-shrink:0; object-fit:cover;
}
.conversation-avatar-placeholder{
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(145deg, var(--red-deep), var(--red));
  font-family:'Anton', sans-serif; font-size:1rem;
}
.conversation-info{flex:1; min-width:0; display:flex; flex-direction:column; gap:3px;}
.conversation-name{font-size:0.92rem; color:var(--off-white);}
.conversation-preview{font-size:0.88rem; color:var(--steel); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.conversation-badge{
  background:var(--red-bright); color:#fff; border-radius:50%;
  min-width:22px; height:22px; display:flex; align-items:center; justify-content:center;
  font-size:0.75rem; font-family:'Oswald', sans-serif; flex-shrink:0;
}

/* privéberichten — gesprek */
.conversation-page{max-width:680px; margin:0 auto;}
.conversation-page .post-card.own-message{border-color:rgba(216,30,44,0.35); background:#1c1917;}

/* comments (used on feed posts and profile wall posts) */
.comment-list{display:flex; flex-direction:column; gap:12px; margin-top:16px;}
.comment{display:flex; gap:10px;}
.comment-avatar, .comment-avatar-placeholder{
  width:30px; height:30px; border-radius:50%; flex-shrink:0; object-fit:cover;
}
.comment-avatar-placeholder{
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(145deg, var(--red-deep), var(--red));
  font-family:'Oswald', sans-serif; font-weight:700; font-size:0.82rem;
}
.comment-body{
  background:var(--black);
  border:1px solid rgba(255,255,255,0.06);
  padding:8px 12px;
  flex:1;
}
.comment-name{font-size:0.86rem; font-weight:600; color:var(--off-white);}
.comment-body-head{display:flex; align-items:center; justify-content:space-between; gap:10px;}
.comment-delete button{
  background:none; border:none; color:var(--steel); font-size:1rem; line-height:1; cursor:pointer;
  padding:0 4px; transition:color 0.2s ease;
}
.comment-delete button:hover{color:var(--red-bright);}
.comment-body p{font-size:0.85rem; color:var(--steel-light); font-weight:300; line-height:1.5; margin-top:2px;}
.comment-form{display:flex; gap:10px; margin-top:14px; flex-wrap:wrap;}
.comment-form input[type="text"]{
  flex:1; min-width:140px; background:var(--black); border:1px solid rgba(255,255,255,0.12); color:var(--off-white);
  padding:9px 12px; font-family:'Oswald', sans-serif; font-size:0.85rem;
}
.comment-form input[type="text"]:focus{outline:none; border-color:var(--red-bright);}
.comment-form button{
  background:transparent; border:1px solid rgba(216,30,44,0.5); color:var(--red-bright);
  font-size:0.8rem; letter-spacing:0.06em; text-transform:uppercase; padding:0 16px; cursor:pointer;
}
.comment-form button:hover{background:rgba(216,30,44,0.15);}

/* role badges */
.role-badge{
  display:inline-block;
  font-size:0.62rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  font-weight:600;
  padding:3px 9px;
  border-radius:3px;
  margin:2px 0 4px;
}
.badge-oprichter{background:linear-gradient(135deg, #caa24b, #8a6a1f); color:#1a1305;}
.badge-admin{background:var(--red); color:var(--off-white);}
.badge-moderator{background:rgba(138,141,145,0.2); color:var(--steel-light); border:1px solid rgba(201,204,208,0.4);}
.badge-crew{background:transparent; color:var(--steel); border:1px solid rgba(138,141,145,0.4);}
.badge-banned{background:rgba(216,30,44,0.15); color:var(--red-bright); border:1px solid rgba(216,30,44,0.5);}

/* moderation panel */
.mod-row{
  display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap;
  background:var(--black); border:1px solid rgba(255,255,255,0.06); padding:14px 16px;
}
.mod-row-info{display:flex; flex-direction:column; gap:4px;}
.mod-row-info a{color:var(--off-white); font-size:0.92rem; font-weight:500;}
.mod-row-info a:hover{color:var(--red-bright);}
.mod-email{font-size:0.9rem; color:var(--steel-light);}
.mod-reason{font-size:0.82rem; color:var(--steel);}
.mod-actions{display:flex; align-items:center; gap:10px; flex-wrap:wrap;}
.ban-details{position:relative;}
.ban-details summary{list-style:none;}
.ban-details summary::-webkit-details-marker{display:none;}
.ban-details summary::marker{display:none; content:'';}
.ban-form{
  display:flex; flex-direction:column; gap:8px;
  position:absolute; top:calc(100% + 8px); right:0; z-index:10;
  background:var(--charcoal); border:1px solid rgba(216,30,44,0.4); padding:14px; width:220px;
}
.ban-form select, .ban-form input{
  background:var(--black); border:1px solid rgba(255,255,255,0.12); color:var(--off-white);
  padding:8px 10px; font-family:'Oswald', sans-serif; font-size:0.88rem;
}

/* profile page */
.profile-page{max-width:900px; margin:0 auto;}
.profile-page.pimped{
  padding:28px 20px 40px;
  border-radius:8px;
  background-color:var(--black);
}
.profile-page.pimped .profile-banner-wrap{margin-top:0;}

/* accentkleur werkt door op de belangrijkste elementen van dit profiel,
   met de normale rode kleur als terugval als er geen accent is ingesteld */
.profile-page .profile-photo img,
.profile-page .profile-photo-placeholder{border-color:var(--profile-accent, rgba(216,30,44,0.5));}
.profile-page .role-badge.badge-crew,
.profile-page .friends-box,
.profile-page .wall-form-box,
.profile-page .wall-card{border-color:var(--profile-accent, rgba(255,255,255,0.08));}
.profile-page .interest-tag{border-color:var(--profile-accent, rgba(216,30,44,0.35));}
.profile-page .btn-primary{background:var(--profile-accent, var(--red));}

/* profielmuziek */
.profile-music-section{max-width:440px; margin:0 auto 26px;}
.profile-banner-wrap{
  width:100%;
  height:200px;
  border-radius:4px;
  overflow:hidden;
  margin-bottom:-56px;
}
.profile-banner{width:100%; height:100%; object-fit:cover; display:block;}
.profile-banner-empty{background:linear-gradient(135deg, var(--red-deep), var(--charcoal));}
.profile-head{position:relative; z-index:2; text-align:center; margin-bottom:40px;}
.profile-photo{width:120px; height:120px; margin:0 auto 18px; position:relative;}
.profile-photo img{width:100%; height:100%; object-fit:cover; border-radius:50%; border:3px solid rgba(216,30,44,0.5); display:block; box-sizing:border-box;}
.profile-photo-placeholder{width:100%; height:100%; border-radius:50%; border:3px solid rgba(216,30,44,0.5); box-sizing:border-box; display:flex; align-items:center; justify-content:center; background:linear-gradient(145deg, var(--red-deep), var(--red)); font-family:'Anton', sans-serif; font-size:2rem;}
.profile-head h2{font-size:1.6rem; color:var(--off-white); margin-bottom:6px;}
.profile-age{font-size:0.88rem; color:var(--steel-light); margin-top:8px;}
.profile-settings-link{
  font-size:0.78rem;
  color:var(--steel);
  margin-top:4px;
  display:inline-block;
  transition:color 0.2s ease;
}
.profile-settings-link:hover{color:var(--red-bright);}
.profile-status{font-size:0.88rem; color:var(--steel-light); margin-top:6px;}
.profile-bio{max-width:440px; margin:14px auto 0; color:var(--steel-light); font-size:0.9rem; line-height:1.6; font-weight:300;}
.interest-tags{display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:14px; max-width:440px; margin-left:auto; margin-right:auto;}
.interest-tag{
  background:var(--charcoal); border:1px solid rgba(216,30,44,0.35); color:var(--steel-light);
  font-size:0.82rem; padding:5px 12px; border-radius:20px;
}

/* wall-post door een vriend (niet de eigenaar zelf) */
.wall-author{display:flex; align-items:center; gap:10px; margin-bottom:12px;}
.wall-author-avatar, .wall-author-avatar-placeholder{width:32px; height:32px; border-radius:50%; flex-shrink:0; object-fit:cover;}
.wall-author-avatar-placeholder{
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(145deg, var(--red-deep), var(--red));
  font-family:'Oswald', sans-serif; font-weight:700; font-size:0.86rem;
}
.wall-author-note{font-size:0.78rem; color:var(--steel); font-style:italic;}

/* herinneringen */
.memories-page{max-width:1000px; margin:0 auto;}
.memories-grid{display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:20px; margin-top:24px;}
.memory-card{background:var(--charcoal); border:1px solid rgba(255,255,255,0.08); overflow:hidden;}
.memory-media{width:100%; height:180px; object-fit:cover; display:block; background:#000;}
.memory-video{position:relative; height:180px; padding:0;}
.memory-video iframe{position:absolute; inset:0; width:100%; height:100%; border:0;}
.memory-info{padding:16px 18px;}
.memory-date{font-size:0.78rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--red-bright); font-weight:600;}
.memory-caption{font-size:0.88rem; color:var(--steel-light); font-weight:300; margin-top:8px; line-height:1.5;}
.memory-author{display:flex; align-items:center; gap:8px; margin-top:12px;}
.memory-author-avatar, .memory-author-avatar-placeholder{width:26px; height:26px; border-radius:50%; object-fit:cover; flex-shrink:0;}
.memory-author-avatar-placeholder{
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(145deg, var(--red-deep), var(--red));
  font-family:'Oswald', sans-serif; font-weight:700; font-size:0.78rem;
}
.memory-author a{font-size:0.88rem; color:var(--steel-light);}

/* crewchat */
.crewchat-page{max-width:1000px; margin:0 auto;}
.crewchat-layout{display:grid; grid-template-columns:200px 1fr; gap:20px; align-items:start;}
.crewchat-members, .crewchat-messages{min-width:0;}
.crewchat-members{background:var(--charcoal); border:1px solid rgba(255,255,255,0.08); padding:18px;}
.crewchat-members h3{font-size:0.85rem; color:var(--off-white); margin-bottom:14px;}
.crewchat-member-list{display:flex; flex-direction:column; gap:10px;}
.crewchat-member{display:flex; align-items:center; gap:8px; flex-wrap:nowrap;}
.crewchat-member img, .crewchat-member-placeholder{width:28px; height:28px; border-radius:50%; object-fit:cover; flex-shrink:0;}
.crewchat-member-placeholder{
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(145deg, var(--red-deep), var(--red));
  font-family:'Oswald', sans-serif; font-weight:700; font-size:0.8rem;
}
.crewchat-member span{
  font-size:0.9rem; color:var(--steel-light);
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0;
}
.crewchat-member .role-badge{flex-shrink:0;}
.crewchat-messages{background:var(--charcoal); border:1px solid rgba(255,255,255,0.08); padding:18px; display:flex; flex-direction:column;}
.crewchat-log{display:flex; flex-direction:column; gap:14px; max-height:480px; overflow-y:auto; padding-right:4px; margin-bottom:16px;}
.crewchat-message{display:flex; gap:10px;}
.crewchat-message.own .crewchat-msg-body{border-color:rgba(216,30,44,0.4); background:#1c1917;}
.crewchat-msg-avatar, .crewchat-msg-avatar-placeholder{width:32px; height:32px; border-radius:50%; object-fit:cover; flex-shrink:0;}
.crewchat-msg-avatar-placeholder{
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(145deg, var(--red-deep), var(--red));
  font-family:'Oswald', sans-serif; font-weight:700; font-size:0.84rem;
}
.crewchat-msg-body{flex:1; background:var(--black); border:1px solid rgba(255,255,255,0.06); padding:9px 13px;}
.crewchat-msg-head{display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:3px;}
.crewchat-msg-delete-form{margin-left:auto;}
.crewchat-msg-delete-form button{
  background:none; border:none; color:var(--steel); font-size:1rem; line-height:1; cursor:pointer;
  padding:0 4px; transition:color 0.2s ease;
}
.crewchat-msg-delete-form button:hover{color:var(--red-bright);}
.crewchat-msg-head strong{font-size:0.9rem; color:var(--off-white);}
.crewchat-msg-time{font-size:0.76rem; color:var(--steel);}
.crewchat-msg-body p{font-size:0.86rem; color:var(--steel-light); font-weight:300; line-height:1.5;}
.crewchat-input{display:flex; gap:10px; flex-wrap:wrap; position:relative;}
.crewchat-emoji-btn{
  background:var(--black);
  border:1px solid rgba(255,255,255,0.12);
  color:var(--off-white);
  font-size:1.1rem;
  font-weight:600;
  padding:0 14px;
  cursor:pointer;
  flex-shrink:0;
}
.crewchat-emoji-btn:hover{border-color:var(--red-bright); color:var(--red-bright);}
.crewchat-emoji-panel{
  position:absolute;
  bottom:100%;
  left:0;
  margin-bottom:8px;
  background:var(--charcoal);
  border:1px solid rgba(216,30,44,0.4);
  padding:10px;
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:6px;
  z-index:50;
  width:270px;
}
.crewchat-emoji-panel[hidden]{display:none;}
.crewchat-emoji-panel button{
  background:none; border:none; font-size:1.3rem; padding:8px 4px; cursor:pointer;
  border-radius:4px; transition:background 0.15s ease;
  display:flex; align-items:center; justify-content:center;
}
.crewchat-emoji-panel button:hover{background:rgba(255,255,255,0.08);}
.crewchat-input input[type="text"]{min-width:150px;}
.crewchat-input button{flex-shrink:0;}
.crewchat-input input[type="text"]{
  flex:1; background:var(--black); border:1px solid rgba(255,255,255,0.12); color:var(--off-white);
  padding:11px 14px; font-family:'Oswald', sans-serif; font-size:0.9rem;
}
.crewchat-input input:focus{outline:none; border-color:var(--red-bright);}

@media (max-width:700px){
  .crewchat-layout{grid-template-columns:1fr;}
}

/* mediaspeler (inline, geplaatst waar de beheerder kiest) */
.media-player-section{max-width:500px; margin:0 auto 30px;}
.media-player-inline{
  background:var(--charcoal); border:1px solid rgba(216,30,44,0.35);
}
.media-player-label{
  padding:10px 14px; background:var(--black); font-size:0.9rem; color:var(--off-white);
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.media-player-inline .video-frame{position:relative; width:100%; padding-top:56.25%; background:#000;}
.media-player-inline .video-frame iframe{position:absolute; inset:0; width:100%; height:100%; border:0;}
.media-player-controls{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:10px 14px; background:var(--black);
}
.media-player-controls button{
  background:none; border:1px solid rgba(255,255,255,0.2); color:var(--steel-light);
  width:30px; height:30px; cursor:pointer; font-size:0.9rem;
}
.media-player-controls button:hover{border-color:var(--red-bright); color:var(--red-bright);}
.media-player-controls a{font-size:0.78rem; letter-spacing:0.04em; color:var(--steel); text-transform:uppercase;}

/* vrienden */
.friend-actions{display:flex; gap:10px; justify-content:center; margin-top:16px;}
.friends-box{background:var(--charcoal); border:1px solid rgba(255,255,255,0.08); padding:22px; margin-bottom:26px;}
.friends-box h3{font-size:1rem; color:var(--off-white); margin-bottom:16px;}
.friend-grid{display:grid; grid-template-columns:repeat(auto-fill, minmax(100px, 1fr)); gap:16px;}
.friend-item{text-align:center;}
.friend-avatar{
  width:56px; height:56px; border-radius:50%; margin:0 auto 8px;
  background:linear-gradient(145deg, var(--red-deep), var(--red));
  display:flex; align-items:center; justify-content:center;
  font-family:'Anton', sans-serif; font-size:0.95rem;
  border:2px solid rgba(216,30,44,0.5);
  object-fit:cover;
}
.friend-name{font-size:0.88rem; color:var(--steel-light);}
.friend-request{
  display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap;
  background:var(--black); border:1px solid rgba(216,30,44,0.3); padding:12px 16px; margin-bottom:10px;
}
.friend-request span{font-size:0.85rem; color:var(--off-white);}
.friend-request .btns{display:flex; gap:8px;}
.btn-accept{
  background:var(--red); border:none; color:#fff;
  font-family:'Oswald', sans-serif; font-size:0.78rem; letter-spacing:0.06em; text-transform:uppercase;
  padding:7px 12px; cursor:pointer;
}
.btn-accept:hover{background:var(--red-bright);}

/* online/offline status dot */
.status-dot{
  position:absolute;
  bottom:2px; right:2px;
  width:14px; height:14px;
  border-radius:50%;
  border:2px solid var(--charcoal);
}
.profile-photo .status-dot{width:18px; height:18px; bottom:4px; right:4px; border-color:var(--black);}
.status-dot.is-online{background:#3fc36b;}
.status-dot.is-offline{background:#5a5d61;}

.privacy-toggle{
  display:flex; align-items:center; gap:10px;
  font-size:0.85rem; color:var(--steel-light); font-weight:300; cursor:pointer;
}
.privacy-toggle input{width:16px; height:16px; accent-color:var(--red-bright);}

/* naamstijl (crew-perk) */
.name-style-form{display:flex; flex-direction:column; gap:16px;}
.name-style-field{display:flex; align-items:center; justify-content:space-between; gap:14px; font-size:0.9rem; color:var(--steel-light);}
.name-style-field input[type="color"]{
  width:48px; height:32px; border:1px solid rgba(255,255,255,0.15); background:var(--black); cursor:pointer; padding:2px;
}
.name-style-field select{
  background:var(--black); border:1px solid rgba(255,255,255,0.15); color:var(--off-white);
  padding:8px 12px; font-size:0.85rem; min-width:180px;
}
.name-style-preview{
  background:var(--black); border:1px solid rgba(255,255,255,0.08); padding:14px 16px;
  font-size:1rem; color:var(--steel);
}

/* news */
.news-page{max-width:800px; margin:0 auto;}

/* agenda */
.agenda-page{max-width:800px; margin:0 auto;}
.agenda-list{display:flex; flex-direction:column; gap:14px;}
.agenda-card{
  display:flex; gap:20px;
  background:var(--charcoal); border:1px solid rgba(255,255,255,0.08); padding:20px 24px;
}
.agenda-date{
  flex-shrink:0; width:64px; text-align:center;
  background:var(--black); border:1px solid rgba(216,30,44,0.4);
  padding:10px 0;
}
.agenda-day{display:block; font-family:'Anton', sans-serif; font-size:1.6rem; color:var(--red-bright); line-height:1;}
.agenda-month{display:block; font-size:0.76rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--steel); margin-top:4px;}
.agenda-info h3{font-size:1.05rem; color:var(--off-white); margin-bottom:6px;}
.agenda-meta{display:flex; gap:16px; flex-wrap:wrap; font-size:0.88rem; color:var(--steel-light); margin-bottom:8px;}
.agenda-info p{font-size:0.88rem; color:var(--steel-light); font-weight:300; line-height:1.6;}
.agenda-past{margin-top:30px;}
.agenda-past summary{
  cursor:pointer; color:var(--steel); font-size:0.85rem;
  letter-spacing:0.06em; text-transform:uppercase; padding:10px 0;
  border-top:1px solid rgba(255,255,255,0.08);
}
.agenda-past-card{opacity:0.55;}
.news-list{display:flex; flex-direction:column; gap:22px;}
.news-card{background:var(--charcoal); border:1px solid rgba(255,255,255,0.06); padding:26px 28px;}
.news-banner{width:100%; max-height:280px; object-fit:cover; display:block; margin:-26px -28px 20px; width:calc(100% + 56px);}
.news-image{max-width:100%; border-radius:4px; margin-top:16px; display:block;}
.news-card .video-frame{margin-top:16px;}
.news-date{font-size:0.8rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--red-bright); font-weight:600;}
.news-card h3{font-family:'Anton', sans-serif; text-transform:uppercase; font-size:1.3rem; color:var(--off-white); margin:8px 0 12px;}
.news-body{color:var(--steel-light); font-weight:300; line-height:1.8; font-size:0.95rem;}
.news-body .rich-link{color:var(--red-bright); border-bottom:1px solid rgba(216,30,44,0.4); text-decoration:none;}

/* advertising banner */
.ad-section{max-width:1100px; margin:40px auto 0;}
.ad-banner{position:relative; text-align:center;}
.ad-label{
  position:absolute; top:6px; left:6px; z-index:2;
  background:rgba(10,9,8,0.75); color:var(--steel-light);
  font-size:0.7rem; letter-spacing:0.08em; text-transform:uppercase;
  padding:3px 8px;
}
.ad-banner a{display:block;}
.ad-banner img{width:100%; max-height:130px; object-fit:cover; display:block; border:1px solid rgba(255,255,255,0.08);}

@media (max-width:700px){
  .ad-banner img{max-height:170px;}
}

/* forum */
.forum-page{max-width:800px; margin:0 auto;}
.forum-category-list{display:flex; flex-direction:column; gap:14px;}
.forum-category-card{
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
  background:var(--charcoal); border:1px solid rgba(255,255,255,0.06); padding:20px 24px;
  transition:border-color 0.2s ease, transform 0.2s ease;
}
.forum-category-card:hover{border-color:rgba(216,30,44,0.5); transform:translateY(-2px);}
.forum-category-card h3{font-size:1.1rem; color:var(--off-white); margin-bottom:4px;}
.forum-category-card p{font-size:0.85rem; color:var(--steel); font-weight:300;}
.forum-category-meta{display:flex; flex-direction:column; align-items:flex-end; gap:4px; font-size:0.84rem; color:var(--steel);}

.new-topic-box{margin-bottom:26px;}
.new-topic-box summary{list-style:none;}
.new-topic-box summary::-webkit-details-marker{display:none;}

.topic-list{display:flex; flex-direction:column; gap:2px;}
.topic-row{
  background:var(--charcoal); border:1px solid rgba(255,255,255,0.06); padding:16px 20px;
  display:flex; flex-direction:column; gap:6px; position:relative;
}
.topic-title{color:var(--off-white); font-size:0.98rem; font-weight:500;}
.topic-title:hover{color:var(--red-bright);}
.topic-pin, .topic-lock{font-size:0.85rem; margin:0 4px;}
.topic-meta{font-size:0.84rem; color:var(--steel);}
.topic-meta a{color:var(--steel-light);}
.topic-delete{position:absolute; top:14px; right:16px;}

.topic-mod-actions{display:flex; gap:10px; margin-bottom:20px;}

.wall-form-box{
  background:var(--charcoal);
  border:1px solid rgba(255,255,255,0.08);
  padding:22px;
  margin-bottom:34px;
}
.wall-form-box h3{font-size:1rem; color:var(--off-white); margin-bottom:16px;}

.new-message-form{display:flex; gap:10px; flex-wrap:wrap;}
.new-message-form select,
.new-message-form input[type="text"]{
  flex:1;
  min-width:180px;
  background:var(--black);
  border:1px solid rgba(255,255,255,0.12);
  color:var(--off-white);
  padding:12px 14px;
  font-family:'Oswald', sans-serif;
  font-size:0.95rem;
}
.new-message-form select:focus,
.new-message-form input[type="text"]:focus{outline:none; border-color:var(--red-bright);}
.wall-form{display:flex; flex-direction:column; gap:14px;}
.wall-form textarea{
  background:var(--black); border:1px solid rgba(255,255,255,0.12); color:var(--off-white);
  padding:12px 14px; font-family:'Oswald', sans-serif; font-size:0.92rem; min-height:80px; resize:none;
}
.wall-form textarea:focus{outline:none; border-color:var(--red-bright);}
.wall-form-row{display:flex; gap:14px; flex-wrap:wrap; align-items:center;}
.wall-file-label{
  font-size:0.86rem; color:var(--steel-light); cursor:pointer;
  border:1px solid rgba(255,255,255,0.15); padding:10px 14px; display:inline-flex; align-items:center; gap:6px;
}
.wall-file-label input{display:none;}
.wall-form-row input[type="text"]{
  flex:1; min-width:180px; background:var(--black); border:1px solid rgba(255,255,255,0.12); color:var(--off-white);
  padding:11px 14px; font-family:'Oswald', sans-serif; font-size:0.88rem;
}

.wall-list{display:flex; flex-direction:column; gap:18px;}
.wall-card{
  background:var(--charcoal); border:1px solid rgba(255,255,255,0.06);
  padding:18px 20px; position:relative;
}
.wall-text{color:var(--steel-light); font-weight:300; line-height:1.7; font-size:0.94rem; margin-bottom:12px;}
.wall-image{width:100%; border-radius:2px; margin-bottom:12px; display:block;}
.wall-video{margin-bottom:12px;}
.wall-video .video-frame{position:relative; width:100%; padding-top:56.25%; background:#000;}
.wall-video .video-frame iframe{position:absolute; inset:0; width:100%; height:100%; border:0;}
.wall-date{font-size:0.78rem; color:var(--steel);}
.wall-delete{margin-bottom:10px; display:flex; justify-content:flex-end;}

/* footer */
.site-footer{
  text-align:center;
  padding:26px;
  font-size:0.83rem;
  color:#4a4744;
  border-top:1px solid rgba(255,255,255,0.06);
}

/* social media iconen in de footer */
.social-links{
  display:flex;
  justify-content:center;
  gap:16px;
  margin-bottom:16px;
}
.social-link{
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:50%;
  background:var(--charcoal);
  border:1px solid rgba(255,255,255,0.1);
  color:var(--steel-light);
  transition:border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.social-link:hover{
  border-color:rgba(216,30,44,0.5);
  color:var(--red-bright);
  transform:translateY(-2px);
}

/* footer op de homepage (index.php) — had nog helemaal geen eigen opmaak */
.home-footer{
  text-align:center;
  padding:40px 5% 30px;
  border-top:1px solid rgba(255,255,255,0.06);
  margin-top:40px;
}
.home-footer .footer-brand span{
  font-family:'Anton', sans-serif;
  font-size:1.1rem;
  letter-spacing:0.06em;
  color:var(--off-white);
  display:block;
  margin-bottom:16px;
}
.home-footer .footer-note{
  color:var(--steel);
  font-size:0.82rem;
  margin-top:16px;
}
.home-footer .footer-note a{color:var(--steel-light);}
.home-footer .footer-note a:hover{color:var(--red-bright);}

/* admin dashboard */
.dashboard{max-width:900px; margin:0 auto;}

.dash-quicknav{
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
  background:var(--charcoal); border:1px solid rgba(255,255,255,0.08);
  padding:14px 20px; margin-bottom:30px;
}
.dash-quicknav span{font-size:0.86rem; letter-spacing:0.06em; text-transform:uppercase; color:var(--steel-light);}
.dash-quicknav ul{display:flex; gap:18px; flex-wrap:wrap; list-style:none; flex:1;}
.dash-quicknav a{font-size:0.88rem; color:var(--steel-light); transition:color 0.2s ease;}
.dash-quicknav a:hover{color:var(--red-bright);}
.dash-quicknav-update{
  background:rgba(216,30,44,0.12);
  border:1px solid rgba(216,30,44,0.5);
  color:var(--red-bright) !important;
  font-weight:600;
  padding:8px 16px;
  white-space:nowrap;
  transition:background 0.2s ease;
}
.dash-quicknav-update:hover{background:rgba(216,30,44,0.25); color:var(--red-bright) !important;}

.dash-group-title{
  font-family:'Anton', sans-serif;
  font-size:1.1rem;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:var(--red-bright);
  margin:40px 0 16px;
  padding-bottom:10px;
  border-bottom:1px solid rgba(216,30,44,0.3);
  scroll-margin-top:20px;
}
.dash-group-title:first-of-type{margin-top:0;}

/* startscherm van het beheerpaneel — alleen knoppen */
.dash-home-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:20px;
}
.dash-home-card{
  display:block;
  background:var(--charcoal);
  border:1px solid rgba(255,255,255,0.08);
  padding:28px 24px;
  transition:border-color 0.2s ease, transform 0.2s ease;
}
.dash-home-card:hover{border-color:rgba(216,30,44,0.5); transform:translateY(-3px);}
.dash-home-card h3{
  font-family:'Anton', sans-serif;
  font-size:1.25rem;
  letter-spacing:0.02em;
  color:var(--off-white);
  margin-bottom:10px;
}
.dash-home-card p{color:var(--steel-light); font-size:0.9rem; font-weight:300; line-height:1.65;}
.dash-panel{
  background:var(--charcoal);
  border:1px solid rgba(255,255,255,0.08);
  padding:28px 30px;
  margin-bottom:30px;
}
.dash-panel h3{font-size:1.2rem; color:var(--off-white); margin-bottom:20px;}

/* invouwbare panelen (o.a. bij profielinstellingen) */
details.dash-panel{padding:0;}
details.dash-panel summary{
  padding:22px 30px;
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
details.dash-panel summary::-webkit-details-marker{display:none;}
details.dash-panel summary h3{margin-bottom:0;}
details.dash-panel summary::after{
  content:'+';
  font-family:'Anton', sans-serif;
  font-size:1.3rem;
  color:var(--steel);
  transition:transform 0.2s ease;
  flex-shrink:0;
  margin-left:16px;
}
details.dash-panel[open] summary::after{content:'−';}
details.dash-panel summary:hover h3{color:var(--red-bright);}
.dash-panel-body{padding:0 30px 28px;}
.dash-form{display:flex; flex-direction:column; gap:22px;}
.dash-form fieldset{border:1px solid rgba(255,255,255,0.08); padding:18px; display:flex; flex-direction:column; gap:14px;}
.dash-form legend{padding:0 8px; font-size:0.83rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--red-bright);}
.dash-form label{display:flex; flex-direction:column; gap:6px; font-size:0.88rem; letter-spacing:0.04em; text-transform:uppercase; color:var(--steel-light);}
.dash-form label.privacy-toggle{flex-direction:row; align-items:center; text-transform:none; letter-spacing:normal; font-size:0.85rem;}
.dash-form input, .dash-form textarea{
  background:var(--black);
  border:1px solid rgba(255,255,255,0.12);
  color:var(--off-white);
  padding:10px 12px;
  font-family:'Oswald', sans-serif;
  font-size:0.88rem;
  text-transform:none;
  letter-spacing:normal;
}
.dash-form textarea{min-height:70px; resize:vertical;}
.dash-form input:focus, .dash-form textarea:focus{outline:none; border-color:var(--red-bright);}
.dash-grid-2{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
.dash-grid-3{display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px;}
.dash-grid-2 > *, .dash-grid-3 > *{min-width:0;}
.dash-form-inline{display:flex; gap:12px; flex-wrap:wrap; margin-bottom:20px;}
.dash-form-inline input{
  flex:1; min-width:160px;
  background:var(--black); border:1px solid rgba(255,255,255,0.12); color:var(--off-white);
  padding:12px 14px; font-family:'Oswald', sans-serif; font-size:0.88rem;
}
.dash-list{display:flex; flex-direction:column; gap:10px;}
.dash-list-item{
  display:flex; align-items:center; justify-content:space-between;
  background:var(--black); border:1px solid rgba(255,255,255,0.06);
  padding:12px 16px; font-size:0.85rem; color:var(--steel-light);
}
.dash-empty{color:var(--steel); font-size:0.85rem;}
.dash-member-row select{
  background:var(--black);
  border:1px solid rgba(255,255,255,0.15);
  color:var(--off-white);
  padding:7px 10px;
  font-family:'Oswald', sans-serif;
  font-size:0.86rem;
  text-transform:none;
  letter-spacing:normal;
}
.dash-member-row select:focus{outline:none; border-color:var(--red-bright);}
.dash-hint{font-size:0.88rem; color:var(--steel-light); margin-top:4px; line-height:1.7;}
.dash-hint code{background:var(--black); padding:2px 6px; border-radius:2px; color:var(--red-bright); font-size:0.86rem;}
.dash-link-list{list-style:none; display:flex; flex-direction:column; gap:6px; margin-bottom:6px;}
.dash-link-list li{font-size:0.88rem; color:var(--steel-light);}
.dash-link-list code{background:var(--black); padding:2px 6px; border-radius:2px; color:var(--red-bright); font-size:0.84rem;}
.btn-remove{
  background:none; border:1px solid rgba(216,30,44,0.5); color:var(--red-bright);
  font-size:0.78rem; letter-spacing:0.06em; text-transform:uppercase; padding:7px 12px; cursor:pointer;
}
.btn-remove:hover{background:rgba(216,30,44,0.15);}
.btn-remove-small{
  font-size:0.68rem;
  padding:5px 9px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  box-sizing:border-box;
}
.notice-success{
  background:rgba(46,160,67,0.12);
  border:1px solid rgba(46,160,67,0.4);
  color:#7ee2a8;
  padding:12px 16px;
  margin-bottom:24px;
  font-size:0.85rem;
}

@media (max-width:700px){
  .dash-grid-2, .dash-grid-3{grid-template-columns:1fr;}
}

/* pijltje-knop om het mobiele menu open/dicht te klappen — onzichtbaar op desktop */
.nav-mobile-toggle{
  display:none;
  background:none; border:1px solid rgba(255,255,255,0.15);
  color:var(--off-white); width:38px; height:38px;
  align-items:center; justify-content:center; cursor:pointer;
  position:absolute; top:18px; right:5%;
}
.nav-mobile-toggle-arrow{
  display:inline-block; transition:transform 0.2s ease;
  width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:2;
  stroke-linecap:round; stroke-linejoin:round;
}
.nav-mobile-toggle[aria-expanded="true"] .nav-mobile-toggle-arrow{transform:rotate(180deg);}

@media (max-width:600px){
  .site-header{flex-direction:row; align-items:center; flex-wrap:wrap; position:relative;}
  .nav-mobile-toggle{display:flex;}

  .site-header nav{
    width:100%; margin-top:16px;
    max-height:0; overflow:hidden;
  }
  .site-header nav.nav-mobile-open{max-height:1000px;}

  .site-header nav ul{
    flex-direction:column; align-items:stretch; gap:2px;
  }
  .site-header nav ul li{width:100%;}
  .site-header nav ul li a,
  .site-header nav ul li button.nav-bell{
    width:100%; padding:12px 6px; gap:14px;
    border-top:1px solid rgba(255,255,255,0.06);
    justify-content:flex-start;
  }
  /* Op mobiel, in het uitgeklapte menu, tonen we de tekst gewoon naast het icoon */
  .site-header nav .nav-label-text{
    position:static; width:auto; height:auto; overflow:visible; clip:auto;
    white-space:nowrap; font-size:0.85rem; text-transform:uppercase; letter-spacing:0.06em;
  }
  .nav-icon, .nav-icon-img{width:20px; height:20px; flex-shrink:0;}
  .nav-search-item{width:100%;}
  .nav-search-form{position:static; margin-top:8px; width:100%;}
  .nav-search-form input{width:100%;}
}

/* Grote desktopschermen: site en tekst iets groter, comfortabeler leesbaar */
@media (min-width:1400px){
  html{font-size:18px;}
  .custom-page-view,
  .crewchat-page,
  .ad-section,
  .profile-page,
  .dashboard{max-width:1100px;}
  .site-header{padding:22px 6%;}
  .site-header nav a{font-size:0.86rem;}
}

/* cirkelvormige foto-bijsnijder */
.crop-modal{
  position:fixed; inset:0; z-index:1000;
  background:rgba(0,0,0,0.85);
  display:flex; align-items:center; justify-content:center;
  padding:20px;
}
.crop-modal[hidden]{display:none;}
.crop-modal-box{
  background:var(--charcoal);
  border:1px solid rgba(216,30,44,0.4);
  padding:28px;
  max-width:400px;
  width:100%;
  text-align:center;
}
.crop-modal-box h3{margin-bottom:16px; font-size:1.1rem;}
.crop-canvas-wrap{
  position:relative;
  width:320px; height:320px;
  margin:0 auto 18px;
  touch-action:none;
}
.crop-canvas{
  display:block;
  width:320px; height:320px;
  cursor:grab;
  border-radius:6px;
}
.crop-canvas:active{cursor:grabbing;}
.crop-circle-overlay{
  position:absolute; inset:0;
  border-radius:50%;
  box-shadow:0 0 0 2000px rgba(10,9,8,0.72);
  border:2px solid var(--red-bright);
  pointer-events:none;
}
.crop-zoom-label{
  display:flex; align-items:center; gap:10px;
  font-size:0.9rem; color:var(--steel-light);
  margin-bottom:10px;
}
.crop-zoom-range{flex:1;}
.crop-modal-actions{
  display:flex; gap:10px; justify-content:center; margin-top:16px; flex-wrap:wrap;
}

/* ================= NIEUWE SOCIALE FUNCTIES ================= */

/* meldingen-belletje */
.nav-bell-item{position:relative;}
.nav-bell{position:relative; font-size:1.1rem; display:inline-flex;}
button.nav-bell{background:none; border:none; color:inherit; cursor:pointer; font-family:inherit; padding:0;}

/* zoekbalk in de menubalk */
.nav-search-item{position:relative;}
.nav-search-form{
  position:absolute;
  top:100%;
  right:0;
  margin-top:8px;
  z-index:60;
}
.nav-search-form[hidden]{display:none;}
.nav-search-form input{
  background:var(--black);
  border:1px solid rgba(255,255,255,0.15);
  color:var(--off-white);
  padding:8px 12px;
  font-family:'Oswald', sans-serif;
  font-size:0.82rem;
  width:150px;
}
.nav-search-form input:focus{outline:none; border-color:var(--red-bright);}

/* meldingenlijst */
.notif-list{display:flex; flex-direction:column; gap:2px;}
.notif-row{
  display:flex; justify-content:space-between; align-items:center; gap:14px;
  padding:14px 16px; background:var(--black); border-left:3px solid transparent;
  transition:border-color 0.2s ease;
}
.notif-row:hover{border-left-color:var(--red-bright);}
.notif-unread{border-left-color:var(--red-bright); background:rgba(216,30,44,0.06);}
.notif-message{color:var(--off-white); font-size:0.92rem;}
.notif-time{color:var(--steel); font-size:0.78rem; white-space:nowrap;}

/* @vermeldingen */
.mention-tag{color:var(--red-bright); font-weight:600; text-decoration:none;}
.mention-tag:hover{text-decoration:underline;}

/* verjaardagsbanner */
.birthday-banner{
  background:var(--charcoal); border:1px solid rgba(216,30,44,0.3);
  padding:14px 18px; margin-top:18px; font-size:0.92rem; color:var(--steel-light);
}
.birthday-banner a{color:var(--red-bright);}

/* wie is online-widget */
.online-widget{margin-top:22px; text-align:center;}
.online-widget-label{font-size:0.8rem; color:var(--steel-light); display:block; margin-bottom:10px;}
.online-widget-avatars{display:flex; gap:8px; justify-content:center; flex-wrap:wrap;}
.online-widget-avatars img,
.online-widget-placeholder{
  width:38px; height:38px; border-radius:50%; object-fit:cover;
  border:2px solid #3fc36b; display:flex; align-items:center; justify-content:center;
  background:var(--red-deep); color:var(--off-white); font-size:0.72rem;
}

/* agenda RSVP */
.agenda-rsvp{display:flex; gap:10px; margin-top:14px; flex-wrap:wrap;}
.rsvp-btn{
  background:var(--black); border:1px solid rgba(255,255,255,0.15); color:var(--steel-light);
  padding:8px 14px; font-size:0.8rem; cursor:pointer; transition:all 0.2s ease;
}
.rsvp-btn:hover{border-color:var(--red-bright); color:var(--off-white);}
.rsvp-active{border-color:#3fc36b; color:#3fc36b;}

/* gelezen-vinkje bij privéberichten */
.read-receipt{font-size:0.78rem; margin-left:4px; font-weight:600;}
.read-receipt-unread{color:var(--steel);}
.read-receipt-read{color:#3fc36b;}

/* typ-indicator bij Crew Chat */
.crewchat-typing{
  min-height:18px; font-size:0.78rem; color:var(--steel); font-style:italic;
  padding:0 4px 6px;
}

@media (max-width:700px){
  .nav-search-form input{width:110px;}
  .gif-picker-panel{width:220px; left:auto; right:0;}
  .gif-results{grid-template-columns:1fr 1fr;}
}
@media (max-width:400px){
  .gif-picker-panel{width:180px;}
}

/* cookiebanner */
.cookie-banner{
  position:fixed;
  bottom:0; left:0; right:0;
  z-index:900;
  background:var(--charcoal);
  border-top:1px solid rgba(216,30,44,0.4);
  padding:18px 5%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}
.cookie-banner[hidden]{display:none;}
.cookie-banner p{color:var(--steel-light); font-size:0.88rem; margin:0; max-width:700px; line-height:1.6;}
.cookie-banner p a{color:var(--red-bright);}
.cookie-banner-actions{display:flex; gap:10px; flex-shrink:0;}
.cookie-banner-actions .btn{min-width:130px;}
.cookie-banner-actions .btn-ghost{
  background:rgba(255,255,255,0.1);
  border:none;
  color:var(--off-white);
}
.cookie-banner-actions .btn-ghost:hover{background:rgba(255,255,255,0.18);}

@media (max-width:600px){
  .cookie-banner{flex-direction:column; align-items:stretch; text-align:center;}
  .cookie-banner-actions{justify-content:center;}
}

/* GIF-kiezer (Giphy) */
.gif-picker-panel{
  position:absolute;
  bottom:100%;
  left:0;
  margin-bottom:8px;
  background:var(--charcoal);
  border:1px solid rgba(216,30,44,0.4);
  padding:10px;
  width:280px;
  max-height:320px;
  z-index:60;
}
.gif-picker-panel[hidden]{display:none;}
.gif-search-input{
  width:100%;
  background:var(--black);
  border:1px solid rgba(255,255,255,0.12);
  color:var(--off-white);
  padding:8px 10px;
  font-family:'Oswald', sans-serif;
  font-size:0.85rem;
  margin-bottom:8px;
}
.gif-search-input:focus{outline:none; border-color:var(--red-bright);}
.gif-results{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  max-height:230px;
  overflow-y:auto;
}
.gif-results img{width:100%; height:80px; object-fit:cover; cursor:pointer; border-radius:2px;}
.gif-results img:hover{outline:2px solid var(--red-bright);}
.gif-loading{color:var(--steel); font-size:0.8rem; grid-column:1 / -1; text-align:center; padding:20px 0;}
.gif-message{max-width:min(280px, 100%); width:100%; height:auto; border-radius:4px; display:block; margin-top:4px;}

/* dansende banaan — eigen ontwerp, geanimeerd zodra hij geplaatst wordt */
.dancing-banana{
  width:64px; height:64px; display:block; margin-top:4px;
  animation:banana-dance 0.45s ease-in-out infinite alternate;
  transform-origin:50% 85%;
}
.dancing-banana-inline{
  width:32px; height:32px; display:inline-block; vertical-align:middle;
  animation:banana-dance 0.45s ease-in-out infinite alternate;
  transform-origin:50% 85%;
}
@keyframes banana-dance{
  0%{transform:rotate(-18deg) translateY(0) scale(1);}
  100%{transform:rotate(18deg) translateY(-8px) scale(1.05);}
}
@media (prefers-reduced-motion: reduce){
  .dancing-banana, .dancing-banana-inline{animation:none;}
}

/* Zachte overgang tussen pagina's (moderne browsers, negeert zichzelf netjes
   op browsers die dit nog niet ondersteunen — geen enkel risico) */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.22s;
    animation-timing-function: ease-out;
  }
  ::view-transition-old(root) {
    animation-name: aslanlar-fade-out;
  }
  ::view-transition-new(root) {
    animation-name: aslanlar-fade-in;
  }
}
@keyframes aslanlar-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes aslanlar-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* gametags op het profiel */
.gamertag-list{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px;}
.gamertag-badge{
  display:inline-flex; align-items:center; gap:6px;
  background:var(--charcoal); border:1px solid rgba(255,255,255,0.1);
  padding:6px 12px; font-size:0.82rem; color:var(--steel-light);
}
.gamertag-icon{width:24px; height:24px; border-radius:50%; flex-shrink:0;}

/* drie-bolletjes-menu bij wall-berichten (bewerken/vastpinnen/verwijderen) */
.wall-menu{position:absolute; top:14px; right:16px;}
.wall-menu summary{
  list-style:none; cursor:pointer; color:var(--steel); font-size:1.3rem;
  padding:2px 8px; line-height:1; transition:color 0.2s ease;
}
.wall-menu summary::-webkit-details-marker{display:none;}
.wall-menu summary::marker{display:none; content:'';}
.wall-menu summary:hover{color:var(--red-bright);}
.wall-menu-dropdown{
  position:absolute; top:100%; right:0; margin-top:4px;
  background:var(--charcoal); border:1px solid rgba(255,255,255,0.12);
  min-width:150px; z-index:40; display:flex; flex-direction:column;
}
.wall-menu-dropdown button{
  background:none; border:none; color:var(--off-white); text-align:left;
  padding:10px 14px; font-family:'Oswald', sans-serif; font-size:0.85rem; cursor:pointer;
}
.wall-menu-dropdown button:hover{background:rgba(255,255,255,0.06);}
.wall-menu-dropdown .wall-menu-danger{color:var(--red-bright);}
.wall-menu-dropdown form + form,
.wall-menu-dropdown button + form,
.wall-menu-dropdown form + button{border-top:1px solid rgba(255,255,255,0.06);}

.wall-pinned{border-color:rgba(216,30,44,0.4);}
.wall-pin-label{
  color:var(--red-bright); font-size:0.75rem; font-weight:600;
  text-transform:uppercase; letter-spacing:0.05em; margin-bottom:8px;
}

.wall-edit-form textarea{
  width:100%; background:var(--black); border:1px solid rgba(255,255,255,0.12);
  color:var(--off-white); padding:12px; font-family:'Oswald', sans-serif;
  font-size:0.9rem; resize:none; min-height:70px;
}
.wall-edit-form[hidden]{display:none;}
.wall-edit-actions{display:flex; gap:10px; justify-content:flex-end; margin-top:8px;}
.wall-edit-actions .js-cancel-edit-btn{
  background:none; border:1px solid rgba(255,255,255,0.15); color:var(--steel-light);
  padding:9px 16px; font-family:'Oswald', sans-serif; font-size:0.82rem; cursor:pointer;
}

/* ============ ASLANLAR POINTS ============ */

.profile-points-bar-link{
  display:block; max-width:260px; margin:14px auto 0; text-decoration:none;
}
.profile-points-bar-head{
  display:flex; justify-content:space-between; align-items:baseline;
  color:var(--off-white); font-weight:600; font-size:0.85rem; margin-bottom:5px;
}
.profile-points-bar-level{color:var(--steel-light); font-size:0.72rem; font-weight:400;}
.profile-points-bar-track{background:var(--black); height:8px; border-radius:4px; overflow:hidden; border:1px solid rgba(255,255,255,0.08);}
.profile-points-bar-fill{
  background:linear-gradient(90deg, var(--red-deep), var(--red-bright));
  height:100%; transition:width 0.3s ease;
}
.profile-points-bar-remaining{display:block; color:var(--steel); font-size:0.7rem; margin-top:4px; text-align:center;}
.profile-points-bar-link:hover .profile-points-bar-head{color:var(--red-bright);}

.points-balance-panel{text-align:center; padding:30px 20px;}
.points-balance-main{margin-bottom:20px;}
.points-balance-number{
  font-family:'Anton', sans-serif; font-size:3rem; color:var(--red-bright); display:block;
}
.points-balance-label{color:var(--steel-light); font-size:0.9rem; text-transform:uppercase; letter-spacing:0.06em;}
.points-streak-info{
  color:var(--off-white); font-size:0.85rem; margin:10px 0 20px;
  font-weight:600;
}
.points-streak-warning{color:var(--red-bright); font-weight:400; font-size:0.8rem;}
.points-streak-inactive{color:var(--steel); font-weight:400;}
.points-level-info{max-width:400px; margin:0 auto;}
.points-level-info > span:first-child{font-weight:600; display:block; margin-bottom:6px;}
.points-level-bar{background:var(--black); height:10px; border-radius:5px; overflow:hidden; margin-bottom:6px;}
.points-level-bar-fill{background:var(--red-bright); height:100%; transition:width 0.3s ease;}
.points-level-progress{color:var(--steel); font-size:0.78rem;}

.spin-wheel-list{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px;}
.spin-prize-chip{
  background:var(--black); border:1px solid rgba(255,255,255,0.1);
  padding:6px 12px; font-size:0.8rem; color:var(--steel-light);
}
.spin-prize-jackpot{border-color:rgba(216,30,44,0.5); color:var(--red-bright); font-weight:600;}
.spin-result{
  background:var(--black); border:1px solid rgba(255,255,255,0.1);
  padding:16px; text-align:center; margin-bottom:16px;
}
.spin-result-jackpot{border-color:var(--red-bright);}
.spin-jackpot-logo{width:60px; height:60px; margin-bottom:10px;}

.points-shop-grid{display:grid; grid-template-columns:repeat(auto-fill, minmax(200px, 1fr)); gap:16px;}
.points-shop-item{
  background:var(--black); border:1px solid rgba(255,255,255,0.08);
  padding:18px; text-align:center; display:flex; flex-direction:column; gap:6px;
}
.points-shop-icon{font-size:2rem;}
.points-shop-item p{color:var(--steel); font-size:0.78rem; margin:4px 0;}
.points-shop-cost{color:var(--red-bright); font-weight:600; font-size:0.85rem; margin-bottom:8px;}

/* melding bij het bereiken van een chat-streak-mijlpaal */
.streak-milestone-popup{
  position:fixed; bottom:24px; left:50%;
  transform:translate(-50%, 20px);
  background:var(--charcoal); border:1px solid var(--red-bright);
  padding:14px 22px; color:var(--off-white); font-size:0.9rem;
  z-index:2000; opacity:0; transition:opacity 0.3s ease, transform 0.3s ease;
  box-shadow:0 4px 20px rgba(0,0,0,0.5);
}
.streak-milestone-visible{opacity:1; transform:translate(-50%, 0);}
