/* ============================================================
   BGMI Style Name Generator — Main Stylesheet
   Premium Dark Gaming Theme
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   ------------------------------------------------------------ */
:root {
  /* Colors */
  --primary: #FFD700;
  --primary-dark: #E5C200;
  --primary-rgb: 255, 215, 0;
  --secondary: #00E676;
  --secondary-rgb: 0, 230, 118;
  --accent: #FF6B35;
  --accent-rgb: 255, 107, 53;
  --danger: #FF4757;
  --danger-rgb: 255, 71, 87;
  --info: #3B82F6;

  /* Backgrounds */
  --bg: #0A0A0F;
  --bg2: #1A1A2E;
  --bg3: #16213E;
  --bg-elevated: #0F0F1A;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-bg-hover: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.1);
  --card-border-hover: rgba(255, 215, 0, 0.3);

  /* Text */
  --text: #E8E8E8;
  --text2: #9CA3AF;
  --text3: #6B7280;

  /* Typography */
  --heading-font: 'Orbitron', sans-serif;
  --body-font: 'Inter', sans-serif;

  /* Border Radius */
  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-pill: 50px;
  --radius-sm: 6px;

  /* Shadows & Glow */
  --glow: 0 0 20px rgba(255, 215, 0, 0.3);
  --glow-intense: 0 0 40px rgba(255, 215, 0, 0.4), 0 0 80px rgba(255, 215, 0, 0.15);
  --glow-green: 0 0 20px rgba(0, 230, 118, 0.3);
  --glow-accent: 0 0 20px rgba(255, 107, 53, 0.3);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s ease;

  /* Spacing */
  --section-padding: 80px 0;
  --header-height: 72px;
}


/* ------------------------------------------------------------
   2. CSS Reset & Base
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection {
  background-color: rgba(255, 215, 0, 0.3);
  color: #fff;
}

::-moz-selection {
  background-color: rgba(255, 215, 0, 0.3);
  color: #fff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

scrollbar-color: var(--primary-dark) var(--bg);
scrollbar-width: thin;

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

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

ul, ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  width: 100%;
}


/* ------------------------------------------------------------
   3. Typography
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 0.75em;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: 1px;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.25em;
  color: var(--text2);
}

p:last-child {
  margin-bottom: 0;
}

strong, b {
  font-weight: 600;
  color: var(--text);
}

em, i {
  font-style: italic;
}

small {
  font-size: 0.875rem;
  color: var(--text3);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #FFA500 50%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-green {
  background: linear-gradient(135deg, var(--secondary) 0%, #00C853 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

mark {
  background: rgba(255, 215, 0, 0.2);
  color: var(--primary);
  padding: 2px 6px;
  border-radius: 4px;
}


/* ------------------------------------------------------------
   4. Layout
   ------------------------------------------------------------ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.site-main {
  min-height: calc(100vh - var(--header-height));
}

.site-main:not(.front-page) {
  padding-top: var(--header-height);
}

.card-glass {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--heading-font);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-badge i {
  font-size: 0.7rem;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text2);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.content-area {
  display: flex;
  gap: 40px;
  padding: 40px 0;
}

.content-area .main-content {
  flex: 1;
  min-width: 0;
}

.content-area .sidebar {
  width: 320px;
  flex-shrink: 0;
}

.full-width {
  width: 100%;
}

.full-width .content-area {
  display: block;
}

/* Grid Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

section {
  padding: var(--section-padding);
}


/* ------------------------------------------------------------
   5. Header (.site-header)
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  height: var(--header-height);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 10, 15, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(255, 215, 0, 0.2);
}

/* header-inner is used in header.php */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Site Branding */
.site-branding {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img,
.custom-logo {
  height: 40px;
  width: auto;
}

.site-title-wrap {
  display: flex;
  flex-direction: column;
}

.site-title-link {
  text-decoration: none;
}

.site-title {
  font-family: var(--heading-font);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

.site-description {
  font-size: 0.7rem;
  color: var(--text3);
  margin: 0;
}

/* Main Navigation */
.main-navigation {
  display: flex;
  align-items: center;
}

.main-navigation .nav-menu,
.main-navigation ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.main-navigation .nav-menu li a,
.main-navigation ul li a {
  font-family: var(--heading-font);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text2);
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  transition: var(--transition);
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}

.main-navigation li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

.main-navigation li a:hover {
  color: var(--primary);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  text-decoration: none;
}

.main-navigation li a:hover::after {
  width: 60%;
}

.main-navigation li.current-menu-item > a,
.main-navigation li.current_page_item > a {
  color: var(--primary);
}

.main-navigation li.current-menu-item > a::after,
.main-navigation li.current_page_item > a::after {
  width: 60%;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text2);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.nav-search-toggle:hover {
  color: var(--primary);
  background: rgba(255, 215, 0, 0.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  gap: 5px;
  border-radius: var(--radius-btn);
  transition: var(--transition);
  background: none;
  border: none;
  padding: 0;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
}

.site-header.menu-open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.site-header.menu-open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Header Search Overlay */
.header-search-overlay {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  padding: 20px 0;
  z-index: 998;
  animation: fadeInDown 0.3s ease;
}

.header-search-overlay.active {
  display: block;
}

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

.header-search-inner .search-form {
  flex: 1;
}

.search-overlay-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text2);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.search-overlay-close:hover {
  color: var(--primary);
  background: rgba(255, 215, 0, 0.1);
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Screen Reader Text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link:focus {
  background: var(--primary);
  clip: auto !important;
  clip-path: none;
  color: var(--bg);
  display: block;
  font-size: 1rem;
  font-weight: 600;
  height: auto;
  left: 5px;
  padding: 15px 23px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 10001;
}


/* ------------------------------------------------------------
   6. Hero Section (.hero-section)
   ------------------------------------------------------------ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 20px 80px;
  background: linear-gradient(
    135deg,
    var(--bg) 0%,
    var(--bg2) 40%,
    var(--bg3) 70%,
    var(--bg) 100%
  );
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 215, 0, 0.3), transparent),
    radial-gradient(2px 2px at 80% 20%, rgba(0, 230, 118, 0.2), transparent),
    radial-gradient(2px 2px at 40% 70%, rgba(255, 107, 53, 0.2), transparent),
    radial-gradient(1px 1px at 60% 50%, rgba(255, 215, 0, 0.15), transparent),
    radial-gradient(1px 1px at 30% 80%, rgba(0, 230, 118, 0.15), transparent),
    radial-gradient(1px 1px at 70% 60%, rgba(255, 255, 255, 0.1), transparent),
    radial-gradient(1px 1px at 50% 40%, rgba(255, 255, 255, 0.08), transparent);
  animation: particle-drift 20s linear infinite;
  pointer-events: none;
}

@keyframes particle-drift {
  0% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-10px) translateX(5px); }
  50% { transform: translateY(-5px) translateX(-5px); }
  75% { transform: translateY(-15px) translateX(3px); }
  100% { transform: translateY(0) translateX(0); }
}

/* Hero Particles */
.hero-section__particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
}

.particle--1 { top: 10%; left: 20%; animation-delay: 0s; }
.particle--2 { top: 30%; right: 15%; animation-delay: 1s; }
.particle--3 { bottom: 25%; left: 10%; animation-delay: 2s; background: var(--secondary); }
.particle--4 { bottom: 15%; right: 25%; animation-delay: 3s; background: var(--accent); }
.particle--5 { top: 50%; left: 50%; animation-delay: 4s; }
.particle--6 { top: 20%; right: 40%; animation-delay: 5s; background: var(--secondary); }

/* Floating Icons */
.hero-section__floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.floating-icon {
  position: absolute;
  font-size: 2rem;
  opacity: 0.4;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.floating-icon--1 { top: 15%; left: 8%; animation-delay: 0s; }
.floating-icon--2 { top: 20%; right: 10%; animation-delay: 1.5s; }
.floating-icon--3 { bottom: 30%; left: 12%; animation-delay: 3s; }
.floating-icon--4 { bottom: 20%; right: 8%; animation-delay: 4.5s; }
.floating-icon--5 { top: 50%; left: 5%; animation-delay: 2s; }
.floating-icon--6 { top: 40%; right: 5%; animation-delay: 5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(5deg); }
  50% { transform: translateY(-10px) rotate(-5deg); }
  75% { transform: translateY(-25px) rotate(3deg); }
}

/* Hero Content */
.hero-section__content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
}

