/*
Theme Name: GamerCatz Cyber-Minimalist
Theme URI: https://gamercatz.com/
Author: SystemAdmin
Description: Custom theme for GamerCatz gaming blog.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: gamercatz
*/


/* --- Core Variables --- */
:root {
  --true-black: #050505;
  --neon-cyan: #00f3ff;
  --neon-pink: #ff2a85;
  --text-white: #ffffff;
  --glass-bg: rgba(20, 20, 25, 0.45);
}


/* --- Resets & Typography --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, sans-serif;
}

body {
  background-color: var(--true-black);
  color: var(--text-white);
  overflow-x: hidden;
}


/* --- Mobile Hero Layout --- */
.hero-mobile {
  position: relative;
  width: 100vw;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Hero background image */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* Fade at bottom of hero into content */
.bg-gradient-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(to top, var(--true-black) 10%, transparent 100%);
  z-index: 2;
}


/* --- Header / top bar (sticky nav) --- */
.hero-top-bar {
  position: sticky;
  top: 14px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  pointer-events: none;
  margin-bottom: 12px;
  padding-top: 14px;
}

.hero-top-bar > * {
  pointer-events: auto;
}


/* --- Logo wrappers --- */
.site-logo,
.logo-wrap,
.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


/* --- Logo --- */
.neon-cat-logo {
  display: block;
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  max-width: 60px;
  max-height: 60px;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  background-color: var(--true-black);
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 18px rgba(0, 243, 255, 0.5);
  padding: 4px;
  overflow: hidden;
  transform-origin: center center;
  transform: translateZ(0);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.neon-cat-logo:hover {
  transform: scale(1.04);
  box-shadow: 0 0 24px rgba(0, 243, 255, 0.7);
}

/* Disable the old JS fixed-scroll mode so it doesn't fight sticky */
.neon-cat-logo.scrolled-state {
  position: static;
  top: auto;
  transform: none;
  background-color: var(--true-black);
  box-shadow: 0 0 18px rgba(0, 243, 255, 0.5);
  cursor: pointer;
  z-index: auto;
}


/* --- Menu trigger --- */
.menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: rgba(12, 12, 18, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.menu-trigger:hover {
  transform: translateY(-1px);
  border-color: var(--neon-cyan);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
  background: rgba(16, 16, 24, 0.86);
}

.menu-trigger:active {
  transform: scale(0.95);
}

/* Optional 3-dots icon next to logo */
.hamburger-dots {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hamburger-dots span {
  width: 6px;
  height: 6px;
  background-color: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-cyan);
}


/* --- The Glass-Forge Card --- */
.glass-card {
  position: relative;
  z-index: 5;
  margin: 0 20px 28px 20px;
  padding: 16px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 243, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}


/* --- Card Typography & Elements --- */
.metadata-pill {
  display: inline-block;
  color: var(--neon-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--neon-cyan);
  border-radius: 20px;
  margin-bottom: 16px;
}

.hero-headline {
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}


/* --- CTA Button --- */
.btn-pink-strike {
  display: block;
  text-align: center;
  background-color: var(--neon-pink);
  color: var(--text-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 42, 133, 0.4);
}

.btn-pink-strike:active {
  transform: scale(0.96);
  background-color: #ffffff;
  color: var(--neon-pink);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
}


/* --- Full-Screen Overlay Background --- */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-overlay.active,
.nav-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}


/* --- Navigation Typography & Staggered Animation --- */
.nav-links {
  list-style: none;
  text-align: center;
}

.nav-links li {
  margin: 28px 0;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* When overlay is active, animate links up */
.nav-overlay.active .nav-links li,
.nav-overlay.is-active .nav-links li {
  transform: translateY(0);
  opacity: 1;
}

/* Cascade delays */
.nav-overlay.active .nav-links li:nth-child(1),
.nav-overlay.is-active .nav-links li:nth-child(1) { transition-delay: 0.1s; }
.nav-overlay.active .nav-links li:nth-child(2),
.nav-overlay.is-active .nav-links li:nth-child(2) { transition-delay: 0.15s; }
.nav-overlay.active .nav-links li:nth-child(3),
.nav-overlay.is-active .nav-links li:nth-child(3) { transition-delay: 0.2s; }
.nav-overlay.active .nav-links li:nth-child(4),
.nav-overlay.is-active .nav-links li:nth-child(4) { transition-delay: 0.25s; }
.nav-overlay.active .nav-links li:nth-child(5),
.nav-overlay.is-active .nav-links li:nth-child(5) { transition-delay: 0.3s; }
.nav-overlay.active .nav-links li:nth-child(6),
.nav-overlay.is-active .nav-links li:nth-child(6) { transition-delay: 0.35s; }


/* --- Overlay nav links --- */
.nav-item {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-white);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.nav-item:hover,
.nav-item:active {
  color: var(--neon-cyan);
  text-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
}

/* Pink strike underline */
.nav-item::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--neon-pink);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 42, 133, 0.8);
}

