/* ===================================================================
   BrandHub - Modern Dark Theme Brand Directory Stylesheet
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@600;700;800;900&family=Plus+Jakarta+Sans:wght@700;800&family=Unbounded:wght@700;800;900&display=swap&subset=latin,latin-ext');

:root {
  /* Color Palette */
  --bg-base: #06080F;
  --bg-card: rgba(18, 24, 38, 0.72);
  --bg-card-hover: rgba(26, 34, 54, 0.85);
  --border-card: rgba(255, 255, 255, 0.07);
  --border-card-hover: rgba(129, 140, 248, 0.4);
  
  --primary-accent: #6366F1;
  --primary-gradient: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #EC4899 100%);
  --glow-accent: rgba(99, 102, 241, 0.25);
  
  --text-main: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  /* Typography */
  --font-brand: 'Unbounded', 'Outfit', sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Radii & Shadows */
  --radius-card: 20px;
  --radius-badge: 9999px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --shadow-card-hover: 0 20px 35px -8px rgba(0, 0, 0, 0.6), 0 0 25px -2px var(--glow-accent);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient Background Aurora / Glow Effects */
.bg-glow-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-top {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 30, 68, 0.15) 0%, rgba(255, 122, 0, 0.08) 35%, transparent 70%);
  filter: blur(80px);
}

.glow-bottom {
  position: absolute;
  bottom: -200px;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 230, 0, 0.09) 0%, transparent 65%);
  filter: blur(90px);
}

/* Page Layout */
.app-container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===================================================================
   Header & Centered Clickable Logo
   =================================================================== */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 1.25rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.35rem;
  border-radius: 14px;
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

.logo-link:hover {
  transform: translateY(-2px) scale(1.02);
  filter: drop-shadow(0 6px 22px rgba(255, 46, 85, 0.55));
}

.logo-link:active {
  transform: translateY(0) scale(0.99);
}

.site-logo-img {
  width: 240px;
  height: auto;
  max-width: 100%;
  display: block;
}

.header-subtext {
  margin-top: 0.35rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 400;
  max-width: 520px;
  line-height: 1.4;
}

/* ===================================================================
   Toolbar: Search & Category Filter
   =================================================================== */
.directory-toolbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  width: 100%;
}

.search-box-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.search-input {
  width: 100%;
  padding: 0.85rem 1.25rem 0.85rem 2.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-input:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.filter-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.category-chip {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-badge);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.category-chip:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text-main);
}

.category-chip.active {
  background: var(--primary-accent);
  border-color: var(--primary-accent);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.35);
}

.results-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===================================================================
   Brand Cards Grid
   Desktop: 4 columns
   Mobile: 2 columns
   =================================================================== */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
  gap: 1rem;
  width: 100%;
}

/* Brand Card Styling */
.brand-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 0.65rem 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-smooth), 
              box-shadow var(--transition-smooth), 
              border-color var(--transition-smooth),
              background var(--transition-smooth);
  position: relative;
  overflow: hidden;
  will-change: transform;
}

/* Card Subtle Ambient Gradient Sheen */
.brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: radial-gradient(circle at 50% -20px, rgba(255, 255, 255, 0.06), transparent 70%);
  pointer-events: none;
}

/* Hover Animation: Lift & Glowing Border */
.brand-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  box-shadow: var(--shadow-card-hover);
}

/* Brand Logo Image Wrapper & Link (Border removed, sits seamlessly on main card) */
.brand-logo-container {
  width: 100%;
  max-width: 112px;
  aspect-ratio: 1 / 1;
  margin-top: 0;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-smooth);
}

.brand-card:hover .brand-logo-container {
  transform: scale(1.05);
  border: none;
  box-shadow: none;
}

.brand-logo-container:hover {
  transform: scale(1.08) !important;
  border: none !important;
  box-shadow: none !important;
}

.brand-logo-container:active {
  transform: scale(0.96) !important;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: none;
  border-radius: 10px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
  transition: filter var(--transition-smooth);
}

.brand-card:hover .brand-logo {
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55));
}