/* Hero Badge */
.hero-section__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--heading-font);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.hero-section__badge i {
  font-size: 0.75rem;
}

/* Hero Title */
.hero-section__title {
  font-size: 3.2rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #fff;
}

/* Hero Subtitle */
.hero-section__subtitle {
  font-size: 1.1rem;
  color: var(--text2);
  margin-bottom: 36px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Hero CTA Buttons */
.hero-section__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Hero Stats Row */
.hero-section__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 750px;
  margin: 0 auto;
}

.hero-stat {
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
}

.hero-stat:hover {
  border-color: rgba(255, 215, 0, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-stat__number {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
}

.hero-stat__label {
  font-size: 0.7rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Scroll Indicator */
.hero-section__scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 13px;
  position: relative;
}

.scroll-mouse__wheel {
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scroll-wheel {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 24px; }
}


/* ------------------------------------------------------------
   7. Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--heading-font);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px) scale(1.02);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #FFA500);
  color: #0A0A0F;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.btn-primary:hover {
  box-shadow: var(--glow-intense);
  color: #0A0A0F;
  background: linear-gradient(135deg, #FFE44D, #FFB733);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: rgba(255, 215, 0, 0.1);
  box-shadow: var(--glow);
  color: var(--primary);
}

.btn-accent {
  background: linear-gradient(135deg, var(--secondary), #00C853);
  color: #0A0A0F;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 230, 118, 0.2);
}

.btn-accent:hover {
  box-shadow: var(--glow-green);
  color: #0A0A0F;
  background: linear-gradient(135deg, #33EB91, #00E676);
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger), #FF6B81);
  color: #fff;
  border-color: transparent;
}

.btn-ghost {
  background: transparent;
  color: var(--text2);
  border-color: var(--card-border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
  border-radius: var(--radius-card);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.btn-pill {
  border-radius: var(--radius-pill);
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

.btn .btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #0A0A0F;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}


/* ------------------------------------------------------------
   8. Cards (.post-card)
   ------------------------------------------------------------ */
.post-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-5px);
  border-color: var(--card-border-hover);
  box-shadow: var(--glow), var(--shadow-lg);
}

