/* G2GX THAI FANCLUB - Red & Grey Modern Theme (Reference: https://g2gxthaifan.netlify.app/) */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Theme: Red & Grey / Clean Light Grey Background */
  --bg-main: #f0f2f5;
  --bg-secondary: #e5e8ec;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  
  --border-color: #d8dde3;
  --border-light: #e5e8eb;
  --border-glow: rgba(200, 16, 24, 0.25);
  
  --text-main: #1e293b;
  --text-muted: #475569;
  --text-dim: #64748b;
  
  --accent-red: #c81018;
  --accent-red-hover: #a50b12;
  --accent-red-light: #fef2f2;
  --accent-red-border: #fca5a5;
  
  --accent-grey: #334155;
  --accent-grey-light: #f1f5f9;
  --accent-gold: #b45309;
  --accent-gold-light: #d97706;
  --accent-green: #16a34a;
  
  --font-family: 'Kanit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-red: 0 4px 20px rgba(200, 16, 24, 0.28);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  padding-bottom: 75px;
}

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

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

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Typography Utilities & Keyword Highlights */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-main);
}

.text-gold, .kw-brand {
  color: var(--accent-red) !important;
  font-weight: 700;
}

.text-red, .kw-slot {
  color: var(--accent-red) !important;
  font-weight: 700;
}

.text-green, .kw-casino {
  color: var(--accent-green) !important;
  font-weight: 700;
}

.kw-highlight {
  color: var(--accent-red);
  background: var(--accent-red-light);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 600;
}

/* TOP MENUBAR: Vibrant Red with Crisp White Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #b90e15 0%, #d32f2f 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 20px rgba(185, 14, 21, 0.25);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.brand-logo-img {
  height: 38px;
  width: 38px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.25));
  transition: transform 0.25s ease;
}

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

.brand-logo .logo-main {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.brand-logo .logo-thai {
  color: #ffe4e6;
  font-weight: 700;
}

.brand-badge {
  background: #ffffff;
  color: #b90e15;
  font-size: 0.65rem;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-left: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.nav-desktop {
  display: none;
}

@media (min-width: 1080px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.4rem;
  }
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #ffffff;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Header Buttons */
.site-header .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.site-header .btn-outline:hover {
  background: #ffffff;
  color: var(--accent-red);
  border-color: #ffffff;
}

.site-header .btn-primary {
  background: #ffffff;
  color: var(--accent-red);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.site-header .btn-primary:hover {
  background: #f8fafc;
  color: var(--accent-red-hover);
  transform: translateY(-2px);
}

/* Standard Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.85rem 2.2rem;
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(135deg, #d32f2f, #b71c1c);
  color: #ffffff;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e53935, #c62828);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(211, 47, 47, 0.4);
}

.btn-gold {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(30, 41, 59, 0.25);
  font-weight: 600;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #334155, #1e293b);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 41, 59, 0.35);
}

.btn-outline {
  border-color: #cbd5e1;
  background: #ffffff;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--accent-red);
  background: var(--accent-red-light);
  color: var(--accent-red);
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 1080px) {
  .mobile-toggle {
    display: none;
  }
}

/* Mobile Drawer Menu */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid var(--border-color);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #b90e15 0%, #d32f2f 100%);
  padding: 1.25rem 1.5rem;
  color: #ffffff;
}

.drawer-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  gap: 0.5rem;
}

.drawer-link {
  font-size: 1rem;
  color: var(--text-main);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-light);
  font-weight: 500;
}

.drawer-link:hover, .drawer-link.active {
  color: var(--accent-red);
}

/* Sticky Mobile Bottom Navigation */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.06);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 0.5rem;
}

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

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: var(--text-dim);
  gap: 3px;
  flex: 1;
  text-align: center;
  font-weight: 500;
}

.bottom-nav-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.bottom-nav-item.active, .bottom-nav-item:hover {
  color: var(--accent-red);
}

.bottom-nav-item.highlight {
  color: var(--accent-red);
  font-weight: 700;
}

/* Jackpot Box Widget: Striking Red Gradient */
.jackpot-container {
  margin: 1.5rem auto;
  display: flex;
  justify-content: center;
}

.jackpot-box {
  background: linear-gradient(135deg, #b71c1c 0%, #d32f2f 100%);
  border: 2px solid #ffffff;
  border-radius: 100px;
  padding: 0.75rem 2.2rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.35);
  animation: pulseGlow 2.5s infinite alternate;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 4px 15px rgba(211, 47, 47, 0.25); transform: scale(1); }
  100% { box-shadow: 0 8px 30px rgba(211, 47, 47, 0.45); transform: scale(1.015); }
}