.nav-item:hover::after,
.nav-item:active::after {
  width: 100%;
}


/* --- Close button in overlay --- */
.btn-close-nav {
  position: absolute;
  bottom: 50px;
  background: transparent;
  border: 2px solid var(--neon-pink);
  color: var(--neon-pink);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 2.5rem;
  line-height: 0;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255, 42, 133, 0.3);
  transition: all 0.3s ease;
}

.btn-close-nav:active {
  background: var(--neon-pink);
  color: var(--text-white);
  transform: scale(0.9);
}


/* --- Feed Section Layout --- */
.feed-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}


/* --- Feed Header & Filters --- */
.feed-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .feed-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -1px;
  white-space: nowrap;
}

.feed-filters {
  display: flex;
  gap: 12px;
  list-style: none;
  overflow-x: auto;
  padding-bottom: 5px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.feed-filters::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  background: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.filter-pill:hover,
.filter-pill.active {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}


/* --- Bento Grid System --- */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-card.featured {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .bento-card.featured {
    grid-column: span 2;
  }
}


/* --- Card Aesthetics & Physics --- */
.bento-card {
  background-color: #0a0a0c;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  transition:
    transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.card-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.bento-card.featured .card-image {
  height: 300px;
}

.card-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Hover Interaction */
.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 243, 255, 0.5);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.8),
    0 0 15px rgba(0, 243, 255, 0.1);
}

.bento-card:hover .card-image {
  transform: scale(1.05);
}


/* --- Typography Inside Cards --- */
.bento-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

.bento-card.featured h3 {
  font-size: 1.8rem;
}

.card-excerpt {
  color: #a0a0a0;
  font-size: 0.95rem;
  line-height: 1.5;
}


/* --- Tags --- */
.tag-cyan,
.tag-pink {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.tag-cyan {
  color: var(--neon-cyan);
  background-color: rgba(0, 243, 255, 0.1);
}

.tag-pink {
  color: var(--neon-pink);
  background-color: rgba(255, 42, 133, 0.15);
}


/* --- Ad badge --- */
.ad-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 10;
}


/* --- Sponsored Card --- */
.sponsored-card,
.bento-card.sponsored-card {
  border: 1px solid var(--neon-pink);
  box-shadow: 0 0 20px rgba(255, 42, 133, 0.2);
}

/* Sponsored hover physics */
.bento-card.sponsored-card:hover {
  border-color: rgba(255, 42, 133, 0.5);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.8),
    0 0 15px rgba(255, 42, 133, 0.15);
}


/* --- Article Hero Section --- */
.article-hero {
  position: relative;
  width: 100vw;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-gradient {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80%;
  background: linear-gradient(to top, var(--true-black) 0%, transparent 100%);
  z-index: 2;
}

.article-header-content {
  position: relative;
  z-index: 5;
  padding: 0 20px 40px 20px;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.article-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 15px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.article-meta {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: #a0a0a0;
  font-weight: 600;
}

.neon-text {
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0, 243, 255, 0.3);
}


/* --- The Reading Zone --- */
.article-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 20px 80px 20px;
  color: #e0e0e0;
  font-size: 1.1rem;
  line-height: 1.7;
}

.lead-paragraph {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 30px;
}

.article-content p {
  margin-bottom: 25px;
}

.article-content h2 {
  color: var(--text-white);
  font-size: 1.8rem;
  margin: 40px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


/* --- Cyberpunk Blockquotes --- */
.cyber-quote {
  border-left: 4px solid var(--neon-cyan);
  background: rgba(0, 243, 255, 0.05);
  padding: 20px;
  margin: 35px 0;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-white);
  border-radius: 0 8px 8px 0;
}