/* Brand Content */
.brand-name {
  font-family: var(--font-brand);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #FFFFFF;
  margin-bottom: 0.42rem;
  line-height: 1.25;
  text-shadow: 0 1px 2px #000000, 0 3px 6px rgba(0, 0, 0, 0.95), 0 6px 14px rgba(0, 0, 0, 0.9);
  transition: all var(--transition-fast);
}

.brand-card:hover .brand-name {
  letter-spacing: 0.8px;
  transform: translateY(-1px);
}

/* Bonus Description - Two-line Dark Green Neon Badge */
.brand-description {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  background: rgba(4, 120, 87, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.38);
  border-radius: 14px;
  padding: 0.48rem 1rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.18), inset 0 0 8px rgba(16, 185, 129, 0.08);
  width: 100%;
  max-width: 205px;
  text-align: center;
  transition: all var(--transition-fast);
}

.bonus-amount {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #00E676;
  text-shadow: 0 0 12px rgba(0, 230, 118, 0.8), 0 0 22px rgba(0, 200, 83, 0.5);
  line-height: 1.1;
}

.bonus-label {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 1.1px;
  color: #6EE7B7;
  text-transform: uppercase;
  text-shadow: 0 0 6px rgba(16, 185, 129, 0.65);
  line-height: 1.1;
}

.brand-card:hover .brand-description {
  background: rgba(4, 120, 87, 0.3);
  border-color: rgba(16, 185, 129, 0.65);
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.35), inset 0 0 10px rgba(16, 185, 129, 0.15);
  transform: translateY(-2px);
}

.brand-card:hover .bonus-amount {
  color: #38EF7D;
  text-shadow: 0 0 14px rgba(0, 230, 118, 0.95), 0 0 26px rgba(56, 239, 125, 0.65);
}

.brand-card:hover .bonus-label {
  color: #A7F3D0;
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.9);
}

/* ===================================================================
   Brand Card Custom Soft Logo-Tuned Gradients
   =================================================================== */
/* 1. Grandpashabet - Soft Gold/Amber */
#brand-card-1 {
  background: linear-gradient(165deg, rgba(234, 179, 8, 0.16) 0%, rgba(217, 119, 6, 0.08) 35%, rgba(19, 18, 26, 0.94) 70%, rgba(11, 12, 18, 0.98) 100%);
  border-color: rgba(234, 179, 8, 0.25);
}
#brand-card-1::before {
  background: radial-gradient(circle at 50% -20px, rgba(234, 179, 8, 0.22), transparent 70%);
}
#brand-card-1 .brand-name {
  color: #FDE047;
  text-shadow: 0 1px 2px #000000, 0 3px 6px rgba(0, 0, 0, 0.95), 0 6px 14px rgba(0, 0, 0, 0.9), 0 0 12px rgba(234, 179, 8, 0.35);
}
#brand-card-1:hover {
  background: linear-gradient(165deg, rgba(234, 179, 8, 0.26) 0%, rgba(217, 119, 6, 0.14) 40%, rgba(24, 22, 32, 0.96) 75%, rgba(13, 14, 22, 0.99) 100%);
  border-color: rgba(234, 179, 8, 0.5);
  box-shadow: 0 12px 32px rgba(234, 179, 8, 0.18);
}
#brand-card-1:hover .brand-name {
  color: #FEF08A;
  text-shadow: 0 1px 2px #000000, 0 4px 8px rgba(0, 0, 0, 0.95), 0 8px 18px rgba(0, 0, 0, 0.95), 0 0 20px rgba(234, 179, 8, 0.65);
}

/* 2. Marsbahis - Soft Crimson Red */
#brand-card-2 {
  background: linear-gradient(165deg, rgba(239, 68, 68, 0.16) 0%, rgba(185, 28, 28, 0.08) 35%, rgba(25, 16, 22, 0.94) 70%, rgba(12, 10, 15, 0.98) 100%);
  border-color: rgba(239, 68, 68, 0.25);
}
#brand-card-2::before {
  background: radial-gradient(circle at 50% -20px, rgba(239, 68, 68, 0.22), transparent 70%);
}
#brand-card-2 .brand-name {
  color: #FDA4AF;
  text-shadow: 0 1px 2px #000000, 0 3px 6px rgba(0, 0, 0, 0.95), 0 6px 14px rgba(0, 0, 0, 0.9), 0 0 12px rgba(239, 68, 68, 0.35);
}
#brand-card-2:hover {
  background: linear-gradient(165deg, rgba(239, 68, 68, 0.26) 0%, rgba(185, 28, 28, 0.14) 40%, rgba(32, 18, 26, 0.96) 75%, rgba(16, 11, 18, 0.99) 100%);
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 12px 32px rgba(239, 68, 68, 0.18);
}
#brand-card-2:hover .brand-name {
  color: #FECDD3;
  text-shadow: 0 1px 2px #000000, 0 4px 8px rgba(0, 0, 0, 0.95), 0 8px 18px rgba(0, 0, 0, 0.95), 0 0 20px rgba(239, 68, 68, 0.65);
}