.post-card__thumbnail {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

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

.post-card:hover .post-card__thumbnail img {
  transform: scale(1.05);
}

.post-card__category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #0A0A0F;
  font-family: var(--heading-font);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  z-index: 2;
}

.post-card__content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card__title {
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  transition: var(--transition);
  line-height: 1.4;
}

.post-card__title a {
  color: inherit;
  text-decoration: none;
}

.post-card__title a:hover {
  color: var(--primary);
  text-decoration: none;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--text3);
}

.post-card__meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.post-card__excerpt {
  color: var(--text2);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.post-card__readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-family: var(--heading-font);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  margin-top: auto;
}

.post-card__readmore::after {
  content: '→';
  transition: transform 0.3s ease;
}

.post-card__readmore:hover {
  text-decoration: none;
}

.post-card__readmore:hover::after {
  transform: translateX(4px);
}


/* ------------------------------------------------------------
   9. Generator Section (.generator-section)
   ------------------------------------------------------------ */
.generator-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  position: relative;
}

.generator-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
}

.generator-section h2 {
  text-align: center;
  margin-bottom: 40px;
}


/* ------------------------------------------------------------
   10. Name Result Cards (.name-card)
   ------------------------------------------------------------ */
.name-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}

.name-card:hover {
  transform: translateY(-3px);
  border-color: var(--card-border-hover);
  box-shadow: var(--glow);
}

.name-card__name {
  font-family: var(--heading-font);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 12px;
  word-break: break-all;
  line-height: 1.4;
}

.name-card__category {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--text3);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.name-card__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}


/* ------------------------------------------------------------
   11. FAQ Section (.faq-section)
   ------------------------------------------------------------ */
.faq-section {
  padding: var(--section-padding);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 48px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(255, 215, 0, 0.15);
}

.faq-item.active {
  border-left: 3px solid var(--primary);
  border-color: rgba(255, 215, 0, 0.2);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--heading-font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
  gap: 16px;
}

.faq-item__question:hover {
  color: var(--primary);
}

.faq-item__icon {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-item__answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

.faq-item__answer p {
  color: var(--text2);
  line-height: 1.7;
}


/* ------------------------------------------------------------
   12. How-To Steps (.how-to-steps)
   ------------------------------------------------------------ */
.how-to-steps {
  padding: var(--section-padding);
}

.how-to-steps h2 {
  text-align: center;
  margin-bottom: 48px;
}

.how-to-step {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 48px;
  padding: 32px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  transition: var(--transition);
}

.how-to-step:hover {
  border-color: rgba(255, 215, 0, 0.15);
  transform: translateX(4px);
}

.how-to-step__number {
  font-family: var(--heading-font);
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.8;
}

.how-to-step__content h3 {
  margin-bottom: 8px;
}

.how-to-step__content p {
  margin-bottom: 0;
}

.how-to-step__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 215, 0, 0.1);
  border-radius: var(--radius-card);
  font-size: 1.5rem;
  flex-shrink: 0;
}


/* ------------------------------------------------------------
   13. Symbols Table (.symbols-table)
   ------------------------------------------------------------ */
.symbols-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-card);
  border: 1px solid var(--card-border);
}

.symbols-table {
  width: 100%;
  border-collapse: collapse;
}

.symbols-table thead th {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.1));
  font-family: var(--heading-font);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.symbols-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--card-border);
  color: var(--text2);
  transition: var(--transition-fast);
}

.symbols-table tbody tr:last-child td {
  border-bottom: none;
}

.symbols-table tbody tr {
  background: var(--card-bg);
  transition: var(--transition-fast);
}

.symbols-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.08);
}

.symbols-table tbody tr:hover td {
  color: var(--text);
}

.symbols-table .symbol-char {
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 600;
}

.symbols-table .copy-symbol {
  cursor: pointer;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 215, 0, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: var(--transition);
}

.symbols-table .copy-symbol:hover {
  background: var(--primary);
  color: #0A0A0F;
}


/* ------------------------------------------------------------
   14. Names List (.names-list)
   ------------------------------------------------------------ */
.names-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.names-list__item {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-btn);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
}

.names-list__item:hover {
  border-color: var(--card-border-hover);
  box-shadow: var(--glow);
  background: var(--card-bg-hover);
}

.names-list__item-name {
  font-family: var(--heading-font);
  font-size: 0.9rem;
  color: var(--text);
}

.names-list__item-copy {
  font-size: 0.75rem;
  color: var(--text3);
  opacity: 0;
  transition: var(--transition);
}

.names-list__item:hover .names-list__item-copy {
  opacity: 1;
  color: var(--primary);
}


/* ------------------------------------------------------------
   15. CTA Section (.cta-section)
   ------------------------------------------------------------ */
.cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--bg2) 0%,
    var(--bg3) 50%,
    var(--bg2) 100%
  );
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 215, 0, 0.08), transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(0, 230, 118, 0.06), transparent 50%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 36px;
}

.cta-section .cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}


/* ------------------------------------------------------------
   16. Blog / Archive
   ------------------------------------------------------------ */
