    :root {
      --bg: #0f0f17;
      --card: #161622;
      --text: #e0e0ff;
      --accent: #00d4ff; /* Cyan-blue neon */
      --accent2: #ff2e63; /* Hot pink for highlights */
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Segoe UI', system-ui, sans-serif;
      line-height: 1.6;
      min-height: 100vh;
    }

    header {
      background: linear-gradient(135deg, #1a1a2e, #0f0f17);
      padding: 4rem 1rem 6rem;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    header::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 6px;
      background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent));
    }

    h1 {
      font-size: 4rem;
      font-weight: 800;
      background: linear-gradient(90deg, #00d4ff, #ff2e63);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 0.5rem;
    }

    .tagline {
      font-size: 1.3rem;
      color: #aaa;
      max-width: 600px;
      margin: 0 auto;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 2rem;
      margin-top: -4rem;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
      gap: 2rem;
      margin-top: 2rem;
    }

    .card {
      background: var(--card);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0,0,0,0.6);
      transition: all 0.3s ease;
      position: relative;
    }

    .card:hover {
      transform: translateY(-12px);
      box-shadow: 0 20px 40px rgba(0,212,255,0.15);
    }

    .card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; height: 4px;
      background: linear-gradient(90deg, var(--accent), var(--accent2));
      opacity: 0;
      transition: opacity 0.3s;
    }

    .card:hover::before { opacity: 1; }

    .card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      transition: transform 0.4s;
    }

    .card:hover img { transform: scale(1.05); }

    .card-body {
      padding: 1.5rem;
    }

    .card-title {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      color: #fff;
    }

    .card-tags {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
      margin: 0.8rem 0;
    }

    .tag {
      background: rgba(0,212,255,0.15);
      color: var(--accent);
      padding: 0.3rem 0.8rem;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 600;
    }

    .card-text {
      color: #b0b0cc;
      font-size: 0.95rem;
      margin-bottom: 1.5rem;
    }

    .play-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: linear-gradient(135deg, var(--accent), #0088cc);
      color: white;
      padding: 0.9rem 1.8rem;
      border-radius: 50px;
      margin-bottom: 0;
      text-decoration: none;
      font-weight: 700;
      font-size: 1rem;
      transition: all 0.3s;
      box-shadow: 0 8px 20px rgba(0,212,255,0.3);
    }

    .play-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 30px rgba(0,212,255,0.4);
    }

    footer {
      text-align: center;
      padding: 4rem 1rem 2rem;
      color: #666;
      font-size: 0.9rem;
    }

/* ─────── SCROLLBAR KIT – NEON PINK → CYAN ─────── */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #00d4ff, #ff2e63);
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.4);
  box-shadow: 
    0 0 15px rgba(0, 212, 255, 0.8),
    0 0 15px rgba(255, 46, 99, 0.8);
  background: linear-gradient(90deg, #00d4ff, #ff2e63);
  animation: pulse 3s infinite alternate;
}

  @keyframes pulse {
    0%   { box-shadow: 0 0 15px rgba(0,212,255,0.8), 0 0 15px rgba(255,46,99,0.8); }
    100% { box-shadow: 0 0 30px rgba(0,212,255,1), 0 0 30px rgba(255,46,99,1); }
  }

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #00f0ff, #ff4d7a);
  box-shadow: 
    0 0 25px rgba(0, 212, 255, 1),
    0 0 25px rgba(255, 46, 99, 1);
  border: 2px solid rgba(0, 0, 0, 0.6);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

.neon-btn, .switch-link {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  padding: 0.5rem 0.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  margin-top: 30px;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 15px rgba(0,212,255,0.5), 0 0 15px rgba(255,46,99,0.5);
  transition: all 0.3s ease;
}
.neon-btn:hover, .switch-link:hover {
  box-shadow: 0 0 25px rgba(0,212,255,1), 0 0 25px rgba(255,46,99,1);
}