/* 3. Betist - Soft Cyan / Blue */
#brand-card-3 {
  background: linear-gradient(165deg, rgba(6, 182, 212, 0.16) 0%, rgba(14, 116, 144, 0.08) 35%, rgba(14, 22, 34, 0.94) 70%, rgba(9, 14, 24, 0.98) 100%);
  border-color: rgba(6, 182, 212, 0.25);
}
#brand-card-3::before {
  background: radial-gradient(circle at 50% -20px, rgba(6, 182, 212, 0.22), transparent 70%);
}
#brand-card-3 .brand-name {
  color: #67E8F9;
  text-shadow: 0 1px 2px #000000, 0 3px 6px rgba(0, 0, 0, 0.95), 0 6px 14px rgba(0, 0, 0, 0.9), 0 0 12px rgba(6, 182, 212, 0.35);
}
#brand-card-3:hover {
  background: linear-gradient(165deg, rgba(6, 182, 212, 0.26) 0%, rgba(14, 116, 144, 0.14) 40%, rgba(18, 28, 44, 0.96) 75%, rgba(11, 17, 30, 0.99) 100%);
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 12px 32px rgba(6, 182, 212, 0.18);
}
#brand-card-3:hover .brand-name {
  color: #A5F3FC;
  text-shadow: 0 1px 2px #000000, 0 4px 8px rgba(0, 0, 0, 0.95), 0 8px 18px rgba(0, 0, 0, 0.95), 0 0 20px rgba(6, 182, 212, 0.65);
}

/* 4. Jasino - Soft Emerald Green */
#brand-card-4 {
  background: linear-gradient(165deg, rgba(16, 185, 129, 0.16) 0%, rgba(5, 150, 105, 0.08) 35%, rgba(12, 25, 21, 0.94) 70%, rgba(8, 16, 14, 0.98) 100%);
  border-color: rgba(16, 185, 129, 0.25);
}
#brand-card-4::before {
  background: radial-gradient(circle at 50% -20px, rgba(16, 185, 129, 0.22), transparent 70%);
}
#brand-card-4 .brand-name {
  color: #6EE7B7;
  text-shadow: 0 1px 2px #000000, 0 3px 6px rgba(0, 0, 0, 0.95), 0 6px 14px rgba(0, 0, 0, 0.9), 0 0 12px rgba(16, 185, 129, 0.35);
}
#brand-card-4:hover {
  background: linear-gradient(165deg, rgba(16, 185, 129, 0.26) 0%, rgba(5, 150, 105, 0.14) 40%, rgba(15, 32, 26, 0.96) 75%, rgba(10, 20, 17, 0.99) 100%);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.18);
}
#brand-card-4:hover .brand-name {
  color: #A7F3D0;
  text-shadow: 0 1px 2px #000000, 0 4px 8px rgba(0, 0, 0, 0.95), 0 8px 18px rgba(0, 0, 0, 0.95), 0 0 20px rgba(16, 185, 129, 0.65);
}