.archive-header {
  text-align: center;
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 40px;
}

.archive-header h1 {
  margin-bottom: 8px;
}

.archive-header p {
  color: var(--text3);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 8px 14px;
  border-radius: var(--radius-btn);
  font-family: var(--heading-font);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--card-border);
  color: var(--text2);
  background: var(--card-bg);
  transition: var(--transition);
  text-decoration: none;
}

.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--glow);
  text-decoration: none;
}

.pagination .current,
.pagination span.current {
  background: var(--primary);
  color: #0A0A0F;
  border-color: var(--primary);
  box-shadow: var(--glow);
}

.pagination .dots {
  border: none;
  background: none;
  color: var(--text3);
}


/* ------------------------------------------------------------
   17. Single Post
   ------------------------------------------------------------ */
.single-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.single-post__header {
  text-align: center;
  margin-bottom: 40px;
}

.single-post__header h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  line-height: 1.3;
}

.single-post__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--text3);
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.single-post__meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.single-post__featured-image {
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 40px;
}

.single-post__featured-image img {
  width: 100%;
  height: auto;
}

.single-post__content {
  line-height: 1.8;
}

.single-post__content p {
  margin-bottom: 1.5em;
  color: var(--text);
  font-size: 1.05rem;
}

.single-post__content h2 {
  margin-top: 2.5em;
  margin-bottom: 0.75em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--card-border);
}

.single-post__content h3 {
  margin-top: 2em;
  margin-bottom: 0.75em;
}

.single-post__content ul,
.single-post__content ol {
  padding-left: 24px;
  margin-bottom: 1.5em;
  list-style: disc;
}

.single-post__content ol {
  list-style: decimal;
}

.single-post__content li {
  margin-bottom: 0.5em;
  color: var(--text2);
  line-height: 1.7;
}

.single-post__content blockquote {
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  margin: 2em 0;
  background: rgba(255, 215, 0, 0.05);
  border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
  font-style: italic;
  color: var(--text);
}

.single-post__content blockquote p {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.single-post__content code {
  background: var(--bg2);
  color: var(--secondary);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.single-post__content pre {
  background: var(--bg2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-btn);
  padding: 24px;
  overflow-x: auto;
  margin: 2em 0;
}

.single-post__content pre code {
  padding: 0;
  background: none;
  font-size: 0.9rem;
  line-height: 1.6;
}

.single-post__content table {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-btn);
  overflow: hidden;
  margin: 2em 0;
}

.single-post__content th {
  background: rgba(255, 215, 0, 0.1);
  font-family: var(--heading-font);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  padding: 12px 16px;
  text-align: left;
}

.single-post__content td {
  padding: 12px 16px;
  border-top: 1px solid var(--card-border);
  color: var(--text2);
}

.single-post__content img {
  border-radius: var(--radius-btn);
  margin: 1.5em 0;
}

.single-post__content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-post__content a:hover {
  color: #FFE44D;
}

/* Author Box */
.author-box {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  margin: 48px 0;
}

.author-box__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 215, 0, 0.3);
  flex-shrink: 0;
}

.author-box__name {
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.author-box__bio {
  font-size: 0.9rem;
  color: var(--text2);
  margin-bottom: 0;
}

/* Share Buttons */
.share-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0;
}

.share-buttons__label {
  font-family: var(--heading-font);
  font-size: 0.8rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text2);
  transition: var(--transition);
  font-size: 1rem;
}

.share-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

/* Related Posts */
.related-posts {
  padding: 48px 0;
}

.related-posts h3 {
  text-align: center;
  margin-bottom: 32px;
}

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Table of Contents */
.table-of-contents {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-bottom: 32px;
}

.table-of-contents__title {
  font-family: var(--heading-font);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--card-border);
}

.table-of-contents ul {
  list-style: none;
}

.table-of-contents li {
  margin-bottom: 8px;
}

.table-of-contents a {
  color: var(--text2);
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
  display: block;
  padding: 4px 0;
  padding-left: 12px;
  border-left: 2px solid transparent;
}

.table-of-contents a:hover,
.table-of-contents a.active {
  color: var(--primary);
  border-left-color: var(--primary);
  text-decoration: none;
}

.table-of-contents li li a {
  padding-left: 24px;
  font-size: 0.8rem;
}


/* ------------------------------------------------------------
   18. Sidebar (.sidebar)
   ------------------------------------------------------------ */
.sidebar .widget {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar .widget-title {
  font-family: var(--heading-font);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 20px;
}

.sidebar .widget ul {
  list-style: none;
}

.sidebar .widget li {
  margin-bottom: 10px;
}

.sidebar .widget li a {
  color: var(--text2);
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  transition: var(--transition);
}

.sidebar .widget li a::before {
  content: '›';
  color: var(--text3);
  transition: var(--transition);
}

.sidebar .widget li a:hover {
  color: var(--primary);
  text-decoration: none;
  padding-left: 4px;
}

.sidebar .widget li a:hover::before {
  color: var(--primary);
}

.sidebar .search-widget input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-btn);
  color: var(--text);
  transition: var(--transition);
}

.sidebar .search-widget input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}


/* ------------------------------------------------------------
   19. Footer (.site-footer)
   ------------------------------------------------------------ */
