/* =========================================================
   Noticias MMORPG YA — Gaming Theme
   ========================================================= */
:root {
  --bg: #0a0c10;
  --surface: #12161f;
  --surface-2: rgba(255, 255, 255, 0.05);
  --primary: #00ff88;
  --primary-dim: rgba(0, 255, 136, 0.15);
  --secondary: #00dfd8;
  --purple: #7928ca;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --glow: 0 0 24px rgba(0, 255, 136, 0.25);
  --radius: 14px;
  --font: "Outfit", system-ui, sans-serif;
  --transition: 0.3s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(121, 40, 202, 0.18), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(0, 223, 216, 0.12), transparent 55%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary); }
img { max-width: 100%; height: auto; }
.text-muted-neon { color: var(--muted) !important; }

/* Buttons */
.btn-neon {
  background: var(--primary);
  color: #04140c;
  border: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  box-shadow: var(--glow);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn-neon:hover { background: #3dffaa; color: #04140c; transform: translateY(-1px); }
.btn-outline-neon {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
  border-radius: 999px;
  font-weight: 600;
}
.btn-outline-neon:hover { background: var(--primary-dim); color: var(--primary); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
}
.btn-ghost:hover { border-color: var(--secondary); color: var(--secondary); }

/* Brand */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text) !important;
  text-decoration: none;
}
.brand-mark {
  width: 36px; height: 36px;
  display: inline-grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #04140c;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: var(--glow);
}
.brand-text { font-weight: 800; letter-spacing: -0.02em; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(10, 12, 16, 0.75);
  border-bottom: 1px solid var(--border);
}
.site-nav { padding: 0.7rem 0; }
.nav-categories .nav-link {
  color: var(--muted) !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.4rem 0.75rem !important;
  border-radius: 999px;
  transition: all var(--transition);
}
.nav-categories .nav-link:hover,
.nav-categories .nav-link.active {
  color: var(--text) !important;
  background: var(--surface-2);
}

/* Forms */
.form-dark, .form-select.form-dark {
  background: #0d1118;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
}
.form-dark:focus, .form-select.form-dark:focus {
  background: #0d1118;
  color: var(--text);
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 255, 136, 0.15);
}
.form-label { color: var(--muted); font-size: 0.9rem; }

/* Badges */
.badge-pill {
  --badge-color: var(--primary);
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: color-mix(in srgb, var(--badge-color) 20%, transparent);
  color: var(--badge-color);
  border: 1px solid color-mix(in srgb, var(--badge-color) 40%, transparent);
}
.badge-pill.sm { font-size: 0.65rem; padding: 0.2rem 0.55rem; }
.badge-editor {
  --badge-color: #ffd166;
}

/* Ads */
.ad-slot {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px dashed rgba(0, 255, 136, 0.35);
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.06), rgba(121, 40, 202, 0.08));
}
.ad-slot-header { min-height: 90px; margin-bottom: 0.5rem; }
.ad-slot-sidebar { min-height: 250px; }
.ad-slot-footer { min-height: 120px; }
.ad-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.25rem;
  text-align: center;
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.ad-placeholder:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--glow);
}
.ad-placeholder-icon { font-size: 1.4rem; }
.ad-placeholder-title { font-weight: 800; color: var(--primary); }
.ad-placeholder-text { color: var(--muted); font-size: 0.88rem; max-width: 36rem; }
.ad-live-link img { display: block; width: 100%; }

/* Hero — Adventure Today structure */
.hero-section { margin-top: 0.5rem; }
.hero-media {
  position: relative;
  min-height: clamp(420px, 68vh, 640px);
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  border-radius: 0 0 24px 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,16,0.15) 0%, rgba(10,12,16,0.55) 45%, rgba(10,12,16,0.95) 100%);
}
.hero-content { position: relative; z-index: 2; padding-bottom: 1.5rem; }
.hero-copy { max-width: 720px; padding: 2rem 0 1rem; animation: fadeUp 0.7s ease both; }
.hero-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.hero-title {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 1rem;
}
.hero-title a { color: var(--text); }
.hero-title a:hover { color: var(--primary); }
.hero-meta {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--muted); font-weight: 500;
}
.read-story { color: var(--primary); font-weight: 700; }
.meta-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }

