/* ============================================================
   NoardFM – Hoofd stylesheet
   Stijl: donker radio-sfeer, warm oranje accent, Fries karakter
   ============================================================ */

:root {
  --bg:      #0b0d13;
  --bg2:     #10131c;
  --bg3:     #151a27;
  --surface: #1a2030;
  --surface2:#202840;
  --border:  #263050;
  --accent:  #e84e38;
  --accent2: #f5793a;
  --gold:    #f0c040;
  --text:    #eceef5;
  --text2:   #8892b0;
  --text3:   #526080;
  --online:  #3ddc84;
  --offline: #4a5470;
  --radius:  14px;
  --radius-sm: 8px;
  --shadow:  0 8px 32px rgba(0,0,0,0.5);
  --glow:    0 0 40px rgba(232,78,56,0.25);
  --player-h: 78px;
  --nav-h:    64px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding-top: var(--nav-h);
  padding-bottom: var(--player-h);
  overflow-x: hidden;
}

/* Noise grain overlay */
body::after {
  content:'';
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:9998;
  opacity:.03;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color:inherit; text-decoration:none; }
img { max-width:100%; height:auto; }
button { cursor:pointer; font-family:inherit; }

/* ===================== SCROLLBAR ===================== */
::-webkit-scrollbar { width:5px; height:5px; }
::-webkit-scrollbar-track { background:transparent; }
::-webkit-scrollbar-thumb { background:var(--border); border-radius:3px; }
::-webkit-scrollbar-thumb:hover { background:var(--text3); }