.neon-login-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  margin-left: 0;
  margin-top: 10px;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 15px rgba(0,212,255,0.5), 0 0 15px rgba(255,46,99,0.5);
  transition: all 0.3s ease;
}
.neon-login-btn:hover {
  box-shadow: 0 0 25px rgba(0,212,255,1), 0 0 25px rgba(255,46,99,1);
}
.login-btn-wrapper {
  display: flex;
  justify-content: left; /* centers horizontally */
  margin: 0.5rem 0;        /* some vertical spacing */
}

/* BACKDROP */
#userPanelBackdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    display: none;
    z-index: 9998;
    opacity: 0;
    transition: opacity .25s ease;
}

/* PANEL CONTAINER */
#userPanel {
    position: fixed;
    top: 0;
    right: -420px; /* hidden offscreen */
    width: 380px;
    height: 100vh;
    background: var(--card);
    box-shadow: -4px 0 20px rgba(0,0,0,0.6);
    border-left: 2px solid var(--accent);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    z-index: 9999;

    transition: right .35s ease;
}

/* ACTIVE STATES */
#userPanel.active {
    right: 0;
}
#userPanelBackdrop.active {
    display: block;
    opacity: 1;
}

/* HEADER */
#userPanelHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    color: var(--text);
}

#userPanelTitle {
    font-size: 1.6rem;
    font-weight: 700;
}

#closeUserPanel {
    font-size: 1.4rem;
    cursor: pointer;
    color: #aaa;
}
#closeUserPanel:hover {
    color: var(--accent2);
}

/* FORM LAYOUT */
.panelSection h2 {
    margin-bottom: 1rem;
    color: var(--text);
    font-weight: 700;
}

.avatar-upload-label {
    font-size: 0.9rem;
    color: #bbb;
    margin-top: 1rem;
}
/* -----------------------------------------
   PROFILE PANEL – NEON THEME
----------------------------------------- */

/* Container spacing */
#profilePanel {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: .5rem;
}

/* Section Title */
#profilePanel h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: .5rem;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Inputs */
.auth-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    background: rgba(255,255,255,0.05);
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 5px;
    outline: none;
    transition: all .25s ease;
}

.auth-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(0,212,255,0.4);
    background: rgba(255,255,255,0.08);
}

/* Bio textarea height */
#profileBio {
    min-height: 95px;
    resize: none;
}

/* Avatar upload label */
.avatar-upload-label {
    font-size: 0.85rem;
    color: #bbb;
    margin-top: 0.4rem;
    margin-bottom: -0.6rem;
    opacity: 0.8;
}

/* Avatar preview container */
#avatarPreview {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
    box-shadow: 0 0 15px rgba(0,212,255,0.4);
    margin: 0.3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#avatarPreview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Save Button */
#saveProfile, #logOut {
    margin-top: 1rem;
    padding: 0.5rem 1.1rem;
    font-size: 0.8rem;
}

/* Logout link */
.switch-link {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #ffffff;
    font-size: 0.9rem;
    cursor: pointer;
}


/* Wrapper keeps layout clean */
.file-upload-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: .4rem 0 1rem;
}

/* Hide the real input */
#profilePic {
  display: none;
}

/* Custom neon file button */
.file-upload-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.7rem;
  cursor: pointer;
  box-shadow: 
    0 0 12px rgba(0,212,255,0.5),
    0 0 12px rgba(255,46,99,0.5);
  transition: all .25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.file-upload-btn:hover {

  box-shadow: 
    0 0 20px rgba(0,212,255,0.8),
    0 0 20px rgba(255,46,99,0.8);
}

/* File name next to button */
.file-name {
  font-size: 0.85rem;
  color: #bbb;
  opacity: 0.8;
}

.not-logged-warning {
    opacity: 0.7;
    text-align: center;
    padding: 40px 10px;
    font-size: 0.95rem;
    color: #bbb;
}
/* ============================
   ADMIN PANEL STYLING
============================ */

.profile-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  display: none;          /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 10050;
}

.profile-modal.active {
  display: flex;
}