.hero-strip {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.12);
  background: rgba(10, 12, 16, 0.55);
  backdrop-filter: blur(10px);
}
.hero-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-strip-item {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 1rem 1.1rem;
  color: var(--muted);
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition), color var(--transition);
  position: relative;
}
.hero-strip-item:last-child { border-right: none; }
.hero-strip-item:hover,
.hero-strip-item.is-active { color: var(--text); background: rgba(0,255,136,0.06); }
.hero-strip-item.is-active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--primary);
  box-shadow: var(--glow);
}
.strip-num { font-weight: 800; color: var(--primary); font-size: 0.85rem; }
.strip-title { font-size: 0.88rem; font-weight: 600; line-height: 1.35; }

/* Sections */
.section-block { padding: 3.5rem 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem;
}
.section-title {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 1.45rem; font-weight: 800; margin: 0;
  letter-spacing: -0.02em;
}
.title-bar {
  width: 5px; height: 1.2em; border-radius: 4px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  box-shadow: var(--glow);
}
.title-bar.hot { background: linear-gradient(180deg, #ff6b35, #ff3d71); }

.section-controls { display: flex; gap: 0.4rem; }
.ctrl-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: grid; place-items: center;
  transition: all var(--transition);
}
.ctrl-btn:hover { border-color: var(--primary); color: var(--primary); }

/* Featured cards */
.featured-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}
.featured-card {
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  position: relative;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35), var(--glow);
}
.featured-card-link { display: block; height: 100%; color: inherit; }
.featured-card img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
  transition: transform 0.5s ease;
}
.featured-card:hover img { transform: scale(1.06); }
.featured-card-overlay {
  position: absolute; inset: 0;
  padding: 1rem;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(180deg, rgba(10,12,16,0.15) 20%, rgba(10,12,16,0.92) 100%);
}
.featured-card-overlay h3 {
  font-size: 1.05rem; font-weight: 700; margin: 0;
  line-height: 1.3; color: var(--text);
}

/* Filter chips */
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition);
}
.chip:hover, .chip.active {
  color: #04140c;
  background: var(--primary);
  border-color: var(--primary);
}

/* Latest list */
.latest-list { display: flex; flex-direction: column; gap: 1.25rem; }
.latest-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: 0.85rem;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  transition: border-color var(--transition), transform var(--transition);
}
.latest-item:hover {
  border-color: rgba(0,255,136,0.35);
  transform: translateX(4px);
}
.latest-item.is-hidden { display: none; }
.latest-thumb {
  display: block; border-radius: 10px; overflow: hidden; height: 110px;
}
.latest-thumb img { width: 100%; height: 100%; object-fit: cover; }
.latest-title { font-size: 1.1rem; font-weight: 700; margin: 0 0 0.4rem; }
.latest-title a { color: var(--text); }
.latest-title a:hover { color: var(--primary); }
.latest-excerpt {
  color: var(--muted); font-size: 0.9rem; margin: 0 0 0.6rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.latest-meta {
  display: flex; flex-wrap: wrap; gap: 0.65rem;
  color: var(--muted); font-size: 0.8rem; align-items: center;
}

/* Trending */
.sidebar-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.trending-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.trending-list li { display: grid; grid-template-columns: 28px 1fr; gap: 0.75rem; }
.trend-num {
  font-size: 1.35rem; font-weight: 800;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.trend-title { color: var(--text); font-weight: 700; line-height: 1.3; display: block; }
.trend-title:hover { color: var(--primary); }
.trend-meta { color: var(--muted); font-size: 0.78rem; margin-top: 0.25rem; }

/* Article */
.article-h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.15;
  margin: 0 0 0.75rem;
}
.article-subtitle { color: var(--muted); font-size: 1.15rem; margin-bottom: 1.25rem; }
.meta-chip {
  display: inline-flex; align-items: center;
  padding: 0.25rem 0.65rem; border-radius: 999px;
  background: var(--surface-2); color: var(--muted); font-size: 0.8rem;
}
.author-card {
  display: flex; align-items: center; gap: 0.85rem;
  margin: 1.25rem 0 1.5rem;
}
.author-avatar { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--primary); }
.article-cover { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.article-cover img { width: 100%; display: block; cursor: zoom-in; }

.toc-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}
.toc-title { font-size: 1rem; font-weight: 800; margin: 0 0 0.75rem; }
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { margin: 0.35rem 0; }
.toc-h3 { padding-left: 1rem; }
.toc-link { color: var(--muted); font-weight: 500; }
.toc-link:hover { color: var(--primary); }

