/* ═══════════════════════════════════════════════════════════════

   WATCH GUIDE v2 — Netflix × Liquid Glass Design

   ═══════════════════════════════════════════════════════════════ */



/* ── CSS Variables ───────────────────────────────────────────── */

:root {

  --wg2-bg: #0a0a0a;

  --wg2-surface: rgba(255, 255, 255, 0.03);

  --wg2-surface-hover: rgba(255, 255, 255, 0.06);

  --wg2-glass: rgba(20, 20, 20, 0.75);

  --wg2-glass-border: rgba(255, 255, 255, 0.08);

  --wg2-text: #ffffff;

  --wg2-text-muted: rgba(255, 255, 255, 0.6);

  --wg2-red: #e50914;

  --wg2-red-hover: #f40612;

  --wg2-accent-gold: #e5a00d;

  --wg2-accent-blue: #1b74e4;

  --wg2-accent-purple: #8b5cf6;

  --wg2-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);

  --wg2-backdrop: blur(20px) saturate(180%);

  --wg2-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

}



/* ── Layout Container ────────────────────────────────────────── */

.wg2-container {

  min-height: 100vh;

  background: var(--wg2-bg);

  position: relative;

}



/* ── Slim Hero ──────────────────────────────────────────────── */

.wg2-hero {

  position: relative;

  height: 280px;

  display: flex;

  align-items: flex-end;

  overflow: hidden;

  background: linear-gradient(180deg, 

    rgba(10,10,10,0) 0%,

    rgba(10,10,10,0.6) 60%,

    var(--wg2-bg) 100%

  );

}



.wg2-hero-bg {

  position: absolute;

  inset: 0;

  background-size: cover;

  background-position: center 30%;

  filter: brightness(0.7);

  z-index: 0;

}



.wg2-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 40px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}



.wg2-hero h1 {

  font-family: 'Bebas Neue', sans-serif;

  font-size: clamp(42px, 6vw, 72px);

  line-height: 0.95;

  color: #fff;

  margin: 0 0 12px;

  letter-spacing: 0.02em;

}



.wg2-hero h1 em {

  color: var(--wg2-red);

  font-style: normal;

}



.wg2-hero-desc {

  color: var(--wg2-text-muted);

  font-size: 14px;

  line-height: 1.5;

  max-width: 480px;

  margin: 0;

}



/* ── Mobile Hamburger ───────────────────────────────────────── */

.wg2-menu-toggle {

  display: none;

  position: fixed;

  top: 16px;

  left: 16px;

  z-index: 1000;

  width: 44px;

  height: 44px;

  border-radius: 12px;

  background: transparent;

  border: 1px solid var(--wg2-glass-border);

  backdrop-filter: none;

  -webkit-backdrop-filter: none;

  cursor: pointer;

  align-items: center;

  justify-content: center;

  flex-direction: column;

  gap: 5px;

  transition: var(--wg2-transition);

}



.wg2-menu-toggle:hover {

  background: var(--wg2-surface-hover);

}



.wg2-menu-toggle span {

  display: block;

  width: 20px;

  height: 2px;

  background: var(--wg2-text);

  border-radius: 2px;

  transition: var(--wg2-transition);

}



.wg2-menu-toggle.active span:nth-child(1) {

  transform: rotate(45deg) translate(5px, 5px);

}



.wg2-menu-toggle.active span:nth-child(2) {

  opacity: 0;

}



.wg2-menu-toggle.active span:nth-child(3) {

  transform: rotate(-45deg) translate(5px, -5px);

}



/* ── Controls Bar (Single Line) ────────────────────────────── */

.wg2-controls {

  position: sticky;

  top: 64px;

  z-index: 100;

  background: transparent;

  border: none;

  backdrop-filter: none;

  -webkit-backdrop-filter: none;

  padding: 12px 48px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 16px;

  transition: top 0.3s ease;

}

/* Liquid glass when sticky at top */
.wg2-controls.wg2-sticky {

  background: rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(40px) saturate(2);

  -webkit-backdrop-filter: blur(40px) saturate(2);

  border: 1px solid rgba(255, 255, 255, 0.2);

  border-top: 1px solid rgba(255, 255, 255, 0.3);

  border-radius: 16px;

  padding: 16px 20px;

  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);

}



.wg2-controls-inner {

  display: flex;

  align-items: center;

  gap: 12px;

  width: 100%;

  /* overflow removed - was clipping dropdown */

}



/* Filter Dropdown */

.wg2-filter-dropdown {

  position: relative;

  flex-shrink: 0;

}



.wg2-filter-btn {

  display: flex;

  align-items: center;

  gap: 8px;

  padding: 8px 16px;

  border-radius: 20px;

  background: var(--wg2-surface);

  border: 1px solid var(--wg2-glass-border);

  color: var(--wg2-text);

  font-size: 13px;

  font-weight: 600;

  cursor: pointer;

  transition: var(--wg2-transition);

  white-space: nowrap;

}



.wg2-filter-btn:hover {

  background: var(--wg2-surface-hover);

  border-color: rgba(255,255,255,0.2);

}



.wg2-filter-btn svg {

  width: 14px;

  height: 14px;

  opacity: 0.75;

  flex-shrink: 0;

}

.wg2-filter-btn .wg2-chevron {

  width: 14px;

  height: 14px;

  opacity: 0.7;

  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);

}



.wg2-filter-dropdown.open .wg2-filter-btn .wg2-chevron {

  transform: rotate(180deg);

}