.site-footer {
  background: var(--bg);
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  padding-top: 64px;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-widget h4,
.footer-widget .widget-title {
  font-family: var(--heading-font);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

.footer-widget p {
  color: var(--text3);
  font-size: 0.9rem;
}

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

.footer-widget li {
  margin-bottom: 10px;
}

.footer-widget li a {
  color: var(--text3);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-widget li a:hover {
  color: var(--primary);
  padding-left: 4px;
  text-decoration: none;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  color: var(--text3);
  transition: var(--transition);
  text-decoration: none;
}

.footer-social a:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--glow);
  transform: translateY(-2px);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.2);
  margin: 0 -9999px;
  padding-left: 9999px;
  padding-right: 9999px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text3);
  margin: 0;
}

.footer-bottom a {
  color: var(--primary);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #FFA500);
  color: #0A0A0F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 998;
  border: none;
  box-shadow: var(--glow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-intense);
}


/* ------------------------------------------------------------
   20. Comments
   ------------------------------------------------------------ */
.comments-section {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--card-border);
}

.comments-section h3 {
  margin-bottom: 32px;
}

.comment-list {
  list-style: none;
}

.comment-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-bottom: 16px;
}

.comment-card .children {
  list-style: none;
  margin-left: 32px;
  margin-top: 16px;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 215, 0, 0.2);
}

.comment-author {
  font-family: var(--heading-font);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.comment-date {
  font-size: 0.75rem;
  color: var(--text3);
}

.comment-body {
  color: var(--text2);
  font-size: 0.95rem;
  line-height: 1.7;
}

.comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--primary);
  font-size: 0.8rem;
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

.comment-reply-link:hover {
  text-decoration: underline;
}

/* Comment Form */
.comment-form {
  margin-top: 40px;
}

.comment-form h3 {
  margin-bottom: 24px;
}

.comment-form .form-group {
  margin-bottom: 20px;
}

.comment-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-btn);
  color: var(--text);
  transition: var(--transition);
  font-size: 1rem;
}

.comment-form textarea {
  min-height: 140px;
  resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
  background: var(--bg-elevated);
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
  color: var(--text3);
}


/* ------------------------------------------------------------
   21. Breadcrumbs (.breadcrumbs)
   ------------------------------------------------------------ */
.breadcrumbs {
  padding: 16px 0;
  font-size: 0.8rem;
  color: var(--text3);
}

.breadcrumbs a {
  color: var(--text3);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumbs a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumbs .separator {
  margin: 0 8px;
  color: var(--text3);
  opacity: 0.5;
}

.breadcrumbs .current {
  color: var(--primary);
}


/* ------------------------------------------------------------
   22. Search Form (.search-form)
   ------------------------------------------------------------ */
.search-form {
  display: flex;
  gap: 0;
  border-radius: var(--radius-btn);
  overflow: hidden;
  border: 1px solid var(--card-border);
  transition: var(--transition);
}

.search-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.search-form input[type="search"],
.search-form .search-field {
  flex: 1;
  padding: 12px 18px;
  background: var(--bg2);
  border: none;
  color: var(--text);
  font-size: 0.95rem;
}

.search-form input[type="search"]::placeholder,
.search-form .search-field::placeholder {
  color: var(--text3);
}

.search-form button,
.search-form .search-submit {
  padding: 12px 20px;
  background: var(--primary);
  color: #0A0A0F;
  font-family: var(--heading-font);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.search-form button:hover,
.search-form .search-submit:hover {
  background: #FFE44D;
}


/* ------------------------------------------------------------
   23. 404 Page (.error-404)
   ------------------------------------------------------------ */
.error-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-height));
  text-align: center;
  padding: 60px 20px;
}

.error-404__number {
  font-family: var(--heading-font);
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary), #FFA500, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  animation: glitch 3s infinite;
}

.error-404__number::before,
.error-404__number::after {
  content: '404';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.error-404__number::before {
  animation: glitch-top 3s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.error-404__number::after {
  animation: glitch-bottom 3s infinite;
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

.error-404 h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.error-404 p {
  color: var(--text3);
  max-width: 500px;
  margin-bottom: 32px;
}


/* ------------------------------------------------------------
   24. About Page
   ------------------------------------------------------------ */
.about-section {
  padding: var(--section-padding);
}

.about-story {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
}

.about-story p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--card-border-hover);
  box-shadow: var(--glow);
}

.feature-card__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.feature-card__title {
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--text2);
  margin-bottom: 0;
}


/* ------------------------------------------------------------
   25. Contact Page
   ------------------------------------------------------------ */
.contact-section {
  padding: var(--section-padding);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: rgba(255, 215, 0, 0.2);
}

.contact-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-btn);
  background: rgba(255, 215, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-card__title {
  font-family: var(--heading-font);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.contact-card__text {
  font-size: 0.9rem;
  color: var(--text2);
  margin-bottom: 0;
}

/* Contact Form */
.contact-form {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 36px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-btn);
  color: var(--text);
  transition: var(--transition);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
  background: var(--bg-elevated);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text3);
}