/* --- Inline Article Ad --- */
.inline-ad-container {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 42, 133, 0.3);
  border-radius: 12px;
  padding: 20px;
  margin: 40px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Badge inside inline ad */
.inline-ad-container .ad-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--neon-pink);
  color: var(--true-black);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
}

.inline-ad-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

@media (min-width: 600px) {
  .inline-ad-content {
    flex-direction: row;
    align-items: center;
  }
}

.ad-image {
  width: 100%;
  max-width: 200px;
  border-radius: 8px;
  object-fit: cover;
}

.ad-text h4 {
  color: var(--text-white);
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.ad-text p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #a0a0a0;
  margin-bottom: 15px;
}

.btn-ad-link {
  display: inline-block;
  color: var(--neon-pink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s ease;
}

.btn-ad-link:hover {
  text-shadow: 0 0 10px rgba(255, 42, 133, 0.6);
}


/* --- AdSense card --- */
.ad-slot-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(25, 25, 35, 0.96), rgba(15, 15, 22, 0.96));
  border: 1px solid rgba(0, 255, 170, 0.18);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.ad-slot-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(0, 255, 170, 0.08),
    rgba(0, 255, 255, 0.03) 40%,
    transparent 70%
  );
}

.ad-slot-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 250px;
  padding-top: 24px;
}

.ad-slot-inner ins.adsbygoogle {
  display: block;
  width: 100%;
  min-height: 250px;
}

.ad-slot-card .ad-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
}


/* --- AdSense inline shell --- */
.adsense-inline-shell {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 42, 133, 0.3);
  border-radius: 12px;
  padding: 0 20px 20px 20px;
  margin: 40px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.adsense-shell-header {
  height: 28px;
  background: var(--neon-pink);
  margin: 0 -20px 20px -20px;
  box-shadow: 0 0 15px rgba(255, 42, 133, 0.35);
}

.adsense-inline-shell .ad-badge {
  position: absolute;
  top: 6px;
  left: 12px;
  background: transparent;
  color: var(--true-black);
  padding: 0;
  border: none;
  box-shadow: none;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  z-index: 5;
}

.article-ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 250px;
}

.article-ad-slot ins.adsbygoogle {
  display: block;
  width: 100%;
  min-height: 250px;
}


/* --- Footer Layout --- */
.site-footer {
  position: relative;
  background-color: #030304;
  padding: 60px 20px 20px 20px;
  margin-top: 60px;
  font-size: 0.9rem;
  z-index: 10;
}

.footer-glow-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--neon-cyan) 30%,
    var(--neon-pink) 70%,
    transparent 100%
  );
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

/* New centered footer */
.footer-content.footer-content-centered {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: center !important;
  align-items: center !important;
  text-align: center;
}

.footer-brand.footer-brand-center {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center !important;
  justify-content: center;
  text-align: center;
}

.footer-brand-center .footer-logo {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--neon-pink);
  margin: 0 auto 18px auto;
  box-shadow: 0 0 18px rgba(255, 42, 133, 0.18);
}

.footer-brand-center .footer-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--text-white);
  margin-bottom: 8px;
}

.footer-brand-center .footer-tagline {
  color: #888;
  margin-bottom: 22px;
  line-height: 1.5;
  max-width: 28ch;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  min-width: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: #cfcfcf;
  text-decoration: none;
  transition: all 0.25s ease;
}

.social-chip:hover {
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 16px rgba(0, 243, 255, 0.18);
  transform: translateY(-2px);
}

.social-svg {
  width: 20px;
  height: 20px;
  display: block;
}

.footer-bottom.footer-bottom-centered {
  max-width: 1200px;
  margin: 50px auto 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.footer-about-link {
  color: var(--neon-pink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.footer-about-link:hover {
  color: var(--text-white);
  text-shadow: 0 0 12px rgba(255, 42, 133, 0.45);
}

.footer-bottom-centered .copyright {
  color: #555;
  font-size: 0.8rem;
}

/* Hide legacy footer elements */
.footer-links-grid,
.footer-nav-col,
.terminal-subscribe {
  display: none !important;
}


/* --- Legacy footer/general social defaults (safe fallback) --- */
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  max-width: 350px;
}

.footer-logo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--neon-pink);
  margin-bottom: 15px;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-white);
  margin-bottom: 5px;
}