.wg2-filter-menu {

  position: absolute;

  top: calc(100% + 8px);

  left: 0;

  min-width: 180px;

  background: transparent;

  border: 1px solid var(--wg2-glass-border);

  border-radius: 12px;

  backdrop-filter: none;

  -webkit-backdrop-filter: none;

  padding: 8px;

  opacity: 0;

  visibility: hidden;

  transform: translateY(-8px);

  transition: var(--wg2-transition);

  z-index: 200;

  box-shadow: var(--wg2-shadow);

}



.wg2-filter-dropdown.open .wg2-filter-menu {

  opacity: 1;

  visibility: visible;

  transform: translateY(0);

}



.wg2-filter-option {

  display: flex;

  align-items: center;

  gap: 10px;

  padding: 10px 14px;

  border-radius: 8px;

  cursor: pointer;

  transition: var(--wg2-transition);

  font-size: 13px;

  color: var(--wg2-text-muted);

}



.wg2-filter-option:hover {

  background: var(--wg2-surface);

  color: var(--wg2-text);

}



.wg2-filter-option.active {

  background: var(--wg2-red);

  color: #fff;

}



.wg2-filter-option input[type="checkbox"] {

  width: 16px;

  height: 16px;

  accent-color: var(--wg2-red);

  cursor: pointer;

}



/* Quick Filter Pills */

.wg2-pills {

  display: flex;

  align-items: center;

  gap: 8px;

  flex-shrink: 0;

}



.wg2-pill {

  padding: 6px 14px;

  border-radius: 16px;

  background: transparent;

  border: 1px solid var(--wg2-glass-border);

  color: var(--wg2-text-muted);

  font-size: 12px;

  font-weight: 600;

  cursor: pointer;

  transition: var(--wg2-transition);

  white-space: nowrap;

}



.wg2-pill:hover {

  border-color: rgba(255,255,255,0.3);

  color: var(--wg2-text);

}



.wg2-pill.active {

  background: var(--wg2-red);

  border-color: var(--wg2-red);

  color: #fff;

}



.wg2-pill.type-movie.active {

  background: var(--wg2-accent-gold);

  border-color: var(--wg2-accent-gold);

  color: #0a0a0a;

}



.wg2-pill.type-ova.active {

  background: var(--wg2-accent-blue);

  border-color: var(--wg2-accent-blue);

}



.wg2-pill.type-magic-kaito.active {

  background: var(--wg2-accent-purple);

  border-color: var(--wg2-accent-purple);

}



.wg2-divider {

  width: 1px;

  height: 20px;

  background: var(--wg2-glass-border);

  flex-shrink: 0;

  margin: 0 4px;

}



/* ═══════════════════════════════════════════════════════════════

   FULL-WIDTH LAYOUT WITH TIMELINE SCRUBBER

   ═══════════════════════════════════════════════════════════════ */



/* CSS Variables */

:root {

  --header-height: 56px;

  --header-offset: 56px;

}



/* ── Main Layout ────────────────────────────────────────────── */

.wg2-layout {

  display: flex;

  align-items: flex-start;

  min-height: calc(100vh - 280px);

}



.wg2-feed {

  flex: 1;

  min-width: 0;

  padding: 24px 48px 80px;

  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

}



/* Full width feed (no sidebar) for scrubber layout */

.wg2-feed-full {

  width: 100%;

  max-width: 1400px;

  margin: 0 auto;

  padding: 24px 80px 80px 48px; /* Extra right padding for scrubber */

}



.wg2-feed-full .wg2-feed {

  padding: 0;

  max-width: none;

}



/* Desktop */

@media (min-width: 1025px) {

  .wg2-feed {

    margin-left: 0;

  }

}



.wg2-arc {

  margin-bottom: 2px;

}



.wg2-arc-header {

  display: flex;

  align-items: center;

  gap: 12px;

  padding: 10px 12px;

  border-radius: 10px;

  cursor: pointer;

  transition: var(--wg2-transition);

  position: relative;

}



.wg2-arc-header:hover {

  background: var(--wg2-surface-hover);

}



.wg2-arc-header.active {

  background: rgba(229, 9, 20, 0.15);

}



.wg2-arc-header.active::before {

  content: '';

  position: absolute;

  left: 0;

  top: 50%;

  transform: translateY(-50%);

  width: 3px;

  height: 20px;

  background: var(--wg2-red);

  border-radius: 0 2px 2px 0;

}



.wg2-arc-indicator {

  width: 10px;

  height: 10px;

  border-radius: 50%;

  background: var(--wg2-glass-border);

  flex-shrink: 0;

  transition: var(--wg2-transition);

}



.wg2-arc-header:hover .wg2-arc-indicator,

.wg2-arc-header.active .wg2-arc-indicator {

  background: var(--wg2-red);

  transform: scale(1.2);

}



.wg2-arc-info {

  flex: 1;

  min-width: 0;

}



.wg2-arc-name {

  font-size: 13px;

  font-weight: 600;

  color: var(--wg2-text);

  line-height: 1.3;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;

}



.wg2-arc-range {

  font-size: 11px;

  color: var(--wg2-text-muted);

  margin-top: 2px;

}



.wg2-arc-count {

  font-size: 11px;

  font-weight: 600;

  color: var(--wg2-text-muted);

  background: var(--wg2-surface);

  padding: 2px 8px;

  border-radius: 10px;

}



/* Sub-arcs (nested) */

.wg2-subarc {

  padding-left: 32px;

  margin-top: 2px;

}



.wg2-subarc-header {

  display: flex;

  align-items: center;

  gap: 8px;

  padding: 8px 12px;

  border-radius: 8px;

  cursor: pointer;

  transition: var(--wg2-transition);

}