/* 5. Betandyou - Soft Amber / Golden Orange */
#brand-card-5 {
  background: linear-gradient(165deg, rgba(245, 158, 11, 0.16) 0%, rgba(217, 119, 6, 0.08) 35%, rgba(24, 19, 16, 0.94) 70%, rgba(14, 12, 10, 0.98) 100%);
  border-color: rgba(245, 158, 11, 0.25);
}
#brand-card-5::before {
  background: radial-gradient(circle at 50% -20px, rgba(245, 158, 11, 0.22), transparent 70%);
}
#brand-card-5 .brand-name {
  color: #FCD34D;
  text-shadow: 0 1px 2px #000000, 0 3px 6px rgba(0, 0, 0, 0.95), 0 6px 14px rgba(0, 0, 0, 0.9), 0 0 12px rgba(245, 158, 11, 0.35);
}
#brand-card-5:hover {
  background: linear-gradient(165deg, rgba(245, 158, 11, 0.26) 0%, rgba(217, 119, 6, 0.14) 40%, rgba(32, 24, 18, 0.96) 75%, rgba(18, 14, 12, 0.99) 100%);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.18);
}
#brand-card-5:hover .brand-name {
  color: #FDE68A;
  text-shadow: 0 1px 2px #000000, 0 4px 8px rgba(0, 0, 0, 0.95), 0 8px 18px rgba(0, 0, 0, 0.95), 0 0 20px rgba(245, 158, 11, 0.65);
}

/* 6. Vippari - Soft Violet / Purple */
#brand-card-6 {
  background: linear-gradient(165deg, rgba(168, 85, 247, 0.16) 0%, rgba(126, 34, 206, 0.08) 35%, rgba(23, 16, 32, 0.94) 70%, rgba(13, 10, 20, 0.98) 100%);
  border-color: rgba(168, 85, 247, 0.25);
}
#brand-card-6::before {
  background: radial-gradient(circle at 50% -20px, rgba(168, 85, 247, 0.22), transparent 70%);
}
#brand-card-6 .brand-name {
  color: #D8B4FE;
  text-shadow: 0 1px 2px #000000, 0 3px 6px rgba(0, 0, 0, 0.95), 0 6px 14px rgba(0, 0, 0, 0.9), 0 0 12px rgba(168, 85, 247, 0.35);
}
#brand-card-6:hover {
  background: linear-gradient(165deg, rgba(168, 85, 247, 0.26) 0%, rgba(126, 34, 206, 0.14) 40%, rgba(30, 19, 44, 0.96) 75%, rgba(17, 12, 26, 0.99) 100%);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.18);
}
#brand-card-6:hover .brand-name {
  color: #F3E8FF;
  text-shadow: 0 1px 2px #000000, 0 4px 8px rgba(0, 0, 0, 0.95), 0 8px 18px rgba(0, 0, 0, 0.95), 0 0 20px rgba(168, 85, 247, 0.65);
}

/* 7. Betmatik - Soft Warm Orange */
#brand-card-7 {
  background: linear-gradient(165deg, rgba(249, 115, 22, 0.16) 0%, rgba(194, 65, 12, 0.08) 35%, rgba(26, 17, 13, 0.94) 70%, rgba(15, 11, 9, 0.98) 100%);
  border-color: rgba(249, 115, 22, 0.25);
}
#brand-card-7::before {
  background: radial-gradient(circle at 50% -20px, rgba(249, 115, 22, 0.22), transparent 70%);
}
#brand-card-7 .brand-name {
  color: #FDBA74;
  text-shadow: 0 1px 2px #000000, 0 3px 6px rgba(0, 0, 0, 0.95), 0 6px 14px rgba(0, 0, 0, 0.9), 0 0 12px rgba(249, 115, 22, 0.35);
}
#brand-card-7:hover {
  background: linear-gradient(165deg, rgba(249, 115, 22, 0.26) 0%, rgba(194, 65, 12, 0.14) 40%, rgba(34, 21, 16, 0.96) 75%, rgba(18, 12, 10, 0.99) 100%);
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.18);
}
#brand-card-7:hover .brand-name {
  color: #FED7AA;
  text-shadow: 0 1px 2px #000000, 0 4px 8px rgba(0, 0, 0, 0.95), 0 8px 18px rgba(0, 0, 0, 0.95), 0 0 20px rgba(249, 115, 22, 0.65);
}