.article-body {
  font-size: 1.08rem; line-height: 1.8; color: #dbe4f0;
}
.article-body h2, .article-body h3 {
  color: var(--text); font-weight: 800; margin-top: 2rem; scroll-margin-top: 90px;
}
.article-body img {
  border-radius: 12px; margin: 1.25rem 0; cursor: zoom-in;
  border: 1px solid var(--border);
}
.article-body blockquote {
  border-left: 4px solid var(--primary);
  margin: 1.5rem 0; padding: 0.75rem 1rem;
  background: var(--primary-dim); border-radius: 0 10px 10px 0;
}
.article-body pre, .article-body code {
  background: #080a0e; border-radius: 8px; font-size: 0.92em;
}
.article-body pre { padding: 1rem; overflow-x: auto; border: 1px solid var(--border); }

.video-trigger {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius);
  padding: 1.25rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  transition: all var(--transition);
}
.video-trigger:hover { border-color: var(--primary); box-shadow: var(--glow); }
.video-trigger i { color: var(--primary); font-size: 1.5rem; }

/* FAQ */
.faq-accordion .accordion-item {
  background: var(--surface);
  border: 1px solid var(--border) !important;
  margin-bottom: 0.6rem;
  border-radius: 12px !important;
  overflow: hidden;
}
.faq-accordion .accordion-button {
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  box-shadow: none !important;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(0,255,136,0.08);
  color: var(--primary);
}
.faq-accordion .accordion-button::after { filter: invert(1); }
.faq-accordion .accordion-body { color: var(--muted); background: #0e1219; }

.article-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.btn-like {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  font-weight: 700;
  padding: 0.5rem 1rem;
  transition: all var(--transition);
}
.btn-like.is-liked, .btn-like:hover {
  border-color: #ff3d71; color: #ff3d71; background: rgba(255,61,113,0.1);
}
.share-group { display: flex; gap: 0.4rem; margin-left: auto; }
.share-btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.share-btn:hover { color: var(--primary); border-color: var(--primary); }

/* Comments */
.comments-section {
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
}
.comments-header {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem;
  align-items: center; justify-content: space-between;
}
.comments-stats {
  display: flex; flex-wrap: wrap; gap: 0.85rem;
  color: var(--muted); font-size: 0.88rem; font-weight: 600;
}
.comments-stats i { color: var(--primary); margin-right: 0.2rem; }
.comments-closed-note,
.comments-login-cta {
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(0, 255, 136, 0.35);
  background: rgba(0, 255, 136, 0.05);
  color: var(--muted);
}
.comment-composer {
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.comment-composer-row { display: flex; gap: 0.85rem; align-items: flex-start; }
.comment-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid rgba(0, 255, 136, 0.35); flex-shrink: 0;
}
.comment-form-actions {
  display: flex; justify-content: space-between; align-items: center;
  gap: 0.75rem; margin-top: 0.65rem; flex-wrap: wrap;
}
.comment-item { margin-bottom: 1.1rem; }
.comment-main { display: flex; gap: 0.75rem; align-items: flex-start; }
.comment-body-wrap { flex: 1; min-width: 0; }
.comment-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 0.65rem;
  margin-bottom: 0.35rem; font-size: 0.82rem; color: var(--muted);
}
.comment-author { color: var(--text); font-size: 0.95rem; }
.comment-admin-badge {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.15rem 0.55rem; border-radius: 999px;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(120deg, rgba(0,255,136,0.2), rgba(0,223,216,0.18));
  color: var(--primary); border: 1px solid rgba(0,255,136,0.45);
}
.comment-item.is-admin-comment {
  padding: 0.85rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,255,136,0.08), rgba(0,223,216,0.05));
  border: 1px solid rgba(0,255,136,0.28);
}
.comment-item.is-admin-comment .comment-avatar {
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(0,255,136,0.35);
}
.comment-muted-badge {
  display: inline-flex; align-items: center; gap: 0.2rem;
  padding: 0.12rem 0.45rem; border-radius: 999px;
  font-size: 0.68rem; font-weight: 700;
  background: rgba(255, 193, 7, 0.15); color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.4);
}
.comment-pending-badge {
  display: inline-flex; padding: 0.12rem 0.45rem; border-radius: 999px;
  font-size: 0.68rem; font-weight: 700;
  background: rgba(255, 61, 113, 0.12); color: #ff7aa2;
  border: 1px solid rgba(255, 61, 113, 0.35);
}
.comment-item.is-pending { opacity: 0.85; }
.comment-text {
  color: #dbe4f0; line-height: 1.65; white-space: pre-wrap; word-break: break-word;
}
.comment-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem;
  margin-top: 0.55rem;
}
.comment-like-btn, .comment-reply-btn, .comment-like-static {
  background: transparent; border: none; color: var(--muted);
  font-size: 0.82rem; font-weight: 600; padding: 0; cursor: pointer;
}
.comment-like-btn:hover, .comment-reply-btn:hover { color: var(--primary); }
.comment-like-btn.is-liked { color: #ff3d71; }
.comment-admin-tools {
  display: flex; flex-wrap: wrap; gap: 0.45rem; margin-left: auto;
}
.comment-admin-tools button, .comment-admin-tools .link-danger {
  background: transparent; border: none; color: var(--muted);
  font-size: 0.75rem; font-weight: 600; padding: 0; cursor: pointer;
}
.comment-admin-tools button:hover { color: var(--primary); }
.comment-admin-tools .link-danger:hover { color: #ff3d71; }
.comment-reply-form {
  margin-top: 0.75rem; padding: 0.75rem;
  border-radius: 10px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
}
.comment-children {
  margin: 0.85rem 0 0 1.15rem;
  padding-left: 0.85rem;
  border-left: 2px solid rgba(0, 255, 136, 0.18);
}
.comment-children.is-empty {
  margin: 0;
  padding: 0;
  border: none;
}
.comment-item.is-new {
  animation: commentIn 0.45s ease both;
}
@keyframes commentIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.comment-admin-body {
  white-space: pre-wrap; color: #dbe4f0; line-height: 1.55;
}

@media (max-width: 575px) {
  .comment-children { margin-left: 0.4rem; padding-left: 0.55rem; }
  .comment-composer-row { flex-direction: column; }
}

.related-card {
  display: block; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  color: inherit; height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--glow); color: inherit; }
.related-card img { width: 100%; height: 150px; object-fit: cover; }
.related-card-body { padding: 0.9rem; }
.related-card-body h3 { font-size: 0.98rem; font-weight: 700; margin: 0.5rem 0 0; color: var(--text); }

.sticky-side { position: sticky; top: 90px; }

/* Category cards */
.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}
.category-card:hover { transform: translateY(-3px); box-shadow: var(--glow); }
.category-card a { color: inherit; display: block; height: 100%; }
.category-card-media { position: relative; height: 180px; }
.category-card-media img { width: 100%; height: 100%; object-fit: cover; }
.category-card-media .badge-pill { position: absolute; top: 0.75rem; left: 0.75rem; }
.category-card-body { padding: 1rem; }
.category-card-body h2 { font-size: 1.1rem; font-weight: 700; margin: 0 0 0.5rem; }
.category-card-body p { color: var(--muted); font-size: 0.9rem; margin: 0 0 0.75rem; }