.wg2-subarc-header:hover {

  background: var(--wg2-surface);

}



.wg2-subarc-header.active {

  background: rgba(229, 9, 20, 0.1);

}



.wg2-subarc-dot {

  width: 6px;

  height: 6px;

  border-radius: 50%;

  background: var(--wg2-glass-border);

}



.wg2-subarc-header:hover .wg2-subarc-dot,

.wg2-subarc-header.active .wg2-subarc-dot {

  background: var(--wg2-red);

}



.wg2-subarc-name {

  font-size: 12px;

  color: var(--wg2-text-muted);

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;

}



.wg2-subarc-header.active .wg2-subarc-name {

  color: var(--wg2-text);

}



/* Section Headers */

.wg2-section {

  margin-bottom: 40px;

}



.wg2-section-header {

  display: flex;

  align-items: center;

  gap: 16px;

  margin-bottom: 20px;

  padding-bottom: 12px;

  border: none;

}



.wg2-section-num {

  font-family: 'Bebas Neue', sans-serif;

  font-size: 48px;

  line-height: 1;

  color: rgba(255,255,255,0.1);

  flex-shrink: 0;

}



.wg2-section-title {

  font-family: 'Bebas Neue', sans-serif;

  font-size: 28px;

  color: var(--wg2-text);

  letter-spacing: 0.02em;

}



.wg2-subsection-title {

  font-family: 'Bebas Neue', sans-serif;

  font-size: 20px;

  color: var(--wg2-text);

  letter-spacing: 0.02em;

  margin-top: 28px;

  margin-bottom: 14px;

  opacity: 0.85;

  display: block;

}



.wg2-section-meta {

  font-size: 13px;

  color: var(--wg2-text-muted);

  margin-top: 4px;

}



/* ── Episode Cards Grid ────────────────────────────────────── */

.wg2-grid {

  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));

  gap: 20px;

  align-items: start;

}



/* ── Watch Card (Liquid Glass) ──────────────────────────────── */

.wg2-card {

  display: flex;

  flex-direction: column;

  border-radius: 16px;

  overflow: hidden;

  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));

  border: 1px solid rgba(255, 255, 255, 0.05);

  border-top: 1px solid rgba(255, 255, 255, 0.15);

  backdrop-filter: blur(20px) saturate(150%);

  -webkit-backdrop-filter: blur(20px) saturate(150%);

  cursor: pointer;

  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);

  position: relative;

  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);

}

.wg2-card:hover {

  transform: translateY(-6px) scale(1.02);

  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));

  border-top: 1px solid rgba(255, 255, 255, 0.15);

  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);

}



.wg2-card.hidden {

  display: none;

}



/* Type-specific styling */

.wg2-card.type-movie {

  border-color: rgba(229, 160, 13, 0.2);

  background: rgba(229, 160, 13, 0.05);

}



.wg2-card.type-movie:hover {

  box-shadow: 

    0 20px 40px rgba(229, 160, 13, 0.15),

    0 0 0 1px rgba(229, 160, 13, 0.4);

}



.wg2-card.type-ova {

  border-color: rgba(27, 116, 228, 0.2);

  background: rgba(27, 116, 228, 0.05);

}



.wg2-card.type-magic-kaito {

  border-color: rgba(139, 92, 246, 0.2);

  background: rgba(139, 92, 246, 0.05);

}



/* Card Thumbnail */

.wg2-card-thumb {

  width: 100%;

  position: relative;

  background: #0c0c0c;

  display: grid;

}



.wg2-card-thumb img {

  width: 100%;

  aspect-ratio: 16 / 9;

  object-fit: cover;

  display: block;

  grid-area: 1 / 1;

}



/* Card Overlay (Modern Premium Look) */

.wg2-card-overlay {

  grid-area: 1 / 1;

  display: flex;

  flex-direction: column;

  justify-content: flex-end;

  padding: 16px;

  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);

  pointer-events: none;

  z-index: 2;

}



.wg2-card-header {

  display: flex;

  align-items: center;

  gap: 8px;

  margin-bottom: 4px;

}



.wg2-card-type {

  font-size: 10px;

  font-weight: 700;

  text-transform: uppercase;

  padding: 2px 6px;

  border-radius: 4px;

  background: rgba(255,255,255,0.2);

  backdrop-filter: blur(4px);

  -webkit-backdrop-filter: blur(4px);

  color: #fff;

}



.wg2-card-num {

  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  font-size: 12px;

  font-weight: 600;

  color: rgba(255,255,255,0.8);

}



.wg2-card-title {

  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  font-size: 16px;

  font-weight: 700;

  line-height: 1.3;

  color: #fff;

  text-shadow: 0 2px 8px rgba(0,0,0,0.8);

  margin-bottom: 6px;

  display: -webkit-box;

  -webkit-line-clamp: 2;

  line-clamp: 2;

  -webkit-box-orient: vertical;

  overflow: hidden;

}



.wg2-card.type-movie .wg2-card-title {

  font-size: 18px;

}



.wg2-card-desc {

  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  font-size: 12px;

  color: rgba(255,255,255,0.7);

  line-height: 1.4;

  margin-bottom: 8px;

  display: -webkit-box;

  -webkit-line-clamp: 2;

  line-clamp: 2;

  -webkit-box-orient: vertical;

  overflow: hidden;

}



.wg2-card-tags {

  display: flex;

  gap: 6px;

  flex-wrap: wrap;

}



