
/* ================================================
   🌗 THEME VARIABLES (Dark & Light Mode Compatible)
   ================================================ */
:root {
  --ng-bg: #0f0f10;
  --ng-card: rgba(255,255,255,0.04);
  --ng-accent: #00b7ff;
  --ng-text: #e6eef8;
}

body.light-mode {
  --ng-bg: #ffffff;
  --ng-card: rgba(0,0,0,0.05);
  --ng-accent: #007bff;
  --ng-text: #000000;
}


/* ================================================
   Neoglass Base (Unified from base.css + home-base.css)
   Version: v3.2
   ================================================ */

/* 🎨 THEME VARIABLES */
:root {
  --ng-bg: #0f0f10;
  --ng-card: rgba(255, 255, 255, 0.04);
  --ng-accent: #6ea8fe;
  --ng-text: #e6eef8;
}

/* ================================================
   🌍 GLOBAL BODY + RESET
   ================================================ */
body.neoglass-root {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--ng-bg);
  color: var(--ng-text);
  margin: 0;
}

body,
html {
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.ng-container {
  padding-bottom: 56px;
}

/* ================================================
   🧱 MAIN LAYOUT (from home-base)
   ================================================ */
.ng-main {
  max-width: 1100px;
  margin: 16px auto;
  padding: 0 12px;
}

/* ================================================
   🎞 HERO SLIDER (Top Viewed)
   ================================================ */
.ng-slider {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin: 10px 0 24px;
  position: relative;
}

.ng-slider-inner {
  display: flex;
  gap: 14px;
  padding: 0 10px;
}

.ng-slide {
  flex: 0 0 80%;
  max-width: 80%;
  position: relative;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease;
}

.ng-slide:hover {
  transform: translateY(-3px);
}

.ng-slide-cover {
  width: 100%;
  padding-top: 56%;
  background-size: cover;
  background-position: center;
}

.ng-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 70%);
}

.ng-slide-info {
  position: absolute;
  bottom: 10px;
  left: 14px;
  right: 14px;
}

.ng-slide-info h3 {
  font-size: 1.1rem;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

/* ================================================
   🏷 SECTION HEADINGS
   ================================================ */
.ng-section-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ng-text);
  margin: 20px 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ng-section-title a {
  font-size: 0.85rem;
  color: var(--ng-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ng-section-title a:hover {
  color: #0096e2;
}