.footer-tagline {
  color: #888;
  margin-bottom: 25px;
  line-height: 1.5;
}

.footer-bottom {
  max-width: 1200px;
  margin: 60px auto 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

copyright,
.copyright {
  color: #555;
  font-size: 0.8rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  color: #888;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
  transform: translateY(-2px);
}

.footer-links {
    display: flex;
    gap: 15px; /* space between About Us and Privacy Policy */
    justify-content: center;
    margin-bottom: 10px;
}



/* --- Mobile optimization --- */
@media (max-width: 767px) {
  .hero-top-bar {
    top: 10px;
    padding-top: 10px;
  }

  .neon-cat-logo {
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    max-width: 52px;
    max-height: 52px;
  }

  .menu-trigger {
    width: 48px;
    height: 48px;
  }

  .hero-headline {
    font-size: 1.6rem;
    margin-bottom: 16px;
  }

  .glass-card {
    margin: 0 15px 24px 15px;
    padding: 0.85rem 1.25rem 1rem;
    width: min(88vw, 440px);
  }

  .article-hero {
    height: 50vh;
  }

  .article-title {
    font-size: 1.5rem;
  }

  .article-header-content {
    padding: 0 15px 30px 15px;
  }

  .article-content {
    padding: 20px 15px 60px 15px;
    font-size: 1.05rem;
  }

  .inline-ad-content {
    flex-direction: column;
    text-align: center;
  }

  .ad-image {
    max-width: 100%;
    margin-bottom: 15px;
  }

  .ad-slot-card {
    min-height: 280px;
    padding: 16px;
  }

  .ad-slot-inner {
    min-height: 220px;
  }

  .footer-brand-center .footer-title {
    font-size: 1.6rem;
    letter-spacing: 2px;
  }

  .footer-brand-center .footer-tagline {
    margin-bottom: 18px;
  }

  .social-chip {
    min-width: 84px;
    padding: 9px 14px;
    font-size: 0.78rem;
  }

  .footer-bottom.footer-bottom-centered {
    gap: 12px;
  }

  .social-links {
    justify-content: center;
    width: 100%;
  }

  .footer-bottom {
    text-align: center;
  }

}

/* --- Static Pages --- */
.page-shell {
  min-height: 100vh;
  background: var(--true-black);
  color: var(--text-white);
}

.page-hero-simple {
  padding: 120px 20px 40px 20px;
}

.page-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.page-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.03em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.page-content-wrap {
  padding: 0 20px 80px 20px;
}

.page-content-body {
  max-width: 760px;
  margin: 0 auto;
  color: #d7d7d7;
  font-size: 1.08rem;
  line-height: 1.8;
}

.page-content-body p {
  margin-bottom: 24px;
}

.page-content-body h2,
.page-content-body h3 {
  color: var(--text-white);
  margin: 40px 0 18px 0;
  line-height: 1.2;
}

.page-content-body h2 {
  font-size: 1.9rem;
}

.page-content-body h3 {
  font-size: 1.4rem;
}

.page-content-body a {
  color: var(--neon-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-content-body strong {
  color: var(--text-white);
}

.page-content-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 24px auto;
  border-radius: 14px;
}

.page-content-body figure {
  margin: 24px 0;
}

.page-content-body ul,
.page-content-body ol {
  margin: 0 0 24px 22px;
}

.page-content-body li {
  margin-bottom: 10px;
}

@media (max-width: 767px) {
  .page-hero-simple {
    padding: 100px 16px 30px 16px;
  }

  .page-content-wrap {
    padding: 0 16px 60px 16px;
  }

  .page-content-body {
    font-size: 1rem;
    line-height: 1.75;
  }
}

/* --- About Us Page --- */
.about-page {
  min-height: 100vh;
  background: var(--true-black);
  color: var(--text-white);
}

.about-hero {
  padding: 120px 20px 50px 20px;
}

.about-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.about-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 16px 0 12px 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.about-subtitle {
  max-width: 56ch;
  color: #a0a0a0;
  font-size: 1.08rem;
  line-height: 1.7;
}

.about-grid-shell {
  padding: 0 20px 80px 20px;
}

.about-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.about-card {
  background-color: #0a0a0c;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.about-card h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: var(--text-white);
}

.about-story-card {
  grid-column: 1 / 2;
}

.about-richtext {
  color: #d7d7d7;
  font-size: 1.03rem;
  line-height: 1.85;
}

.about-richtext p {
  margin-bottom: 22px;
}

.about-richtext h2,
.about-richtext h3 {
  color: var(--text-white);
  margin: 34px 0 16px 0;
  line-height: 1.2;
}

.about-richtext a {
  color: var(--neon-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-founder-card,
.about-support-card,
.about-social-card {
  grid-column: 2 / 3;
}

.about-founder-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.about-founder-avatar {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--neon-pink);
  box-shadow: 0 0 16px rgba(255, 42, 133, 0.16);
}

.about-kicker {
  color: var(--neon-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.about-founder-card h3 {
  font-size: 1.3rem;
  color: var(--text-white);
}

.about-founder-copy,
.about-card p,
.about-contact-note {
  color: #a0a0a0;
  line-height: 1.7;
}

.about-founder-points {
  margin: 18px 0 0 18px;
  color: #d7d7d7;
}

.about-founder-points li {
  margin-bottom: 8px;
}

.about-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  align-items: center;
}

.about-secondary-link {
  color: var(--neon-cyan);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.about-secondary-link:hover {
  text-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}

.about-social-links {
  margin: 18px 0 20px 0;
  justify-content: flex-start;
}

.about-social-card .social-chip {
  width: 52px;
  height: 52px;
  min-width: 52px;
  padding: 0;
  border-radius: 50%;
}

.about-social-card .social-svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-story-card,
  .about-founder-card,
  .about-support-card,
  .about-social-card {
    grid-column: auto;
  }

  .about-social-links {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .about-hero {
    padding: 100px 16px 36px 16px;
  }

  .about-grid-shell {
    padding: 0 16px 60px 16px;
  }

  .about-card {
    padding: 22px;
  }

  .about-richtext {
    font-size: 1rem;
    line-height: 1.75;
  }

  .about-founder-top {
    align-items: flex-start;
  }
}

/* Tags area under single posts */
.article-tags {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center; 
}

.article-tags-label {
  display: inline-block;
  margin-right: 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff4fa3;
}

.article-tags-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  vertical-align: middle;
}

.article-tags-list .article-tag-link {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: #f5f5f5;
  background: linear-gradient(135deg, #ff4fa3, #ff007b);
  box-shadow: 0 0 0 1px rgba(255, 79, 163, 0.35);
  transition:
    transform 160ms ease-out,
    box-shadow 160ms ease-out,
    background 160ms ease-out;
}

.article-tags-list .article-tag-link:hover,
.article-tags-list .article-tag-link:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    0 0 15px rgba(255, 0, 123, 0.65),
    0 0 0 1px rgba(255, 79, 163, 0.55);
}

.article-tags-list .article-tag-link:active {
  transform: translateY(0);
  box-shadow: 0 0 0 1px rgba(255, 79, 163, 0.4);
}

@media (max-width: 640px) {
  .article-tags {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }
}



/* --- Related Articles Section --- */
.related-articles {
  max-width: 700px;
  margin: 3rem auto 0 auto;
  padding: 2rem 20px 3rem 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.related-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--neon-cyan);
  margin-bottom: 1.5rem;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .related-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.related-card {
  background-color: #0a0a0c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.25s cubic-bezier(0.25, 1, 0.5, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 243, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 12px rgba(0, 243, 255, 0.08);
}

.related-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.related-thumb {
  width: 100%;
  height: 130px;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.related-card:hover .related-thumb {
  transform: scale(1.04);
}

.related-thumb--placeholder {
  background-color: #111116;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.02) 0px,
    rgba(255,255,255,0.02) 1px,
    transparent 1px,
    transparent 12px
  );
}

.related-content {
  padding: 14px 14px 16px 14px;
}

.related-heading {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-white);
  margin-bottom: 6px;
}

.related-excerpt {
  font-size: 0.78rem;
  color: #888;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 599px) {
  .related-articles {
    padding: 1.5rem 15px 2.5rem 15px;
  }

  .related-thumb {
    height: 160px;
  }
}