.wg2-tag {

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 0.05em;

  text-transform: uppercase;

  padding: 3px 8px;

  border-radius: 4px;

  background: rgba(255, 255, 255, 0.08);

  color: rgba(255, 255, 255, 0.7);

}



.wg2-tag.main-plot {

  background: rgba(229, 9, 20, 0.15);

  color: rgba(255, 107, 122, 0.9);

}



.wg2-tag.black-org {

  background: rgba(0,0,0,0.4);

  color: rgba(255,255,255,0.6);

  border: 1px solid rgba(255,255,255,0.1);

}



.wg2-tag.fbi {

  background: rgba(27, 116, 228, 0.15);

  color: #60a5fa;

}



.wg2-tag.kaito-kid {

  background: rgba(139, 92, 246, 0.15);

  color: #a78bfa;

}



.wg2-tag.heiji {

  background: rgba(5, 150, 105, 0.15);

  color: #34d399;

}



.wg2-tag.romance {

  background: rgba(236, 72, 153, 0.15);

  color: #f472b6;

}



/* ── Empty State ────────────────────────────────────────────── */

.wg2-empty {

  text-align: center;

  padding: 80px 20px;

  color: var(--wg2-text-muted);

  grid-column: 1 / -1;

}



.wg2-empty h3 {

  font-family: 'Bebas Neue', sans-serif;

  font-size: 32px;

  color: rgba(255,255,255,0.2);

  margin-bottom: 8px;

}



/* ── Responsive Styles ──────────────────────────────────────── */

@media (max-width: 1024px) {

  .wg2-hero-content {

    padding: 0 32px 24px;

  }

  

  .wg2-controls {

    padding: 12px 32px;

  }

  

  .wg2-feed {

    padding: 24px 32px 60px;

  }

}



@media (max-width: 768px) {

  .wg2-hero {
    display: block !important;
    height: auto !important;
    min-height: unset !important;
    position: relative;
    overflow: hidden;
    margin-bottom: -20px !important;
  }
  
  .wg2-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg) 0%, transparent 90%);
    pointer-events: none;
  }
  
  .wg2-hero-content {
    display: block !important;
    height: auto !important;
    padding: 60px 20px 0 !important;
    position: relative;
    z-index: 2;
  }

  

  .pp-hero-back {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    font-size: 11px;
    top: 20px;
    left: 20px;
  }

  .wg2-hero h1 {
    font-size: 26px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 4px;
  }

  .wg2-hero-desc {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    opacity: 0.9;
  }

  

  .wg2-controls {
    position: sticky;
    top: 12px;
    z-index: 1000;
    padding: 8px 12px;
    background: rgba(22, 22, 25, 0.7);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    margin: -4px 12px 20px;
    width: calc(100% - 24px);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  }

  .wg2-controls::-webkit-scrollbar {

    display: none;

  }

  /* Netflix-style pill buttons */

  .wg2-controls .wg2-jump-btn,
  .wg2-controls .wg2-filter-btn,
  .wg2-controls .wg2-india-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    line-height: 1;
  }

  .wg2-controls .wg2-india-btn {
    padding-right: 10px;
    gap: 8px;
  }

  .wg2-controls .wg2-india-btn .wg2-switch {
    transform: scale(0.85);
    margin: 0;
  }

  .wg2-controls .wg2-jump-btn:hover,

  .wg2-controls .wg2-filter-btn:hover,

  .wg2-controls .wg2-india-btn:hover {

    background: rgba(255, 255, 255, 0.2);

  }

  .wg2-controls .wg2-india-btn.active,

  .wg2-controls .wg2-filter-btn.active {

    background: rgba(255, 255, 255, 0.95);

    color: var(--bg);

    border-color: transparent;

  }

  

  /* Mobile full-width feed with less padding */

  .wg2-feed-full {
    padding: 16px 16px 100px;
  }

  .wg2-feed {
    padding: 16px 16px 100px;
  }

  .wg2-card {
    min-height: 110px;
    margin-bottom: 20px;
  }

  .wg2-card-info {
    padding: 12px;
  }

  .wg2-card-meta {
    margin-bottom: 6px;
    gap: 12px;
  }

  .wg2-card-tags {
    gap: 6px;
    margin-top: 8px;
  }

  .wg2-tag {
    font-size: 10px;
    padding: 3px 8px;
  }

  

  .wg2-card-thumb {

    flex: 0 0 90px;

  }

  

  .wg2-section-header {

    margin-bottom: 16px;

  }

  

  .wg2-section-num {

    font-size: 36px;

  }

  

  .wg2-section-title {

    font-size: 22px;

  }

}



@media (max-width: 480px) {

  .wg2-hero h1 {

    font-size: 28px;

  }

  

  .wg2-hero-desc {

    font-size: 12px;

  }

  

  .wg2-pill {

    padding: 5px 10px;

    font-size: 11px;

  }

  

  .wg2-card-overlay {

    padding: 12px;

  }

  

  .wg2-card-title {

    font-size: 14px;

  }
}

/* ── Hover Info Panel ──────────────────────────────────────── */










/* Arrow pointing to ruler */




/* ── Ruler Hover State (Show Episode Numbers) ──────────────── */







/* Enhanced Liquid Glass - Cards */

.wg2-card.wg2-dummy {

  background: rgba(255, 255, 255, 0.02);

  border: 1px solid rgba(255, 255, 255, 0.06);

  backdrop-filter: blur(12px) saturate(160%);

  -webkit-backdrop-filter: blur(12px) saturate(160%);

  box-shadow: 

    0 4px 24px rgba(0, 0, 0, 0.2),

    inset 0 1px 0 rgba(255, 255, 255, 0.03);

}