/* 8. Casher - Soft Mint / Teal */
#brand-card-8 {
  background: linear-gradient(165deg, rgba(20, 184, 166, 0.16) 0%, rgba(13, 148, 136, 0.08) 35%, rgba(12, 25, 25, 0.94) 70%, rgba(8, 16, 16, 0.98) 100%);
  border-color: rgba(20, 184, 166, 0.25);
}
#brand-card-8::before {
  background: radial-gradient(circle at 50% -20px, rgba(20, 184, 166, 0.22), transparent 70%);
}
#brand-card-8 .brand-name {
  color: #5EEAD4;
  text-shadow: 0 1px 2px #000000, 0 3px 6px rgba(0, 0, 0, 0.95), 0 6px 14px rgba(0, 0, 0, 0.9), 0 0 12px rgba(20, 184, 166, 0.35);
}
#brand-card-8:hover {
  background: linear-gradient(165deg, rgba(20, 184, 166, 0.26) 0%, rgba(13, 148, 136, 0.14) 40%, rgba(16, 32, 32, 0.96) 75%, rgba(10, 19, 19, 0.99) 100%);
  border-color: rgba(20, 184, 166, 0.5);
  box-shadow: 0 12px 32px rgba(20, 184, 166, 0.18);
}
#brand-card-8:hover .brand-name {
  color: #99F6E4;
  text-shadow: 0 1px 2px #000000, 0 4px 8px rgba(0, 0, 0, 0.95), 0 8px 18px rgba(0, 0, 0, 0.95), 0 0 20px rgba(20, 184, 166, 0.65);
}

/* ===================================================================
   Compact "HEMEN GİT" Button (Text-Fit)
   =================================================================== */
.brand-btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: auto;
  padding: 0.32rem 0.85rem;
  margin-top: auto;
  border-radius: 9999px;
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #9333EA 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
  cursor: pointer;
  user-select: none;
}

.brand-btn-link .btn-arrow {
  width: 10px;
  height: 10px;
  transition: transform var(--transition-fast);
}

.brand-btn-link:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.55);
  filter: brightness(1.1);
}

.brand-btn-link:hover .btn-arrow {
  transform: translate(1px, -1px);
}

.brand-btn-link:active {
  transform: translateY(0) scale(0.97);
}

.brand-btn-link:focus-visible {
  outline: 2px solid var(--primary-accent);
  outline-offset: 3px;
}

/* ===================================================================
   Empty State & Loading States
   =================================================================== */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-muted);
}

.empty-state-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.loading-skeleton {
  min-height: 280px;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0.3; }
}

/* ===================================================================
   Community & Telegram VIP Block with Neon Ticker Signboard
   =================================================================== */
.community-block {
  margin-top: 2.25rem;
  margin-bottom: 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.28);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 240, 255, 0.12);
  background: rgba(14, 20, 34, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
}

/* -------------------------------------------------------------
   Neon Signboard Ticker (Top Bar)
   ------------------------------------------------------------- */
.neon-ticker-banner {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #050b16 0%, #081628 50%, #050b16 100%);
  border-bottom: 1px solid rgba(0, 240, 255, 0.35);
  padding: 0.65rem 0.85rem;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -1px 12px rgba(0, 240, 255, 0.15), 0 2px 14px rgba(0, 0, 0, 0.5);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.neon-ticker-banner:hover {
  border-bottom-color: rgba(0, 240, 255, 0.7);
  box-shadow: inset 0 -1px 18px rgba(0, 240, 255, 0.28), 0 4px 20px rgba(0, 240, 255, 0.2);
}

/* Neon Ticker Label Badge */
.neon-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.5);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-family: var(--font-brand);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #38BDF8;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 0.85rem;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
}

.neon-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00F0FF;
  box-shadow: 0 0 8px #00F0FF, 0 0 14px #00F0FF;
  animation: neon-dot-blink 1.2s infinite ease-in-out;
}

@keyframes neon-dot-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

/* Neon Marquee Track & Animation */
.neon-marquee-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.neon-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: neon-marquee-scroll 34s linear infinite;
}

.neon-ticker-banner:hover .neon-marquee-track {
  animation-play-state: paused;
}

@keyframes neon-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.neon-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding-right: 3rem;
  font-family: var(--font-brand);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
  color: #38BDF8;
  text-shadow: 0 0 6px rgba(56, 189, 248, 0.85), 
               0 0 14px rgba(14, 165, 233, 0.65), 
               0 0 28px rgba(2, 132, 199, 0.45);
}

.neon-star {
  color: #FACC15;
  text-shadow: 0 0 8px rgba(250, 204, 21, 0.9), 0 0 16px rgba(234, 179, 8, 0.6);
  font-size: 1rem;
}

