/*
Theme Name: Star Wars Name Generator
Theme URI: https://starwarsnamegenerator.com
Author: Star Wars Name Generator Team
Author URI: https://starwarsnamegenerator.com
Description: Authentic dark sci-fi theme for Star Wars Name Generator. Replicates 100% of the Lovable design system with Orbitron typography, neon lightsaber glows, and responsive components.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: swng-theme
*/

@font-face {
  font-family: 'Orbitron';
  src: url('fonts/orbitron-variable.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/space-grotesk-variable.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --bg-primary: #0b0d13;
  --bg-card: #131824;
  --bg-card-hover: #192030;
  --border-subtle: rgba(0, 240, 255, 0.15);
  --border-glow: rgba(0, 240, 255, 0.4);
  --accent-cyan: #00f0ff;
  --accent-blue: #0099ff;
  --accent-red: #ff003c;
  --accent-gold: #ffbe0b;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================
   NAVIGATION HEADER
   ========================================================== */
.site-header {
  background: rgba(11, 13, 19, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-logo:hover .logo-text {
  color: var(--accent-cyan);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

.brand-badge {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #000;
  padding: 0.2rem 0.45rem;
  border-radius: 0.25rem;
  font-size: 0.7rem;
  font-weight: 900;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-cyan);
}

/* Nav Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 0.5rem;
  padding: 0.75rem;
  min-width: 240px;
  display: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  z-index: 1010;
}

.nav-item:hover .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 0.25rem;
  transition: all 0.15s ease;
}

.nav-dropdown a:hover {
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
}

.header-cta-btn {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  color: #000;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.6rem 1.25rem;
  border-radius: 0.4rem;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.25);
}

.header-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.45);
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero-section {
  text-align: center;
  padding: 3.5rem 1.5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--accent-cyan);
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #00f0ff 0%, #7000ff 50%, #ff007a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 2rem;
}

/* ==========================================================
   MAIN CONTENT WRAPPER
   ========================================================== */
.main-wrapper {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  flex: 1;
}

/* Standard Page Article */
.content-article {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  margin-top: 2rem;
  position: relative;
}

@media (max-width: 768px) {
  .content-article {
    padding: 1.5rem 1.25rem;
    border-radius: 1rem;
    margin-top: 1rem;
  }
}

/* ==========================================================
   ENTRY CONTENT (BLOG POSTS & GENERATOR PAGES)
   ========================================================== */
.entry-content {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: #cbd5e1;
}

.entry-content p {
  margin-bottom: 1.4rem;
  color: #cbd5e1;
}

.entry-content strong,
.content-article strong {
  color: #ffffff;
  font-weight: 700;
}

.entry-content em,
.content-article em {
  color: #e2e8f0;
}

/* Headings */
.entry-content h1,
.content-article h1 {
  font-family: var(--font-display);
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.entry-content h2,
.content-article h2 {
  font-family: var(--font-display);
  color: #ffffff;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 800;
  margin: 2.75rem 0 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid rgba(0, 240, 255, 0.2);
  letter-spacing: 0.03em;
  position: relative;
  display: flex;
  align-items: center;
}

.entry-content h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.entry-content h3,
.content-article h3 {
  font-family: var(--font-display);
  color: var(--accent-cyan);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.85rem;
  letter-spacing: 0.02em;
}

.entry-content h4,
.content-article h4 {
  font-family: var(--font-display);
  color: #e2e8f0;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.5rem 0 0.65rem;
}

/* Links */
.entry-content a,
.content-article a {
  color: var(--accent-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 240, 255, 0.35);
  transition: all 0.2s ease;
}

.entry-content a:hover,
.content-article a:hover {
  color: #ffffff;
  border-bottom-color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}

/* Lists */
.entry-content ul,
.entry-content ol,
.content-article ul,
.content-article ol {
  margin: 1.25rem 0 1.75rem 1.5rem;
  padding-left: 0.5rem;
}

.entry-content li,
.content-article li {
  margin-bottom: 0.65rem;
  line-height: 1.7;
  color: #cbd5e1;
}

.entry-content li::marker {
  color: var(--accent-cyan);
}

/* Blockquotes & Callouts */
.entry-content blockquote {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.06) 0%, rgba(19, 24, 36, 0.9) 100%);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 1.25rem 1.75rem;
  margin: 1.75rem 0;
  font-style: italic;
  color: #e2e8f0;
}

.entry-content .swng-answer {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.08) 0%, rgba(19, 24, 36, 0.95) 100%);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 0.85rem;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.1);
}

