/* AdLive.biz Premium Niche Stylesheet */

:root {
  --bg-dark: #07090e;
  --bg-card: rgba(13, 17, 27, 0.6);
  --border-glass: rgba(255, 255, 255, 0.06);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --color-neon-cyan: #00f2fe;
  --color-electric-blue: #3b82f6;
  --color-emerald: #10b981;
  --color-glow-blue: rgba(0, 242, 254, 0.15);
  --font-sans: 'Outfit', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* CSS Reset & Core */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.adlive-theme {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Backdrop Glow */
.radial-glow {
  position: fixed;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, rgba(59, 130, 246, 0.03) 50%, transparent 100%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

/* Header Styles */
.site-header {
  border-bottom: 1px solid var(--border-glass);
  padding: 1.5rem 2rem;
  background: rgba(7, 9, 14, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: var(--color-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-emerald);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.logo-text {
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
}

.logo-accent {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, var(--color-neon-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Layout Wrapper */
.main-wrapper {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  z-index: 10;
}

/* Navigation */
.global-navigation {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  backdrop-filter: blur(10px);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-item a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-item a:hover, .nav-item.active a {
  color: var(--color-neon-cyan);
  text-shadow: 0 0 8px var(--color-glow-blue);
}

/* Dashboard Grid */
.hero-dashboard {
  width: 100%;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  padding: 1.75rem;
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: rgba(0, 242, 254, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.highlight-border {
  border-color: rgba(59, 130, 246, 0.2);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.card-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-trend {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.card-trend.up {
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-emerald);
}

.card-metric {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.text-glow {
  color: var(--color-neon-cyan);
  text-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Columns Section */
.content-container {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .content-container {
    grid-template-columns: 1fr;
  }
}

.primary-content {
  padding: 2.5rem;
}

.article-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1.5rem;
}

.article-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.article-title a {
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.article-title a:hover {
  color: var(--color-neon-cyan);
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.category-pill {
  background: rgba(0, 242, 254, 0.08);
  color: var(--color-neon-cyan);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 600;
}

/* Post Content styling */
.entry-content {
  line-height: 1.7;
  color: #cbd5e1;
  font-size: 1.05rem;
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content img.alignleft {
  float: left;
  margin: 0.5rem 1.5rem 1rem 0;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.entry-content em {
  font-style: italic;
  color: var(--color-neon-cyan);
}

.entry-content br {
  margin-bottom: 1rem;
}

/* Sidebar styling */
.site-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-widget.card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.5rem;
}

.widget-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--color-electric-blue);
  padding-bottom: 0.5rem;
}

.widget-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.widget-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.widget-link:hover {
  color: var(--color-neon-cyan);
  transform: translateX(4px);
}

.dot-indicator {
  width: 6px;
  height: 6px;
  background-color: var(--color-electric-blue);
  border-radius: 50%;
}

.widget-link:hover .dot-indicator {
  background-color: var(--color-neon-cyan);
  box-shadow: 0 0 8px var(--color-neon-cyan);
}

/* Stats Card in Sidebar */
.stat-card .metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.stat-card .metric-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.metric-value {
  font-size: 0.95rem;
  font-weight: 700;
}

.metric-value.positive {
  color: var(--color-emerald);
}

.metric-value.highlight {
  color: var(--color-neon-cyan);
}

/* Footer styling */
.site-footer {
  border-top: 1px solid var(--border-glass);
  padding: 2.5rem 1.5rem;
  text-align: center;
  background-color: rgba(7, 9, 14, 0.9);
  margin-top: auto;
  z-index: 10;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--color-neon-cyan);
}

.divider {
  color: rgba(255, 255, 255, 0.1);
}

.copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
}
