/* ================================================================
   INDICOPS — GLASSMORPHISM UI LAYER
   Applies frosted glass, hover animations & entrance effects
   over the existing dark theme without breaking layout.
================================================================ */

/* ── ENHANCED BACKGROUND ORBS ──────────────────────────────────── */
body::before {
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255,153,51,0.10) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(19,136,8,0.10) 0%, transparent 45%),
    radial-gradient(circle at 60% 35%, rgba(0,0,128,0.07) 0%, transparent 40%),
    radial-gradient(circle at 35% 70%, rgba(255,153,51,0.06) 0%, transparent 35%) !important;
  animation: orbFloat 18s ease-in-out infinite alternate;
}
@keyframes orbFloat {
  0%   { transform: scale(1)    translateY(0);   opacity: 0.7; }
  100% { transform: scale(1.12) translateY(-20px); opacity: 1; }
}

/* ── HEADER GLASS ───────────────────────────────────────────────── */
header#masthead {
  background: rgba(8, 8, 18, 0.65) !important;
  backdrop-filter: blur(28px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 200 !important;
}

/* ── NAVIGATION GLASS ───────────────────────────────────────────── */
.main-navigation {
  background: rgba(12, 12, 24, 0.55) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-top: 1px solid rgba(255,153,51,0.10) !important;
  border-bottom: 1px solid rgba(19,136,8,0.10) !important;
}
.nav-menu a {
  position: relative;
  transition: color 0.3s ease, text-shadow 0.3s ease !important;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%;
  width: 0; height: 2px;
  background: linear-gradient(90deg, #FF9933, #138808);
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.4,0,0.2,1), left 0.35s cubic-bezier(0.4,0,0.2,1);
}
.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after {
  width: 100%;
  left: 0;
}
.nav-menu a:hover {
  color: #FF9933 !important;
  text-shadow: 0 0 16px rgba(255,153,51,0.45);
}

/* ── SEARCH INPUT GLASS ─────────────────────────────────────────── */
.header-search input {
  background: rgba(255,255,255,0.06) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}
.header-search input:focus {
  background: rgba(255,255,255,0.10) !important;
  border-color: rgba(255,153,51,0.40) !important;
  box-shadow: 0 0 0 3px rgba(255,153,51,0.09), 0 0 24px rgba(255,153,51,0.12) !important;
  outline: none !important;
}

/* ── LIVE BADGE ─────────────────────────────────────────────────── */
.live-badge {
  background: rgba(220,38,38,0.12) !important;
  border: 1px solid rgba(220,38,38,0.28) !important;
  backdrop-filter: blur(8px) !important;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(220,38,38,0.4); }
  50%       { box-shadow: 0 0 0 7px rgba(220,38,38,0); }
}
.live-badge { animation: livePulse 2.5s ease-in-out infinite !important; }

/* ── BREAKING NEWS BAR GLASS ────────────────────────────────────── */
.breaking-news-bar {
  background: rgba(12,12,28,0.70) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255,153,51,0.18) !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 28px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06) !important;
}

/* ── HERO MAIN CARD GLASS ───────────────────────────────────────── */
.hero-main {
  background: rgba(255,255,255,0.03) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.45s ease,
              border-color 0.45s ease !important;
}
.hero-main:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(255,153,51,0.28) !important;
  box-shadow:
    0 28px 70px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,153,51,0.15),
    0 0 50px rgba(255,153,51,0.08) !important;
}

/* ── HERO SIDE CARDS GLASS ──────────────────────────────────────── */
.hero-side-card {
  background: rgba(255,255,255,0.04) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  border-radius: 12px !important;
  transition: transform 0.3s ease,
              box-shadow 0.3s ease,
              border-color 0.3s ease,
              background 0.3s ease !important;
}
.hero-side-card:hover {
  transform: translateX(5px) !important;
  background: rgba(255,153,51,0.06) !important;
  border-color: rgba(255,153,51,0.22) !important;
  box-shadow: 0 10px 36px rgba(0,0,0,0.35), 0 0 24px rgba(255,153,51,0.07) !important;
}
.hero-side-thumb img {
  transition: transform 0.4s ease !important;
}
.hero-side-card:hover .hero-side-thumb img {
  transform: scale(1.10) !important;
}