/* ===================== NAVBAR ===================== */
#navbar {
  position:fixed;
  top:0; left:0; right:0;
  height:var(--nav-h);
  background:rgba(11,13,19,0.93);
  backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
  z-index:500;
  display:flex;
  align-items:center;
  padding:0 28px;
  gap:8px;
}
.nav-logo {
  font-family:'Syne',sans-serif;
  font-size:1.5rem;
  font-weight:800;
  color:var(--text);
  display:flex;
  align-items:center;
  gap:10px;
  margin-right:32px;
  white-space:nowrap;
}
.nav-logo span { color:var(--accent); }
.logo-dot {
  width:9px; height:9px;
  background:var(--accent);
  border-radius:50%;
  animation:pulse 2s infinite;
}
.nav-links { display:flex; gap:2px; flex:1; }
.nav-link {
  padding:8px 14px;
  color:var(--text2);
  border-radius:var(--radius-sm);
  font-size:0.9rem;
  transition:all .2s;
  white-space:nowrap;
}
.nav-link:hover { color:var(--text); background:var(--surface); }
.nav-link.active { color:var(--accent); background:rgba(232,78,56,0.1); }
.nav-right { display:flex; align-items:center; gap:10px; margin-left:auto; flex-shrink:0; }
.nav-username { font-size:0.88rem; color:var(--text2); }
.nav-avatar { width:34px; height:34px; border-radius:50%; border:2px solid var(--accent); object-fit:cover; }
.nav-avatar-link:hover .nav-avatar { border-color:var(--accent2); }
.nav-hamburger { display:none; background:none; border:none; color:var(--text2); font-size:1.2rem; padding:8px; }
.role-badge {
  font-size:.65rem; font-weight:700;
  padding:2px 7px; border-radius:4px;
  text-transform:uppercase; letter-spacing:.5px;
}
.badge-moderator { background:var(--gold); color:#1a1100; }
.badge-admin { background:var(--accent); color:#fff; }
.badge-dev { background:linear-gradient(135deg,#5865f2,#7c3aed); color:#fff; box-shadow:0 1px 4px rgba(88,101,242,.4); }
.mobile-nav {
  display:none;
  flex-direction:column;
  position:fixed;
  top:var(--nav-h); left:0; right:0;
  background:var(--bg2);
  border-bottom:1px solid var(--border);
  padding:12px 0;
  z-index:490;
}
.mobile-nav a { padding:12px 24px; color:var(--text2); display:block; font-size:.95rem; }
.mobile-nav a:hover { color:var(--text); background:var(--surface); }
.mobile-nav.open { display:flex; }

/* ===================== BUTTONS ===================== */
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:9px 18px; border-radius:var(--radius-sm);
  border:none; font-size:.9rem; font-weight:500;
  transition:all .2s; white-space:nowrap;
}
.btn-primary { background:var(--accent); color:#fff; }
.btn-primary:hover { background:var(--accent2); transform:translateY(-1px); box-shadow:0 4px 12px rgba(232,78,56,0.4); }
.btn-ghost { background:var(--surface); color:var(--text); border:1px solid var(--border); }
.btn-ghost:hover { background:var(--surface2); }
.btn-danger { background:#c0392b; color:#fff; }
.btn-danger:hover { background:#e74c3c; }
.btn-gold { background:var(--gold); color:#1a1100; font-weight:700; }
.btn-full { width:100%; justify-content:center; }
.btn-sm { padding:6px 12px; font-size:.82rem; }
.btn-xs { padding:4px 8px; font-size:.78rem; }
.btn:disabled { opacity:.5; cursor:not-allowed; }

/* ===================== FORMS ===================== */
.form-group { margin-bottom:14px; }
.form-group label { display:block; font-size:.82rem; color:var(--text2); margin-bottom:5px; font-weight:500; }
.form-group input,
.form-group select,
.form-group textarea {
  width:100%;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  color:var(--text);
  padding:9px 13px;
  font-family:'DM Sans',sans-serif;
  font-size:.92rem;
  transition:border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline:none; border-color:var(--accent); }
.form-group textarea { resize:vertical; min-height:80px; }
.form-group select { appearance:none; }
.form-error { color:#e74c3c; font-size:.8rem; margin-top:5px; display:none; }
.form-error.show { display:block; }
.form-success { color:var(--online); font-size:.82rem; margin-top:5px; display:none; }
.form-success.show { display:block; }

input[type=range] {
  -webkit-appearance:none; appearance:none;
  height:4px; border-radius:2px; background:var(--border); cursor:pointer; flex:1; width:100%;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance:none; appearance:none;
  width:14px; height:14px; border-radius:50%; background:var(--accent);
}

/* ===================== MODALS ===================== */
.modal-bg {
  display:none; position:fixed; inset:0;
  background:rgba(0,0,0,.75); z-index:800;
  align-items:center; justify-content:center;
  backdrop-filter:blur(6px);
}
.modal-bg.active { display:flex; }
.modal {
  background:var(--bg2); border:1px solid var(--border);
  border-radius:var(--radius); padding:32px;
  width:100%; max-width:420px;
  box-shadow:var(--shadow); position:relative;
  animation:slideUp .25s ease;
  max-height:90vh; overflow-y:auto;
}
.modal h2 { font-family:'Syne',sans-serif; font-size:1.4rem; margin-bottom:22px; }
.modal-close {
  position:absolute; top:14px; right:14px;
  background:none; border:none; color:var(--text2);
  font-size:1.1rem; padding:4px 8px; border-radius:6px;
  transition:all .15s;
}
.modal-close:hover { color:var(--text); background:var(--surface); }
.modal-wide { max-width:640px; }

/* ===================== PLAYER ===================== */
#player-bar {
  position:fixed; bottom:0; left:0; right:0;
  height:var(--player-h);
  background:rgba(16,19,28,0.97);
  backdrop-filter:blur(20px);
  border-top:1px solid var(--border);
  z-index:400; display:flex;
  align-items:center; padding:0 28px; gap:20px;
}
.player-info { display:flex; align-items:center; gap:12px; min-width:200px; }
.player-cover {
  width:48px; height:48px; border-radius:10px;
  background:var(--surface2); display:flex;
  align-items:center; justify-content:center; overflow:hidden;
  flex-shrink:0;
}
.player-cover img { width:100%; height:100%; object-fit:cover; }
.player-title { font-size:.92rem; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.player-artist { font-size:.77rem; color:var(--text2); margin-top:2px; }
.player-controls { display:flex; align-items:center; gap:14px; flex:1; justify-content:center; }
.live-badge {
  background:var(--accent); color:#fff;
  font-size:.68rem; font-weight:700; letter-spacing:1px;
  padding:3px 8px; border-radius:4px; text-transform:uppercase;
}
.player-btn {
  background:none; border:none; color:var(--text2);
  font-size:1rem; width:36px; height:36px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  transition:all .2s;
}
.player-btn:hover { color:var(--text); background:var(--surface); }
.play-btn {
  width:46px !important; height:46px !important;
  background:var(--accent) !important; color:#fff !important;
  font-size:1.1rem !important;
}
.play-btn:hover { background:var(--accent2) !important; transform:scale(1.06); box-shadow:0 0 16px rgba(232,78,56,.5); }
.player-volume { display:flex; align-items:center; gap:8px; min-width:160px; }
.player-volume i { color:var(--text2); font-size:.85rem; width:14px; }

/* Waveform */
.waveform { display:flex; align-items:center; gap:2px; height:22px; }
.wave-bar { width:3px; border-radius:2px; animation:waveform .9s ease-in-out infinite; }
.wave-bar:nth-child(1){ height:45%; background:var(--accent); animation-delay:0s; }
.wave-bar:nth-child(2){ height:100%; background:var(--accent2); animation-delay:.12s; }
.wave-bar:nth-child(3){ height:65%; background:var(--accent); animation-delay:.24s; }
.wave-bar:nth-child(4){ height:85%; background:var(--accent2); animation-delay:.08s; }
.wave-bar:nth-child(5){ height:50%; background:var(--accent); animation-delay:.18s; }
.wave-bar:nth-child(6){ height:75%; background:var(--accent2); animation-delay:.32s; }
.wave-bar:nth-child(7){ height:40%; background:var(--accent); animation-delay:.16s; }
.waveform.paused .wave-bar { animation-play-state:paused; transform:scaleY(0.3); opacity:.4; }

/* ===================== TOAST ===================== */
#toast-container { position:fixed; top:72px; right:20px; z-index:3000; display:flex; flex-direction:column; gap:8px; }
.toast {
  background:var(--surface); border:1px solid var(--border);
  border-left:3px solid var(--accent); border-radius:var(--radius-sm);
  padding:11px 16px; min-width:220px; max-width:320px;
  font-size:.86rem; box-shadow:var(--shadow);
  animation:slideRight .25s ease;
}
.toast.success { border-left-color:var(--online); }
.toast.error { border-left-color:#e74c3c; }
.toast.warning { border-left-color:var(--gold); }

/* ===================== HERO ===================== */
.hero {
  min-height:calc(100vh - var(--nav-h) - var(--player-h));
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  text-align:center; padding:60px 24px 60px;
  position:relative; overflow:hidden;
}
.hero-bg-glow {
  position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(ellipse 70% 50% at 50% 0%, rgba(232,78,56,.18) 0%, transparent 70%);
}
.hero-eyebrow { font-size:.8rem; letter-spacing:3px; text-transform:uppercase; color:var(--accent); margin-bottom:16px; font-weight:600; }
.hero-title { font-family:'Syne',sans-serif; font-size:clamp(3rem,8vw,6.5rem); font-weight:800; line-height:1; color:var(--text); margin-bottom:20px; }
.hero-title em { color:var(--accent); font-style:normal; }
.hero-sub { font-size:1.1rem; color:var(--text2); max-width:480px; line-height:1.75; margin-bottom:36px; }
.hero-ctas { display:flex; gap:12px; flex-wrap:wrap; justify-content:center; }

/* Stars */
.stars { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.star { position:absolute; width:2px; height:2px; background:#fff; border-radius:50%; animation:twinkle var(--dur,3s) var(--del,0s) infinite; }

/* Feature cards */
.feature-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; max-width:960px; margin:0 auto; padding:0 24px 60px; }
.feature-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius); padding:28px 24px;
  transition:all .3s; text-align:left;
  display:flex; flex-direction:column; gap:12px;
}
.feature-card:hover { border-color:var(--accent); transform:translateY(-4px); box-shadow:var(--glow); }
.feature-card i { font-size:1.6rem; color:var(--accent); }
.feature-card h3 { font-family:'Syne',sans-serif; font-size:1.05rem; }
.feature-card p { font-size:.85rem; color:var(--text2); line-height:1.65; flex:1; }
.feature-card a { display:inline-flex; align-items:center; gap:6px; color:var(--accent); font-size:.85rem; font-weight:600; }
.feature-card a:hover { color:var(--accent2); }

/* ===================== PAGE HEADER ===================== */
.page-header { padding:40px 28px 28px; }
.page-header h1 { font-family:'Syne',sans-serif; font-size:2rem; font-weight:800; }
.page-header h1 span { color:var(--accent); }
.page-header p { color:var(--text2); margin-top:6px; font-size:.95rem; }

/* ===================== SCHEDULE ===================== */
.schedule-wrap { padding:0 28px 60px; }
.schedule-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:10px; }
.schedule-day { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; }
.schedule-day-head { background:var(--surface2); padding:10px 12px; font-family:'Syne',sans-serif; font-size:.8rem; font-weight:700; color:var(--text2); text-transform:uppercase; letter-spacing:1px; }
.schedule-day-head.today { color:var(--accent); }
.schedule-slot { padding:9px 12px; border-top:1px solid var(--border); transition:background .15s; }
.schedule-slot:hover { background:var(--surface2); }
.schedule-slot.current { background:rgba(232,78,56,.1); border-left:3px solid var(--accent); }
.slot-time { font-size:.7rem; color:var(--text3); margin-bottom:2px; }
.slot-show { font-size:.82rem; font-weight:600; line-height:1.3; }
.slot-host { font-size:.72rem; color:var(--text2); margin-top:2px; }
.slot-now { display:inline-block; background:var(--accent); color:#fff; font-size:.6rem; font-weight:700; padding:1px 5px; border-radius:3px; text-transform:uppercase; margin-bottom:2px; }

/* ===================== CHAT ===================== */
.chat-layout { display:grid; grid-template-columns:1fr 260px; gap:14px; padding:0 28px 60px; height:calc(100vh - var(--nav-h) - var(--player-h) - 80px); }
.chat-main { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); display:flex; flex-direction:column; overflow:hidden; }
.chat-head { padding:14px 18px; border-bottom:1px solid var(--border); background:var(--surface2); display:flex; align-items:center; gap:10px; }
.chat-head h3 { font-family:'Syne',sans-serif; font-size:.95rem; flex:1; }
.chat-messages { flex:1; overflow-y:auto; padding:14px; display:flex; flex-direction:column; gap:2px; }
.chat-msg { display:flex; align-items:flex-start; gap:10px; padding:5px 7px; border-radius:8px; transition:background .12s; position:relative; }
.chat-msg:hover { background:var(--surface2); }
.chat-msg:hover .msg-actions { opacity:1; }
.msg-av { width:30px; height:30px; border-radius:50%; overflow:hidden; flex-shrink:0; background:var(--surface2); display:flex; align-items:center; justify-content:center; font-size:.8rem; }
.msg-av img { width:100%; height:100%; object-fit:cover; }
.msg-body { flex:1; min-width:0; }
.msg-meta { display:flex; align-items:center; gap:6px; margin-bottom:2px; flex-wrap:wrap; }
.msg-name { font-size:.85rem; font-weight:700; cursor:pointer; }
.msg-name:hover { text-decoration:underline; }
.msg-badge { font-size:.6rem; font-weight:700; padding:2px 6px; border-radius:20px; text-transform:uppercase; letter-spacing:.04em; }
.badge-mod   { background:linear-gradient(135deg,#f0c040,#e8a020); color:#1a1100; box-shadow:0 1px 4px rgba(240,192,64,.3); }
.badge-admin { background:linear-gradient(135deg,#e84e38,#f5793a); color:#fff; box-shadow:0 1px 4px rgba(232,78,56,.3); }
.badge-dj    { background:linear-gradient(135deg,#3ddc84,#20b860); color:#0a1a10; box-shadow:0 1px 4px rgba(61,220,132,.3); }
.badge-lvm   { background:linear-gradient(135deg,#f0c040,#f5793a); color:#1a0a00; box-shadow:0 1px 4px rgba(240,192,64,.4); }
.msg-time { font-size:.7rem; color:var(--text3); }
.msg-text { font-size:.88rem; line-height:1.55; word-break:break-word; }
.msg-text.deleted { color:var(--text3); font-style:italic; }
.msg-reply-quote { border-left:3px solid var(--accent); border-radius:0 6px 6px 0; padding:5px 10px; margin-bottom:5px; background:rgba(232,78,56,.06); max-width:85%; cursor:default; }
.msg-reply-inner { display:flex; flex-direction:column; gap:1px; overflow:hidden; }
.msg-reply-name { font-size:.75rem; font-weight:700; color:var(--accent); display:flex; align-items:center; gap:5px; }
.msg-reply-name i { font-size:.65rem; }
.msg-reply-text { font-size:.78rem; color:var(--text3); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.msg-reply-main { font-size:.88rem; line-height:1.55; word-break:break-word; margin-top:3px; }
.msg-actions { opacity:0; position:absolute; right:7px; top:5px; background:var(--surface); border:1px solid var(--border); border-radius:6px; padding:2px 4px; display:flex; gap:2px; transition:opacity .15s; }
.msg-action { background:none; border:none; color:var(--text2); font-size:.72rem; padding:3px 6px; border-radius:4px; cursor:pointer; transition:all .12s; }
.msg-action:hover { color:var(--text); background:var(--surface2); }
.msg-action.red:hover { color:#e74c3c; }
.chat-system { text-align:center; font-size:.75rem; color:var(--text3); padding:6px 0; font-style:italic; }
.chat-input-wrap { padding:12px 14px; border-top:1px solid var(--border); background:var(--surface2); }
.emoji-row { display:flex; gap:3px; margin-bottom:8px; flex-wrap:wrap; }
.emoji-btn { background:none; border:none; font-size:1.05rem; padding:2px 4px; border-radius:4px; cursor:pointer; transition:background .12s; line-height:1; }
.emoji-btn:hover { background:var(--surface); }
.chat-input-row { display:flex; gap:8px; align-items:flex-end; }
.chat-input { flex:1; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm); padding:9px 13px; color:var(--text); font-family:'DM Sans',sans-serif; font-size:.88rem; resize:none; max-height:100px; transition:border-color .2s; line-height:1.5; }
.chat-input:focus { outline:none; border-color:var(--accent); }
.chat-input:disabled { opacity:.5; cursor:not-allowed; }
.chat-send { width:38px; height:38px; background:var(--accent); border:none; border-radius:var(--radius-sm); color:#fff; font-size:.9rem; cursor:pointer; transition:all .2s; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.chat-send:hover { background:var(--accent2); }
.chat-send:disabled { opacity:.5; cursor:not-allowed; }
.chat-login-wall { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; padding:40px; text-align:center; color:var(--text2); flex:1; }
.chat-login-wall i { font-size:2.5rem; color:var(--accent); }
.chat-login-wall h3 { font-family:'Syne',sans-serif; color:var(--text); font-size:1.2rem; }
.muted-notice { margin:8px; padding:10px 14px; background:rgba(192,57,43,.12); border:1px solid rgba(192,57,43,.25); border-radius:var(--radius-sm); font-size:.82rem; color:var(--text2); text-align:center; display:none; }
.muted-notice.show { display:block; }
.chat-sidebar { display:flex; flex-direction:column; gap:12px; overflow:hidden; }
.users-panel { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; display:flex; flex-direction:column; flex:1; }
.users-panel-head { padding:12px 14px; border-bottom:1px solid var(--border); font-family:'Syne',sans-serif; font-size:.85rem; font-weight:700; background:var(--surface2); display:flex; align-items:center; gap:8px; }
.users-list { flex:1; overflow-y:auto; padding:6px; }
.user-item { display:flex; align-items:center; gap:8px; padding:7px 9px; border-radius:6px; transition:background .12s; }
.user-item:hover { background:var(--surface2); }
.user-av-wrap { position:relative; width:28px; height:28px; flex-shrink:0; }
.user-av { width:28px; height:28px; border-radius:50%; overflow:hidden; background:var(--surface2); display:flex; align-items:center; justify-content:center; font-size:.75rem; }
.user-av img { width:100%; height:100%; object-fit:cover; }
.status-dot { position:absolute; bottom:0; right:0; width:8px; height:8px; border-radius:50%; border:2px solid var(--surface); }
.status-dot.on { background:var(--online); }
.status-dot.off { background:var(--offline); }
.user-name { font-size:.82rem; flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* ===================== PROFILE ===================== */
.profile-wrap { max-width:780px; margin:0 auto; padding:0 28px 60px; }
.profile-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:30px; }
.profile-top { display:flex; align-items:center; gap:22px; padding-bottom:24px; border-bottom:1px solid var(--border); margin-bottom:24px; }
.profile-av-wrap { position:relative; flex-shrink:0; }
.profile-av { width:86px; height:86px; border-radius:50%; border:3px solid var(--accent); object-fit:cover; display:block; background:var(--surface2); }
.profile-av-edit { position:absolute; bottom:0; right:0; width:26px; height:26px; background:var(--accent); border:2px solid var(--bg2); border-radius:50%; display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:.65rem; color:#fff; }
.profile-av-edit:hover { background:var(--accent2); }
.profile-meta h2 { font-family:'Syne',sans-serif; font-size:1.5rem; }
.profile-meta p { color:var(--text2); font-size:.88rem; margin-top:4px; }
.profile-tabs { display:flex; gap:4px; border-bottom:1px solid var(--border); margin-bottom:24px; }
.profile-tab { padding:8px 16px; background:none; border:none; border-bottom:2px solid transparent; color:var(--text2); font-family:'DM Sans',sans-serif; font-size:.88rem; cursor:pointer; margin-bottom:-1px; transition:all .2s; }
.profile-tab.active { color:var(--accent); border-bottom-color:var(--accent); }
.profile-panel { display:none; }
.profile-panel.active { display:block; }

/* ===================== DEV PANEL ===================== */
.dev-login { min-height:calc(100vh - var(--nav-h) - var(--player-h)); display:flex; align-items:center; justify-content:center; }
.dev-login-card { background:var(--bg2); border:1px solid var(--border); border-radius:var(--radius); padding:40px; width:100%; max-width:400px; }
.dev-login-card h1 { font-family:'Syne',sans-serif; font-size:1.6rem; margin-bottom:8px; display:flex; align-items:center; gap:10px; }
.dev-login-card h1 i { color:var(--accent); }
.dev-login-card p { color:var(--text2); font-size:.88rem; margin-bottom:28px; }
.dev-panel-wrap { max-width:900px; margin:0 auto; padding:0 28px 60px; }
.dev-panel-wrap h1 { font-family:'Syne',sans-serif; font-size:1.8rem; display:flex; align-items:center; gap:10px; margin-bottom:28px; }
.dev-panel-wrap h1 i { color:var(--accent); }
.dev-section-title { font-family:'Syne',sans-serif; font-size:1rem; font-weight:700; color:var(--text2); margin:28px 0 14px; padding-bottom:8px; border-bottom:1px solid var(--border); text-transform:uppercase; letter-spacing:1px; }
.dev-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.dev-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm); padding:18px 20px; }
.dev-card h4 { font-family:'Syne',sans-serif; font-size:.88rem; color:var(--text2); margin-bottom:12px; }
.toggle-row { display:flex; align-items:center; gap:12px; }
.toggle { width:44px; height:24px; background:var(--border); border-radius:12px; position:relative; cursor:pointer; flex-shrink:0; transition:background .2s; }
.toggle.on { background:var(--accent); }
.toggle::after { content:''; position:absolute; width:18px; height:18px; background:#fff; border-radius:50%; top:3px; left:3px; transition:transform .2s; }
.toggle.on::after { transform:translateX(20px); }
.toggle-label { font-size:.88rem; }
.ip-item { display:flex; align-items:center; justify-content:space-between; padding:6px 10px; background:var(--bg3); border-radius:5px; margin-bottom:4px; font-family:monospace; font-size:.82rem; }
.ip-remove { background:none; border:none; color:var(--text3); cursor:pointer; font-size:.75rem; }
.ip-remove:hover { color:#e74c3c; }
.totp-info { background:var(--bg3); border:1px dashed var(--border); border-radius:var(--radius-sm); padding:14px; text-align:center; margin-top:10px; }
.totp-key { font-family:monospace; font-size:.88rem; letter-spacing:2px; color:var(--gold); margin:8px 0; word-break:break-all; }
.log-entry { padding:6px 10px; background:var(--bg3); border-radius:5px; margin-bottom:4px; font-size:.8rem; font-family:monospace; color:var(--text2); }

/* ===================== MAINTENANCE ===================== */
.maintenance-page { min-height:100vh; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:40px; background:var(--bg); }
.maintenance-page .spinner { width:56px; height:56px; border:3px solid var(--border); border-top-color:var(--accent); border-radius:50%; animation:spin 1s linear infinite; margin-bottom:24px; }
.maintenance-page h1 { font-family:'Syne',sans-serif; font-size:2.5rem; color:var(--accent); margin-bottom:12px; }
.maintenance-page p { color:var(--text2); font-size:1rem; max-width:400px; }

/* ===================== UTILITIES ===================== */
.separator { height:1px; background:var(--border); margin:20px 0; }
.text-muted { color:var(--text2); }
.text-xs { font-size:.78rem; }
.mt-2 { margin-top:8px; }
.mt-3 { margin-top:14px; }
.d-flex { display:flex; }
.gap-2 { gap:8px; }
.flex-wrap { flex-wrap:wrap; }
.badge { font-size:.65rem; font-weight:700; padding:2px 7px; border-radius:4px; text-transform:uppercase; }
.badge-online { background:rgba(61,220,132,.15); color:var(--online); }

/* ===================== ANIMATIONS ===================== */
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
@keyframes spin { to{transform:rotate(360deg)} }
@keyframes waveform { 0%,100%{transform:scaleY(.35)} 50%{transform:scaleY(1)} }
@keyframes slideUp { from{transform:translateY(20px);opacity:0} to{transform:translateY(0);opacity:1} }
@keyframes slideRight { from{transform:translateX(20px);opacity:0} to{transform:translateX(0);opacity:1} }
@keyframes twinkle { 0%,100%{opacity:.08} 50%{opacity:.65} }
@keyframes bellShake { 0%,100%{transform:rotate(0)} 15%{transform:rotate(12deg)} 30%{transform:rotate(-10deg)} 45%{transform:rotate(8deg)} 60%{transform:rotate(-6deg)} 75%{transform:rotate(4deg)} }
@keyframes onlinePulse { 0%,100%{box-shadow:0 0 0 0 rgba(61,220,132,.5)} 50%{box-shadow:0 0 0 4px rgba(61,220,132,0)} }

.notif-bell-shake { animation:bellShake .6s ease; }
.nav-online-dot { width:8px; height:8px; background:var(--online); border-radius:50%; display:inline-block; margin-left:4px; animation:onlinePulse 2s infinite; vertical-align:middle; }

/* ===================== RESPONSIVE ===================== */
@media (max-width:1100px) {
  .schedule-grid { grid-template-columns:repeat(4,1fr); }
}
@media (max-width:900px) {
  .chat-layout { grid-template-columns:1fr; }
  .chat-sidebar { display:none; }
  .dev-grid { grid-template-columns:1fr; }
}
@media (max-width:768px) {
  :root { --nav-h:56px; --player-h:68px; }
  #navbar { padding:0 16px; }
  .nav-links { display:none; }
  .nav-hamburger { display:block; }
  .feature-cards { grid-template-columns:1fr; }
  .hero-ctas { flex-direction:column; align-items:center; }
  .chat-layout,.schedule-wrap,.profile-wrap,.dev-panel-wrap { padding-left:16px; padding-right:16px; }
  #player-bar { padding:0 14px; gap:10px; }
  .player-volume { display:none; }
  .player-info { min-width:0; }
  .modal { padding:22px; margin:12px; }
  .msg-actions { display:none !important; }

  /* Draaischema — scrollbaar op mobiel */
  .schedule-wrap { padding-left:0 !important; padding-right:0 !important; }
  .schedule-grid-outer { overflow-x:auto; padding:0 16px 16px; }
  .schedule-grid { grid-template-columns:repeat(7,minmax(140px,1fr)); min-width:980px; }

  /* Profiel — verticaal stapelen */
  .profile-top { flex-direction:column; align-items:center; text-align:center; gap:14px; }
  .profile-av { width:72px; height:72px; }
  .profile-wrap { padding:0 16px 60px; }

  /* Privéberichten — volledig scherm */
  .msg-layout { grid-template-columns:1fr !important; height:auto !important; padding:0 12px 80px !important; }
  .msg-inbox-panel { max-height:260px; }
  .msg-conv-panel  { height:calc(100vh - 380px); min-height:280px; }
}
@media (max-width:480px) {
  .profile-top { flex-direction:column; text-align:center; align-items:center; }
  .schedule-grid { grid-template-columns:repeat(7,minmax(120px,1fr)); }
}