.entry-content .swng-answer h2,
.entry-content .swng-answer h3 {
  border-bottom: none;
  margin-top: 0;
  margin-bottom: 0.5rem;
  padding-bottom: 0;
  font-size: 1.15rem;
  color: var(--accent-cyan);
}

.entry-content .swng-answer h2::after {
  display: none;
}

.entry-content .swng-answer p:last-child {
  margin-bottom: 0;
}

/* Tables */
table,
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: rgba(11, 13, 19, 0.8);
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

th,
.entry-content th,
td,
.entry-content td {
  padding: 0.95rem 1.25rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

th,
.entry-content th {
  background: rgba(0, 240, 255, 0.12);
  color: var(--accent-cyan);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid rgba(0, 240, 255, 0.3);
}

td,
.entry-content td {
  color: #e2e8f0;
  font-size: 0.95rem;
}

tr:nth-child(even),
.entry-content tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

tr:hover,
.entry-content tr:hover {
  background: rgba(0, 240, 255, 0.04);
}

/* Helper subtitle on species generator pages */
.swng-helper {
  display: block;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: -0.5rem auto 1.75rem;
  background: rgba(0, 240, 255, 0.06);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 240, 255, 0.2);
  width: fit-content;
  max-width: 100%;
}

/* Related Generators list */
.swng-related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none !important;
  margin: 1.5rem 0 2.5rem !important;
  padding: 0 !important;
}

.swng-related li {
  margin: 0 !important;
}

.swng-related a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: capitalize;
  text-decoration: none;
  transition: all 0.2s ease;
}

.swng-related a:hover {
  background: rgba(0, 240, 255, 0.2);
  border-color: var(--accent-cyan);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.35);
}

/* FAQs Accordion */
.swng-faqs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

details.swng-faq,
.entry-content details.swng-faq {
  background: rgba(19, 24, 36, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all 0.2s ease;
}

details.swng-faq:hover,
.entry-content details.swng-faq:hover {
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.08);
}

details.swng-faq[open],
.entry-content details.swng-faq[open] {
  border-color: var(--accent-cyan);
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.15);
}

details.swng-faq summary,
.entry-content details.swng-faq summary {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  outline: none;
  padding: 1.15rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  transition: color 0.2s ease;
}

details.swng-faq summary::-webkit-details-marker,
.entry-content details.swng-faq summary::-webkit-details-marker {
  display: none;
}

details.swng-faq summary::after,
.entry-content details.swng-faq summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent-cyan);
  font-weight: 400;
  transition: transform 0.2s ease;
}

details.swng-faq[open] summary,
.entry-content details.swng-faq[open] summary {
  color: var(--accent-cyan);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

details.swng-faq[open] summary::after,
.entry-content details.swng-faq[open] summary::after {
  content: '−';
}

details.swng-faq p,
.entry-content details.swng-faq p {
  padding: 1rem 1.4rem 1.25rem;
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ==========================================================
   POPULAR GENERATORS SHOWCASE GRID
   ========================================================== */
.showcase-section {
  margin: 4rem 0;
}

.section-heading {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.65rem;
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.showcase-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 10px 25px -5px rgba(0, 240, 255, 0.15);
}

.showcase-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.showcase-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.showcase-card:hover .showcase-title {
  color: var(--accent-cyan);
}

.showcase-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  background: #07080c;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 1.5rem 2rem;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 860px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 1rem 0;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.65rem;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.6;
}

/* ==========================================================
   HOMEPAGE & SECTION COMPONENTS
   ========================================================== */
.section-wrapper {
  margin: 3.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.section-subtitle-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.6rem;
  }
}

.section-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Glass Card Box */
.glass-panel {
  background: linear-gradient(180deg, rgba(19, 24, 36, 0.85) 0%, rgba(13, 17, 26, 0.95) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Name Origin Deep Dives Chips */
.deep-dives-wrapper {
  margin: 1.5rem 0 2.5rem;
  text-align: center;
}

.deep-dives-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.deep-dives-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.deep-dive-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.deep-dive-chip:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
}

/* Stats Counter Bar */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 860px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.85rem;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.25s ease;
}

.stat-item:hover {
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
  transform: translateY(-2px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-cyan);
  margin-bottom: 0.25rem;
  line-height: 1;
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

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

/* Key Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 860px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefit-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.benefit-card:hover {
  border-color: rgba(0, 240, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.benefit-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.benefit-text h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.benefit-text p {
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* Popular Generators Grid with Real Images */
.pop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 990px) {
  .pop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pop-grid {
    grid-template-columns: 1fr;
  }
}

.pop-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.pop-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 240, 255, 0.2);
}

.pop-img-box {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}

.pop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pop-card:hover .pop-img {
  transform: scale(1.06);
}