/* ── NEWS CARDS GLASS ───────────────────────────────────────────── */
.news-card {
  background: rgba(255,255,255,0.04) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 14px !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.38s ease,
              border-color 0.38s ease,
              background 0.38s ease !important;
}
.news-card::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  transition: left 0.65s ease;
  pointer-events: none;
  z-index: 2;
}
.news-card:hover {
  transform: translateY(-7px) !important;
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(255,153,51,0.28) !important;
  box-shadow:
    0 28px 68px rgba(0,0,0,0.50),
    0 0 0 1px rgba(255,153,51,0.14),
    0 0 44px rgba(255,153,51,0.07) !important;
}
.news-card:hover::before {
  left: 160%;
}
.card-thumb img {
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1) !important;
}
.news-card:hover .card-thumb img {
  transform: scale(1.09) !important;
}

/* ── ARTICLE LIST ITEMS GLASS ───────────────────────────────────── */
.article-list-item {
  background: rgba(255,255,255,0.03) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 10px;
  padding: 8px !important;
  transition: background 0.3s ease,
              border-color 0.3s ease,
              transform 0.3s ease,
              box-shadow 0.3s ease !important;
}
.article-list-item:hover {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(19,136,8,0.22) !important;
  transform: translateX(5px) !important;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25) !important;
}
.article-list-thumb img {
  transition: transform 0.4s ease !important;
}
.article-list-item:hover .article-list-thumb img {
  transform: scale(1.08) !important;
}

/* ── SIDEBAR WIDGETS GLASS ──────────────────────────────────────── */
.sidebar-widget {
  background: rgba(255,255,255,0.04) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 14px !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}
.sidebar-widget:hover {
  border-color: rgba(255,153,51,0.22) !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3) !important;
}

/* ── CATEGORY BADGES ────────────────────────────────────────────── */
[class^=cat-], [class*= cat-] {
  backdrop-filter: blur(8px) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease !important;
}
[class^=cat-]:hover, [class*= cat-]:hover {
  transform: scale(1.08) translateY(-1px) !important;
  filter: brightness(1.2) !important;
}

/* ── SECTION TITLE UNDERLINE ANIMATION ──────────────────────────── */
.section-title {
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 40px; height: 2px;
  background: linear-gradient(90deg, #FF9933, #138808);
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
}
.section-header:hover .section-title::after {
  width: 100%;
}

/* ── FOOTER GLASS ───────────────────────────────────────────────── */
.site-footer {
  background: rgba(6,6,15,0.80) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  border-top: 1px solid rgba(255,255,255,0.07) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05) !important;
}

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn, button[type=submit], .wp-block-button__link, .read-more {
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease !important;
}
.btn:hover, button[type=submit]:hover, .wp-block-button__link:hover, .read-more:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(255,153,51,0.25) !important;
  filter: brightness(1.1) !important;
}

/* ── PAGE ENTRANCE ANIMATIONS ───────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.breaking-news-bar { animation: fadeUp 0.5s ease both; }
.hero-section      { animation: fadeUp 0.7s 0.1s ease both; }
.news-card:nth-child(1) { animation: fadeUp 0.55s 0.08s ease both; }
.news-card:nth-child(2) { animation: fadeUp 0.55s 0.14s ease both; }
.news-card:nth-child(3) { animation: fadeUp 0.55s 0.20s ease both; }
.news-card:nth-child(4) { animation: fadeUp 0.55s 0.26s ease both; }
.news-card:nth-child(5) { animation: fadeUp 0.55s 0.32s ease both; }
.news-card:nth-child(6) { animation: fadeUp 0.55s 0.38s ease both; }
.sidebar-widget:nth-child(1) { animation: fadeUp 0.55s 0.10s ease both; }
.sidebar-widget:nth-child(2) { animation: fadeUp 0.55s 0.20s ease both; }
.sidebar-widget:nth-child(3) { animation: fadeUp 0.55s 0.30s ease both; }

/* ── CUSTOM SCROLLBAR ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,0.02); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #FF9933, #138808);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { opacity: 0.8; }

/* ── POST DETAIL GLASS ──────────────────────────────────────────── */
.single-hero, .post-sidebar .sidebar-widget {
  animation: fadeIn 0.8s ease both;
}

/* ── CHAKRA RING GLOW ───────────────────────────────────────────── */
.chakra-ring {
  filter: drop-shadow(0 0 8px rgba(0,0,128,0.5)) !important;
  transition: filter 0.4s ease, transform 0.4s ease !important;
}
.site-branding:hover .chakra-ring {
  filter: drop-shadow(0 0 16px rgba(0,0,128,0.8)) !important;
  transform: rotate(45deg) scale(1.1) !important;
}