.wg2-card.wg2-dummy:hover {

  background: rgba(255, 255, 255, 0.04);

  border-color: rgba(255, 255, 255, 0.1);

  box-shadow: 

    0 8px 40px rgba(0, 0, 0, 0.3),

    inset 0 1px 0 rgba(255, 255, 255, 0.05);

  transform: translateY(-2px);

}



/* Enhanced Liquid Glass - Controls */

.wg2-controls {

  background: rgba(255, 255, 255, 0.02);

  backdrop-filter: blur(20px) saturate(180%);

  -webkit-backdrop-filter: blur(20px) saturate(180%);

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);

  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);

}



.wg2-filter-btn {

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.10) 100%
  );

  border: 1px solid rgba(255, 255, 255, 0.22);

  backdrop-filter: blur(20px) saturate(180%);

  -webkit-backdrop-filter: blur(20px) saturate(180%);

  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);

}



.wg2-filter-btn:hover {

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.26) 0%,
    rgba(255, 255, 255, 0.10) 50%,
    rgba(255, 255, 255, 0.18) 100%
  );

  border-color: rgba(255, 255, 255, 0.35);

  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);

}



.wg2-filter-menu {

  background: linear-gradient(
    160deg,
    rgba(30, 30, 35, 0.82) 0%,
    rgba(15, 15, 18, 0.92) 100%
  );

  backdrop-filter: blur(28px) saturate(200%);

  -webkit-backdrop-filter: blur(28px) saturate(200%);

  border: 1px solid rgba(255, 255, 255, 0.14);

  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);

}



.wg2-pill {

  background: rgba(255, 255, 255, 0.04);

  border: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(8px);

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

}



.wg2-pill:hover {

  background: rgba(255, 255, 255, 0.08);

  border-color: rgba(255, 255, 255, 0.15);

}



.wg2-pill.active {

  background: rgba(229, 9, 20, 0.15);

  border-color: rgba(229, 9, 20, 0.4);

  box-shadow: 

    0 0 12px rgba(229, 9, 20, 0.2),

    inset 0 1px 0 rgba(255, 255, 255, 0.1);

}



/* Enhanced Sidebar Items */

.wg2-arc {

  background: rgba(255, 255, 255, 0.02);

  border: 1px solid rgba(255, 255, 255, 0.04);

  border-radius: 10px;

  margin-bottom: 4px;

  backdrop-filter: blur(8px);

}



.wg2-arc:hover {

  background: rgba(255, 255, 255, 0.04);

  border-color: rgba(255, 255, 255, 0.1);

}



.wg2-arc-header {

  border-radius: 10px;

}



/* Ruler responsive */





@media (max-width: 768px) {

  /* Mobile: Ruler hidden by default, shown on toggle */


  


  
}





















/* ─── GUIDE INDEX PAGE ────────────────────────────────── */

.guide-index-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin: 40px auto 0;
  padding: 0 40px 60px;
  max-width: 1200px;
}

@media (min-width: 1024px) {
  .guide-index-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.guide-featured-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 400px;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  background: var(--wg2-surface);
}

.guide-featured-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 255, 255, 0.05);
}

.guide-featured-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
  z-index: 1;
}

.guide-featured-card:hover .guide-featured-img {
  transform: scale(1.05);
}

.guide-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.6) 40%, rgba(10, 10, 10, 0.2) 100%);
  z-index: 2;
  transition: background 0.4s ease;
}

.guide-featured-card:hover .guide-featured-overlay {
  background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.4) 40%, transparent 100%);
}

.guide-featured-content {
  position: relative;
  z-index: 3;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-featured-num {
  position: absolute;
  top: 32px;
  left: 32px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 64px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.15);
  z-index: 3;
  transition: color 0.4s ease;
}

.guide-featured-card:hover .guide-featured-num {
  color: rgba(255, 255, 255, 0.3);
}

.guide-featured-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wg2-red);
}

.guide-featured-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 48px;
  line-height: 1;
  color: #fff;
  margin: 0;
  letter-spacing: 0.02em;
}

.guide-featured-desc {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 90%;
  margin: 0;
}

.guide-featured-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.guide-featured-tag {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.guide-featured-action {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  opacity: 0.6;
  transform: translateX(-10px);
  transition: all 0.4s ease;
}

.guide-featured-card:hover .guide-featured-action {
  opacity: 1;
  transform: translateX(0);
  color: var(--wg2-red);
}

@media (max-width: 768px) {
  .guide-featured-card {
    min-height: 320px;
  }
  .guide-featured-content {
    padding: 24px;
  }
  .guide-featured-num {
    top: 24px;
    left: 24px;
    font-size: 48px;
  }
  .guide-featured-title {
    font-size: 36px;
  }
  .guide-featured-desc {
    font-size: 14px;
    max-width: 100%;
  }
}

/* ── Arc Quick-Pick Sheet (mobile only) ──────────────────── */
.wg2-arc-sheet-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.wg2-arc-sheet-overlay.active { opacity: 1; pointer-events: auto; }
.wg2-arc-sheet {
  display: flex;
  flex-direction: column;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1001;
  background: rgba(18,18,26,0.93);
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px 24px 0 0;
  padding: 0 0 calc(env(safe-area-inset-bottom,0px) + 16px);
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.2,0.8,0.2,1);
  max-height: 72vh; overflow: hidden;
  pointer-events: none;
}
.wg2-arc-sheet.active { transform: translateY(0); pointer-events: auto; }
.wg2-arc-sheet-handle {
  width: 40px; height: 4px; border-radius: 4px;
  background: rgba(255,255,255,0.2);
  margin: 12px auto 0; flex-shrink: 0;
}
.wg2-arc-sheet-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 22px;
  letter-spacing: 0.06em; color: #fff;
  padding: 10px 20px 4px; flex-shrink: 0;
}
.wg2-arc-sheet-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; padding: 8px 12px 12px;
  overflow-y: auto; flex: 1;
  -webkit-overflow-scrolling: touch;
}
.wg2-arc-pill {
  display: flex; flex-direction: column;
  padding: 12px 14px; border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
  -webkit-tap-highlight-color: transparent;
}
.wg2-arc-pill:active { transform: scale(0.96); background: rgba(255,255,255,0.12); }
.wg2-arc-pill-name { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.3; }
.wg2-arc-pill-range { font-size: 10px; color: rgba(255,255,255,0.4); margin-top: 3px; }
@media (min-width: 769px) {
  .wg2-arc-sheet { display: none !important; }
  .wg2-arc-sheet-overlay { display: none !important; }
}