/* -------------------------------------------------------------
   Community Card Body
   ------------------------------------------------------------- */
.community-card {
  padding: 1.6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(17, 24, 39, 0.95) 100%);
}

.community-card-glow {
  position: absolute;
  top: 50%;
  left: 20%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 180px;
  background: radial-gradient(circle, rgba(0, 136, 204, 0.18) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.community-main {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex: 1;
}

.community-icon-wrapper {
  flex-shrink: 0;
  filter: drop-shadow(0 6px 16px rgba(0, 136, 204, 0.4));
  transition: transform var(--transition-smooth);
}

.community-card:hover .community-icon-wrapper {
  transform: scale(1.06) rotate(-3deg);
}

.telegram-brand-svg {
  width: 58px;
  height: 58px;
  display: block;
}

.community-details {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.community-title {
  font-family: var(--font-brand);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.community-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.45;
  max-width: 580px;
}

.community-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.feature-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.28rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #E2E8F0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Telegram CTA Button */
.community-cta {
  flex-shrink: 0;
}

.telegram-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.6rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #0088CC 0%, #0099E6 50%, #00A6F4 100%);
  color: #FFFFFF;
  font-family: var(--font-brand);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(0, 136, 204, 0.45), 0 0 15px rgba(0, 166, 244, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.cta-tg-icon {
  width: 20px;
  height: 20px;
}

.cta-arrow {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.telegram-cta-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 28px rgba(0, 136, 204, 0.65), 0 0 25px rgba(0, 166, 244, 0.55);
  filter: brightness(1.1);
}

.telegram-cta-btn:hover .cta-arrow {
  transform: translate(2px, -2px);
}

.telegram-cta-btn:active {
  transform: translateY(0) scale(0.97);
}

/* ===================================================================
   SEO Directory Guide & FAQ Section
   =================================================================== */
.seo-guide-section {
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.seo-guide-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.seo-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.25rem;
}

.seo-pill {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 9999px;
  font-family: var(--font-brand);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #A5B4FC;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.seo-title {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.35;
  margin-bottom: 0.85rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.seo-intro {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.seo-intro strong {
  color: #FFFFFF;
}

.seo-intro em {
  color: #38BDF8;
  font-style: normal;
  font-weight: 600;
}

/* SEO Brand Links Grid */
.seo-brand-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.seo-brand-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.seo-brand-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.seo-brand-title {
  font-family: var(--font-brand);
  font-size: 0.88rem;
  font-weight: 800;
  color: #F8FAFC;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

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

.seo-brand-desc strong {
  color: var(--text-secondary);
}

.seo-link {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: #38BDF8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.seo-link:hover {
  color: #7DD3FC;
  transform: translateX(3px);
}

/* FAQ Accordion Section */
.seo-faq-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
}

.seo-faq-heading {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 1.25rem;
}

.seo-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item[open] {
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(255, 255, 255, 0.045);
}

.faq-question {
  padding: 0.9rem 1.15rem;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #F1F5F9;
  cursor: pointer;
  user-select: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: #38BDF8;
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 1.15rem 1rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ===================================================================
   Footer
   =================================================================== */
.site-footer {
  margin-top: auto;
  padding-top: 4rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.site-footer a:hover {
  color: #FFFFFF;
}

/* ===================================================================
   Responsive Breakpoints
   Desktop: 4 columns
   Mobile: 2 columns
   =================================================================== */

/* Tablet (medium screen adjustments) */
@media (max-width: 1024px) and (min-width: 769px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

/* Mobile: Exactly 2 columns as requested */
@media (max-width: 768px) {
  .app-container {
    padding: 1.5rem 0.85rem 3rem;
  }

  .site-header {
    margin-bottom: 1.15rem;
  }

  .site-logo-img {
    width: 220px;
  }

  .header-subtext {
    font-size: 0.92rem;
  }

  .directory-toolbar {
    margin-bottom: 1.75rem;
    gap: 1rem;
  }

  /* 2 columns on mobile */
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .brand-card {
    padding: 0.6rem 0.5rem 0.65rem;
    border-radius: 14px;
  }

  .brand-logo-container {
    width: 100%;
    max-width: 95px;
    aspect-ratio: 1 / 1;
    margin-bottom: 0.4rem;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .brand-name {
    font-size: 0.80rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    margin-bottom: 0.3rem;
  }

  .brand-description {
    max-width: 145px;
    padding: 0.35rem 0.55rem;
    gap: 0.12rem;
    border-radius: 11px;
    margin-bottom: 0.55rem;
  }

  .bonus-amount {
    font-size: 1.2rem;
  }

  .bonus-label {
    font-size: 0.65rem;
    letter-spacing: 0.6px;
  }

  .brand-btn-link {
    width: auto;
    padding: 0.28rem 0.7rem;
    font-size: 0.66rem;
  }

  /* Community Block Mobile */
  .community-block {
    margin-top: 1.75rem;
    margin-bottom: 1.5rem;
    border-radius: 16px;
  }

  .neon-ticker-banner {
    padding: 0.5rem 0.65rem;
  }

  .neon-ticker-badge {
    padding: 0.22rem 0.55rem;
    font-size: 0.62rem;
    margin-right: 0.5rem;
  }

  .neon-marquee-item {
    font-size: 0.74rem;
    letter-spacing: 0.8px;
    padding-right: 2rem;
  }

  .community-card {
    padding: 1.25rem 1rem;
    flex-direction: column;
    text-align: center;
    gap: 1.15rem;
  }

  .community-main {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }

  .community-details {
    align-items: center;
  }

  .community-title {
    font-size: 1.05rem;
  }

  .community-desc {
    font-size: 0.84rem;
  }

  .community-features {
    justify-content: center;
    gap: 0.35rem;
  }

  .feature-tag {
    font-size: 0.7rem;
    padding: 0.22rem 0.55rem;
  }

  .community-cta {
    width: 100%;
  }

  .telegram-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
  }

  /* SEO Guide Section Mobile */
  .seo-guide-section {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
  }

  .seo-guide-card {
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }

  .seo-header {
    margin-bottom: 1.5rem;
  }

  .seo-title {
    font-size: 1.15rem;
  }

  .seo-intro {
    font-size: 0.84rem;
  }

  .seo-brand-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.75rem;
  }

  .seo-brand-item {
    padding: 0.85rem 0.75rem;
  }

  .seo-brand-title {
    font-size: 0.8rem;
  }

  .seo-brand-desc {
    font-size: 0.74rem;
    margin-bottom: 0.6rem;
  }

  .seo-link {
    font-size: 0.74rem;
  }

  .seo-faq-heading {
    font-size: 1.05rem;
    margin-bottom: 1rem;
  }

  .faq-question {
    font-size: 0.84rem;
    padding: 0.75rem 0.9rem;
  }

  .faq-answer {
    font-size: 0.78rem;
    padding: 0 0.9rem 0.85rem;
  }
}

/* Extra small mobile screens: still keep 2 columns cleanly fitting */
@media (max-width: 420px) {
  .brands-grid {
    gap: 0.5rem;
  }

  .brand-card {
    padding: 0.5rem 0.4rem 0.55rem;
    border-radius: 12px;
  }

  .brand-logo-container {
    width: 100%;
    max-width: 82px;
    aspect-ratio: 1 / 1;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    margin-bottom: 0.3rem;
  }

  .brand-name {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.25px;
    margin-bottom: 0.25rem;
  }

  .brand-description {
    max-width: 130px;
    padding: 0.28rem 0.45rem;
    gap: 0.1rem;
    border-radius: 9px;
    margin-bottom: 0.45rem;
  }

  .bonus-amount {
    font-size: 1.08rem;
  }

  .bonus-label {
    font-size: 0.58rem;
    letter-spacing: 0.5px;
  }

  .brand-btn-link {
    width: auto;
    padding: 0.24rem 0.6rem;
    font-size: 0.62rem;
  }

  .community-title {
    font-size: 0.96rem;
  }

  .neon-marquee-item {
    font-size: 0.68rem;
    letter-spacing: 0.6px;
  }

  .telegram-cta-btn {
    font-size: 0.76rem;
    padding: 0.7rem 1rem;
  }

  .seo-brand-links-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .seo-title {
    font-size: 1.05rem;
  }
}
