/* pantherads.net — premium cyberpunk neon sports theme */
:root {
  --primary: #00f2fe;    /* Electric Cyan */
  --accent: #ff007f;     /* Hot Magenta/Pink */
  --bg: #030712;         /* Deep Space Gray */
  --card-bg: #0b0f19;    /* Tech Slate Card */
  --text: #f9fafb;       /* Crisp White */
  --text-muted: #9ca3af;  /* Slate Gray Muted */
  --border-radius: 8px;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --primary-color: #00f2fe;
  --border: rgba(0, 242, 254, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

a:hover {
  color: var(--accent);
  text-shadow: 0 0 8px rgba(255, 0, 127, 0.5);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header & Navigation */
.np-header {
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 101;
  border-bottom: 1px solid rgba(0, 242, 254, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 38px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 768px) {
  .logo-img {
    height: 42px;
    max-width: 260px;
  }
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.search-icon {
  font-size: 16px;
  cursor: pointer;
  color: var(--primary);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  transition: all 0.2s ease;
}

.search-icon:hover {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.6);
  transform: scale(1.05);
}

.menu-icon {
  font-size: 20px;
  cursor: pointer;
  color: var(--text);
  padding: 4px 8px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  transition: all 0.2s;
}

.menu-icon:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
}

.np-nav {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  display: block;
  white-space: nowrap;
  background: rgba(3, 7, 18, 0.95);
  z-index: 100;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.np-nav::-webkit-scrollbar {
  height: 3px;
}

.np-nav::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
}

.np-nav::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 2px;
}

.np-nav ul {
  display: inline-block;
  padding: 0 8px;
  margin: 0;
  list-style: none;
}

.np-nav ul li {
  display: inline-block;
}

.np-nav ul li a {
  padding: 0 16px;
  font-size: 13px;
  line-height: 38px;
  text-decoration: none;
  color: var(--text-muted);
  display: block;
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}

.np-nav ul li a:hover {
  color: var(--primary);
  text-shadow: 0 0 6px rgba(0, 242, 254, 0.4);
}

.np-nav ul li a.selected {
  border-bottom: 3px solid var(--primary);
  color: var(--primary);
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
}

/* Breadcrumbs */
.breadcrumb {
  padding: 10px 16px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--card-bg);
  border-bottom: 1px solid rgba(0, 242, 254, 0.1);
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}

.breadcrumb a {
  color: var(--primary);
  font-weight: 700;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.15);
}

/* Container & Typography */
.article-container {
  background: var(--bg);
  max-width: 768px;
  margin: 0 auto;
  padding-bottom: 24px;
}

.article-hero-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-bottom: 1px solid rgba(0, 242, 254, 0.1);
}

.article-header {
  padding: 20px 16px 8px;
}

.article-header h1 {
  font-size: 25px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 12px;
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

.article-meta {
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}

.meta-edited {
  margin-bottom: 4px;
}

.meta-edited .author {
  font-weight: 700;
  color: var(--primary);
  text-shadow: 0 0 6px rgba(0, 242, 254, 0.2);
}

.meta-updated {
  font-size: 12px;
  color: var(--text-muted);
}

.meta-updated .publisher-name {
  font-weight: 700;
  color: var(--accent);
}

.article-body {
  padding: 12px 16px 10px;
}

.article-body p {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(249, 250, 251, 0.88);
  margin-bottom: 18px;
}

.article-body h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 14px;
  font-family: var(--font-heading);
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  letter-spacing: -0.3px;
}

.article-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin: 24px 0 10px;
  font-family: var(--font-heading);
}

.article-body ul, .article-body ol {
  margin: 0 0 20px 20px;
  color: rgba(249, 250, 251, 0.88);
}

.article-body li {
  margin-bottom: 8px;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--card-bg);
  border: 1px solid rgba(0, 242, 254, 0.15);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.article-body th, .article-body td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 242, 254, 0.1);
}

.article-body th {
  background: rgba(0, 242, 254, 0.03);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
}

.article-body tr:last-child td {
  border-bottom: none;
}

/* Ad slots */
.ad-slot {
  background: var(--card-bg);
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 16px 20px;
  overflow: hidden;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 242, 254, 0.15);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.6);
}

.ad-label {
  text-align: center;
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 8px 0 2px;
  font-weight: 700;
  font-family: var(--font-heading);
}

.taboola-placement {
  margin: 16px 0;
  min-height: 250px;
}