/* ── Arc Drawer ────────────────────────────────────────────── */
.wg2-arc-drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  z-index: 1000;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.wg2-arc-drawer-overlay.active {
  opacity: 1; pointer-events: auto;
}
.wg2-arc-drawer {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(20,20,20,0.9);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.1);
  z-index: 1001;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  max-height: 80vh; display: flex; flex-direction: column;
  border-radius: 20px 20px 0 0;
}
.wg2-arc-drawer.active {
  transform: translateY(0);
}
@media (min-width: 768px) {
  .wg2-arc-drawer {
    top: 0; bottom: 0; left: auto; right: 0;
    width: 400px; max-height: 100vh;
    transform: translateX(100%);
    border-radius: 0; border-top: none;
    border-left: 1px solid rgba(255,255,255,0.1);
  }
  .wg2-arc-drawer.active { transform: translateX(0); }
}
.wg2-arc-drawer-header {
  padding: 24px; display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.wg2-arc-drawer-header h3 { margin: 0; font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 1px; }
.wg2-close-btn { background: none; border: none; color: white; font-size: 28px; cursor: pointer; }
.wg2-arc-list { padding: 24px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.wg2-arc-item {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 16px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05); border-radius: 12px;
  color: white; cursor: pointer; transition: all 0.2s;
}
.wg2-arc-item:hover { background: rgba(255,255,255,0.1); border-color: var(--wg2-red); transform: translateX(8px); }
.wg2-arc-name { font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.wg2-arc-range { font-size: 12px; color: rgba(255,255,255,0.5); }
.wg2-fab-nav {
  position: fixed; bottom: 30px; right: 30px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wg2-red); border: none; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5); z-index: 999;
  cursor: pointer; transition: transform 0.2s;
}
.wg2-fab-nav:active { transform: scale(0.9); }
@media (min-width: 768px) { .wg2-fab-nav { display: none; } }

.wg2-btn-accent {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
  /* Liquid glass */
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.10) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}
.wg2-btn-accent:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.26) 0%,
    rgba(255, 255, 255, 0.10) 50%,
    rgba(255, 255, 255, 0.18) 100%
  );
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

/* Dragging States */
body.wg2-is-dragging {
  user-select: none !important;
  -webkit-user-select: none !important;
}

/* ── India Availability Toggle ────────────────────────────── */
.wg2-india-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex-shrink: 0;
  user-select: none;
}

.wg2-india-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.wg2-india-track {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  border-radius: 11px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.1);
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.wg2-india-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.25s;
}

.wg2-india-toggle input:checked + .wg2-india-track {
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.6) 0%, rgba(19, 136, 8, 0.5) 100%);
  border-color: rgba(255, 153, 0, 0.5);
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.2),
    0 0 10px rgba(255, 153, 0, 0.25);
}

.wg2-india-toggle input:checked + .wg2-india-track .wg2-india-thumb {
  transform: translateX(16px);
  background: rgba(255, 255, 255, 0.95);
}

.wg2-india-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

.wg2-india-toggle:hover .wg2-india-label {
  color: #fff;
}




/* --- RESTORED MISSING RULER CLASSES --- */





/* ── Floating Action Navigation ─────────────────────────────── */

.wg2-fab-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none; /* Let clicks pass through container */
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wg2-fab-container.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wg2-fab-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wg2-fab-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.wg2-fab-item {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--wg2-surface-hover);
  border: 1px solid var(--wg2-glass-border);
  backdrop-filter: var(--wg2-backdrop);
  color: var(--wg2-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--wg2-shadow);
  transition: all 0.2s ease;
  transform: scale(0.8);
  opacity: 0;
}

.wg2-fab-menu.active .wg2-fab-item {
  transform: scale(1);
  opacity: 1;
}

/* Stagger animations */
.wg2-fab-menu.active .wg2-fab-item:nth-child(3) { transition-delay: 0.05s; }
.wg2-fab-menu.active .wg2-fab-item:nth-child(2) { transition-delay: 0.1s; }
.wg2-fab-menu.active .wg2-fab-item:nth-child(1) { transition-delay: 0.15s; }

.wg2-fab-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px) scale(1) !important;
  color: var(--wg2-red);
  border-color: var(--wg2-red);
}

.wg2-fab-item svg {
  width: 20px;
  height: 20px;
}

