/* ==========================================================================
   SWERTE99 CASINO PHILIPPINES — MASTER DESIGN SYSTEM
   Mobile-First (390px) Responsive Architecture • High-End Dark Luxury Theme
   Compliance: anti-ui-slop & website-design-guide standards
   ========================================================================== */

:root {
  --bg-dark: #070a12;
  --bg-surface: #0f1523;
  --bg-surface-elevated: #162035;
  --bg-card: #131b2e;
  --bg-card-hover: #1c2742;
  --border-subtle: #1e293b;
  --border-glow: rgba(245, 158, 11, 0.35);

  --gold-primary: #fbbf24;
  --gold-secondary: #f59e0b;
  --gold-dark: #b45309;
  --gold-gradient: linear-gradient(135deg, #fde68a 0%, #f59e0b 50%, #d97706 100%);
  --gold-glow: 0 0 24px rgba(245, 158, 11, 0.25);

  --green-primary: #10b981;
  --green-hover: #059669;
  --green-gradient: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  --green-glow: 0 0 20px rgba(16, 185, 129, 0.3);

  --red-accent: #ef4444;
  --blue-accent: #3b82f6;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.45);
  --shadow-elevated: 0 16px 40px rgba(0, 0, 0, 0.6);
  --header-height: 72px;
}

/* Accessibility utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  padding-bottom: 76px; /* space for sticky mobile bottom bar */
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

/* ==========================================================================
   LAYOUT & CONTAINERS
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo img {
  height: 52px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s ease;
}

.brand-logo:hover img {
  transform: scale(1.03);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 20px;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background-color 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-primary);
  background: rgba(245, 158, 11, 0.08);
}

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

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 10px;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  z-index: 99;
}

.mobile-drawer.open {
  display: flex;
}

.drawer-link {
  font-size: 16px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.drawer-link:hover {
  border-color: var(--gold-secondary);
  color: var(--gold-primary);
}

/* ==========================================================================
   BUTTONS & CTA
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 44px;
}

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

.btn-primary {
  background: var(--gold-gradient);
  color: #111827;
  box-shadow: var(--gold-glow);
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.45);
  transform: translateY(-2px);
}

.btn-success {
  background: var(--green-gradient);
  color: #ffffff;
  box-shadow: var(--green-glow);
}

.btn-success:hover {
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

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

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  min-height: 36px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 17px;
  min-height: 52px;
}

/* ==========================================================================
   STICKY MOBILE BOTTOM BAR (website-design-guide standard)
   ========================================================================== */

.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 68px;
  background: rgba(10, 14, 24, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 95;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6);
}

@media (min-width: 1024px) {
  .sticky-bottom-bar {
    display: none;
  }
}

.bottom-bar-cta {
  flex: 1;
  display: flex;
  gap: 10px;
}

.bottom-bar-cta .btn {
  flex: 1;
  font-size: 14px;
  padding: 10px 14px;
  min-height: 44px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding: 32px 0 48px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 56px 0 72px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-glow);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 16px;
}

.hero-title {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 42px;
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 48px;
  }
}

.hero-title span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.trust-item svg {
  color: var(--green-primary);
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-elevated);
}

.hero-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */

.breadcrumbs {
  padding: 16px 0 8px;
  font-size: 13px;
  color: var(--text-dim);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--text-dim);
  margin-right: 6px;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--gold-primary);
}

.breadcrumbs [aria-current="page"] {
  color: var(--gold-primary);
  font-weight: 600;
}

/* ==========================================================================
   CALLOUTS & CAPSULES (Answer Capsule & Expert Insight)
   ========================================================================== */

.expert-insight-box {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
  border-left: 4px solid var(--gold-secondary);
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 18px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
}

.expert-insight-title {
  font-weight: 800;
  font-size: 14px;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.expert-insight-text {
  font-size: 14px;
  color: #e2e8f0;
  line-height: 1.55;
  font-style: italic;
}

.tldr-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 20px;
  border-radius: var(--radius-md);
  margin: 24px 0;
}

.tldr-title {
  font-weight: 800;
  font-size: 15px;
  color: var(--green-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tldr-text {
  font-size: 15px;
  color: #f1f5f9;
  line-height: 1.6;
}

.answer-capsule {
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid var(--gold-secondary);
  padding: 14px 18px;
  margin: 12px 0 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15px;
  font-weight: 500;
  color: #fef3c7;
  line-height: 1.55;
}

/* ==========================================================================
   CONTENT ARTICLE BODY STYLES
   ========================================================================== */

.content-article {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 0 48px;
}

.content-article h1 {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .content-article h1 {
    font-size: 38px;
  }
}

.content-article h2 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.content-article h2::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--gold-secondary);
}