/* Auth */
.auth-section { min-height: 70vh; display: grid; place-items: center; padding: 3rem 0; }
.auth-card { width: min(440px, 100%); padding: 2rem; }
.glass-card, .glass-modal, .glass-alert {
  background: rgba(18, 22, 31, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}
.glass-modal { background: #12161f; color: var(--text); }
.glass-modal .modal-title { color: var(--text); }

/* TinyMCE (admin articles) */
.tox-tinymce {
  border-radius: 10px !important;
  border: 1px solid var(--border) !important;
  overflow: hidden;
}
.tox .tox-toolbar,
.tox .tox-menubar,
.tox .tox-edit-area__iframe {
  background: #0d1118 !important;
}
.tox-statusbar { border-top: 1px solid var(--border) !important; }

/* Footer */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  background: rgba(8, 10, 14, 0.8);
}
.footer-title { font-weight: 800; margin-bottom: 0.85rem; }
.footer-links a { color: var(--muted); display: inline-block; margin-bottom: 0.4rem; }
.footer-links a:hover { color: var(--primary); }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--border); color: var(--text);
}
.social-links a:hover { color: var(--primary); border-color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); color: var(--muted); }

/* Lightbox + Toast */
.media-lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: grid; place-items: center;
  padding: 1.5rem;
}
.media-lightbox[hidden] { display: none !important; }
.lightbox-inner { width: min(1100px, 100%); max-height: 90vh; }
.lightbox-image { max-height: 85vh; width: auto; max-width: 100%; margin: 0 auto; display: block; border-radius: 8px; }
.lightbox-video { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 1rem; right: 1.25rem;
  background: transparent; border: none; color: #fff;
  font-size: 2.5rem; line-height: 1; cursor: pointer;
}
.app-toast {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2100; background: #0e1a14; color: var(--primary);
  border: 1px solid var(--primary); border-radius: 999px;
  padding: 0.75rem 1.25rem; font-weight: 700;
  box-shadow: var(--glow); animation: fadeUp 0.25s ease;
}
.app-toast[hidden] { display: none !important; }