.pop-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(11, 13, 19, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.pop-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pop-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
  transition: color 0.2s ease;
}

.pop-card:hover .pop-title {
  color: var(--accent-cyan);
}

.pop-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.pop-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-cyan);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Species Lore Showcase */
.species-sample-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.species-sample-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.85rem;
  padding: 1rem;
  text-align: center;
  transition: all 0.25s ease;
}

.species-sample-card:hover {
  border-color: rgba(0, 240, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.species-sample-emoji {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.species-sample-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

.species-sample-pill {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 0.35rem;
  padding: 0.25rem 0.5rem;
  margin-bottom: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Use Cases Grid */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .usecase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .usecase-grid {
    grid-template-columns: 1fr;
  }
}

.usecase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.25s ease;
}

.usecase-card:hover {
  border-color: rgba(0, 240, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.12);
}

.usecase-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(0, 153, 255, 0.2));
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.usecase-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.usecase-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.usecase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.usecase-tag {
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

/* Hall of Fame */
.hall-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 860px) {
  .hall-grid {
    grid-template-columns: 1fr;
  }
}

.hall-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 1.4rem;
  position: relative;
  overflow: hidden;
}

.hall-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 0.25rem;
}

.hall-role {
  font-size: 0.78rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hall-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  margin: 1.5rem 0;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.comp-table th,
.comp-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comp-table th {
  background: rgba(19, 24, 36, 0.95);
  font-family: var(--font-display);
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comp-table tr.highlight-row {
  background: rgba(0, 240, 255, 0.05);
}

.comp-table td.highlight-cell {
  color: var(--accent-cyan);
  font-weight: 700;
}

/* Team Teaser Card */
.team-card {
  background: linear-gradient(135deg, rgba(19, 24, 36, 0.95), rgba(11, 13, 19, 0.98));
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

@media (max-width: 900px) {
  .team-card {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem;
  }
}

.team-avatar-stack {
  display: flex;
  align-items: center;
}

.team-avatar-item {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid #0b0d13;
  overflow: hidden;
  margin-left: -18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.team-avatar-item:first-child {
  margin-left: 0;
}

.team-avatar-item:hover {
  transform: translateY(-6px) scale(1.1);
  z-index: 10;
  border-color: var(--accent-cyan);
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.team-info p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 1rem;
}

.team-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .team-credentials {
    justify-content: center;
  }
}

.team-cred-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

/* FAQ Details Accordion */
.faq-wrap {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 0.85rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-card:hover {
  border-color: rgba(0, 240, 255, 0.4);
}

.faq-card summary {
  padding: 1.15rem 1.4rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent-cyan);
  transition: transform 0.2s ease;
}

.faq-card[open] summary::after {
  content: '−';
}

.faq-body {
  padding: 0 1.4rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.85rem;
}

/* ==========================================================
   BLOG ARCHIVE & SINGLE POST STYLES
   ========================================================== */
.blog-featured-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  margin-bottom: 3rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 860px) {
  .blog-featured-card {
    grid-template-columns: 1fr;
  }
}

.blog-featured-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 15px 40px rgba(0, 240, 255, 0.2);
  transform: translateY(-3px);
}

.blog-featured-img-box {
  position: relative;
  aspect-ratio: 16/10;
  background: #000;
  overflow: hidden;
}

.blog-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.blog-featured-content {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  width: fit-content;
}

.blog-featured-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.85rem;
  transition: color 0.2s ease;
}

.blog-featured-card:hover .blog-featured-title {
  color: var(--accent-cyan);
}

.blog-featured-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.blog-meta-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.82rem;
  color: #64748b;
}

/* Breadcrumbs */
.breadcrumbs-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.breadcrumbs-nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs-nav a:hover {
  color: var(--accent-cyan);
}

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.2);
}

.breadcrumb-current {
  color: #fff;
  font-weight: 600;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Quick Answer Callout Box */
.quick-answer-box {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.08) 0%, rgba(19, 24, 36, 0.95) 100%);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 0.85rem;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.1);
}

.quick-answer-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.quick-answer-body {
  color: #e2e8f0;
  font-size: 0.96rem;
  line-height: 1.65;
}

/* Single Post Banner */
.post-banner-wrapper {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin: 2rem 0;
  aspect-ratio: 16/9;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  background: #000;
}

.post-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Author Bio Card */
.author-bio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 3.5rem 0 2rem;
}

@media (max-width: 650px) {
  .author-bio-card {
    flex-direction: column;
    text-align: center;
  }
}

.author-bio-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}

.author-bio-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-bio-details h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.author-bio-details .author-title {
  color: var(--accent-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.author-bio-details p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Related Guides Grid */
.related-guides-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