/* Related articles */
.related-section {
  padding: 20px 16px;
  background: var(--bg);
  border-top: 1px solid rgba(0, 242, 254, 0.1);
}

.related-section h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.related-card {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.related-card:last-child {
  border-bottom: none;
}

.related-card img {
  width: 100px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--border-radius);
  flex-shrink: 0;
  border: 1px solid rgba(0, 242, 254, 0.1);
}

.related-card .related-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--font-heading);
}

.related-card .related-info .related-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Homepage */
.home-container {
  max-width: 768px;
  margin: 0 auto;
  background: var(--bg);
  padding-bottom: 30px;
}

.home-hero {
  position: relative;
  display: block;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 242, 254, 0.15);
}

.home-hero img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.home-hero:hover img {
  transform: scale(1.02);
}

.home-hero .hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(3, 7, 18, 0.98));
  padding: 24px 16px 16px;
}

.home-hero .hero-overlay h2 {
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
  font-family: var(--font-heading);
  letter-spacing: -0.3px;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.home-hero .hero-overlay .hero-meta {
  color: var(--primary);
  font-size: 12px;
  margin-top: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-heading);
}

.article-list {
  padding: 0 8px;
}

.home-card {
  display: flex;
  gap: 16px;
  padding: 14px 12px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: var(--border-radius);
  margin-top: 6px;
}

.home-card:hover {
  background: var(--card-bg);
  border-color: rgba(0, 242, 254, 0.3);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.15);
  transform: translateX(4px);
}

.home-card img {
  width: 100px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--border-radius);
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.home-card .card-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--font-heading);
}

.home-card .card-info .card-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-heading);
}

.category-hero-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary), #0077b6);
  color: #fff;
  border-bottom: 1px solid rgba(0, 242, 254, 0.2);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.category-hero-bar h1 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.category-hero-bar span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  font-family: var(--font-heading);
}

/* Footer */
.np-footer {
  background: #0b0f19;
  color: var(--text-muted);
  padding: 32px 16px;
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
  font-weight: 500;
  border-top: 1px solid rgba(0, 242, 254, 0.2);
}

.np-footer a {
  color: var(--text-muted);
  transition: all 0.2s;
}

.np-footer a:hover {
  color: var(--primary);
  text-shadow: 0 0 6px rgba(0, 242, 254, 0.4);
}

.np-footer .footer-links {
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

.np-footer .footer-links a {
  margin: 0 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: #030712;
  z-index: 200;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
  overflow-y: auto;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid rgba(0, 242, 254, 0.2);
}

.mobile-menu.show {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid rgba(0, 242, 254, 0.1);
  background: rgba(11, 15, 25, 0.5);
}

.mobile-menu-close {
  margin-left: auto;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  color: var(--primary);
}

.mobile-menu a {
  display: block;
  padding: 14px 20px;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.mobile-menu a:hover {
  background: rgba(0, 242, 254, 0.05);
  color: var(--primary);
}

/* Search overlay */
.search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 7, 18, 0.9);
  backdrop-filter: blur(12px);
  z-index: 300;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px;
}

.search-inner {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 24px;
  width: 100%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.search-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 22px;
  cursor: pointer;
  color: var(--accent);
}

.search-inner input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--border-radius);
  outline: none;
  font-family: var(--font-body);
  background: #030712;
  color: var(--text);
  transition: all 0.2s;
}

.search-inner input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.35);
}

#search-results {
  margin-top: 16px;
  max-height: 360px;
  overflow-y: auto;
}

#search-results a {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 242, 254, 0.1);
  text-decoration: none;
}

#search-results img {
  width: 80px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--border-radius);
  flex-shrink: 0;
  border: 1px solid rgba(0, 242, 254, 0.1);
}

#search-results .sr-title {
  font-size: 14px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.4;
  font-family: var(--font-heading);
}

@media (min-width: 768px) {
  .article-container, .home-container {
    max-width: 768px;
    margin: 0 auto;
    border-left: 1px solid rgba(0, 242, 254, 0.1);
    border-right: 1px solid rgba(0, 242, 254, 0.1);
  }
  .article-header h1 {
    font-size: 29px;
  }
  .article-body p {
    font-size: 16.5px;
  }
}

/* Custom visual layout elements */
.logo-img {
  height: 40px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 768px) {
  .logo-img {
    height: 44px;
    max-width: 260px;
  }
}

.mobile-menu-header img {
  height: 30px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