.wg2-fab-main {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wg2-red);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(229, 9, 20, 0.4);
  transition: all 0.3s ease;
  pointer-events: auto;
}

.wg2-fab-main:hover {
  transform: scale(1.05);
  background: var(--wg2-red-hover);
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.6);
}

.wg2-fab-main svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.wg2-fab-menu.active + .wg2-fab-main .wg2-fab-icon-open {
  transform: rotate(90deg);
}

.wg2-fab-menu.active + .wg2-fab-main .wg2-fab-icon-close {
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .wg2-fab-container {
    bottom: 24px;
    right: 20px;
  }
  .wg2-fab-main {
    width: 52px;
    height: 52px;
    box-shadow: 0 8px 24px rgba(229, 9, 20, 0.5);
  }
  .wg2-fab-item {
    width: 44px;
    height: 44px;
    background: rgba(30, 30, 35, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
  }
}

/* ── Light Theme Overrides ───────────────────────────────────────────── */
[data-theme="light"] {
  --wg2-bg: #EEF2FF;               /* Soft lavender-blue background */
  --wg2-surface: #ffffff;          /* Bright white card surface */
  --wg2-surface-hover: #FFEBEB;    /* Soft crimson tint hover state */
  --wg2-glass: rgba(245, 247, 255, 0.97); /* Saturated lavender glass panels */
  --wg2-glass-border: var(--red);  /* Bold Crimson Red border */
  --wg2-text: #0D1547;             /* Rich Blazer Navy text */
  --wg2-text-muted: #364080;       /* Saturated steel blue */
  --wg2-shadow: 0 12px 32px rgba(16, 25, 78, 0.06);
}

[data-theme="light"] .wg2-hero {
  background: linear-gradient(180deg, rgba(13, 21, 71, 0.95) 0%, rgba(13, 21, 71, 0.65) 55%, var(--wg2-bg) 100%) !important;
}

[data-theme="light"] .wg2-hero-bg {
  filter: brightness(0.4) saturate(1.3) !important;
}

[data-theme="light"] .wg2-hero h1 {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(13, 21, 71, 0.4) !important;
}

[data-theme="light"] .wg2-hero-desc {
  color: rgba(255, 255, 255, 0.85) !important;
  text-shadow: 0 1px 2px rgba(13, 21, 71, 0.3) !important;
}

/* 2. STICKY CONTROLS (Rich Navy Backdrop with Crimson Accent) */
[data-theme="light"] .wg2-controls.wg2-sticky {
  background: rgba(13, 21, 71, 0.96) !important;
  border-bottom: 2.5px solid var(--red) !important;
  box-shadow: 0 8px 32px rgba(13, 21, 71, 0.25) !important;
  backdrop-filter: blur(20px) saturate(1.8) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.8) !important;
}

[data-theme="light"] .wg2-controls.wg2-sticky .wg2-search-input {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

[data-theme="light"] .wg2-controls.wg2-sticky .wg2-search-input::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

[data-theme="light"] .wg2-controls.wg2-sticky .wg2-search-icon {
  color: rgba(255, 255, 255, 0.7) !important;
}

[data-theme="light"] .wg2-controls.wg2-sticky .wg2-filter-btn,
[data-theme="light"] .wg2-controls.wg2-sticky .wg2-pill {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

[data-theme="light"] .wg2-controls.wg2-sticky .wg2-filter-btn:hover,
[data-theme="light"] .wg2-controls.wg2-sticky .wg2-pill:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #ffffff !important;
}

[data-theme="light"] .wg2-controls.wg2-sticky .wg2-filter-btn.wg2-active-btn,
[data-theme="light"] .wg2-controls.wg2-sticky .wg2-pill.wg2-active-pill {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: #ffffff !important;
  box-shadow: 0 0 10px rgba(229, 57, 53, 0.4) !important;
}

/* 3. DRAWERS & FILTER MENUS (Vibrant Lavender Glass & Crimson Borders) */
[data-theme="light"] .wg2-filter-menu,
[data-theme="light"] .wg2-arc-drawer,
[data-theme="light"] .wg2-card-drawer {
  background: rgba(245, 247, 255, 0.97) !important;
  border: 3px solid var(--red) !important;
  box-shadow: 0 16px 48px rgba(13, 21, 71, 0.15) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  color: #0D1547 !important;
}

[data-theme="light"] .wg2-arc-drawer-header,
[data-theme="light"] .wg2-card-drawer-header {
  border-bottom: 1.5px solid rgba(26, 35, 126, 0.15) !important;
}

[data-theme="light"] .wg2-arc-drawer-title,
[data-theme="light"] .wg2-card-drawer-title,
[data-theme="light"] .wg2-arc-sheet-title,
[data-theme="light"] .wg2-arc-name {
  color: #0D1547 !important;
}

[data-theme="light"] .wg2-close-btn,
[data-theme="light"] .wg2-drawer-close {
  background: rgba(0, 0, 0, 0.05) !important;
  color: #0D1547 !important;
  border: 1.5px solid rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .wg2-close-btn:hover,
[data-theme="light"] .wg2-drawer-close:hover {
  background: var(--red) !important;
  color: #ffffff !important;
  border-color: var(--red) !important;
}

[data-theme="light"] .wg2-card-drawer-meta,
[data-theme="light"] .wg2-card-drawer-desc {
  color: #364080 !important;
}

/* 4. WATCH GUIDE V2 EPISODE CARDS (Bright Blue-Lavender Surfaces) */
[data-theme="light"] .wg2-card {
  background: linear-gradient(135deg, #FFFDE7 0%, #EEF2FF 100%) !important;
  border: 2px solid rgba(26, 35, 126, 0.2) !important;
  box-shadow: 0 8px 24px rgba(26, 35, 126, 0.05) !important;
}

[data-theme="light"] .wg2-card:hover {
  background: #ffffff !important;
  border-color: var(--red) !important;
  box-shadow: 0 16px 40px rgba(229, 57, 53, 0.15) !important;
}

[data-theme="light"] .wg2-card.wg2-active-card {
  border-color: var(--red) !important;
  box-shadow: 0 0 12px rgba(229, 57, 53, 0.35) !important;
}

/* Episode card overlay text lives on a DARK gradient overlay — keep white for readability */
[data-theme="light"] .wg2-card-title {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9) !important;
}

[data-theme="light"] .wg2-card-desc {
  color: rgba(255, 255, 255, 0.85) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7) !important;
}

[data-theme="light"] .wg2-card-type {
  color: rgba(255, 255, 255, 0.75) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6) !important;
}