.admin-box {
  background: var(--card);
  border-radius: 16px;
  padding: 1.8rem;
  width: min(960px, 95vw);
  max-height: 85vh;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  border: 1px solid rgba(0,212,255,0.35);
  display: flex;
  flex-direction: column;
}

.admin-box h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Admin tabs row */
.admin-tabs {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 0.4rem;
}

.admin-tab {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  color: #aaa;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.admin-tab.active {
  color: #fff;
  border-color: rgba(0,212,255,0.6);
  background: radial-gradient(circle at top left, rgba(0,212,255,0.25), transparent);
}

/* Scrollable content area */
#adminContent {
  flex: 1;
  overflow-y: auto;
  padding-right: 0.4rem;
}

/* Lists */
.admin-section-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 0.4rem;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 1rem;
}

.admin-card {
  background: rgba(15,15,23,0.85);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.admin-card-main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.9rem;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid rgba(0,212,255,0.7);
  color: var(--accent);
  margin-left: .4rem;
}

.admin-pill.danger {
  border-color: rgba(255,46,99,0.8);
  color: var(--accent2);
}

.admin-meta {
  font-size: 0.8rem;
  color: #888;
}

/* Buttons in cards */
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.admin-btn {
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  color: #ddd;
  transition: all 0.2s ease;
}

.admin-btn:hover {
  background: rgba(0,212,255,0.12);
  border-color: rgba(0,212,255,0.65);
}

.admin-btn.danger {
  border-color: rgba(255,46,99,0.7);
  color: #ffd7e1;
}
.admin-btn.danger:hover {
  background: rgba(255,46,99,0.2);
}

/* Announcements area */
.admin-annc-box {
  margin-top: 0.5rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(0,212,255,0.2);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.admin-annc-box textarea {
  background: transparent;
  border: none;
  outline: none;
  resize: vertical;
  min-height: 70px;
  color: var(--text);
  font-size: 0.9rem;
}

.admin-annc-box textarea::placeholder {
  color: #777;
}

.admin-annc-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.3rem;
}

.admin-annc-btn {
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 0 10px rgba(0,212,255,0.35);
}

/* Small helper text */
.admin-hint {
  font-size: 0.78rem;
  color: #777;
  margin-top: 0.3rem;
}

/* Close button reuse */
.post-btn {
  margin-top: 0.8rem;
  align-self: flex-end;
}

/* ===== ADMIN PANEL MODAL ===== */
#adminPanel.profile-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.75);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#adminPanel.active {
    display: flex;
}

.admin-box {
    background: #1f1f1f;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
    color: #fff;
    animation: adminFadeIn 0.2s ease-out;
}

@keyframes adminFadeIn {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
}

.admin-box h2 {
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 700;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

/* ===== TABS ===== */
.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.admin-tab-btn {
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    background: #2a2a2a;
    color: #ccc;
    border: 1px solid #333;
    transition: 0.15s ease-in-out;
    font-size: 14px;
    font-weight: 600;
}

.admin-tab-btn:hover {
    background: #343434;
}

.admin-tab-btn.active {
    background: #0ea5e9;
    color: #fff;
    border-color: #0ea5e9;
}

/* ===== USER LIST ===== */
.user-row {
    background: #2a2a2a;
    padding: 14px;
    margin-bottom: 10px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #0ea5e9;
}

.user-row strong {
    font-size: 15px;
}

.actions {
    display: flex;
    gap: 8px;
}

/* ===== BUTTONS ===== */
.admin-btn {
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    border: none;
    transition: 0.15s ease-in-out;
    font-weight: 600;
}

.admin-btn:hover {
    opacity: 0.85;
}

/* Promote / Demote / Ban / Unban */
.admin-promote {
    background: #34d399;   /* green */
    color: #000;
}

.admin-demote {
    background: #6b7280;   /* gray */
    color: #fff;
}

.admin-ban {
    background: #ef4444;   /* red */
    color: #fff;
}

.admin-unban {
    background: #3b82f6;   /* blue */
    color: #fff;
}

/* Close button override */
#adminPanel .post-btn {
    margin-top: 20px;
    width: 100%;
    padding: 10px 0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
}