/* ------------------------------------------------------------
   26. Utility Classes
   ------------------------------------------------------------ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-gold { color: var(--primary); }
.text-green { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text3); }
.text-white { color: #fff; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mx-auto { margin-left: auto; margin-right: auto; }

.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: 8px; padding-bottom: 8px; }
.py-2 { padding-top: 16px; padding-bottom: 16px; }
.py-3 { padding-top: 24px; padding-bottom: 24px; }
.py-4 { padding-top: 32px; padding-bottom: 32px; }
.py-5 { padding-top: 48px; padding-bottom: 48px; }

.px-0 { padding-left: 0; padding-right: 0; }
.px-1 { padding-left: 8px; padding-right: 8px; }
.px-2 { padding-left: 16px; padding-right: 16px; }
.px-3 { padding-left: 24px; padding-right: 24px; }

.hidden { display: none !important; }
.visible { display: block; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }


/* ------------------------------------------------------------
   27. Animations & Keyframes
   ------------------------------------------------------------ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.4), 0 0 60px rgba(255, 215, 0, 0.1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-12px) rotate(3deg);
  }
  66% {
    transform: translateY(6px) rotate(-2deg);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.6), 0 0 80px rgba(255, 215, 0, 0.2);
  }
}

@keyframes glitch {
  0%, 100% {
    transform: translate(0);
  }
  2% {
    transform: translate(-3px, 1px);
  }
  4% {
    transform: translate(3px, -1px);
  }
  6% {
    transform: translate(-1px, -2px);
  }
  8% {
    transform: translate(0);
  }
}

@keyframes glitch-top {
  0%, 100% {
    transform: translate(0);
  }
  2% {
    transform: translate(4px, 0);
  }
  4% {
    transform: translate(-3px, 0);
  }
  6% {
    transform: translate(2px, 0);
  }
  8% {
    transform: translate(0);
  }
}

@keyframes glitch-bottom {
  0%, 100% {
    transform: translate(0);
  }
  2% {
    transform: translate(-3px, 0);
  }
  4% {
    transform: translate(4px, 0);
  }
  6% {
    transform: translate(-2px, 0);
  }
  8% {
    transform: translate(0);
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounce {
  0%, 20%, 53%, 100% {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transform: translateY(0);
  }
  40%, 43% {
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transform: translateY(-12px);
  }
  70% {
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transform: translateY(-6px);
  }
  80% {
    transform: translateY(0);
  }
  90% {
    transform: translateY(-3px);
  }
}


/* ------------------------------------------------------------
   28. Loading States
   ------------------------------------------------------------ */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 215, 0, 0.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

.loading-spinner--sm {
  width: 20px;
  height: 20px;
  border-width: 2px;
}

.loading-spinner--lg {
  width: 60px;
  height: 60px;
  border-width: 4px;
}

.skeleton {
  background: linear-gradient(
    90deg,
    var(--card-bg) 25%,
    rgba(255, 255, 255, 0.08) 50%,
    var(--card-bg) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-btn);
}

.skeleton-text {
  height: 16px;
  margin-bottom: 12px;
  border-radius: 4px;
}

.skeleton-text:last-child {
  width: 70%;
}

.skeleton-title {
  height: 24px;
  margin-bottom: 16px;
  width: 60%;
  border-radius: 4px;
}

.skeleton-image {
  height: 200px;
  border-radius: var(--radius-card);
  margin-bottom: 16px;
}

.skeleton-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.skeleton-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 24px;
}


/* ------------------------------------------------------------
   29. WordPress Core Alignment & Blocks
   ------------------------------------------------------------ */
.alignleft {
  float: left;
  margin-right: 24px;
  margin-bottom: 16px;
}

.alignright {
  float: right;
  margin-left: 24px;
  margin-bottom: 16px;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignwide {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.wp-block-image {
  margin: 2em 0;
}

.wp-block-image img {
  border-radius: var(--radius-btn);
}

.wp-block-image figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text3);
  margin-top: 8px;
  font-style: italic;
}

.has-text-align-center {
  text-align: center;
}

.has-text-align-left {
  text-align: left;
}

.has-text-align-right {
  text-align: right;
}

.wp-block-separator {
  border: none;
  border-top: 1px solid var(--card-border);
  margin: 3em 0;
}

.wp-block-separator.is-style-wide {
  border-top-color: rgba(255, 215, 0, 0.2);
}

/* Screen reader text (WordPress) */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.screen-reader-text:focus {
  background-color: var(--bg2);
  clip: auto;
  color: var(--primary);
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  height: auto;
  left: 5px;
  padding: 12px 24px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  border-radius: var(--radius-btn);
}


/* ------------------------------------------------------------
   30. Special Sections & Misc
   ------------------------------------------------------------ */

/* Tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.post-tags a {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  color: var(--text2);
  text-decoration: none;
  transition: var(--transition);
}

.post-tags a:hover {
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

/* Category Navigation */
.category-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.category-nav a {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--heading-font);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text2);
  border: 1px solid var(--card-border);
  text-decoration: none;
  transition: var(--transition);
}

.category-nav a:hover,
.category-nav a.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255, 215, 0, 0.05);
  text-decoration: none;
}

/* Notification Badge */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

.badge-primary {
  background: var(--primary);
  color: #0A0A0F;
}

.badge-secondary {
  background: var(--secondary);
  color: #0A0A0F;
}