[data-theme="light"] .wg2-card-num {
  color: #ff6b78 !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6) !important;
}

/* 5. UTILITY & NAVIGATION ACCENTS */
[data-theme="light"] .wg2-progress-bg {
  background: rgba(26, 35, 126, 0.1) !important;
}

[data-theme="light"] .wg2-section-num {
  color: rgba(26, 35, 126, 0.04) !important;
}

[data-theme="light"] .wg2-fab-item {
  background: #ffffff !important;
  color: #0D1547 !important;
  border: 1.5px solid rgba(26, 35, 126, 0.18) !important;
  box-shadow: 0 8px 24px rgba(16, 25, 78, 0.06) !important;
}

[data-theme="light"] .wg2-fab-item:hover {
  background: #FFEBEB !important;
  color: var(--red) !important;
  border-color: var(--red) !important;
}

[data-theme="light"] .wg2-arc-header {
  background: #ffffff !important;
  border: 1.5px solid rgba(26, 35, 126, 0.15) !important;
  color: #0D1547 !important;
}

[data-theme="light"] .wg2-arc-header:hover {
  background: #FFEBEB !important;
  border-color: var(--red) !important;
}

[data-theme="light"] .wg2-arc-header.active {
  background: rgba(229, 57, 53, 0.12) !important;
  border-color: var(--red) !important;
}

[data-theme="light"] .wg2-card-img-placeholder {
  background: rgba(26, 35, 126, 0.06) !important;
}

[data-theme="light"] .wg2-menu-toggle span {
  background: #0D1547 !important;
}

/* ── Arc Drawer Items (light bg = lavender glass, need dark text) ── */
[data-theme="light"] .wg2-arc-item {
  color: #0D1547 !important;
  background: rgba(13, 21, 71, 0.04) !important;
  border-color: rgba(26, 35, 126, 0.12) !important;
}
[data-theme="light"] .wg2-arc-item:hover {
  background: rgba(229, 57, 53, 0.06) !important;
  border-color: var(--red) !important;
  color: #0D1547 !important;
}
[data-theme="light"] .wg2-arc-name {
  color: #0D1547 !important;
}
[data-theme="light"] .wg2-arc-range {
  color: #364080 !important;
}
[data-theme="light"] .wg2-arc-drawer-header h3,
[data-theme="light"] .wg2-arc-drawer-header h2 {
  color: #0D1547 !important;
}
[data-theme="light"] .wg2-arc-sheet-handle {
  background: rgba(26, 35, 126, 0.18) !important;
}

/* ── Non-Sticky Controls Bar: Pills & Buttons (on light page bg) ── */
[data-theme="light"] .wg2-pill {
  color: #0D1547 !important;
  border-color: rgba(26, 35, 126, 0.3) !important;
  background: rgba(255, 255, 255, 0.85) !important;
}
[data-theme="light"] .wg2-pill:hover {
  color: #0D1547 !important;
  border-color: rgba(26, 35, 126, 0.55) !important;
  background: rgba(255, 255, 255, 0.95) !important;
}
[data-theme="light"] .wg2-pill.active,
[data-theme="light"] .wg2-pill.wg2-active-pill {
  background: var(--red) !important;
  border-color: var(--red) !important;
  color: #ffffff !important;
}
[data-theme="light"] .wg2-filter-btn {
  color: #0D1547 !important;
  background: #ffffff !important;
  border-color: rgba(26, 35, 126, 0.25) !important;
}
[data-theme="light"] .wg2-filter-btn:hover {
  background: #FFEBEB !important;
  border-color: var(--red) !important;
  color: #0D1547 !important;
}
[data-theme="light"] .wg2-filter-btn svg {
  color: #0D1547 !important;
}

/* ── Search Input (non-sticky) ── */
[data-theme="light"] .wg2-search-input {
  color: #0D1547 !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(26, 35, 126, 0.2) !important;
}
[data-theme="light"] .wg2-search-input::placeholder {
  color: rgba(13, 21, 71, 0.4) !important;
}
[data-theme="light"] .wg2-search-icon {
  color: rgba(13, 21, 71, 0.5) !important;
}
[data-theme="light"] .wg2-divider {
  background: rgba(26, 35, 126, 0.2) !important;
}
[data-theme="light"] .wg2-india-label {
  color: #0D1547 !important;
}

/* ── Filter Drawer Arc Items (same lavender background) ── */
[data-theme="light"] .wg2-arc-list h3 {
  color: #364080 !important;
}
[data-theme="light"] .wg2-arc-list input[type="checkbox"] + span {
  color: #0D1547 !important;
}