/* Admin */
.admin-body { background: var(--bg); color: var(--text); }
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar {
  background: #0c1018; border-right: 1px solid var(--border);
  padding: 1.25rem 1rem; position: sticky; top: 0; height: 100vh;
}
.admin-brand { margin-bottom: 1.5rem; }
.admin-nav { display: flex; flex-direction: column; gap: 0.25rem; }
.admin-nav a {
  color: var(--muted); padding: 0.65rem 0.8rem; border-radius: 10px;
  display: flex; gap: 0.6rem; align-items: center; font-weight: 600;
}
.admin-nav a:hover, .admin-nav a.active {
  background: var(--primary-dim); color: var(--primary);
}
.admin-topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.5rem; border-bottom: 1px solid var(--border);
  background: rgba(12,16,24,0.8); backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 50;
}
.admin-content { padding: 1.5rem; }
.stat-card { padding: 1.1rem; text-align: center; }
.stat-icon { color: var(--primary); font-size: 1.3rem; margin-bottom: 0.35rem; }
.stat-value { font-size: 1.5rem; font-weight: 800; }
.stat-label { color: var(--muted); font-size: 0.82rem; }
.table-dark-neon { --bs-table-bg: transparent; --bs-table-color: var(--text); color: var(--text); }
.table-dark-neon th { color: var(--muted); font-weight: 600; border-color: var(--border); }
.table-dark-neon td { border-color: var(--border); vertical-align: middle; }
.admin-top-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.45rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem;
}

/* Pagination */
.pagination .page-link {
  background: var(--surface); border-color: var(--border); color: var(--text);
}
.pagination .page-item.active .page-link {
  background: var(--primary); border-color: var(--primary); color: #04140c;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
  .hero-strip-grid { grid-template-columns: 1fr 1fr; }
  .hero-strip-item:nth-child(2) { border-right: none; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: relative; height: auto; }
  .latest-item { grid-template-columns: 100px 1fr; }
  .share-group { margin-left: 0; width: 100%; }
}

@media (max-width: 575px) {
  .hero-strip-grid { grid-template-columns: 1fr; }
  .hero-strip-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .latest-item { grid-template-columns: 1fr; }
  .latest-thumb { height: 160px; }
  .featured-track { grid-auto-columns: 75%; }
}