.badge-danger {
  background: var(--danger);
  color: #fff;
}

/* Tooltip */
.tooltip {
  position: relative;
}

.tooltip::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  background: var(--bg2);
  color: var(--text);
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  pointer-events: none;
  border: 1px solid var(--card-border);
  z-index: 100;
}

.tooltip:hover::before {
  opacity: 1;
  visibility: visible;
}

/* Dividers */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--card-border), transparent);
  margin: 40px 0;
  border: none;
}

.divider--gold {
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
}

/* Notices / Alerts */
.notice {
  padding: 16px 20px;
  border-radius: var(--radius-btn);
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
}

.notice-info {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #93C5FD;
}

.notice-success {
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.2);
  color: var(--secondary);
}

.notice-warning {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  color: var(--primary);
}

.notice-error {
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid rgba(255, 71, 87, 0.2);
  color: var(--danger);
}

/* Modal / Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg2);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 36px;
  max-width: 560px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  animation: scaleIn 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  transition: var(--transition);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--danger);
  background: rgba(255, 71, 87, 0.1);
}

/* Progress Bar */
.progress-bar {
  height: 6px;
  background: var(--card-bg);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #FFA500);
  border-radius: var(--radius-pill);
  transition: width 0.5s ease;
}

/* Decorative Elements */
.glow-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  margin: 40px 0;
  animation: glow 3s ease-in-out infinite;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
}

.floating-shapes span {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.floating-shapes span:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; width: 30px; height: 30px; }
.floating-shapes span:nth-child(2) { top: 60%; left: 80%; animation-delay: 2s; width: 16px; height: 16px; }
.floating-shapes span:nth-child(3) { top: 40%; left: 50%; animation-delay: 4s; width: 24px; height: 24px; }
.floating-shapes span:nth-child(4) { top: 80%; left: 30%; animation-delay: 1s; width: 12px; height: 12px; }
.floating-shapes span:nth-child(5) { top: 10%; left: 70%; animation-delay: 3s; width: 20px; height: 20px; }

/* Schema / Structured Data Visual Indicators */
.schema-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
}

.schema-rating .star {
  font-size: 1rem;
}

.schema-rating .rating-value {
  font-family: var(--heading-font);
  font-size: 0.85rem;
  font-weight: 600;
  margin-left: 4px;
}

.schema-rating .rating-count {
  font-size: 0.8rem;
  color: var(--text3);
  margin-left: 4px;
}


/* ============================================================
   ADDITIONAL COMPONENT STYLES
   ============================================================ */

/* Search Form */
.search-form {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
}

.search-form label {
  flex: 1;
}

.search-form .search-field,
.search-form input[type="search"] {
  width: 100%;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  border-right: none;
  border-radius: var(--radius-btn) 0 0 var(--radius-btn);
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--body-font);
  outline: none;
  transition: var(--transition);
}

.search-form .search-field:focus,
.search-form input[type="search"]:focus {
  border-color: var(--primary);
  background: rgba(255, 215, 0, 0.05);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.search-form .search-submit,
.search-form button[type="submit"] {
  padding: 12px 20px;
  background: var(--primary);
  color: var(--bg);
  border: 1px solid var(--primary);
  border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
  font-family: var(--heading-font);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
}

.search-form .search-submit:hover,
.search-form button[type="submit"]:hover {
  background: var(--primary-dark);
  box-shadow: var(--glow);
}

/* How-To Steps */
.how-to-section {
  text-align: center;
}

.how-to-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.how-to-step {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.how-to-step:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-icon {
  margin-bottom: 16px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #FFA500);
  color: var(--bg);
  font-family: var(--heading-font);
  font-size: 1.2rem;
  font-weight: 700;
}

.step-icon .dashicons {
  display: none;
}

.step-content h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #fff;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.6;
}

/* Content Sections */
.content-section {
  text-align: center;
}

.content-section .container {
  max-width: 900px;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Names Grid */
.names-section .names-grid,
.names-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 30px 0;
}

.name-item,
.names-list li {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-btn);
  padding: 12px 16px;
  font-family: var(--heading-font);
  font-size: 0.8rem;
  color: var(--text);
  transition: var(--transition);
  list-style: none;
  text-align: center;
}

.name-item:hover,
.names-list li:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255, 215, 0, 0.05);
}

/* FAQ Accordion */
.faq-section {
  text-align: center;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(255, 215, 0, 0.15);
}

.faq-item.active {
  border-color: rgba(255, 215, 0, 0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  gap: 16px;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question .faq-icon,
.faq-question i {
  color: var(--primary);
  font-size: 0.9rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question .faq-icon,
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner,
.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text2);
  line-height: 1.7;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(0, 230, 118, 0.03));
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  text-align: center;
}

.cta-section .section-title {
  color: #fff;
}

.cta-section .cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radius-btn);
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: toastSlideIn 0.3s ease, toastSlideOut 0.3s ease 2.7s forwards;
  box-shadow: var(--shadow-lg);
  min-width: 250px;
  max-width: 400px;
}

.toast-success {
  background: rgba(0, 200, 83, 0.9);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.toast-error {
  background: rgba(255, 71, 87, 0.9);
  border: 1px solid rgba(255, 71, 87, 0.3);
}

.toast-info {
  background: rgba(59, 130, 246, 0.9);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes toastSlideOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(100px); }
}