@media (min-width: 768px) {
  .content-article h2 {
    font-size: 26px;
  }
}

.content-article h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-primary);
  margin: 24px 0 12px;
}

.content-article p {
  font-size: 16px;
  color: #cbd5e1;
  margin-bottom: 18px;
  line-height: 1.7;
}

.content-article ul, .content-article ol {
  margin: 16px 0 24px 24px;
  color: #cbd5e1;
}

.content-article li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.content-article strong {
  color: #ffffff;
}

.content-article a {
  color: var(--gold-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-article a:hover {
  color: #fde68a;
}

/* ==========================================================================
   DATA TABLES (Responsive Horizontal Scroll)
   ========================================================================== */

.table-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.data-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.data-table th {
  background: var(--bg-surface-elevated);
  color: var(--gold-primary);
  font-weight: 800;
  padding: 14px 16px;
  border-bottom: 2px solid var(--border-subtle);
  white-space: nowrap;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: #cbd5e1;
}

.data-table tr:nth-child(even) td {
  background: rgba(18, 23, 34, 0.4);
}

.data-table tr:hover td {
  background: rgba(245, 158, 11, 0.05);
}

/* ==========================================================================
   STEP CARDS & WALKTHROUGHS
   ========================================================================== */

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0 32px;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-secondary);
}

.step-number {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold-primary);
  opacity: 0.85;
  margin-bottom: 8px;
}

.step-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   GAME CARDS & SILO GRIDS
   ========================================================================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0 36px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-secondary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.game-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-surface);
  overflow: hidden;
  position: relative;
}

.game-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover .game-card-img-wrap img {
  transform: scale(1.05);
}

.game-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid var(--gold-secondary);
  color: var(--gold-primary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.game-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.game-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

.game-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gold-primary);
  margin-bottom: 12px;
  font-weight: 600;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 32px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--gold-primary);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 20px 18px;
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.6;
}

/* ==========================================================================
   RESPONSIBLE GAMING BANNER
   ========================================================================== */

.responsible-gaming-box {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 36px 0;
}

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

.rg-tag {
  background: var(--red-accent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.rg-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.rg-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.rg-helpline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-primary);
}

/* ==========================================================================
   CTA BANNER CARD
   ========================================================================== */

.cta-banner-card {
  background: radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.15) 0%, rgba(15, 23, 42, 0.95) 70%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  margin: 40px 0;
  box-shadow: var(--shadow-card);
}

.cta-banner-title {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 12px;
}

.cta-banner-desc {
  font-size: 15px;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 24px;
}

/* ==========================================================================
   FOOTER DIRECTORY
   ========================================================================== */

.site-footer {
  background: #04060a;
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 32px;
  font-size: 14px;
  color: var(--text-dim);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 32px;
  }
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 12px;
  margin-bottom: 16px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 13px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  font-size: 12px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: underline;
}

.footer-directory-section {
  border-top: 1px solid var(--border-subtle);
  padding-top: 32px;
  margin-top: 36px;
}

.footer-directory-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.directory-columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.directory-col h5 {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 4px;
}

.directory-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.directory-col a {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
  transition: color 0.2s;
}

.directory-col a:hover {
  color: var(--gold-primary);
}

/* ==========================================================================
   FOOTER DIRECTORY CALLOUT BAR (SLEEK SEO BRIDGE)
   ========================================================================== */

.footer-directory-bar {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 32px 0 24px;
}

.directory-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.directory-bar-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #cbd5e1;
  flex-wrap: wrap;
}

.directory-bar-badge {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
  color: #000000;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.directory-bar-btn {
  white-space: nowrap;
}

/* ==========================================================================
   HTML SITEMAP DIRECTORY PAGE
   ========================================================================== */

.sitemap-directory-container {
  margin: 40px 0 32px;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}

@media (min-width: 640px) {
  .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sitemap-cluster-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, transform 0.2s;
}

.sitemap-cluster-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
}

.sitemap-cluster-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sitemap-cluster-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-primary);
  background: rgba(245, 158, 11, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.sitemap-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sitemap-link {
  display: block;
  text-decoration: none;
  color: #cbd5e1;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid transparent;
  transition: all 0.2s;
}

.sitemap-link:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.3);
  color: #ffffff;
}

.sitemap-link-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-secondary);
  margin-bottom: 2px;
}

.sitemap-link-desc {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