.jackpot-label {
  color: #ffe4e6;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.jackpot-amount {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero-section {
  padding: 3.5rem 0 4rem 0;
  background: radial-gradient(circle at top center, rgba(200, 16, 24, 0.08) 0%, var(--bg-main) 75%);
  text-align: center;
  position: relative;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--accent-red-light);
  border: 1px solid var(--accent-red-border);
  color: var(--accent-red);
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: #0f172a;
}

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

.hero-description {
  max-width: 840px;
  margin: 0 auto 2rem auto;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.85;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-banner-box {
  margin: 2rem auto;
  max-width: 960px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid #cbd5e1;
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 860px;
  margin: 2rem auto 0 auto;
}

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

.stat-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-value {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--accent-red);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* Sections */
.section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--accent-red);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: #0f172a;
}

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

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

/* Cards */
.card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

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

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-red-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.card-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
  line-height: 1.75;
}

.card-footer {
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

/* Article Cards */
.article-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.article-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.article-card-image {
  height: 180px;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .article-card-image img {
  transform: scale(1.05);
}

.article-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-category {
  display: inline-block;
  color: var(--accent-red);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.article-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  color: #0f172a;
}

.article-title a:hover {
  color: var(--accent-red);
}

.article-excerpt {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  line-height: 1.65;
}

.article-meta {
  font-size: 0.82rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Article Detail Layout */
.article-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 2rem 0;
}

@media (min-width: 1024px) {
  .article-detail-layout {
    grid-template-columns: 2.5fr 1fr;
  }
}

.article-content {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .article-content {
    padding: 2.8rem;
  }
}

.article-content h1 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  color: #0f172a;
  line-height: 1.35;
}

.article-content h2 {
  font-size: 1.45rem;
  margin: 2.2rem 0 1rem 0;
  color: var(--accent-red);
  border-bottom: 2px solid var(--accent-red-border);
  padding-bottom: 0.4rem;
}

.article-content h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem 0;
  color: #1e293b;
}

.article-content p {
  margin-bottom: 1.25rem;
  color: #334155;
  line-height: 1.85;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  color: #334155;
}

.article-content li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
}

.info-box, .warning-box {
  background: #f8fafc;
  border-left: 4px solid var(--accent-red);
  padding: 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.warning-box {
  background: var(--accent-red-light);
  border-left-color: #b71c1c;
}

.info-box h3, .info-box h4, .warning-box h3, .warning-box h4 {
  margin-top: 0 !important;
  margin-bottom: 0.5rem !important;
  color: var(--accent-red) !important;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
}

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

th, td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color);
}

th {
  background: rgba(200, 16, 24, 0.08);
  color: var(--accent-red);
  font-weight: 600;
}

td {
  background: #ffffff;
  color: #334155;
}

/* Sidebar */
.sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--accent-red);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.5rem;
}

.recent-post-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.recent-post-link {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.recent-post-link:hover {
  color: var(--accent-red);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-item {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.tag-item:hover, .tag-item.active {
  border-color: var(--accent-red);
  color: var(--accent-red);
  background: var(--accent-red-light);
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-icon {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
  color: var(--accent-red);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: none;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  display: block;
}

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

/* Breadcrumb */
.breadcrumb {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

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

.breadcrumb a:hover {
  color: var(--accent-red);
}

.breadcrumb span {
  color: var(--accent-red);
  font-weight: 500;
}

/* Article CTA Box */
.article-cta-box {
  background: linear-gradient(135deg, rgba(200, 16, 24, 0.06), rgba(200, 16, 24, 0.12));
  border: 2px solid var(--accent-red-border);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  margin: 2.5rem 0 1.5rem 0;
  text-align: center;
}

.article-cta-box h3 {
  font-size: 1.55rem;
  margin-bottom: 0.75rem;
  color: var(--accent-red);
}

.article-cta-box p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
}

/* Search input */
.search-box {
  position: relative;
  margin-bottom: 1.5rem;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  font-family: var(--font-family);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  background: #ffffff;
}

.search-input:focus {
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px rgba(200, 16, 24, 0.15);
}

.search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

/* Footer: Deep Slate Grey Grounding Base */
.site-footer {
  background: #0f172a;
  border-top: 3px solid var(--accent-red);
  padding: 4rem 0 2rem 0;
  color: #94a3b8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.2fr;
  }
}

.footer-brand .brand-logo {
  color: #ffffff;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.7;
}

.footer-title {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-link {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-link:hover {
  color: #f87171;
}

.bank-logos-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.bank-badge {
  background: #1e293b;
  border: 1px solid #334155;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  color: #e2e8f0;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 1.5rem;
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.75rem;
  line-height: 1.6;
}