/* Animate On Scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Blog Section on Front Page */
.blog-preview-section .posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Counter Animation */
.counter-animate {
  font-variant-numeric: tabular-nums;
}

/* Front Page Sections */
.front-page section {
  padding: 80px 0;
}

.front-page .section-title {
  text-align: center;
}

/* Typography enhancement for SEO content */
.content-section h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 20px;
}

.content-section h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.content-section p {
  font-size: 1rem;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 20px;
}

.content-section ul,
.content-section ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.content-section li {
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 8px;
}

/* Footer Styles */
.site-footer {
  background: var(--bg);
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.footer-widgets {
  padding: 60px 0 40px;
}

.footer-widgets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-widget-area .widget-title {
  font-family: var(--heading-font);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 20px;
}

.footer-widget-area ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-widget-area ul li a {
  color: var(--text2);
  font-size: 0.9rem;
  padding: 6px 0;
  display: block;
  transition: var(--transition);
  text-decoration: none;
}

.footer-widget-area ul li a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer-middle {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-middle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-heading {
  font-family: var(--heading-font);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 16px;
}

.footer-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-menu li a {
  color: var(--text2);
  font-size: 0.9rem;
  padding: 6px 0;
  display: block;
  transition: var(--transition);
  text-decoration: none;
}

.footer-nav-menu li a:hover {
  color: var(--primary);
  padding-left: 6px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--text2);
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-newsletter-text {
  color: var(--text2);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.newsletter-hint {
  color: var(--text3);
  font-size: 0.85rem;
  font-style: italic;
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  color: var(--text3);
  font-size: 0.85rem;
}

.footer-credit {
  font-size: 0.85rem;
  color: var(--text3);
}

.footer-credit a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-credit a:hover {
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #FFA500);
  color: var(--bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(255, 215, 0, 0.5);
}

/* WordPress Core Alignments */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 16px auto; }
.alignwide { max-width: calc(100% + 80px); width: calc(100% + 80px); margin-left: -40px; }
.alignfull { max-width: 100vw; width: 100vw; margin-left: calc(-50vw + 50%); }

/* WP Navigation Pagination */
.pagination,
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination .page-numbers,
.nav-links .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-btn);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text2);
  font-family: var(--heading-font);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}

.pagination .page-numbers.current,
.nav-links .page-numbers.current {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg);
}

.pagination .page-numbers:hover:not(.current),
.nav-links .page-numbers:hover:not(.current) {
  border-color: var(--primary);
  color: var(--primary);
}

/* ------------------------------------------------------------
   20. Responsive — Header & Footer
   (Theme had zero @media queries; this adds the missing
   breakpoints so the fixed-width desktop layout collapses
   properly on tablet and mobile.)
   ------------------------------------------------------------ */

/* ---------- Tablet (≤ 960px) ---------- */
@media (max-width: 960px) {

  /* Footer: 4 cols -> 2 cols, 3 cols -> 2 cols */
  .footer-widgets-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .footer-middle-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .footer-newsletter {
    grid-column: 1 / -1;
  }
}

/* ---------- Mobile (≤ 880px) — header nav becomes an off-canvas drawer ---------- */
@media (max-width: 880px) {

  .container {
    padding: 0 16px;
  }

  /* Reveal the hamburger button */
  .mobile-menu-toggle {
    display: flex;
  }

  /* Keep branding from crowding the toggle buttons on narrow phones */
  .site-title {
    font-size: 1.05rem;
  }

  .site-description {
    display: none;
  }

  /* Off-canvas nav panel */
  .main-navigation {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(300px, 80vw);
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 215, 0, 0.15);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.5);
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-height) + 24px) 24px 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 999;
  }

  .site-header.menu-open .main-navigation {
    transform: translateX(0);
  }

  .main-navigation .nav-menu,
  .main-navigation ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .main-navigation .nav-menu li,
  .main-navigation ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .main-navigation .nav-menu li a,
  .main-navigation ul li a {
    display: block;
    width: 100%;
    padding: 14px 4px;
    font-size: 0.85rem;
  }

  .main-navigation li a::after {
    display: none;
  }

  /* Lock page scroll while the drawer is open */
  body.nav-open {
    overflow: hidden;
  }

  /* Footer: down to a single column */
  .footer-widgets-grid,
  .footer-middle-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-newsletter {
    grid-column: auto;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .back-to-top {
    bottom: 20px;
    right: 16px;
    width: 42px;
    height: 42px;
  }
}

/* ---------- Small phones (≤ 420px) ---------- */
@media (max-width: 420px) {
  .site-title {
    font-size: 0.95rem;
  }

  .header-actions {
    gap: 4px;
  }

  .nav-search-toggle,
  .mobile-menu-toggle {
    width: 38px;
    height: 38px;
  }
}

/* ---------- WP Admin Bar safety net ----------
   The default WP admin bar (#wpadminbar, visible only to logged-in
   users) should collapse on its own under 783px, but if a plugin or
   cached stylesheet ever stops that from happening, this stops it
   from being able to drag the whole page into horizontal scroll. */
#wpadminbar {
  max-width: 100vw;
  overflow-x: hidden;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}
