/* ============================================
   BONUSOLOJI - PREMIUM DESIGN SYSTEM v2.0
   Modern, Professional, Cyber-Neon Theme
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
  /* Core Colors - Unchanged */
  --bg: #070b0d;
  --panel: #0b1114;
  --panel-2: #0e1519;
  --line: #10231a;
  --fg: #f4fff6;
  --muted: #9fe0b3;
  --accent: #52ff75;
  --accent-2: #baff3b;
  --accent-3: #00ffd0;
  --glow: #5cff7a;
  --danger: #ff2e63;

  /* Extended Palette */
  --accent-dim: rgba(82, 255, 117, 0.15);
  --accent-glow: rgba(82, 255, 117, 0.4);
  --gold: #ffd700;
  --gold-dim: rgba(255, 215, 0, 0.15);

  /* Spacing System */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --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);
  --shadow-glow: 0 0 30px rgba(82, 255, 117, 0.2);
  --shadow-glow-strong: 0 0 50px rgba(82, 255, 117, 0.35);

  /* Scrollbar */
  --scrollbar-track: var(--panel-2);
  --scrollbar-track-border: rgba(146, 255, 185, 0.16);
  --scrollbar-thumb: var(--accent);
  --scrollbar-thumb-2: var(--accent-2);
  --scrollbar-thumb-3: var(--accent-3);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: transparent;
  color: var(--fg);
  line-height: 1.6;
  letter-spacing: 0.2px;
  position: relative;
}

/* ===== ANIMATED BACKGROUND ===== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(15, 43, 33, 0.8) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(11, 28, 22, 0.6) 0%, transparent 50%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(8, 20, 16, 0.4) 0%, transparent 50%),
    linear-gradient(180deg, #050708 0%, #070a0c 50%, #090e10 100%);
}

/* Animated Gradient Orbs */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle 400px at 10% 20%, rgba(82, 255, 117, 0.03) 0%, transparent 50%),
    radial-gradient(circle 300px at 90% 80%, rgba(0, 255, 208, 0.03) 0%, transparent 50%),
    radial-gradient(circle 350px at 50% 50%, rgba(186, 255, 59, 0.02) 0%, transparent 50%);
  animation: orbFloat 20s ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Sparkle Effect */
.spark {
  position: fixed;
  pointer-events: none;
  inset: 0;
  z-index: 0;
  opacity: 0.3;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 20%, rgba(131, 255, 187, 0.5) 50%, transparent),
    radial-gradient(1px 1px at 30% 60%, rgba(186, 255, 59, 0.4) 50%, transparent),
    radial-gradient(2px 2px at 60% 30%, rgba(0, 255, 208, 0.45) 50%, transparent),
    radial-gradient(1.5px 1.5px at 80% 70%, rgba(82, 255, 117, 0.4) 50%, transparent),
    radial-gradient(1px 1px at 90% 10%, rgba(186, 255, 59, 0.35) 50%, transparent);
  animation: sparkleShift 30s linear infinite;
}

@keyframes sparkleShift {
  0% { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 100px 200px, -150px 100px, 200px -100px, -100px 150px, 150px -200px; }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: "Orbitron", ui-rounded, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

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

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

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding: var(--space-lg);
}

/* ===== SITE HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1001;
  padding: 0;
  background: linear-gradient(180deg, rgba(7, 11, 13, 0.97), rgba(7, 11, 13, 0.93));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: all var(--transition-base);
  border-bottom: 1px solid rgba(146, 255, 185, 0.1);
}

/* ===== TOP BANNER (below header) ===== */
.top-banners {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 1200px;
  margin: var(--space-md) auto;
  padding: 0 var(--space-lg);
}

.top-banner .banner-link {
  display: block;
  text-decoration: none;
  width: 100%;
}

/* Image Banner */
.top-banner .banner-image {
  width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  border-radius: var(--radius-md);
}

/* Button Banner */
.top-banner .banner-button {
  display: block;
  width: 100%;
  padding: 10px 20px;
  background: linear-gradient(270deg, #ff0080, #ff8c00, #40e0d0, #7b68ee, #ff0080);
  background-size: 400% 400%;
  border: none;
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-align: center;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  animation: bannerRainbow 3s ease infinite, bannerPulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(255, 0, 128, 0.4), 0 0 30px rgba(255, 140, 0, 0.3);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.animated-banner {
  display: block !important;
  width: 100% !important;
  padding: 10px 16px !important;
  background: linear-gradient(270deg, #1a1000, #2d1a00, #1a1000, #2d1a00, #1a1000) !important;
  background-size: 400% 400% !important;
  border: none !important;
  border-radius: var(--radius-md) !important;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  letter-spacing: 1px !important;
  text-align: center !important;
  text-transform: uppercase !important;
  position: relative !important;
  overflow: hidden !important;
  animation: bannerGradient 4s ease infinite, bannerPulse 1.5s ease-in-out infinite !important;
  text-shadow: 0 0 6px rgba(255,165,0,0.6), 0 0 12px rgba(255,140,0,0.3) !important;
}

.animated-banner::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 50% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.4), rgba(255,255,255,0.3), rgba(255,215,0,0.4), transparent) !important;
  animation: bannerShine 2s linear infinite !important;
}

@keyframes bannerGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Parlak ışık geçişi */
.top-banner .banner-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  animation: bannerShine 1.5s linear infinite;
}

.top-banner .banner-button:hover {
  transform: scale(1.01);
  box-shadow: 0 0 25px rgba(255, 0, 128, 0.6), 0 0 50px rgba(255, 140, 0, 0.4);
}

/* Rainbow gradient animasyonu */
@keyframes bannerRainbow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Nabız atma efekti */
@keyframes bannerPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(255, 0, 128, 0.4), 0 0 30px rgba(255, 140, 0, 0.3);
  }
  50% {
    transform: scale(1.01);
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.6), 0 0 40px rgba(255, 140, 0, 0.5), 0 0 60px rgba(64, 224, 208, 0.3);
  }
}

/* Parlak ışık geçişi */
@keyframes bannerShine {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* Mobile Banner */
@media (max-width: 860px) {
  .top-banners {
    margin: var(--space-sm) auto;
    padding: 0 var(--space-sm);
  }

  .top-banner .banner-button {
    padding: 14px 16px;
    font-size: 14px;
    letter-spacing: 1px;
  }

  .top-banner .banner-image {
    max-height: 50px;
    object-fit: cover;
  }

  .animated-banner {
    padding: 10px 12px !important;
    font-size: 13px !important;
    letter-spacing: 0.5px !important;
  }
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-lg);
  min-height: 64px;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.logo-link .brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-link .brand .logo {
  width: 46px;
  height: 46px;
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
  filter: drop-shadow(0 0 8px rgba(82, 255, 117, 0.5));
}

.logo-link:hover .brand .logo {
  transform: scale(1.08) rotate(-5deg);
  filter: drop-shadow(0 0 15px rgba(82, 255, 117, 0.7));
}

.logo-link .brand h1 {
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(82, 255, 117, 0.3);
  position: relative;
}

/* Navigation */
.main-nav {
  margin-left: auto;
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.chip-nav {
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(146, 255, 185, 0.2);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  color: var(--fg);
  background: linear-gradient(180deg, rgba(14, 24, 20, 0.9), rgba(10, 16, 14, 0.95));
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  white-space: nowrap;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.chip-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(82, 255, 117, 0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.chip-nav:hover {
  border-color: rgba(146, 255, 185, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(82, 255, 117, 0.15);
}

.chip-nav:hover::before {
  opacity: 1;
}

.chip-nav.active {
  border-color: rgba(82, 255, 117, 0.6);
  box-shadow: 0 0 0 1px rgba(82, 255, 117, 0.25) inset, 0 4px 20px rgba(82, 255, 117, 0.2);
  background: linear-gradient(180deg, rgba(15, 35, 22, 0.95), rgba(10, 25, 16, 0.98));
  color: var(--accent);
}

/* Header Search - Toggle Style */
.header-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(146, 255, 185, 0.25);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(14, 24, 20, 0.95), rgba(10, 16, 14, 0.98));
  cursor: pointer;
  transition: all var(--transition-base);
}

.search-toggle:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(82, 255, 117, 0.2);
}

.search-toggle svg {
  color: var(--fg);
  opacity: 0.9;
}

.header-search-wrapper.open .search-toggle {
  display: none;
}

.header-search {
  display: none;
  align-items: center;
  gap: var(--space-sm);
  background: linear-gradient(180deg, rgba(10, 18, 14, 0.95), rgba(6, 10, 8, 0.98));
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  box-shadow: 0 4px 30px rgba(82, 255, 117, 0.15);
  animation: searchSlideIn 0.2s ease-out;
}

@keyframes searchSlideIn {
  from {
    opacity: 0;
    width: 42px;
  }
  to {
    opacity: 1;
    width: 280px;
  }
}

.header-search-wrapper.open .header-search {
  display: flex;
}

.header-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 25px rgba(82, 255, 117, 0.2);
}

.header-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: var(--fg);
  font-size: 14px;
  min-width: 0;
}

.header-search input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.header-search svg {
  color: var(--accent);
  opacity: 0.9;
  flex-shrink: 0;
}

.search-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(146, 255, 185, 0.1);
  cursor: pointer;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.search-close:hover {
  background: rgba(146, 255, 185, 0.2);
}

.search-close i {
  color: var(--muted);
  font-size: 14px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(146, 255, 185, 0.25);
  background: linear-gradient(180deg, rgba(14, 24, 20, 0.95), rgba(10, 16, 14, 0.98));
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
}

.menu-toggle:hover {
  border-color: rgba(82, 255, 117, 0.5);
  box-shadow: 0 0 20px rgba(82, 255, 117, 0.15);
}

.menu-toggle i {
  color: var(--fg);
  font-size: 20px;
}

.mobile-panel {
  display: none;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

/* Invisible bridge to prevent hover gap */
.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 20px;
  background: transparent;
}

.nav-dropdown .dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-dropdown .dropdown-toggle .caret {
  transition: transform var(--transition-smooth);
  font-size: 10px;
}

.nav-dropdown:hover .dropdown-toggle .caret {
  transform: rotate(180deg);
  color: var(--accent);
}

.nav-dropdown:hover .dropdown-toggle {
  color: var(--accent);
}

.nav-dropdown .dropdown-panel {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 12px);
  z-index: 100;
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, rgba(10, 16, 14, 0.98), rgba(6, 10, 8, 0.99));
  border: 1px solid rgba(82, 255, 117, 0.15);
  box-shadow:
    0 0 0 1px rgba(82, 255, 117, 0.08) inset,
    0 25px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(82, 255, 117, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  min-width: 520px;
  max-width: min(95vw, 640px);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all var(--transition-smooth);
}

.nav-dropdown .dropdown-panel::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 8px solid rgba(82, 255, 117, 0.15);
}

.nav-dropdown .dropdown-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(82, 255, 117, 0.3), transparent);
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Tüm Bonuslar button - full width at top */
.nav-dropdown .dropdown-panel .dropdown-all-btn {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(82, 255, 117, 0.15), rgba(0, 255, 208, 0.08));
  border: 1px solid rgba(82, 255, 117, 0.3);
  color: var(--accent);
  transition: all var(--transition-base);
  white-space: nowrap;
  min-height: 44px;
  margin-bottom: var(--space-xs);
}

.nav-dropdown .dropdown-panel .dropdown-all-btn:hover {
  background: linear-gradient(135deg, rgba(82, 255, 117, 0.25), rgba(0, 255, 208, 0.15));
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(82, 255, 117, 0.2);
}

.nav-dropdown .dropdown-panel .chip-nav:not(.dropdown-all-btn) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(14, 22, 18, 0.8), rgba(10, 16, 14, 0.9));
  border: 1px solid rgba(146, 255, 185, 0.1);
  transition: all var(--transition-base);
  white-space: normal;
  min-height: 40px;
  line-height: 1.2;
}

.nav-dropdown .dropdown-panel .chip-nav:not(.dropdown-all-btn):hover {
  background: linear-gradient(180deg, rgba(20, 32, 26, 0.9), rgba(14, 22, 18, 0.95));
  border-color: rgba(82, 255, 117, 0.4);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(82, 255, 117, 0.1);
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ===== HERO SECTION ===== */
.header {
  position: relative;
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, rgba(12, 24, 18, 0.7), rgba(8, 14, 12, 0.6));
  border: 1px solid rgba(146, 255, 185, 0.1);
  box-shadow:
    0 0 0 1px rgba(146, 255, 185, 0.05) inset,
    0 10px 40px rgba(0, 0, 0, 0.3),
    0 0 60px rgba(82, 255, 117, 0.08);
  overflow: hidden;
}

/* Animated Border Glow */
.header::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-2xl);
  background: conic-gradient(
    from 0deg at 50% 50%,
    rgba(82, 255, 117, 0.2) 0%,
    transparent 15%,
    rgba(186, 255, 59, 0.15) 25%,
    transparent 40%,
    rgba(0, 255, 208, 0.15) 55%,
    transparent 70%,
    rgba(82, 255, 117, 0.2) 85%,
    transparent 100%
  );
  filter: blur(20px);
  opacity: 0.8;
  z-index: -1;
  animation: borderRotate 10s linear infinite;
}

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

/* Floating Shapes */
.header::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(82, 255, 117, 0.05) 0%, transparent 70%);
  animation: floatShape 15s ease-in-out infinite;
  pointer-events: none;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-20px, 30px) rotate(5deg); }
  66% { transform: translate(20px, -20px) rotate(-5deg); }
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.brand .logo {
  width: 56px;
  height: 56px;
  filter:
    drop-shadow(0 0 4px rgba(82, 255, 117, 0.8))
    drop-shadow(0 0 20px rgba(82, 255, 117, 0.5))
    drop-shadow(0 0 40px rgba(82, 255, 117, 0.3));
  transition: all var(--transition-smooth);
}

.brand h1 {
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 40%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(82, 255, 117, 0.4);
  position: relative;
}

.brand h2 {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 40%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.header p {
  margin: var(--space-sm) 0 0;
  color: var(--muted);
  font-size: 15px;
  position: relative;
  z-index: 1;
}

/* ===== CATEGORY BAR ===== */
.category-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-xs);
  margin: var(--space-xl) 0 var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(11, 17, 20, 0.5), rgba(7, 11, 13, 0.6));
  border: 1px solid rgba(146, 255, 185, 0.08);
}

.category-bar .cat-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(14, 24, 20, 0.8), rgba(10, 16, 14, 0.9));
  border: 1px solid rgba(146, 255, 185, 0.12);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.category-bar .cat-chip::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(82, 255, 117, 0.1), transparent);
  transition: left 0.4s ease;
}

.category-bar .cat-chip:hover::before {
  left: 100%;
}

.category-bar .cat-chip:hover {
  color: var(--fg);
  border-color: rgba(82, 255, 117, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(82, 255, 117, 0.15);
}

/* Bonuslar page: mobile dropdown hidden on desktop */
.bonuslar-cat-mobile {
  display: none;
}

/* ===== SITELER PAGE DESKTOP STYLES ===== */
.page-siteler .header .brand h1 { font-size: 25px; }
.page-siteler .brand-card { display: block; }
.page-siteler .brand-card .card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.page-siteler .brand-card .brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}
.page-siteler .brand-card .brand-logo a { display: block; width: 100%; height: 100%; }
.page-siteler .brand-card .brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.page-siteler .brand-card .brand-title { display: block; width: 100%; margin-left: auto; margin-right: auto; }
.page-siteler .brand-card .brand-title h3 { width: 100%; text-align: center; }
.page-siteler .brand-card .brand-title h3 a { display: inline-block; }
.page-siteler .brand-card .site-desc {
  display: none;
}
.page-siteler .brand-card .btn-telegram {
  display: none;
}
.page-siteler .brand-card .cta-row {
  justify-content: center;
  width: 100%;
  gap: 12px;
  margin-top: 10px;
}
.page-siteler .brand-card .cta-row .btn { flex: 0 0 auto; }

/* ===== GRID SYSTEM ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.grid-cat {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.grid.grid--single {
  grid-template-columns: clamp(280px, 45vw, 400px);
  justify-content: center;
}

/* ===== BRAND CARD ===== */
.brand-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, rgba(12, 18, 16, 0.95), rgba(8, 12, 10, 0.98));
  border: 1px solid rgba(146, 255, 185, 0.12);
  box-shadow:
    0 0 0 1px rgba(146, 255, 185, 0.04) inset,
    0 4px 20px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(82, 255, 117, 0.06);
  overflow: hidden;
  transition: all var(--transition-smooth);
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Card Glow Effect */
.brand-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-xl);
  background: conic-gradient(
    from 0deg at 50% 50%,
    rgba(82, 255, 117, 0.15) 0%,
    transparent 20%,
    rgba(0, 255, 208, 0.12) 40%,
    transparent 60%,
    rgba(186, 255, 59, 0.12) 80%,
    rgba(82, 255, 117, 0.15) 100%
  );
  filter: blur(15px);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  z-index: -1;
}

/* Shine Effect */
.brand-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.03),
    transparent
  );
  transition: left 0.6s ease;
  z-index: 2;
  pointer-events: none;
}

.brand-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  border-color: rgba(146, 255, 185, 0.25);
  box-shadow:
    0 0 0 1px rgba(146, 255, 185, 0.08) inset,
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(82, 255, 117, 0.15);
}

.brand-card:hover::before {
  opacity: 0.8;
}

.brand-card:hover::after {
  left: 150%;
}

/* Sponsor/Premium Card */
.brand-card-sp {
  background: linear-gradient(165deg, rgba(22, 18, 10, 0.95), rgba(14, 11, 7, 0.98));
  border: 1px solid rgba(255, 215, 0, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.15) inset,
    0 4px 30px rgba(0, 0, 0, 0.4),
    0 0 50px rgba(255, 200, 0, 0.12);
}

.brand-card-sp::before {
  background: conic-gradient(
    from 0deg at 50% 50%,
    rgba(255, 214, 86, 0.25) 0%,
    transparent 20%,
    rgba(255, 187, 0, 0.2) 40%,
    transparent 60%,
    rgba(255, 230, 120, 0.25) 80%,
    rgba(255, 214, 86, 0.25) 100%
  );
  opacity: 0.6;
}

.brand-card-sp:hover {
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.2) inset,
    0 25px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(255, 200, 0, 0.25);
}

.brand-card-sp:hover::before {
  opacity: 1;
}

/* Card Inner */
.card-inner {
  position: relative;
  z-index: 1;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Card Logo Area */
.brand-card .brand-logo {
  margin: var(--space-sm) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(20, 30, 26, 0.8), rgba(14, 22, 18, 0.9));
  border: 1px solid rgba(146, 255, 185, 0.15);
  box-shadow:
    0 0 0 1px rgba(146, 255, 185, 0.05) inset,
    0 4px 15px rgba(0, 0, 0, 0.2);
  height: 220px;
  position: relative;
}

.brand-card .brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
}

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

/* Premium Logo Style */
.brand-card-sp .brand-logo {
  background: linear-gradient(135deg, rgba(30, 25, 15, 0.9), rgba(20, 16, 10, 0.95));
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.1) inset,
    0 4px 20px rgba(255, 200, 0, 0.1);
}

.brand-card-sp:hover .brand-logo img {
  filter: brightness(1.1) drop-shadow(0 0 20px rgba(255, 200, 0, 0.3));
}

/* Card Title */
.brand-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin: var(--space-md) 0 var(--space-sm);
}

.brand-title h2,
.brand-title h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.brand-title a {
  color: var(--fg);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* Bonus Info */
.bonus {
  text-align: center;
  margin-bottom: var(--space-sm);
}

.bonus h2,
.bonus h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 var(--space-sm);
}

.bonus strong {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--fg) 0%, var(--muted) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.bonus span {
  font-size: 13px;
  color: var(--muted);
}

/* Meta Tags */
.meta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-sm);
}

.chip {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: 1px solid rgba(146, 255, 185, 0.2);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  color: var(--muted);
  background: linear-gradient(180deg, rgba(14, 24, 20, 0.95), rgba(10, 16, 14, 0.98));
  text-decoration: none;
  transition: all var(--transition-fast);
}

.chip:hover {
  border-color: rgba(82, 255, 117, 0.4);
  color: var(--fg);
  transform: translateY(-1px);
}

/* Premium Chips */
.brand-card-sp .chip,
.brand-card-sp .meta .chip {
  color: #2b2300;
  border: 1px solid rgba(255, 215, 0, 0.5);
  background: linear-gradient(180deg, rgba(255, 243, 173, 0.95), rgba(255, 223, 120, 0.98));
  box-shadow: 0 2px 10px rgba(255, 210, 0, 0.15);
}

/* Closed site chip */
.chip-closed {
  color: var(--danger) !important;
  border-color: rgba(255, 46, 99, 0.4) !important;
  background: rgba(255, 46, 99, 0.1) !important;
}

.chip-closed i {
  font-size: 9px;
}

/* Closed site card dimming */
.site-closed .brand-logo img {
  opacity: 0.4;
  filter: grayscale(80%);
}

.site-closed .brand-title h3 a {
  opacity: 0.5;
}

/* Bonus Features */
.bonus-features {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: var(--space-xs);
  padding-top: var(--space-xs);
}

.bf-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: rgba(82, 255, 117, 0.08);
  border: 1px solid rgba(82, 255, 117, 0.15);
  color: rgba(200, 255, 220, 0.85);
  white-space: nowrap;
}

.bf-chip i {
  font-size: 10px;
}

.bf-freespin {
  background: rgba(255, 170, 50, 0.12);
  border-color: rgba(255, 170, 50, 0.25);
  color: #ffcc66;
}

.bf-percent {
  background: rgba(82, 255, 117, 0.1);
  border-color: rgba(82, 255, 117, 0.2);
  color: var(--accent);
}

.bf-wager {
  background: rgba(100, 180, 255, 0.1);
  border-color: rgba(100, 180, 255, 0.2);
  color: #8ac4ff;
}

.bf-max {
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.2);
  color: #ffd866;
}

/* CTA Row */
.cta-row {
  display: flex;
  gap: var(--space-sm);
  margin-top: auto;
  padding-top: var(--space-sm);
}

/* ===== BUTTONS ===== */
a.btn {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #1db954 0%, #139b30 50%, #0d7a24 100%);
  box-shadow:
    0 4px 15px rgba(82, 255, 117, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

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

a.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 25px rgba(82, 255, 117, 0.35),
    0 0 30px rgba(82, 255, 117, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

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

a.btn:active {
  transform: translateY(0);
}

/* Ghost Button */
a.ghost,
a.ghost-bonus {
  flex: 1;
  text-align: center;
  border: 1px solid rgba(146, 255, 185, 0.3);
  color: var(--muted);
  background: linear-gradient(180deg, rgba(14, 24, 20, 0.95), rgba(10, 16, 14, 0.98));
  text-decoration: none;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  transition: all var(--transition-base);
}

a.ghost:hover,
a.ghost-bonus:hover {
  border-color: rgba(82, 255, 117, 0.5);
  color: var(--fg);
  background: linear-gradient(180deg, rgba(18, 30, 24, 0.95), rgba(14, 22, 18, 0.98));
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(82, 255, 117, 0.1);
}

/* Premium Buttons */
.brand-card-sp a.btn {
  color: #2b2300 !important;
  background: linear-gradient(135deg, #FFE08A 0%, #FFD13D 50%, #FFBD0A 100%) !important;
  box-shadow:
    0 4px 20px rgba(255, 193, 39, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset !important;
}

.brand-card-sp a.btn:hover {
  box-shadow:
    0 8px 30px rgba(255, 193, 39, 0.5),
    0 0 40px rgba(255, 193, 39, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.25) inset !important;
}

.brand-card-sp a.ghost {
  border: 1px solid rgba(255, 215, 0, 0.4) !important;
  color: #ffe9a6 !important;
  background: linear-gradient(180deg, rgba(32, 26, 12, 0.95), rgba(22, 18, 9, 0.98)) !important;
}

.brand-card-sp a.ghost:hover {
  border-color: rgba(255, 215, 0, 0.7) !important;
  box-shadow: 0 4px 20px rgba(255, 200, 0, 0.15) !important;
}

/* Orange Button Variant */
a.btn.orange-bonus {
  color: #ffffff !important;
  background: linear-gradient(135deg, #FF7A00 0%, #FF9500 50%, #FFA733 100%) !important;
  box-shadow:
    0 4px 20px rgba(255, 149, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset !important;
}

a.btn.orange-bonus:hover {
  box-shadow:
    0 8px 30px rgba(255, 149, 0, 0.5),
    0 0 40px rgba(255, 149, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset !important;
}

/* Small Buttons */
.btn.btn-sm {
  padding: 10px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.ghost.ghost-sm {
  padding: 10px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

/* ===== POPUP/MODAL ===== */
.pop-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 7, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.pop-wrap {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  pointer-events: none;
}

.pop {
  pointer-events: auto;
  width: min(92vw, 520px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(146, 255, 185, 0.2);
  background: linear-gradient(165deg, rgba(12, 20, 16, 0.98), rgba(7, 11, 9, 0.99));
  box-shadow:
    0 0 0 1px rgba(146, 255, 185, 0.08) inset,
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(82, 255, 117, 0.1);
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: all var(--transition-smooth);
}

.pop.show {
  transform: translateY(0) scale(1);
  opacity: 1;
  animation: popGlow 3s ease-in-out infinite;
}

@keyframes popGlow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(146, 255, 185, 0.08) inset,
      0 20px 60px rgba(0, 0, 0, 0.6),
      0 0 60px rgba(82, 255, 117, 0.1);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(146, 255, 185, 0.15) inset,
      0 25px 70px rgba(0, 0, 0, 0.7),
      0 0 100px rgba(82, 255, 117, 0.2);
  }
}

.pop-open .pop-overlay {
  opacity: 1;
  pointer-events: auto;
}

.pop-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-md) 0;
}

.pop-title {
  font-family: "Orbitron", ui-rounded, system-ui, sans-serif;
  font-weight: 800;
  font-size: 20px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 60%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pop-desc {
  color: var(--muted);
  margin: var(--space-sm) var(--space-md) 0;
  font-size: 14px;
}

.pop-body {
  padding: var(--space-md);
}

.pop-img {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
  background: var(--panel);
  box-shadow: 0 0 0 1px rgba(146, 255, 185, 0.1) inset;
}

.pop-grid-item .pop-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
}

.pop-cta {
  display: block;
  text-decoration: none;
  color: #ffffff;
  font-weight: 800;
  margin-top: var(--space-md);
  text-align: center;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent) 0%, #139b30 50%, var(--accent-3) 100%);
  box-shadow:
    0 4px 20px rgba(82, 255, 117, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  position: relative;
  animation: ctaPulse 2s ease-in-out infinite;
}

.pop-cta::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-lg);
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(82, 255, 117, 0.4);
  animation: ring 2.5s ease-out infinite;
}

@keyframes ctaPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 20px rgba(82, 255, 117, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 6px 30px rgba(82, 255, 117, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  }
}

@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgba(82, 255, 117, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(82, 255, 117, 0); }
  100% { box-shadow: 0 0 0 0 rgba(82, 255, 117, 0); }
}

.pop-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(146, 255, 185, 0.25);
  color: var(--fg);
  background: linear-gradient(180deg, rgba(14, 24, 20, 0.95), rgba(10, 16, 14, 0.98));
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pop-close:hover {
  border-color: rgba(255, 70, 100, 0.5);
  color: var(--danger);
  background: linear-gradient(180deg, rgba(30, 20, 22, 0.95), rgba(20, 14, 16, 0.98));
}

/* Grid Popup Layout */
.pop-wrap-grid {
  padding: var(--space-md);
}

.pop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  max-width: 576px;
  width: 100%;
  pointer-events: auto;
  justify-items: center;
}

/* Single popup - centered */
.pop-grid-single {
  grid-template-columns: 1fr;
  max-width: 480px;
}

.pop-grid-single .pop-grid-item {
  max-width: min(420px, 92vw);
  max-height: 75vh;
  width: fit-content;
  display: flex;
  flex-direction: column;
}

.pop-grid-single .pop-grid-item .pop-img {
  border-radius: 0;
  max-height: 75vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.pop-grid-single .pop-grid-item .pop-body {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

.pop-grid-single .pop-grid-item .pop-text-block {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  background: rgba(0,0,0,0.75);
}

/* Two popups - side by side */
.pop-grid-two {
  max-width: 576px;
}

/* Three popups */
.pop-grid-three {
  max-width: 576px;
}

.pop-grid-item {
  width: 100%;
  max-width: 280px;
  padding: 0;
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(146, 255, 185, 0.2);
  box-shadow:
    0 0 0 1px rgba(146, 255, 185, 0.08) inset,
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(82, 255, 117, 0.1);
  overflow: hidden;
}

.pop-grid-item .pop-body {
  padding: 0;
  position: relative;
}

.pop-grid-item .pop-close {
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  z-index: 10;
  font-size: 14px;
}

.pop-grid-single .pop-grid-item .pop-close {
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  font-size: 18px;
}

.pop-grid-item .pop-img {
  cursor: pointer;
}

/* Image container */
.pop-img-container {
  position: relative;
  display: block;
}

.pop-grid-item .pop-img-container {
  overflow: hidden;
}

/* Text block below image */
.pop-text-block {
  padding: 6px 8px;
  background: rgba(0,0,0,0.6);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.pop-grid-item .pop-text-block {
  padding: 4px 6px;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.75);
}

.pop-grid-single .pop-grid-item .pop-text-block {
  padding: 8px 12px;
}

.pop-block-title {
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  margin-bottom: 2px;
  line-height: 1.3;
}

.pop-grid-item .pop-block-title {
  font-size: 11px;
  margin-bottom: 1px;
}

.pop-grid-single .pop-grid-item .pop-block-title {
  font-size: 14px;
  margin-bottom: 3px;
}

.pop-block-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  line-height: 1.3;
}

.pop-grid-item .pop-block-desc {
  font-size: 9px;
}

.pop-grid-single .pop-grid-item .pop-block-desc {
  font-size: 12px;
}

.pop-block-btn {
  display: block;
  margin-top: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--accent), #139b30);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(82, 255, 117, 0.3);
  transition: all var(--transition-fast);
}

.pop-grid-item .pop-block-btn {
  margin-top: 4px;
  padding: 6px 10px;
  font-size: 10px;
}

.pop-grid-single .pop-grid-item .pop-block-btn {
  margin-top: 8px;
  padding: 10px 16px;
  font-size: 13px;
}

.pop-block-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(82, 255, 117, 0.4);
}

/* Hint on top-left */
.pop-hint {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, var(--accent), #139b30);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 5;
  animation: hintPulse 2s ease-in-out infinite;
}

.pop-grid-item .pop-hint {
  top: 4px;
  left: 4px;
  gap: 3px;
  font-size: 9px;
  padding: 4px 8px;
}

.pop-grid-single .pop-grid-item .pop-hint {
  top: 8px;
  left: 8px;
  gap: 5px;
  font-size: 12px;
  padding: 6px 12px;
}

.pop-hint svg {
  flex-shrink: 0;
}

.pop-grid-item .pop-hint svg {
  width: 10px;
  height: 10px;
}

.pop-grid-single .pop-grid-item .pop-hint svg {
  width: 14px;
  height: 14px;
}

@keyframes hintPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(82, 255, 117, 0.4);
  }
}

/* Mobile: fit all popups on screen */
@media (max-width: 600px) {
  .pop-wrap-grid {
    padding: 8px;
    padding-bottom: 68px; /* bottom nav clearance */
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .pop-grid {
    grid-template-columns: 1fr;
    max-width: calc(100vw - 16px);
    width: 100%;
    gap: 8px;
    height: auto;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    align-content: center;
  }

  .pop-grid-item {
    max-width: min(85vw, 280px);
    max-height: min(75vh, 400px);
    max-height: min(75dvh, 400px);
    overflow: hidden;
  }

  /* Single popup - centered */
  .pop-grid-single {
    height: auto;
    align-content: center;
  }

  .pop-grid-single .pop-grid-item {
    max-width: min(90vw, 360px);
    max-height: calc(100dvh - 90px);
    overflow: hidden;
  }

  .pop-grid-single .pop-grid-item .pop-body {
    position: relative;
    display: block;
  }

  .pop-grid-single .pop-grid-item .pop-img-container {
    display: block;
    position: relative;
  }

  .pop-grid-single .pop-grid-item .pop-img {
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 100px);
    display: block;
    border-radius: var(--radius-xl);
  }

  .pop-grid-single .pop-grid-item .pop-text-block {
    padding: 8px 12px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.75);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  }

  .pop-grid-single .pop-grid-item .pop-block-title {
    font-size: 13px;
  }

  .pop-grid-single .pop-grid-item .pop-block-desc {
    font-size: 11px;
    -webkit-line-clamp: 2;
  }

  .pop-grid-single .pop-grid-item .pop-block-btn {
    font-size: 12px;
    padding: 9px 14px;
  }

  .pop-grid-single .pop-grid-item .pop-close {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  /* Two popups */
  .pop-grid-two {
    height: auto;
    align-content: center;
  }

  .pop-grid-two .pop-grid-item {
    max-height: min(calc((100vh - 24px) / 2), 280px);
    max-height: min(calc((100dvh - 24px) / 2), 280px);
  }

  /* Three popups */
  .pop-grid-three {
    height: auto;
    align-content: center;
  }

  .pop-grid-three .pop-grid-item {
    max-height: min(calc((100vh - 32px) / 3), 220px);
    max-height: min(calc((100dvh - 32px) / 3), 220px);
  }

  /* Four popups */
  .pop-grid-item:nth-child(n+1):nth-last-child(4),
  .pop-grid-item:nth-child(n+1):nth-last-child(4) ~ .pop-grid-item {
    max-height: min(calc((100vh - 40px) / 4), 180px);
    max-height: min(calc((100dvh - 40px) / 4), 180px);
  }

  .pop-grid-item .pop-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
  }

  .pop-grid-two .pop-grid-item .pop-img,
  .pop-grid-three .pop-grid-item .pop-img,
  .pop-grid-item:nth-child(n+1):nth-last-child(4) .pop-img,
  .pop-grid-item:nth-child(n+1):nth-last-child(4) ~ .pop-grid-item .pop-img {
    max-height: 100%;
    object-fit: contain;
  }

  .pop-grid-two .pop-grid-item .pop-img-container,
  .pop-grid-three .pop-grid-item .pop-img-container,
  .pop-grid-item:nth-child(n+1):nth-last-child(4) .pop-img-container,
  .pop-grid-item:nth-child(n+1):nth-last-child(4) ~ .pop-grid-item .pop-img-container {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 0;
  }

  .pop-grid-two .pop-grid-item .pop-body,
  .pop-grid-three .pop-grid-item .pop-body,
  .pop-grid-item:nth-child(n+1):nth-last-child(4) .pop-body,
  .pop-grid-item:nth-child(n+1):nth-last-child(4) ~ .pop-grid-item .pop-body {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .pop-grid-item .pop-close {
    top: 4px;
    right: 4px;
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .pop-grid-item .pop-text-block {
    padding: 4px 6px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.75);
  }

  .pop-grid-item .pop-block-title {
    font-size: 10px;
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pop-grid-item .pop-block-desc {
    font-size: 9px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .pop-grid-item .pop-block-btn {
    margin-top: 4px;
    padding: 6px 10px;
    font-size: 10px;
  }

  .pop-grid-item .pop-hint {
    font-size: 9px;
    padding: 3px 6px;
    top: 4px;
    left: 4px;
    gap: 3px;
  }

  .pop-grid-item .pop-hint svg {
    width: 10px;
    height: 10px;
  }
}

/* ===== FOOTER ===== */
.footer {
  margin: var(--space-3xl) auto var(--space-lg);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  max-width: 1200px;
  margin: var(--space-2xl) auto var(--space-lg);
  padding: 0 var(--space-lg);
}

.footer-inner {
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, rgba(11, 17, 20, 0.9), rgba(7, 11, 13, 0.95));
  border: 1px solid rgba(146, 255, 185, 0.1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
}

.footer p {
  margin: var(--space-sm) 0;
  line-height: 1.7;
}

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

.footer a:hover {
  color: var(--accent-2);
  text-decoration: underline;
}

/* ===== DETAIL PAGES ===== */
.detail {
  margin-top: var(--space-lg);
}

.detail-header {
  margin-top: var(--space-lg);
  display: flex;
  align-items: stretch;
  gap: var(--space-lg);
}

.detail-header .site-logo-card {
  flex-shrink: 0;
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.detail-header .site-logo-card img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.detail-header .header {
  flex: 1;
}

.bonus-cover {
  margin-bottom: var(--space-lg);
}

.bonus-cover img {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(146, 255, 185, 0.15);
}

.detail-header .header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, rgba(12, 18, 16, 0.9), rgba(8, 12, 10, 0.95));
  border: 1px solid rgba(146, 255, 185, 0.12);
}

.site-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, rgba(12, 18, 16, 0.9), rgba(8, 12, 10, 0.95));
  border: 1px solid rgba(146, 255, 185, 0.12);
}

.site-logo-card img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.bonus-logo-card {
  flex: 1;
  width: clamp(140px, 50%, 500px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.bonus-logo-card img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.detail .detail-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(146, 255, 185, 0.15);
  margin: var(--space-md) 0;
}

.detail .detail-body {
  margin-top: var(--space-md);
}

.detail .detail-tags {
  margin-top: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  flex-wrap: wrap;
}

/* Content Card */
.content-card {
  padding: var(--space-lg) var(--space-lg);
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, rgba(11, 17, 20, 0.95), rgba(7, 11, 13, 0.98));
  border: 1px solid rgba(146, 255, 185, 0.12);
  box-shadow:
    0 0 0 1px rgba(146, 255, 185, 0.05) inset,
    0 4px 20px rgba(0, 0, 0, 0.2);
  
}

.content-card .card-title {
  margin: 0 0 var(--space-md);
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.content-card-search {
  margin-top: var(--space-md);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(146, 255, 185, 0.12);
  box-shadow: 0 0 0 1px rgba(146, 255, 185, 0.05) inset;
}

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

.center-card .card-title {
  justify-content: center;
}

/* Prose Content */
.prose h2,
.prose h3,
.prose h4 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
  color: var(--fg);
}

.prose p {
  margin: var(--space-sm) 0;
  color: var(--muted);
  line-height: 1.7;
}

.prose ul {
  padding-left: var(--space-lg);
  margin: var(--space-sm) 0;
}

.prose li {
  margin: var(--space-sm) 0;
  color: var(--muted);
}

.prose a {
  color: var(--accent-2);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.prose a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Prose Tables */
.prose table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: var(--space-md) 0;
  background: linear-gradient(165deg, rgba(11, 17, 20, 0.95), rgba(7, 11, 13, 0.98));
  border: 1px solid rgba(146, 255, 185, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.prose table caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  color: var(--fg);
  padding: var(--space-sm) var(--space-md);
}

.prose thead th {
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
  text-align: left;
  background: linear-gradient(180deg, rgba(16, 26, 22, 0.95), rgba(12, 18, 16, 0.98));
  border-bottom: 1px solid rgba(146, 255, 185, 0.15);
}

.prose th,
.prose td {
  padding: var(--space-md);
}

.prose tbody td {
  border-top: 1px solid rgba(146, 255, 185, 0.08);
  color: var(--muted);
}

.prose tbody tr:nth-child(even) td {
  background: rgba(14, 22, 18, 0.5);
}

.prose tbody td:first-child {
  width: 35%;
  color: var(--fg);
  font-weight: 600;
}

/* Meta Line */
.meta-line {
  color: var(--muted);
  font-size: 13px;
  margin: var(--space-sm) 0 0;
}

/* Social Card */
.social-card {
  margin-top: var(--space-md);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.social-links .chip i {
  margin-right: var(--space-sm);
}

/* Horizontal Scroll */
.hscroll {
  overflow-x: auto;
  padding-bottom: var(--space-sm);
  margin-top: var(--space-md);
  scrollbar-width: thin;
}

.hscroll-row {
  display: flex;
  gap: var(--space-lg);
}

.hscroll-row .brand-card {
  flex: 0 0 auto;
  width: clamp(260px, 30vw, 320px);
}

/* ===== CATEGORY PAGE ===== */
.page-category {
  position: relative;
}

.page-category .cat-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
  align-items: start;
}

.page-category .cat-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(82, 255, 117, 0.3) transparent;
  padding-right: 4px;
}

.page-category .cat-sidebar::-webkit-scrollbar {
  width: 4px;
}

.page-category .cat-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.page-category .cat-sidebar::-webkit-scrollbar-thumb {
  background: rgba(82, 255, 117, 0.3);
  border-radius: 4px;
}

.page-category .cat-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(82, 255, 117, 0.5);
}

.page-category .cat-widget {
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(11, 17, 20, 0.95), rgba(7, 11, 13, 0.98));
  border: 1px solid rgba(146, 255, 185, 0.12);
  box-shadow: 0 0 0 1px rgba(146, 255, 185, 0.05) inset;
}

.page-category .cat-widget__title {
  margin: 0 0 var(--space-md);
  font-weight: 700;
  font-size: 16px;
  color: var(--fg);
}

.page-category .cat-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.page-category .cat-item {
  display: block;
  text-decoration: none;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(14, 24, 20, 0.9), rgba(10, 16, 14, 0.95));
  border: 1px solid rgba(146, 255, 185, 0.12);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.page-category .cat-item:hover {
  border-color: rgba(146, 255, 185, 0.3);
  color: var(--fg);
}

.page-category .cat-item.active {
  border-color: rgba(186, 255, 59, 0.5);
  box-shadow: 0 0 0 1px rgba(186, 255, 59, 0.15) inset;
  color: var(--fg);
}

/* Category Dropdown Toggle - hidden on desktop */
.cat-dropdown-toggle {
  display: none;
}

/* ===== SITE SEARCH WIDGET ===== */
.site-search-widget {
  margin-top: var(--space-md);
}

.site-search-widget .site-search-title {
  margin: var(--space-sm) auto;
  max-width: 1200px;
  padding: 0 var(--space-lg);
  font-size: 18px;
  color: var(--fg);
}

.site-search-widget .site-search-bar {
  max-width: 600px;
  margin: 0 auto;
}

.site-search-widget .site-search-list {
  margin: var(--space-md) auto 0;
  max-width: 1200px;
  padding: 0 var(--space-lg);
  display: grid;
  gap: var(--space-sm);
}

.site-list-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(146, 255, 185, 0.12);
  background: linear-gradient(165deg, rgba(12, 18, 16, 0.95), rgba(8, 12, 10, 0.98));
  transition: all var(--transition-base);
}

.site-list-item:hover {
  border-color: rgba(146, 255, 185, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.site-list-item .logo {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(146, 255, 185, 0.1);
}

.site-list-item .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-list-item .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.site-list-item .top {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.site-list-item .name {
  color: var(--fg);
  text-decoration: none;
  font-weight: 700;
}

.site-list-item .actions {
  display: flex;
  gap: var(--space-sm);
}

.site-list-item .badge-premium {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: #2b2300;
  border: 1px solid rgba(255, 215, 0, 0.5);
  background: linear-gradient(180deg, rgba(255, 243, 173, 0.95), rgba(255, 223, 120, 0.98));
}

.site-list-item.premium {
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.1) inset;
}

/* ===== NAV CARD ===== */
.nav-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(11, 17, 20, 0.9), rgba(7, 11, 13, 0.95));
  border: 1px solid rgba(146, 255, 185, 0.12);
}

.nav-links {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ===== SEARCH RESULTS ===== */
.search-empty {
  display: none;
  text-align: center;
  color: var(--muted);
  padding: var(--space-2xl) 0;
}

/* ===== CONTROLS ===== */
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  position: relative;
  z-index: 1;
}

.control {
  background: linear-gradient(180deg, rgba(11, 17, 20, 0.9), rgba(7, 11, 13, 0.95));
  border: 1px solid rgba(146, 255, 185, 0.15);
  box-shadow: 0 0 0 1px rgba(146, 255, 185, 0.05) inset;
  color: var(--fg);
  border-radius: var(--radius-lg);
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: 48px;
}

#headerSearch,
input[type="search"] {
  border: none;
  outline: none;
  background: transparent;
  color: var(--fg);
  width: 100%;
  font-size: 15px;
}

.sort {
  cursor: pointer;
  user-select: none;
}

.sort svg {
  width: 18px;
  height: 18px;
  opacity: 0.85;
}

.badge {
  font-size: 12px;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  border: 1px solid rgba(146, 255, 185, 0.2);
  background: linear-gradient(180deg, rgba(16, 26, 22, 0.9), rgba(12, 18, 16, 0.95));
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  gap: var(--space-sm);
  align-items: center;
}

/* ===== SCROLLBARS ===== */
html, body, * {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(10, 18, 14, 0.9), rgba(6, 10, 8, 0.95));
  border: 1px solid var(--scrollbar-track-border);
  border-radius: var(--radius-md);
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--scrollbar-thumb), var(--scrollbar-thumb-2));
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  background-clip: content-box;
  box-shadow: 0 0 0 1px rgba(82, 255, 117, 0.15) inset;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--scrollbar-thumb-2), var(--scrollbar-thumb-3));
  box-shadow: 0 0 0 1px rgba(82, 255, 117, 0.25) inset;
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

/* ===== ANIMATED ICONS ===== */
.aicon {
  --icon: var(--accent);
  position: relative;
  display: inline-block;
  width: 50px;
  height: 50px;
  vertical-align: middle;
}

.aicon::before,
.aicon::after {
  content: "";
  position: absolute;
}

/* Bonus Icon */
.ai-bonus::before {
  left: 4px;
  right: 4px;
  bottom: 3px;
  top: 13px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(14, 24, 20, 0.9), rgba(10, 16, 14, 0.98));
  border: 1px solid rgba(146, 255, 185, 0.3);
}

.ai-bonus::after {
  left: 3px;
  right: 3px;
  top: 3px;
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(14, 24, 20, 0.95), rgba(10, 16, 14, 0.98));
  border: 1px solid rgba(146, 255, 185, 0.3);
  animation: lidpop 2.2s ease-in-out infinite;
}

@keyframes lidpop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

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

/* Title Animation Icon */
.title-with-icon {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.title-anim-icon {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex: 0 0 28px;
  animation: spin 8s linear infinite;
}

.title-anim-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82, 255, 117, 0.15), rgba(82, 255, 117, 0.02));
  border: 1px solid rgba(146, 255, 185, 0.3);
  box-shadow: 0 0 15px rgba(82, 255, 117, 0.2) inset;
}

.title-anim-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(10px, -50%);
  box-shadow: 0 0 10px rgba(82, 255, 117, 0.8);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet & Mobile */
@media (max-width: 860px) {
  .site-header .main-nav,
  .site-header .header-search-wrapper {
    display: none !important;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-header {
    padding: var(--space-sm);
  }

  /* Mobile menu - header becomes fullscreen overlay when open */
  .site-header.open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #070b0d;
    z-index: 9999;
    padding: var(--space-sm);
  }

  .site-header.open .site-header-inner {
    flex-shrink: 0;
    width: 100%;
  }

  .mobile-panel {
    display: none;
    padding: var(--space-md);
    background: #070b0d;
  }

  .site-header.open .mobile-panel {
    display: block;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  /* Body scroll lock when mobile menu is open */
  body.menu-open {
    overflow: hidden;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
  }

  .mobile-nav .chip-nav {
    display: flex;
    width: 100%;
    padding: var(--space-md);
  }

  .mobile-search {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    background: linear-gradient(180deg, rgba(10, 18, 14, 0.9), rgba(6, 10, 8, 0.95));
    border: 1px solid rgba(146, 255, 185, 0.15);
    border-radius: var(--radius-md);
    padding: var(--space-md);
  }

  .mobile-search input {
    border: none;
    outline: none;
    background: transparent;
    color: var(--fg);
    width: 100%;
    font-size: 16px;
  }

  .mobile-dropdown .mobile-dd {
    display: none;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-top: var(--space-sm);
  }

  .mobile-dropdown.open .mobile-dd {
    display: flex;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .grid.grid--single {
    grid-template-columns: 1fr;
  }

  .brand-card .brand-logo {
    height: 180px;
  }

  .brand-title h2,
  .brand-title h3 {
    font-size: 16px;
  }

  .detail-header {
    flex-direction: column;
  }

  .detail-header .site-logo-card {
    width: 100%;
    height: auto;
    padding: var(--space-xl);
  }

  .detail-header .site-logo-card img {
    max-height: 250px;
  }

  .site-logo-card {
    width: 100%;
    height: auto;
  }

  .page-category .cat-layout {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .page-category .cat-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .page-category .cat-widget {
    padding: var(--space-md);
  }

  .page-category .cat-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .page-category .cat-item {
    font-size: 13px;
    padding: 10px 14px;
    flex: 0 0 auto;
  }

  .page-category .cat-item-calc,
  .page-category .cat-item-all {
    width: auto;
    flex: 0 0 auto;
    padding: 10px 16px;
    font-size: 13px;
  }

  .page-category .cat-item:hover {
    transform: none;
  }

  /* Mobile Filter Section */
  .filter-section-cat {
    padding: 0;
  }

  .filter-section-cat .filter-wrapper {
    margin-bottom: var(--space-sm);
  }

  .filter-section-cat .filter-dropdowns {
    flex-wrap: wrap;
    gap: 6px;
  }

  .filter-section-cat .filter-dropdown-btn {
    font-size: 11px;
    padding: 8px 10px;
  }

  .filter-section-cat .filter-dropdown-btn span {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .category-bar {
    margin: 0 var(--space-sm) var(--space-sm);
    padding: var(--space-md);
    gap: var(--space-xs);
  }

  .category-bar .cat-chip {
    font-size: 10px;
    padding: var(--space-sm) var(--space-md);
  }

  /* Mobile Category Description */
  .category-description {
    font-size: 13px;
  }

  /* Mobile FAQ */
  .faq-section {
    padding: var(--space-md);
  }

  /* Mobile Keywords */
  .keywords-section {
    padding: var(--space-md);
  }

  .keywords-title {
    font-size: 14px;
  }

  .keyword-tag {
    font-size: 10px;
    padding: 5px 10px;
  }

  .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-scroll > table {
    width: max-content;
    min-width: 100%;
    white-space: nowrap;
  }
}

/* Small Mobile */
@media (max-width: 640px) {
  .container {
    padding: var(--space-md);
  }

  /* Small Mobile Category Page */
  .page-category .cat-widget {
    padding: var(--space-sm);
  }

  .page-category .cat-list {
    gap: 4px;
  }

  .page-category .cat-item {
    font-size: 12px;
    padding: 8px 12px;
  }

  .page-category .cat-item-calc,
  .page-category .cat-item-all {
    padding: 8px 12px;
    font-size: 12px;
  }

  .page-category .cat-item-calc i,
  .page-category .cat-item-all i {
    font-size: 14px;
  }

  /* Small Mobile Filter */
  .filter-section-cat .filter-dropdown-btn {
    font-size: 10px;
    padding: 6px 8px;
  }

  .filter-section-cat .filter-dropdown-btn span {
    max-width: 60px;
  }

  .filter-section-cat .filter-dropdown-btn i {
    font-size: 10px;
  }

  .filter-section-cat .filter-dropdown-btn .caret {
    display: none;
  }

  /* Small Mobile Header */
  .brand-cat h1 {
    font-size: 18px;
  }

  .category-description {
    font-size: 12px;
  }

  .site-search-widget .site-search-bar {
    max-width: none;
    padding: 0 var(--space-md);
  }

  .site-search-widget .site-search-list {
    padding: 0 var(--space-md);
    gap: var(--space-md);
  }

  .site-list-item {
    grid-template-columns: 46px 1fr;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
  }

  .site-list-item .logo {
    width: 46px;
    height: 46px;
  }

  .site-list-item .meta {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
  }

  .site-list-item .top {
    justify-content: space-between;
  }

  .site-list-item .actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-sm);
  }

  .site-list-item .actions a {
    width: 100%;
    justify-content: center;
  }

  .prose th,
  .prose td {
    padding: var(--space-sm) var(--space-md);
    font-size: 14px;
  }

  .prose tbody td:first-child {
    white-space: normal;
    width: auto;
  }

  .controls {
    flex-direction: column;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .pop.show {
    animation: none;
  }

  .pop-cta {
    animation: none;
  }

  .pop-cta::after {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Selection */
::selection {
  background: rgba(82, 255, 117, 0.3);
  color: var(--fg);
}

/* Image Handling */
img {
  max-width: 100%;
  height: auto;
}

img.logo {
  display: block;
  width: clamp(160px, 22vw, 320px);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 3px rgba(82, 255, 117, 0.8))
    drop-shadow(0 0 15px rgba(82, 255, 117, 0.5))
    drop-shadow(0 0 35px rgba(82, 255, 117, 0.25));
  transition: all var(--transition-smooth);
}

img.logo:hover {
  transform: translateY(-2px) scale(1.02);
  filter:
    drop-shadow(0 0 5px rgba(82, 255, 117, 0.9))
    drop-shadow(0 0 25px rgba(82, 255, 117, 0.6))
    drop-shadow(0 0 50px rgba(82, 255, 117, 0.35));
}

.site-header img.logo-mini {
  height: 44px;
  width: auto;
  border-radius: var(--radius-sm);
}

.header img {
  max-width: 100%;
}

/* Brand Category Title */
.brand-cat h1 {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 800;
  text-shadow: 0 0 20px rgba(82, 255, 117, 0.3);
}

/* Tag Row */
.tag-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tag-row .hot {
  background: radial-gradient(circle at 30% 0%, #fffb91, #f3ff38);
  color: #0b0d00;
  box-shadow: 0 0 15px rgba(255, 255, 120, 0.4);
}

.tag-row .rank {
  font-size: 12px;
  opacity: 0.9;
}

/* Chip Site Variant */
.chip-site {
  font-size: 12px;
  text-transform: uppercase;
  border: 1px solid rgba(146, 255, 185, 0.2);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  color: var(--muted);
  background: linear-gradient(180deg, rgba(14, 24, 20, 0.95), rgba(10, 16, 14, 0.98));
  text-decoration: none;
}

/* Icon Shelf */
.icon-shelf {
  margin: var(--space-md) 0;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(11, 17, 20, 0.9), rgba(7, 11, 13, 0.95));
  border: 1px solid rgba(146, 255, 185, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  justify-content: center;
}

.icon-shelf .icon-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--muted);
  font-size: 12px;
  background: linear-gradient(180deg, rgba(14, 24, 20, 0.95), rgba(10, 16, 14, 0.98));
  border: 1px solid rgba(146, 255, 185, 0.15);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
}

.icon-shelf .icon-item .aicon {
  width: 24px;
  height: 24px;
}

/* Brand Card Link */
.brand-card a {
  color: var(--fg);
  text-decoration: none;
}

/* ===== PREMIUM FOOTER ===== */
.site-footer {
  max-width: 1200px;
  margin: var(--space-3xl) auto var(--space-lg);
  padding: 0 var(--space-lg);
}

.site-footer .footer-inner {
  padding: var(--space-2xl);
  border-radius: var(--radius-2xl);
  background: linear-gradient(165deg, rgba(11, 17, 20, 0.95), rgba(7, 11, 13, 0.98));
  border: 1px solid rgba(146, 255, 185, 0.1);
  box-shadow:
    0 0 0 1px rgba(146, 255, 185, 0.05) inset,
    0 -10px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.site-footer .footer-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(82, 255, 117, 0.3), transparent);
}

/* Footer Top */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(146, 255, 185, 0.08);
}

.footer-brand {
  flex: 0 0 auto;
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  margin-bottom: var(--space-md);
}

.footer-logo img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 10px rgba(82, 255, 117, 0.4));
  transition: all var(--transition-smooth);
}

.footer-logo:hover img {
  filter: drop-shadow(0 0 15px rgba(82, 255, 117, 0.6));
  transform: scale(1.05);
}

.footer-logo span {
  font-family: "Orbitron", ui-rounded, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-tagline {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Footer Links */
.footer-links {
  display: flex;
  gap: var(--space-2xl);
}

.footer-col h4 {
  font-family: "Orbitron", ui-rounded, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  margin: 0 0 var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-col li {
  margin-bottom: var(--space-sm);
}

.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.footer-col a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
  padding-top: var(--space-xl);
  flex-wrap: wrap;
}

.footer-warning {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 46, 99, 0.2), rgba(255, 46, 99, 0.1));
  border: 1px solid rgba(255, 46, 99, 0.4);
  color: var(--danger);
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.footer-warning p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  max-width: 400px;
}

.footer-meta {
  text-align: right;
}

.footer-meta p {
  margin: 0 0 var(--space-xs);
  font-size: 13px;
}

.footer-meta a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.footer-meta a:hover {
  color: var(--accent-2);
}

.footer-meta .copyright {
  color: var(--muted);
  opacity: 0.7;
}

/* Responsive Footer */
@media (max-width: 860px) {
  .footer-top {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .footer-brand {
    max-width: 100%;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-links {
    width: 100%;
    justify-content: center;
    gap: var(--space-xl);
  }

  .footer-col {
    text-align: center;
  }

  .footer-col a:hover {
    transform: none;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }

  .footer-warning {
    flex-direction: column;
    text-align: center;
  }

  .footer-meta {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .site-footer .footer-inner {
    padding: var(--space-xl) var(--space-md);
  }

  .footer-links {
    flex-direction: column;
    gap: var(--space-lg);
  }
}

/* ===== FILTER SECTION ===== */
.filter-section {
  position: relative;
  z-index: 10;
  margin: var(--space-lg) 0;
  padding: var(--space-lg);
  background: linear-gradient(165deg, rgba(11, 17, 20, 0.5), rgba(7, 11, 13, 0.6));
  border: 1px solid rgba(146, 255, 185, 0.08);
  border-radius: var(--radius-lg);
}

.filter-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: linear-gradient(165deg, rgba(11, 17, 20, 0.95), rgba(7, 11, 13, 0.98));
  border: 1px solid rgba(146, 255, 185, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow:
    0 0 0 1px rgba(146, 255, 185, 0.05) inset,
    0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-base);
}

.filter-wrapper:focus-within {
  border-color: rgba(82, 255, 117, 0.4);
  box-shadow:
    0 0 0 1px rgba(82, 255, 117, 0.15) inset,
    0 4px 30px rgba(82, 255, 117, 0.1);
}

.filter-icon {
  color: var(--muted);
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.filter-wrapper:focus-within .filter-icon {
  color: var(--accent);
}

.filter-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: var(--fg);
  font-size: 16px;
  font-family: inherit;
}

.filter-input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.filter-count {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  min-width: 60px;
  text-align: right;
}

.no-filter-results {
  text-align: center;
  color: var(--muted);
  padding: var(--space-2xl);
  font-size: 16px;
}

.no-results {
  text-align: center;
  color: var(--muted);
  padding: var(--space-2xl);
  grid-column: 1 / -1;
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-2xl) auto var(--space-lg);
  flex-wrap: wrap;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(11, 17, 20, 0.95), rgba(7, 11, 13, 0.98));
  border: 1px solid rgba(146, 255, 185, 0.2);
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition-base);
  box-shadow: 0 0 0 1px rgba(146, 255, 185, 0.05) inset;
}

.pagination-btn:hover:not(.disabled) {
  border-color: rgba(82, 255, 117, 0.5);
  background: linear-gradient(165deg, rgba(15, 25, 20, 0.95), rgba(10, 16, 14, 0.98));
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(82, 255, 117, 0.15) inset,
    0 4px 20px rgba(82, 255, 117, 0.15);
}

.pagination-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination-btn svg {
  width: 20px;
  height: 20px;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.pagination-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-sm);
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, rgba(11, 17, 20, 0.9), rgba(7, 11, 13, 0.95));
  border: 1px solid rgba(146, 255, 185, 0.12);
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition-base);
}

.pagination-num:hover:not(.active) {
  border-color: rgba(82, 255, 117, 0.4);
  color: var(--fg);
  transform: translateY(-2px);
}

.pagination-num.active {
  background: linear-gradient(135deg, rgba(82, 255, 117, 0.2), rgba(82, 255, 117, 0.1));
  border-color: rgba(82, 255, 117, 0.5);
  color: var(--accent);
  box-shadow: 0 0 15px rgba(82, 255, 117, 0.15);
}

.pagination-dots {
  color: var(--muted);
  padding: 0 var(--space-xs);
  font-weight: 600;
}

.pagination-info {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: var(--space-xl);
}

/* Responsive Pagination */
@media (max-width: 640px) {
  .pagination {
    gap: var(--space-sm);
  }

  .pagination-btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 13px;
  }

  .pagination-btn span {
    display: none;
  }

  .pagination-numbers {
    gap: 2px;
  }

  .pagination-num {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .filter-section {
    padding: var(--space-md);
    margin: 0 0 var(--space-md);
  }

  .filter-wrapper {
    padding: var(--space-sm) var(--space-md);
  }
}

/* ===== BONUS CALCULATOR ===== */
.calc-card {
  margin-top: var(--space-lg);
}

.calc-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(146, 255, 185, 0.1);
}

.calc-header i {
  font-size: 24px;
  color: var(--accent);
}

.calc-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin: 0;
}

.calc-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.calc-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--space-md);
}

.calc-info-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-md);
  background: linear-gradient(135deg, rgba(82, 255, 117, 0.05), transparent);
  border-radius: var(--radius-md);
  border: 1px solid rgba(146, 255, 185, 0.08);
}

.calc-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-value {
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
}

.calc-value.accent {
  color: var(--accent);
  font-size: 24px;
}

.calc-input-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.calc-input-group label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.calc-input {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  border: 2px solid rgba(146, 255, 185, 0.2);
  background: linear-gradient(180deg, rgba(10, 18, 14, 0.9), rgba(6, 10, 8, 0.95));
  color: var(--fg);
  font-size: 20px;
  font-weight: 700;
  font-family: inherit;
  outline: none;
  transition: all var(--transition-base);
}

.calc-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(82, 255, 117, 0.2);
}

.calc-input::placeholder {
  color: var(--muted);
  opacity: 0.5;
  font-weight: 400;
}

.calc-result {
  padding: var(--space-lg);
  background: linear-gradient(135deg, rgba(82, 255, 117, 0.08), rgba(0, 255, 208, 0.04));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(82, 255, 117, 0.2);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.result-row span {
  color: var(--muted);
  font-size: 14px;
}

.result-row strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
}

.result-row.highlight {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(146, 255, 185, 0.1);
}

.result-row.highlight strong {
  font-size: 24px;
  color: var(--accent-2);
}

.result-row.wager strong {
  color: var(--accent-3);
  font-size: 18px;
}

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

  .calc-value.accent {
    font-size: 20px;
  }

  .calc-input {
    font-size: 18px;
    padding: var(--space-sm) var(--space-md);
  }

  .result-row strong {
    font-size: 18px;
  }

  .result-row.highlight strong {
    font-size: 20px;
  }
}

/* ===== BONUS CALCULATOR PAGE ===== */
.calculator-page {
  max-width: 800px;
  margin: 0 auto;
}

.calc-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.calc-search-section h3,
.calc-values-section h3,
.calc-main-section h3 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin: 0 0 var(--space-md) 0;
}

.calc-search-section h3 i,
.calc-values-section h3 i,
.calc-main-section h3 i {
  color: var(--accent);
}

.calc-hint {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 var(--space-md) 0;
}

.bonus-search-wrapper {
  position: relative;
}

.bonus-search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 300px;
  overflow-y: auto;
  background: linear-gradient(165deg, rgba(11, 17, 20, 0.98), rgba(7, 11, 13, 0.99));
  border: 1px solid rgba(146, 255, 185, 0.2);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 50;
  display: none;
}

.bonus-result-item {
  padding: var(--space-md);
  cursor: pointer;
  border-bottom: 1px solid rgba(146, 255, 185, 0.05);
  transition: background var(--transition-fast);
}

.bonus-result-item:hover {
  background: rgba(82, 255, 117, 0.08);
}

.bonus-result-item:last-child {
  border-bottom: none;
}

.bonus-result-title {
  font-weight: 600;
  color: var(--fg);
  margin-bottom: var(--space-xs);
}

.bonus-result-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 13px;
}

.bonus-result-meta .site-name {
  color: var(--muted);
}

.bonus-result-meta .bonus-percent {
  color: var(--accent);
  font-weight: 700;
}

.bonus-result-meta .bonus-freespin {
  color: #ff9f43;
  font-weight: 700;
  font-size: 12px;
  padding: 2px 6px;
  background: rgba(255, 159, 67, 0.15);
  border-radius: var(--radius-sm);
}

.bonus-result-meta .bonus-cat {
  color: var(--accent-3);
  font-size: 11px;
  padding: 2px 6px;
  background: rgba(0, 255, 208, 0.1);
  border-radius: var(--radius-sm);
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bonus-search-results .no-results {
  padding: var(--space-lg);
  text-align: center;
  color: var(--muted);
}

.selected-bonus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: linear-gradient(135deg, rgba(82, 255, 117, 0.1), rgba(0, 255, 208, 0.05));
  border: 1px solid rgba(82, 255, 117, 0.3);
  border-radius: var(--radius-md);
}

.selected-bonus-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
}

.selected-label {
  color: var(--muted);
  font-size: 13px;
}

.selected-bonus-info strong {
  color: var(--accent);
  font-weight: 700;
}

.selected-site {
  color: var(--muted);
  font-size: 13px;
}

.clear-selection {
  background: transparent;
  border: 1px solid rgba(255, 46, 99, 0.3);
  color: var(--danger);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.clear-selection:hover {
  background: rgba(255, 46, 99, 0.1);
  border-color: var(--danger);
}

.calc-inputs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.calc-field label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.calc-input-large {
  font-size: 24px;
  padding: var(--space-lg);
  text-align: center;
}

.deposit-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.deposit-input-wrapper label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.result-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  text-align: center;
}

.result-card .result-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
}

.result-card .result-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.result-card .result-label {
  color: var(--muted);
  font-size: 13px;
}

.result-card .result-value {
  font-size: 28px;
  font-weight: 800;
  margin-top: var(--space-xs);
}

.result-card.bonus-result {
  background: linear-gradient(135deg, rgba(82, 255, 117, 0.1), transparent);
  border: 1px solid rgba(82, 255, 117, 0.2);
}

.result-card.bonus-result .result-icon {
  background: rgba(82, 255, 117, 0.15);
  color: var(--accent);
}

.result-card.bonus-result .result-value {
  color: var(--accent);
}

.result-card.total-result {
  background: linear-gradient(135deg, rgba(186, 255, 59, 0.1), transparent);
  border: 1px solid rgba(186, 255, 59, 0.2);
}

.result-card.total-result .result-icon {
  background: rgba(186, 255, 59, 0.15);
  color: var(--accent-2);
}

.result-card.total-result .result-value {
  color: var(--accent-2);
}

.result-card.wager-result {
  background: linear-gradient(135deg, rgba(0, 255, 208, 0.1), transparent);
  border: 1px solid rgba(0, 255, 208, 0.2);
}

.result-card.wager-result .result-icon {
  background: rgba(0, 255, 208, 0.15);
  color: var(--accent-3);
}

.result-card.wager-result .result-value {
  color: var(--accent-3);
}

.calc-warning {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: rgba(255, 165, 0, 0.1);
  border: 1px solid rgba(255, 165, 0, 0.3);
  border-radius: var(--radius-md);
  color: #ffa500;
  font-size: 14px;
}

.calc-warning i {
  font-size: 18px;
}

/* ===== FILTER DROPDOWNS ===== */
.filter-dropdowns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(146, 255, 185, 0.08);
}

.filter-dropdown {
  position: relative;
}

.filter-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid rgba(146, 255, 185, 0.2);
  background: linear-gradient(180deg, rgba(14, 24, 20, 0.95), rgba(10, 16, 14, 0.98));
  color: var(--fg);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.filter-dropdown-btn:hover {
  border-color: rgba(82, 255, 117, 0.4);
}

.filter-dropdown-btn .caret {
  font-size: 10px;
  transition: transform var(--transition-base);
}

.filter-dropdown.open .filter-dropdown-btn {
  border-color: var(--accent);
}

.filter-dropdown.open .filter-dropdown-btn .caret {
  transform: rotate(180deg);
}

.filter-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  max-height: 300px;
  overflow-y: auto;
  background: linear-gradient(165deg, rgba(11, 17, 20, 0.98), rgba(7, 11, 13, 0.99));
  border: 1px solid rgba(146, 255, 185, 0.2);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 100;
  display: none;
}

.filter-dropdown.open .filter-dropdown-menu {
  display: block;
  animation: dropdownSlide 0.2s ease;
}

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

.filter-dropdown-search {
  padding: var(--space-sm);
  border-bottom: 1px solid rgba(146, 255, 185, 0.1);
}

.filter-dropdown-search input {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid rgba(146, 255, 185, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(10, 18, 14, 0.8);
  color: var(--fg);
  font-size: 13px;
  outline: none;
}

.filter-dropdown-search input:focus {
  border-color: rgba(82, 255, 117, 0.4);
}

.filter-dropdown-options {
  padding: var(--space-sm);
  max-height: 250px;
  overflow-y: auto;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition-fast);
  font-size: 14px;
  color: var(--fg);
}

.filter-option:hover {
  background: rgba(82, 255, 117, 0.08);
}

.filter-option input[type="radio"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.filter-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  border: 1px solid rgba(255, 46, 99, 0.3);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--danger);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-clear-btn:hover {
  background: rgba(255, 46, 99, 0.1);
  border-color: var(--danger);
}

@media (max-width: 640px) {
  .filter-dropdowns {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .filter-dropdown-btn {
    width: 100%;
    justify-content: center;
    font-size: 12px;
    padding: 10px var(--space-sm);
  }

  .filter-dropdown-btn span {
    max-width: none;
  }

  .filter-clear-btn {
    grid-column: 1 / -1;
  }

  .filter-dropdown-menu {
    position: fixed;
    top: auto;
    bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    left: 0;
    right: 0;
    max-height: 50vh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    z-index: 9999;
  }
}

/* ===== CALCULATOR ENHANCEMENTS ===== */
.calc-type-section {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.calc-type-section h3 {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(146, 255, 185, 0.1);
}

.calc-type-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.calc-type-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-md);
  border: 2px solid rgba(146, 255, 185, 0.15);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(14, 24, 20, 0.95), rgba(10, 16, 14, 0.98));
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: 90px;
}

.calc-type-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(82, 255, 117, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.calc-type-tab:hover {
  border-color: rgba(82, 255, 117, 0.4);
  color: var(--fg);
  transform: translateY(-2px);
}

.calc-type-tab:hover::before {
  opacity: 1;
}

.calc-type-tab.active {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(82, 255, 117, 0.12), rgba(0, 255, 208, 0.06));
  color: var(--accent);
  box-shadow: 0 0 20px rgba(82, 255, 117, 0.15), inset 0 1px 0 rgba(82, 255, 117, 0.2);
}

.calc-type-tab.active::before {
  opacity: 1;
  background: radial-gradient(circle at 50% 0%, rgba(82, 255, 117, 0.15) 0%, transparent 70%);
}

.calc-type-tab i {
  font-size: 24px;
  margin-bottom: var(--space-xs);
}

.calc-type-tab.active i {
  color: var(--accent);
  filter: drop-shadow(0 0 8px rgba(82, 255, 117, 0.5));
}

.calc-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* Advanced Analysis */
.calc-advanced {
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  background: linear-gradient(135deg, rgba(11, 17, 20, 0.8), rgba(7, 11, 13, 0.9));
  border: 1px solid rgba(146, 255, 185, 0.1);
  border-radius: var(--radius-md);
}

.calc-advanced h4 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 var(--space-md) 0;
}

.calc-advanced h4 i {
  color: var(--accent);
}

.advanced-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.advanced-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-md);
  background: rgba(10, 18, 14, 0.5);
  border-radius: var(--radius-sm);
}

.advanced-label {
  font-size: 12px;
  color: var(--muted);
}

.advanced-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}

.advanced-value.accent {
  color: var(--accent);
}

.advanced-value.danger {
  color: var(--danger);
}

/* Freespin Info */
.freespin-info {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background: rgba(82, 255, 117, 0.05);
  border: 1px solid rgba(82, 255, 117, 0.15);
  border-radius: var(--radius-md);
}

.freespin-info p {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.freespin-info i {
  color: var(--accent);
  margin-top: 2px;
}

/* Tips Section */
.calc-tips {
  margin-top: var(--space-lg);
}

.calc-tips h3 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 18px;
  margin: 0 0 var(--space-lg) 0;
}

.calc-tips h3 i {
  color: var(--gold);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.tip-card {
  padding: var(--space-lg);
  background: linear-gradient(135deg, rgba(14, 24, 20, 0.8), rgba(10, 16, 14, 0.9));
  border: 1px solid rgba(146, 255, 185, 0.1);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.tip-card:hover {
  border-color: rgba(82, 255, 117, 0.3);
  transform: translateY(-2px);
}

.tip-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(82, 255, 117, 0.15), rgba(0, 255, 208, 0.08));
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.tip-icon i {
  font-size: 20px;
  color: var(--accent);
}

.tip-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
  margin: 0 0 var(--space-sm) 0;
}

.tip-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 860px) {

  /* ---- Page & Container ---- */
  .calculator-page {
    margin: 0;
    padding: 0 var(--space-sm);
  }

  .calculator-page .header {
    padding: var(--space-lg) var(--space-sm) var(--space-md);
  }

  .calculator-page .header h1 {
    font-size: 22px;
  }

  .calculator-page .header p {
    font-size: 13px;
    line-height: 1.5;
  }

  .calc-container {
    gap: var(--space-md);
  }

  /* ---- Content Cards (compact mobile) ---- */
  .calculator-page .content-card {
    padding: var(--space-md);
    border-radius: var(--radius-lg);
  }

  .calc-search-section h3,
  .calc-values-section h3,
  .calc-main-section h3 {
    font-size: 15px;
    margin-bottom: var(--space-sm);
  }

  .calc-hint {
    font-size: 12px;
    margin-bottom: var(--space-sm);
  }

  /* ---- Type Tabs → Horizontal scrollable pills ---- */
  .calc-type-section {
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
  }

  .calc-type-section h3 {
    margin-bottom: var(--space-md);
  }

  .calc-type-tabs {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .calc-type-tab {
    flex-direction: row;
    min-height: auto;
    padding: var(--space-md);
    gap: var(--space-md);
    font-size: 13px;
    border-width: 1.5px;
    border-radius: var(--radius-md);
  }

  .calc-type-tab i {
    font-size: 18px;
    margin-bottom: 0;
  }

  .calc-type-tab.active {
    box-shadow: 0 0 12px rgba(82, 255, 117, 0.12), inset 0 1px 0 rgba(82, 255, 117, 0.15);
  }

  /* ---- Search Section ---- */
  .bonus-search-wrapper .calc-input {
    font-size: 14px;
    padding: 12px var(--space-md);
  }

  .bonus-search-results {
    max-height: 240px;
  }

  .bonus-result-item {
    padding: 10px var(--space-md);
  }

  .bonus-result-title {
    font-size: 13px;
  }

  .bonus-result-meta {
    font-size: 11px;
    gap: 6px;
    flex-wrap: wrap;
  }

  .selected-bonus {
    padding: 10px var(--space-md);
    margin-top: var(--space-sm);
    gap: var(--space-sm);
  }

  .selected-label {
    font-size: 11px;
  }

  .selected-bonus-info strong {
    font-size: 13px;
  }

  .selected-site {
    font-size: 11px;
  }

  .clear-selection {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  /* ---- Input Fields ---- */
  .calc-inputs-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

  .calc-field label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
  }

  .calc-field .calc-input {
    font-size: 15px;
    padding: 10px 12px;
    font-weight: 600;
  }

  /* ---- Main Deposit Input ---- */
  .deposit-input-wrapper {
    margin-bottom: var(--space-md);
    gap: var(--space-xs);
  }

  .deposit-input-wrapper label {
    font-size: 12px;
  }

  .calc-input-large {
    font-size: 22px;
    padding: 14px var(--space-md);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(10, 18, 14, 0.95), rgba(6, 10, 8, 0.98));
    border-width: 2px;
  }

  /* ---- Result Cards ---- */
  .calc-results {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .result-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 14px var(--space-md);
    border-radius: var(--radius-md);
    gap: var(--space-md);
  }

  .result-card .result-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 16px;
    border-radius: var(--radius-md);
  }

  .result-card .result-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex: 1;
    min-width: 0;
  }

  .result-card .result-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    opacity: 0.7;
  }

  .result-card .result-value {
    font-size: 22px;
    font-weight: 800;
    margin-top: 0;
    letter-spacing: -0.5px;
  }

  /* ---- Advanced Analysis ---- */
  .calc-advanced {
    margin-top: var(--space-md);
    padding: var(--space-md);
  }

  .calc-advanced h4 {
    font-size: 13px;
    margin-bottom: var(--space-sm);
  }

  .advanced-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

  .advanced-item {
    padding: 10px;
  }

  .advanced-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    opacity: 0.7;
  }

  .advanced-value {
    font-size: 15px;
  }

  /* ---- Warning ---- */
  .calc-warning {
    font-size: 12px;
    padding: 10px var(--space-md);
    border-radius: var(--radius-md);
  }

  .calc-warning i {
    font-size: 15px;
  }

  /* ---- Freespin Info ---- */
  .freespin-info {
    margin-top: var(--space-md);
    padding: 10px var(--space-md);
  }

  .freespin-info p {
    font-size: 12px;
    line-height: 1.5;
  }

  /* ---- Tips Grid ---- */
  .calc-tips {
    margin-top: var(--space-md);
  }

  .calc-tips h3 {
    font-size: 15px;
    margin-bottom: var(--space-md);
  }

  .tips-grid {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: var(--space-sm);
    padding-bottom: var(--space-xs);
    margin: 0 calc(var(--space-md) * -1);
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .tips-grid::-webkit-scrollbar {
    display: none;
  }

  .tip-card {
    min-width: 220px;
    max-width: 260px;
    flex: 0 0 auto;
    padding: var(--space-md);
    border-radius: var(--radius-md);
  }

  .tip-card:hover {
    transform: none;
  }

  .tip-icon {
    width: 36px;
    height: 36px;
    margin-bottom: var(--space-sm);
    border-radius: var(--radius-sm);
  }

  .tip-icon i {
    font-size: 16px;
  }

  .tip-card h4 {
    font-size: 13px;
    margin-bottom: var(--space-xs);
  }

  .tip-card p {
    font-size: 11px;
    line-height: 1.45;
  }
}

/* ---- Calculator extra-small breakpoint ---- */
@media (max-width: 480px) {
  .calc-inputs-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .advanced-grid {
    grid-template-columns: 1fr;
  }

  .calc-input-large {
    font-size: 20px;
    padding: 12px var(--space-md);
  }

  .result-card .result-value {
    font-size: 18px;
  }

}

/* ===== DROPDOWN PANEL ENHANCEMENT ===== */
.dropdown-panel {
  display: flex;
  flex-direction: column;
  padding: var(--space-sm);
  min-width: 320px;
}

.dropdown-panel .dropdown-all-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-sm);
  background: linear-gradient(135deg, rgba(82, 255, 117, 0.15), rgba(0, 255, 208, 0.08));
  border: 1px solid rgba(82, 255, 117, 0.3);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  transition: all var(--transition-base);
}

.dropdown-panel .dropdown-all-btn:hover {
  background: linear-gradient(135deg, rgba(82, 255, 117, 0.25), rgba(0, 255, 208, 0.15));
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(82, 255, 117, 0.2);
}

.dropdown-panel .dropdown-all-btn i {
  font-size: 16px;
}

.dropdown-panel .chip-nav:not(.dropdown-all-btn) {
  display: inline-flex;
  margin: 2px;
}

/* Category grid layout */
.dropdown-panel-categories {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

/* Category Sidebar Enhancement */
.cat-item-calc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-sm);
  background: linear-gradient(135deg, rgba(255, 170, 50, 0.15), rgba(255, 100, 50, 0.08));
  border: 1px solid rgba(255, 170, 50, 0.3) !important;
  border-radius: var(--radius-md) !important;
  font-weight: 700 !important;
  color: #ffaa32 !important;
  transition: all var(--transition-base);
}

.cat-item-calc:hover {
  background: linear-gradient(135deg, rgba(255, 170, 50, 0.25), rgba(255, 100, 50, 0.15));
  border-color: #ffaa32 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 170, 50, 0.2);
  color: #ffcc66 !important;
}

.cat-item-calc i {
  font-size: 16px;
}

.cat-item-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, rgba(82, 255, 117, 0.15), rgba(0, 255, 208, 0.08));
  border: 1px solid rgba(82, 255, 117, 0.3) !important;
  border-radius: var(--radius-md) !important;
  font-weight: 700 !important;
  color: var(--accent) !important;
  transition: all var(--transition-base);
}

.cat-item-all:hover {
  background: linear-gradient(135deg, rgba(82, 255, 117, 0.25), rgba(0, 255, 208, 0.15));
  border-color: var(--accent) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(82, 255, 117, 0.2);
}

.cat-item-all i {
  font-size: 16px;
}

/* Filter section for category page */
.filter-section-cat {
  position: relative;
  z-index: 10;
  margin-bottom: var(--space-lg);
}

.filter-section-cat .filter-wrapper {
  margin-bottom: var(--space-md);
}

.filter-section-cat .filter-dropdowns {
  margin-top: 0;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, rgba(12, 18, 16, 0.8), rgba(8, 12, 10, 0.9));
  border: 1px solid rgba(146, 255, 185, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.faq-title {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(146, 255, 185, 0.15);
}

.faq-title i {
  font-size: 24px;
  color: var(--accent);
  -webkit-background-clip: unset;
  background-clip: unset;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(14, 22, 18, 0.8), rgba(10, 16, 14, 0.9));
  border: 1px solid rgba(146, 255, 185, 0.12);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: rgba(146, 255, 185, 0.25);
  box-shadow: 0 4px 15px rgba(82, 255, 117, 0.08);
}

.faq-item[open] {
  border-color: rgba(82, 255, 117, 0.3);
  box-shadow: 0 4px 20px rgba(82, 255, 117, 0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  transition: all var(--transition-base);
  list-style: none;
}

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

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

.faq-question span {
  flex: 1;
}

.faq-icon {
  font-size: 12px;
  color: var(--muted);
  transition: transform var(--transition-base);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  animation: faqSlideDown 0.3s ease;
}

.faq-answer p {
  margin: 0;
}

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

/* ===== DROPDOWN CALCULATOR BUTTON ===== */
.nav-dropdown .dropdown-panel .dropdown-calc-btn {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 170, 50, 0.15), rgba(255, 100, 50, 0.08));
  border: 1px solid rgba(255, 170, 50, 0.3);
  color: #ffaa32;
  transition: all var(--transition-base);
  white-space: nowrap;
  min-height: 44px;
  margin-bottom: var(--space-xs);
}

.nav-dropdown .dropdown-panel .dropdown-calc-btn:hover {
  background: linear-gradient(135deg, rgba(255, 170, 50, 0.25), rgba(255, 100, 50, 0.15));
  border-color: #ffaa32;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 170, 50, 0.2);
  color: #ffcc66;
}

.nav-dropdown .dropdown-panel .dropdown-calc-btn i {
  font-size: 16px;
}

/* ===== ENHANCED CATEGORY BAR ===== */
.category-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: var(--space-xl) 0 var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, rgba(11, 17, 20, 0.7), rgba(7, 11, 13, 0.8));
  border: 1px solid rgba(146, 255, 185, 0.1);
  box-shadow:
    0 0 0 1px rgba(146, 255, 185, 0.05) inset,
    0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.category-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(82, 255, 117, 0.3), transparent);
}

.category-bar .cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(14, 24, 20, 0.9), rgba(10, 16, 14, 0.95));
  border: 1px solid rgba(146, 255, 185, 0.15);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.category-bar .cat-chip::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(82, 255, 117, 0.15), transparent);
  transition: left 0.4s ease;
}

.category-bar .cat-chip:hover::before {
  left: 100%;
}

.category-bar .cat-chip:hover {
  color: var(--fg);
  border-color: rgba(82, 255, 117, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(82, 255, 117, 0.2);
  background: linear-gradient(180deg, rgba(18, 32, 26, 0.95), rgba(12, 20, 16, 0.98));
}

/* ===== ENHANCED DROPDOWN PANEL ===== */
.nav-dropdown .dropdown-panel {
  min-width: 560px;
  max-width: min(95vw, 680px);
  padding: var(--space-lg) var(--space-xl);
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.nav-dropdown .dropdown-panel .chip-nav:not(.dropdown-all-btn):not(.dropdown-calc-btn) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(14, 22, 18, 0.85), rgba(10, 16, 14, 0.92));
  border: 1px solid rgba(146, 255, 185, 0.12);
  transition: all var(--transition-base);
  white-space: normal;
  min-height: 42px;
  line-height: 1.3;
}

.nav-dropdown .dropdown-panel .chip-nav:not(.dropdown-all-btn):not(.dropdown-calc-btn):hover {
  background: linear-gradient(180deg, rgba(20, 32, 26, 0.92), rgba(14, 22, 18, 0.96));
  border-color: rgba(82, 255, 117, 0.45);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(82, 255, 117, 0.12);
}

/* Enhanced sidebar styles moved to main category section above */

/* Category Header Enhancement */
.brand-cat h1 {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 40%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(82, 255, 117, 0.3);
}

/* Category Description */
.category-description {
  margin-top: var(--space-md);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 800px;
}

/* ===== KEYWORDS SECTION ===== */
.keywords-section {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, rgba(12, 18, 16, 0.6), rgba(8, 12, 10, 0.7));
  border: 1px solid rgba(146, 255, 185, 0.08);
}

.keywords-title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: var(--space-md);
}

.keywords-title i {
  font-size: 14px;
  color: var(--accent);
}

.keywords-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keyword-tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(14, 22, 18, 0.7), rgba(10, 16, 14, 0.8));
  border: 1px solid rgba(146, 255, 185, 0.1);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.keyword-tag:hover {
  color: var(--fg);
  border-color: rgba(146, 255, 185, 0.25);
  background: linear-gradient(180deg, rgba(18, 28, 22, 0.8), rgba(14, 20, 16, 0.85));
}

/* Mobile Responsiveness for FAQ */
@media (max-width: 768px) {
  .faq-section {
    padding: var(--space-lg);
    margin-top: var(--space-xl);
  }

  .faq-title {
    font-size: 18px;
  }

  .faq-question {
    padding: var(--space-md);
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 var(--space-md) var(--space-md);
    font-size: 13px;
  }

  .nav-dropdown .dropdown-panel {
    min-width: 300px;
  }

  .nav-dropdown:hover .dropdown-panel,
  .nav-dropdown:focus-within .dropdown-panel {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================
   MOBILE APP EXPERIENCE
   Native mobile application feel for touch devices
   ========================================================== */

/* Bottom Navigation - hidden on desktop */
.mobile-bottom-nav {
  display: none;
}

/* Search Sheet - hidden on desktop */
.mobile-search-sheet {
  display: none;
}

/* ===== MOBILE APP MODE (≤860px) ===== */
@media (max-width: 860px) {

  /* ------ BOTTOM TAB NAVIGATION ------ */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    height: 60px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: linear-gradient(180deg, rgba(8, 12, 14, 0.88), rgba(5, 7, 9, 0.96));
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border-top: 1px solid rgba(82, 255, 117, 0.1);
    box-shadow:
      0 -2px 20px rgba(0, 0, 0, 0.5),
      0 -1px 0 rgba(82, 255, 117, 0.06) inset;
    align-items: stretch;
    justify-content: space-around;
  }

  .bnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 1;
    padding: 6px 0 2px;
    color: rgba(159, 224, 179, 0.5);
    text-decoration: none;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
  }

  .bnav-item i {
    font-size: 18px;
    transition: all 0.2s ease;
    line-height: 1;
  }

  .bnav-item span {
    line-height: 1;
  }

  /* Active state */
  .bnav-item.active {
    color: var(--accent);
  }

  .bnav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 2.5px;
    background: linear-gradient(90deg, var(--accent), var(--accent-3));
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 12px rgba(82, 255, 117, 0.5);
  }

  .bnav-item.active i {
    filter: drop-shadow(0 0 8px rgba(82, 255, 117, 0.6));
  }

  /* ---- Primary (Bonuslar) button ---- */
  .bnav-primary {
    position: relative;
  }

  .bnav-primary i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #00ffd0);
    color: #070b0d;
    font-size: 18px;
    margin-top: -18px;
    box-shadow:
      0 2px 16px rgba(82, 255, 117, 0.4),
      0 0 0 3px rgba(8, 12, 14, 0.95),
      0 0 0 4px rgba(82, 255, 117, 0.2);
    transition: all 0.25s ease;
    filter: none;
  }

  .bnav-primary span {
    color: var(--accent);
    font-weight: 700;
    margin-top: 2px;
  }

  .bnav-primary.active i {
    box-shadow:
      0 2px 20px rgba(82, 255, 117, 0.6),
      0 0 0 3px rgba(8, 12, 14, 0.95),
      0 0 0 4px rgba(82, 255, 117, 0.35);
    filter: none;
  }

  .bnav-primary.active::before {
    display: none;
  }

  .bnav-primary:active i {
    transform: scale(0.92);
  }

  /* Tap feedback */
  .bnav-item:active {
    opacity: 0.6;
  }

  .bnav-primary:active {
    opacity: 1;
  }

  /* ------ BODY PADDING FOR BOTTOM NAV ------ */
  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  }

  body.menu-open {
    padding-bottom: 0;
  }

  /* ------ SLIM MOBILE HEADER ------ */
  .site-header {
    padding: 4px var(--space-sm);
  }

  .site-header-inner {
    min-height: 48px;
    padding: 4px var(--space-md);
  }

  .logo-link .brand .logo {
    width: 32px;
    height: 32px;
  }

  .logo-link .brand h1 {
    font-size: 16px;
  }

  .logo-link .brand {
    gap: 6px;
  }

  /* Hide hamburger menu - replaced by bottom nav */
  .menu-toggle {
    display: none !important;
  }

  /* Keep mobile panel but hidden - bottom nav replaces it */
  .site-header.open .mobile-panel {
    display: none;
  }

  /* Show a compact mobile search icon in header */
  .site-header .header-search-wrapper {
    display: flex !important;
    margin-left: auto;
  }

  .site-header .header-search-wrapper .search-toggle {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
  }

  /* When search is open: full-width bar covering the header */
  .site-header-inner {
    position: relative;
  }

  .site-header .header-search-wrapper.open {
    position: static;
  }

  .site-header .header-search {
    left: 8px;
    right: 8px;
    width: auto !important;
    max-width: none !important;
    background: linear-gradient(180deg, rgba(10, 18, 14, 1), rgba(6, 10, 8, 1)) !important;
    z-index: 10;
    animation: none !important;
  }

  .site-header .main-nav {
    display: none !important;
  }

  /* ------ MOBILE SEARCH SHEET ------ */
  .mobile-search-sheet {
    position: fixed;
    bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    left: 0;
    right: 0;
    z-index: 9999;
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(180deg, rgba(10, 15, 18, 0.96), rgba(7, 11, 13, 0.99));
    border-top: 1px solid rgba(82, 255, 117, 0.15);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.6);
    transform: translateY(110%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    display: block;
  }

  .mobile-search-sheet.open {
    transform: translateY(0);
  }

  .search-sheet-form {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: linear-gradient(180deg, rgba(14, 22, 18, 0.95), rgba(10, 16, 14, 0.98));
    border: 1.5px solid rgba(82, 255, 117, 0.3);
    border-radius: var(--radius-lg);
    padding: 10px 14px;
  }

  .search-sheet-form:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(82, 255, 117, 0.15);
  }

  .search-sheet-form svg {
    color: var(--accent);
    flex-shrink: 0;
    opacity: 0.8;
  }

  .search-sheet-form input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--fg);
    font-size: 15px;
    font-family: "Montserrat", sans-serif;
    min-width: 0;
  }

  .search-sheet-form input::placeholder {
    color: var(--muted);
    opacity: 0.5;
  }

  .search-sheet-close {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
  }

  /* ------ COMPACT PAGE LAYOUT ------ */
  .container {
    padding: var(--space-sm) var(--space-sm) var(--space-md);
  }

  /* ------ COMPACT HERO SECTION ------ */
  .header {
    padding: var(--space-md) var(--space-md);
    border-radius: var(--radius-lg);
    margin-bottom: 0;
  }

  .header .brand h1 {
    font-size: 18px;
  }

  .header p {
    font-size: 12px;
    margin-top: 2px;
  }

  /* ------ COMPACT CATEGORY BAR ------ */
  .category-bar {
    margin: var(--space-sm) 0;
    padding: var(--space-sm) var(--space-sm);
    gap: 5px;
    border-radius: var(--radius-md);
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .category-bar::-webkit-scrollbar {
    display: none;
  }

  .category-bar .cat-chip {
    font-size: 10px;
    padding: 7px 12px;
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* ------ BONUSLAR PAGE: CATEGORY DROPDOWN ------ */
  .bonuslar-cat-desktop {
    display: none !important;
  }

  .bonuslar-cat-mobile {
    display: block;
    margin: var(--space-sm) 0;
  }

  .bonuslar-cat-mobile .cat-list {
    display: none !important;
    margin-top: var(--space-sm);
    max-height: 320px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: linear-gradient(180deg, rgba(10, 18, 14, 0.95), rgba(7, 12, 10, 0.98));
    border: 1px solid rgba(82, 255, 117, 0.12);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
  }

  .bonuslar-cat-mobile.open .cat-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    animation: catDropdownSlide 0.25s ease;
  }

  .bonuslar-cat-mobile .cat-item {
    display: block;
    text-decoration: none;
    color: var(--muted);
    background: linear-gradient(180deg, rgba(14, 24, 20, 0.9), rgba(10, 16, 14, 0.95));
    border: 1px solid rgba(146, 255, 185, 0.12);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    word-break: break-word;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
  }

  .bonuslar-cat-mobile .cat-item:hover {
    border-color: rgba(146, 255, 185, 0.3);
    color: var(--fg);
  }

  .bonuslar-cat-mobile .cat-item-calc,
  .bonuslar-cat-mobile .cat-item-all {
    grid-column: 1 / -1;
  }

  .bonuslar-cat-mobile .cat-item-calc {
    background: linear-gradient(135deg, rgba(82, 255, 117, 0.1), rgba(82, 255, 117, 0.05));
    border-color: rgba(82, 255, 117, 0.25);
    color: var(--accent);
  }

  .bonuslar-cat-mobile.open .cat-toggle-caret {
    transform: rotate(180deg);
    color: var(--accent);
  }

  /* ------ HORIZONTAL COMPACT CARDS ------ */
  .grid,
  .grid-cat {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
  }

  .brand-card {
    border-radius: var(--radius-lg);
  }

  /* Disable hover transforms on touch */
  .brand-card:hover {
    transform: none;
  }

  .brand-card:hover::before {
    opacity: 0;
  }

  /* ------ CINEMATIC STACK CARD ------ */
  .brand-card .card-inner {
    display: flex;
    flex-direction: column;
    padding: 0;
    height: auto;
    gap: 0;
  }

  /* Image - full width hero banner with gradient fade */
  .brand-card .brand-logo {
    order: 1;
    width: 100%;
    height: 180px;
    margin: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    min-height: unset;
    position: relative;
    border: none;
    box-shadow: none;
    background: linear-gradient(135deg, rgba(20, 30, 26, 0.8), rgba(14, 22, 18, 0.9));
  }

  .brand-card .brand-logo::after {
    display: none;
  }

  .brand-card .brand-logo img {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    object-fit: cover;
  }

  .brand-card .brand-logo a {
    display: block;
    width: 100%;
    height: 100%;
  }

  /* Site name - transparent strip overlapping image bottom */
  .brand-card .brand-title {
    order: 2;
    margin: -10px 0 0;
    position: relative;
    z-index: 2;
    padding: 6px 14px 8px;
    background: linear-gradient(to top, rgba(8, 12, 10, 0.95) 40%, rgba(8, 12, 10, 0.7) 75%, transparent);
    
  }

  .brand-card .brand-title h2,
  .brand-card .brand-title h3 {
    font-size: 12px;
    font-weight: 800;
    text-align: left;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
    color: #fff;
  }

  /* Tags - below site name */
  .brand-card .card-inner > .meta {
    order: 3;
    margin: 6px 12px 0;
    gap: 4px;
  }

  .brand-card .card-inner > .meta .chip {
    font-size: 8px;
    padding: 3px 7px;
    letter-spacing: 0;
  }

  /* Bonus title - centered, prominent */
  .brand-card .bonus {
    order: 4;
    text-align: center;
    margin: 8px 12px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .brand-card .bonus h2,
  .brand-card .bonus h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    line-height: 1.35;
    color: var(--accent);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .brand-card .bonus h2 a,
  .brand-card .bonus h3 a {
    color: var(--accent);
  }

  .brand-card .bonus strong {
    font-size: 16px;
  }

  /* Bonus features */
  .brand-card .bonus-features {
    order: 5;
    justify-content: center;
    margin: 2px 12px 0;
    padding: 0;
  }

  .brand-card .bonus-features .bf-chip {
    font-size: 10px;
    padding: 3px 8px;
  }

  /* CTA buttons */
  .brand-card .cta-row {
    order: 6;
    padding: 10px 12px 12px;
    margin-top: 8px;
    border-top: 1px solid rgba(146, 255, 185, 0.06);
    gap: 6px;
  }

  .brand-card .cta-row a.btn {
    padding: 10px 10px;
    font-size: 12px;
    border-radius: var(--radius-sm);
  }

  .brand-card .cta-row a.ghost,
  .brand-card .cta-row a.ghost-bonus {
    padding: 10px 10px;
    font-size: 12px;
    border-radius: var(--radius-sm);
  }

  /* ------ HSCROLL CARDS: Reset overrides for detail page scrollers ------ */
  .hscroll-row .brand-card .brand-logo {
    height: 140px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .hscroll-row .brand-card .brand-logo::after {
    display: none;
  }

  .hscroll-row .brand-card .brand-title {
    margin: var(--space-sm) 12px 0;
    background: none;
    padding: 0;
  }

  .hscroll-row .brand-card .brand-title h2,
  .hscroll-row .brand-card .brand-title h3 {
    text-align: center;
    text-shadow: none;
    color: var(--fg);
  }

  .hscroll-row .brand-card .bonus {
    margin: 4px 12px;
  }

  .hscroll-row .brand-card .bonus h2,
  .hscroll-row .brand-card .bonus h3 {
    text-align: center;
  }

  /* ------ FILTER SECTION COMPACT ------ */
  .filter-section {
    margin: var(--space-sm) 0;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
  }

  .filter-wrapper {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
  }

  /* ------ PAGINATION COMPACT ------ */
  .pagination {
    margin: var(--space-lg) auto var(--space-md);
  }

  /* ------ FOOTER ADJUSTMENTS ------ */
  .site-footer {
    margin: var(--space-xl) auto var(--space-sm);
    padding: 0 var(--space-sm);
  }

  .site-footer .footer-inner {
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--radius-lg);
  }

  /* ------ TOP BANNER COMPACT ------ */
  .top-banners {
    margin-bottom: 4px;
    gap: 4px;
    padding: 0 var(--space-xs);
  }

  /* ------ PAGE ENTRANCE ANIMATION ------ */
  main.container {
    animation: mobilePageSlideIn 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  }

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

  /* ------ DETAIL PAGE ADJUSTMENTS ------ */
  .detail-header .site-logo-card {
    padding: var(--space-md);
  }

  .detail-header .site-logo-card img {
    max-height: 180px;
  }

  /* ------ SITE LIST COMPACT ------ */
  .site-search-widget {
    margin-top: var(--space-sm);
  }

  /* ------ FAQ COMPACT ------ */
  .faq-section {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
  }

  /* ------ KEYWORDS COMPACT ------ */
  .keywords-section {
    margin-top: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
  }

  /* ------ CATEGORY SIDEBAR → DROPDOWN ------ */
  .cat-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    width: 100%;
    padding: 12px var(--space-md);
    background: linear-gradient(180deg, rgba(14, 24, 20, 0.95), rgba(10, 16, 14, 0.98));
    border: 1px solid rgba(82, 255, 117, 0.25);
    border-radius: var(--radius-md);
    color: var(--accent);
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
    -webkit-tap-highlight-color: transparent;
  }

  .cat-dropdown-toggle i:first-child {
    font-size: 16px;
    color: var(--accent);
  }

  .cat-dropdown-toggle span {
    flex: 1;
    text-align: left;
  }

  .cat-toggle-caret {
    font-size: 11px;
    transition: transform 0.25s ease;
    color: var(--muted);
  }

  .cat-sidebar.open .cat-toggle-caret {
    transform: rotate(180deg);
    color: var(--accent);
  }

  .cat-dropdown-toggle:active {
    opacity: 0.8;
  }

  /* Hide category list by default on mobile */
  .page-category .cat-list {
    display: none !important;
    margin-top: var(--space-sm);
    max-height: 320px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: linear-gradient(180deg, rgba(10, 18, 14, 0.95), rgba(7, 12, 10, 0.98));
    border: 1px solid rgba(82, 255, 117, 0.12);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
  }

  /* Show as 2-column grid when open */
  .page-category .cat-sidebar.open .cat-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    animation: catDropdownSlide 0.25s ease;
  }

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

  .page-category .cat-widget {
    padding: var(--space-sm);
    border-radius: var(--radius-md);
  }

  /* Action buttons (Hesaplayıcı + Tüm Bonuslar) - full width spanning both columns */
  .page-category .cat-item-calc,
  .page-category .cat-item-all {
    grid-column: 1 / -1;
    width: 100% !important;
    padding: 10px 14px !important;
    font-size: 12px;
    border-radius: var(--radius-sm) !important;
    margin-bottom: 0 !important;
    justify-content: center;
  }

  .page-category .cat-item-calc {
    border-radius: var(--radius-sm) var(--radius-sm) 0 0 !important;
    border-bottom: none !important;
  }

  .page-category .cat-item-all {
    border-radius: 0 0 var(--radius-sm) var(--radius-sm) !important;
    margin-bottom: 4px !important;
    padding-bottom: 12px !important;
    position: relative;
  }

  /* Divider line after action buttons */
  .page-category .cat-item-all::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(82, 255, 117, 0.2), transparent);
  }

  /* Category items - equal width in 2-column grid */
  .page-category .cat-item {
    font-size: 11px;
    padding: 9px 8px;
    border-radius: var(--radius-sm);
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    line-height: 1.3;
    word-break: break-word;
    min-height: 38px;
  }

  /* ------ SITELER PAGE DESKTOP STYLES (moved from inline) ------ */
  /* These are desktop-only via the general cascade; mobile overrides below */

  /* ------ SITELER PAGE MOBILE — GRID LAYOUT ------ */
  .page-siteler .header .brand h1 {
    font-size: 20px;
  }

  .page-siteler .grid {
    gap: 10px !important;
    padding: 0 4px !important;
  }

  .page-siteler .brand-card {
    display: block;
    border-radius: 14px !important;
    border: 1px solid rgba(82, 255, 117, 0.08) !important;
    background: linear-gradient(165deg, rgba(6, 22, 16, 0.7), rgba(4, 14, 10, 0.85)) !important;
    overflow: hidden !important;
  }

  .page-siteler .brand-card::before {
    display: none !important;
  }

  /* Card inner = CSS Grid */
  .page-siteler .brand-card .card-inner {
    display: grid !important;
    grid-template-columns: 44px 1fr auto auto !important;
    grid-template-rows: auto auto auto !important;
    column-gap: 10px !important;
    row-gap: 0 !important;
    padding: 0 !important;
    position: relative !important;
    min-height: 0 !important;
    align-items: center !important;
  }

  /* Row 1: Feature strip — full width top */
  .page-siteler .brand-card .meta {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    display: flex !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    gap: 0 !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: auto !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  .page-siteler .brand-card .meta .chip {
    flex: 1 !important;
    font-size: 8px !important;
    padding: 5px 6px !important;
    border-radius: 0 !important;
    background: rgba(82, 255, 117, 0.04) !important;
    border: none !important;
    border-right: 1px solid rgba(82, 255, 117, 0.08) !important;
    color: rgba(82, 255, 117, 0.65) !important;
    white-space: nowrap !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    text-align: center !important;
    text-decoration: none !important;
  }
  .page-siteler .brand-card .meta .chip:last-child {
    border-right: none !important;
  }
  .page-siteler .brand-card .meta .chip-closed {
    flex: 0 0 100% !important;
    background: rgba(239, 68, 68, 0.08) !important;
    color: rgba(252, 129, 129, 0.85) !important;
  }

  /* Row 2: Logo — left */
  .page-siteler .brand-card .brand-logo {
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    margin: 10px 0 10px 10px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(82, 255, 117, 0.1) !important;
    overflow: hidden !important;
    background: rgba(0, 0, 0, 0.3) !important;
    float: none !important;
    flex: none !important;
    align-self: center !important;
  }
  .page-siteler .brand-card .brand-logo::after {
    display: none !important;
  }
  .page-siteler .brand-card .brand-logo a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    padding: 5px !important;
    box-sizing: border-box !important;
  }
  .page-siteler .brand-card .brand-logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 6px !important;
  }

  /* Row 2: Site name — middle */
  .page-siteler .brand-card .brand-title {
    grid-column: 2 !important;
    grid-row: 2 !important;
    min-width: 0 !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 0 0 10px !important;
    background: none !important;
    width: auto !important;
    overflow: hidden !important;
    display: block !important;
    align-self: center !important;
  }
  .page-siteler .brand-card .brand-title h3 {
    text-align: left !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-shadow: none !important;
    color: #fff !important;
    letter-spacing: 0.3px !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .page-siteler .brand-card .brand-title h3 a {
    display: inline !important;
    color: inherit !important;
  }

  /* Hidden on mobile */
  .page-siteler .brand-card .site-desc {
    display: none !important;
  }

  /* cta-row: display contents so children join parent grid */
  .page-siteler .brand-card .cta-row {
    display: contents !important;
  }

  /* Row 2: Site Bilgileri — right of name */
  .page-siteler .brand-card .cta-row .btn.ghost {
    grid-column: 3 !important;
    grid-row: 2 !important;
    padding: 7px 10px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    text-align: center !important;
    background: rgba(82, 255, 117, 0.04) !important;
    border: 1px solid rgba(82, 255, 117, 0.15) !important;
    color: rgba(146, 255, 185, 0.85) !important;
    align-self: center !important;
  }

  /* Row 2: Telegram — right of Site Bilgileri */
  .page-siteler .brand-card .cta-row .btn-telegram {
    grid-column: 4 !important;
    grid-row: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 7px 10px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    background: rgba(36, 161, 222, 0.1) !important;
    border: 1px solid rgba(36, 161, 222, 0.2) !important;
    color: rgba(100, 200, 240, 0.9) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    margin-right: 10px !important;
    align-self: center !important;
  }
  .page-siteler .brand-card .cta-row .btn-telegram i {
    font-size: 12px !important;
    color: #29b6f6 !important;
  }

  /* Row 3: Güncel Giriş — full width below */
  .page-siteler .brand-card .cta-row .btn:not(.ghost) {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    padding: 9px 14px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    text-align: center !important;
    margin: 0 10px 10px !important;
  }

  /* Closed site */
  .page-siteler .brand-card.site-closed {
    opacity: 0.45 !important;
    filter: grayscale(0.5) !important;
  }
}

/* ===== VERY SMALL PHONES (≤380px) ===== */
@media (max-width: 380px) {
  .brand-card .brand-logo {
    height: 100px;
  }

  .brand-card .brand-title h2,
  .brand-card .brand-title h3 {
    font-size: 11px;
  }

  .brand-card .bonus h2,
  .brand-card .bonus h3 {
    font-size: 12px;
  }

  .brand-card .bonus-features .bf-chip {
    font-size: 9px;
    padding: 2px 6px;
  }

  .page-siteler .brand-card .card-inner {
    grid-template-columns: 36px 1fr auto auto !important;
    column-gap: 6px !important;
  }

  .page-siteler .brand-card .brand-logo {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    margin: 8px 0 8px 8px !important;
    border-radius: 8px !important;
  }

  .page-siteler .brand-card .brand-title h3 {
    font-size: 12px !important;
  }

  .page-siteler .brand-card .meta .chip {
    font-size: 7px !important;
    padding: 4px 4px !important;
  }

  .page-siteler .brand-card .cta-row .btn.ghost {
    padding: 5px 7px !important;
    font-size: 9px !important;
  }
  .page-siteler .brand-card .cta-row .btn-telegram {
    padding: 5px 7px !important;
    font-size: 9px !important;
    margin-right: 8px !important;
  }
  .page-siteler .brand-card .cta-row .btn:not(.ghost) {
    padding: 7px 8px !important;
    font-size: 10px !important;
    margin: 0 8px 8px !important;
  }

  .bnav-item {
    font-size: 8px;
  }

  .bnav-item i {
    font-size: 16px;
  }

  .bnav-primary i {
    width: 38px;
    height: 38px;
    font-size: 16px;
    margin-top: -14px;
  }
}

/* ============================================
   DESKTOP PREMIUM REDESIGN
   min-width: 861px — mobile untouched
   ============================================ */
@media (min-width: 861px) {

  /* ── 1. WIDER CONTAINER ── */
  .container {
    max-width: 1440px;
    padding: var(--space-lg) var(--space-2xl);
  }
  .site-header-inner {
    max-width: 1440px;
  }
  .top-banners {
    max-width: 1440px;
  }
  .site-footer {
    max-width: 1440px;
  }

  /* ── 2. REDUCE VISUAL NOISE ── */
  body::after {
    animation: none;
    opacity: 0.35;
  }
  .header::before {
    animation: none;
    opacity: 0.3;
    filter: blur(40px);
  }
  .header::after {
    animation: none;
    opacity: 0.2;
  }
  .brand-card::after {
    display: none;
  }
  .brand-card::before {
    filter: blur(30px);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .brand-card:hover::before {
    opacity: 0.35;
  }
  .brand-card:hover {
    transform: translateY(-3px);
    box-shadow:
      0 0 0 1px rgba(146, 255, 185, 0.06) inset,
      0 8px 24px rgba(0, 0, 0, 0.3),
      0 0 30px rgba(82, 255, 117, 0.06);
  }

  /* ── 3. HEADER — FROSTED GLASS ── */
  .site-header {
    padding: 0 var(--space-lg);
  }
  .site-header-inner {
    min-height: 56px;
    padding: var(--space-xs) var(--space-lg);
  }
  .logo-link .brand .logo {
    width: 38px;
    height: 38px;
  }
  .logo-link .brand h1 {
    font-size: 22px;
  }
  .chip-nav {
    font-size: 13px;
    padding: 8px 14px;
    border-color: rgba(146, 255, 185, 0.1);
  }
  .chip-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(82, 255, 117, 0.08);
  }
  .nav-dropdown .dropdown-panel .chip-nav:not(.dropdown-all-btn) {
    font-size: 11px;
    padding: 7px 10px;
  }

  /* ── 4. HERO SECTION — CLEAN ── */
  .header {
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(146, 255, 185, 0.06);
  }
  .brand h1 {
    font-size: clamp(24px, 3vw, 32px);
  }
  .header p {
    font-size: 15px;
    max-width: 700px;
    opacity: 0.85;
  }

  /* ── 5. HYBRID CARD SYSTEM ── */

  /* Grid: allow both full-width rows and multi-col cards */
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
  }
  .grid-cat {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-md);
  }

  /* --- NORMAL CARDS → HORIZONTAL ROW (only inside .grid/.grid-cat) --- */
  .grid > .brand-card:not(.brand-card-sp),
  .grid-cat > .brand-card:not(.brand-card-sp) {
    grid-column: 1 / -1;
    border-radius: var(--radius-md);
    border: 1px solid rgba(146, 255, 185, 0.06);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    overflow: hidden;
  }
  .grid > .brand-card:not(.brand-card-sp):hover,
  .grid-cat > .brand-card:not(.brand-card-sp):hover {
    border-color: rgba(146, 255, 185, 0.15);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 0 20px rgba(82, 255, 117, 0.04);
    transform: translateY(-2px);
  }
  .grid > .brand-card:not(.brand-card-sp) > .card-inner,
  .grid-cat > .brand-card:not(.brand-card-sp) > .card-inner {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: var(--space-md);
    padding: 10px var(--space-md);
    min-height: 0;
    height: auto;
  }
  .grid > .brand-card:not(.brand-card-sp) .meta,
  .grid-cat > .brand-card:not(.brand-card-sp) .meta {
    display: none;
  }
  .grid > .brand-card:not(.brand-card-sp) .brand-logo,
  .grid-cat > .brand-card:not(.brand-card-sp) .brand-logo {
    width: 72px;
    height: 48px;
    min-width: 72px;
    flex: 0 0 72px;
    margin: 0;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(146, 255, 185, 0.08);
    overflow: hidden;
  }
  .grid > .brand-card:not(.brand-card-sp) .brand-logo img,
  .grid-cat > .brand-card:not(.brand-card-sp) .brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .grid > .brand-card:not(.brand-card-sp) .brand-title,
  .grid-cat > .brand-card:not(.brand-card-sp) .brand-title {
    flex: 0 0 120px;
    width: 120px;
    min-width: 0;
    margin: 0;
    justify-content: flex-start;
  }
  .grid > .brand-card:not(.brand-card-sp) .brand-title h2,
  .grid > .brand-card:not(.brand-card-sp) .brand-title h3,
  .grid-cat > .brand-card:not(.brand-card-sp) .brand-title h2,
  .grid-cat > .brand-card:not(.brand-card-sp) .brand-title h3 {
    font-size: 13px;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .grid > .brand-card:not(.brand-card-sp) .bonus,
  .grid-cat > .brand-card:not(.brand-card-sp) .bonus {
    flex: 1 1 0%;
    min-width: 0;
    text-align: left;
    margin: 0;
  }
  .grid > .brand-card:not(.brand-card-sp) .bonus h2,
  .grid > .brand-card:not(.brand-card-sp) .bonus h3,
  .grid-cat > .brand-card:not(.brand-card-sp) .bonus h2,
  .grid-cat > .brand-card:not(.brand-card-sp) .bonus h3 {
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .grid > .brand-card:not(.brand-card-sp) .bonus-features,
  .grid-cat > .brand-card:not(.brand-card-sp) .bonus-features {
    flex: 0 1 auto;
    flex-wrap: nowrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  .grid > .brand-card:not(.brand-card-sp) .bf-chip,
  .grid-cat > .brand-card:not(.brand-card-sp) .bf-chip {
    font-size: 10px;
    padding: 3px 8px;
    white-space: nowrap;
  }
  .grid > .brand-card:not(.brand-card-sp) .cta-row,
  .grid-cat > .brand-card:not(.brand-card-sp) .cta-row {
    flex: 0 0 auto;
    margin: 0;
    margin-left: auto;
    padding: 0;
    padding-top: 0;
    gap: 6px;
  }
  .grid > .brand-card:not(.brand-card-sp) .cta-row a.btn,
  .grid > .brand-card:not(.brand-card-sp) .cta-row a.ghost,
  .grid-cat > .brand-card:not(.brand-card-sp) .cta-row a.btn,
  .grid-cat > .brand-card:not(.brand-card-sp) .cta-row a.ghost {
    padding: 8px 14px;
    font-size: 12px;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  /* --- PINNED CARDS → COMPACT VERTICAL --- */
  .brand-card-sp {
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25), 0 0 20px rgba(255, 200, 0, 0.05);
  }
  .brand-card-sp::before {
    opacity: 0.25;
  }
  .brand-card-sp:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35), 0 0 30px rgba(255, 200, 0, 0.1);
    transform: translateY(-4px);
  }
  .brand-card-sp:hover::before {
    opacity: 0.5;
  }
  .brand-card-sp .card-inner {
    padding: var(--space-sm) var(--space-md) var(--space-md);
  }
  .brand-card-sp .brand-logo {
    height: 150px;
    margin: var(--space-xs) 0;
  }
  .brand-card-sp .brand-title {
    margin: var(--space-sm) 0 var(--space-xs);
  }
  .brand-card-sp .brand-title h2,
  .brand-card-sp .brand-title h3 {
    font-size: 14px;
  }
  .brand-card-sp .bonus {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .brand-card-sp .bonus h2,
  .brand-card-sp .bonus h3 {
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .brand-card-sp .bonus-features {
    min-height: 30px;
    align-items: center;
    justify-content: center;
  }
  .brand-card-sp .bf-chip {
    font-size: 10px;
    padding: 3px 8px;
  }
  .brand-card-sp .cta-row a.btn,
  .brand-card-sp .cta-row a.ghost {
    padding: 10px 14px;
    font-size: 12px;
  }
  .brand-card-sp .chip {
    font-size: 9px;
    padding: 4px 10px;
  }
  .brand-card-sp .meta {
    gap: 4px;
    margin-bottom: var(--space-xs);
  }

  /* ── 6. SITELER PAGE — PREMIUM CARD GRID ── */

  /* --- Grid: responsive columns --- */
  .page-siteler .grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: var(--space-lg);
  }

  /* --- Card: override generic horizontal row + premium glass --- */
  .page-siteler .grid > .brand-card,
  .page-siteler .grid > .brand-card:not(.brand-card-sp) {
    grid-column: auto;
    display: block;
    border-radius: var(--radius-xl);
    background:
      linear-gradient(165deg, rgba(6, 22, 16, 0.92), rgba(4, 14, 10, 0.97));
    border: 1px solid rgba(82, 255, 117, 0.1);
    box-shadow:
      0 0 0 1px rgba(82, 255, 117, 0.03) inset,
      0 4px 20px rgba(0, 0, 0, 0.35);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
  }
  .page-siteler .grid > .brand-card::before {
    display: block;
    filter: blur(30px);
    opacity: 0;
    background: conic-gradient(
      from 120deg at 50% 50%,
      rgba(82, 255, 117, 0.15) 0%,
      transparent 25%,
      rgba(52, 211, 153, 0.12) 50%,
      transparent 75%,
      rgba(82, 255, 117, 0.15) 100%
    );
    transition: opacity 0.4s ease;
  }
  .page-siteler .grid > .brand-card:hover {
    border-color: rgba(82, 255, 117, 0.28);
    box-shadow:
      0 0 0 1px rgba(82, 255, 117, 0.06) inset,
      0 20px 50px rgba(0, 0, 0, 0.45),
      0 0 50px rgba(82, 255, 117, 0.05);
    transform: translateY(-8px);
  }
  .page-siteler .grid > .brand-card:hover::before {
    opacity: 0.6;
  }

  /* --- Card Inner: vertical layout (override horizontal row) --- */
  .page-siteler .grid > .brand-card > .card-inner,
  .page-siteler .grid > .brand-card:not(.brand-card-sp) > .card-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-wrap: nowrap;
    gap: 0;
    padding: var(--space-md);
    min-height: 0;
    height: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
  }

  /* --- Feature chips: visible emerald glass tags --- */
  .page-siteler .grid > .brand-card .meta,
  .page-siteler .grid > .brand-card:not(.brand-card-sp) .meta {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin: 0 0 var(--space-sm);
    flex-shrink: 0;
    position: static;
    left: auto;
    top: auto;
    z-index: auto;
  }
  .page-siteler .grid > .brand-card .meta .chip {
    font-size: 8px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    background: rgba(82, 255, 117, 0.06);
    border: 1px solid rgba(82, 255, 117, 0.15);
    color: rgba(82, 255, 117, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: all 0.3s ease;
  }
  .page-siteler .grid > .brand-card:hover .meta .chip {
    border-color: rgba(82, 255, 117, 0.25);
    color: rgba(82, 255, 117, 0.85);
    background: rgba(82, 255, 117, 0.08);
  }

  /* --- Logo: large centered with glow ring --- */
  .page-siteler .grid > .brand-card .brand-logo,
  .page-siteler .grid > .brand-card:not(.brand-card-sp) .brand-logo {
    width: 84px;
    height: 84px;
    flex: 0 0 84px;
    min-width: 84px;
    margin: 0 auto var(--space-sm);
    border-radius: 20px;
    border: 1px solid rgba(82, 255, 117, 0.12);
    background:
      linear-gradient(135deg, rgba(10, 28, 20, 0.9), rgba(6, 18, 12, 0.95));
    box-shadow:
      0 0 0 3px rgba(82, 255, 117, 0.03),
      0 4px 16px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .page-siteler .grid > .brand-card:hover .brand-logo {
    border-color: rgba(82, 255, 117, 0.3);
    box-shadow:
      0 0 0 3px rgba(82, 255, 117, 0.06),
      0 0 24px rgba(82, 255, 117, 0.1),
      0 8px 24px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
  }
  .page-siteler .grid > .brand-card .brand-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
  }
  .page-siteler .grid > .brand-card .brand-logo img,
  .page-siteler .grid > .brand-card:not(.brand-card-sp) .brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: filter 0.3s ease;
  }
  .page-siteler .grid > .brand-card:hover .brand-logo img {
    filter: brightness(1.12);
  }

  /* --- Site name --- */
  .page-siteler .grid > .brand-card .brand-title,
  .page-siteler .grid > .brand-card:not(.brand-card-sp) .brand-title {
    display: block;
    width: 100%;
    flex: 0 0 auto;
    margin: 0 0 4px;
    justify-content: center;
  }
  .page-siteler .grid > .brand-card .brand-title h3,
  .page-siteler .grid > .brand-card:not(.brand-card-sp) .brand-title h3 {
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    margin: 0;
  }
  .page-siteler .grid > .brand-card .brand-title h3 a {
    display: inline-block;
    transition: color 0.2s ease;
  }
  .page-siteler .grid > .brand-card .brand-title h3 a:hover {
    color: var(--accent);
  }

  /* --- Description: subtle, centered --- */
  .page-siteler .grid > .brand-card .site-desc {
    font-size: 11px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    margin: 0 0 var(--space-xs);
    padding: 0 var(--space-xs);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 0 0 auto;
  }

  /* --- CTA buttons: at bottom --- */
  .page-siteler .grid > .brand-card .cta-row,
  .page-siteler .grid > .brand-card:not(.brand-card-sp) .cta-row {
    margin: auto 0 0;
    margin-left: 0;
    padding-top: var(--space-sm);
    gap: 6px;
    flex: 0 0 auto;
    width: 100%;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  /* --- Telegram button (inside cta-row) --- */
  .page-siteler .grid > .brand-card .cta-row .btn-telegram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 16px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    background: rgba(36, 161, 222, 0.1);
    border: 1px solid rgba(36, 161, 222, 0.25);
    color: rgba(100, 200, 240, 0.9);
    text-decoration: none;
    transition: all 0.25s ease;
    flex: 0 0 100%;
    order: -1;
  }
  .page-siteler .grid > .brand-card .cta-row .btn-telegram i {
    font-size: 13px;
    color: #29b6f6;
  }
  .page-siteler .grid > .brand-card .cta-row .btn-telegram:hover {
    background: rgba(36, 161, 222, 0.18);
    border-color: rgba(36, 161, 222, 0.45);
    box-shadow: 0 4px 16px rgba(36, 161, 222, 0.12);
    transform: translateY(-1px);
  }
  .page-siteler .grid > .brand-card .cta-row .btn,
  .page-siteler .grid > .brand-card:not(.brand-card-sp) .cta-row .btn {
    flex: 1;
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
    border-radius: var(--radius-md);
  }
  .page-siteler .grid > .brand-card .cta-row .ghost {
    flex: 1;
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
    border-radius: var(--radius-md);
    background: rgba(82, 255, 117, 0.04) !important;
    border: 1px solid rgba(82, 255, 117, 0.18) !important;
    color: rgba(146, 255, 185, 0.9) !important;
    transition: all 0.25s ease;
  }
  .page-siteler .grid > .brand-card .cta-row .ghost:hover {
    background: rgba(82, 255, 117, 0.08) !important;
    border-color: rgba(82, 255, 117, 0.35) !important;
    box-shadow: 0 4px 16px rgba(82, 255, 117, 0.08) !important;
  }

  /* --- Hide site name in Güncel Giriş button on desktop --- */
  .page-siteler .btn-site-name {
    display: none;
  }

  /* --- Closed site: dimmed + grayscale --- */
  .page-siteler .grid > .brand-card.site-closed {
    opacity: 0.5;
    filter: grayscale(0.6);
    border-color: rgba(255, 255, 255, 0.04);
  }
  .page-siteler .grid > .brand-card.site-closed:hover {
    opacity: 0.65;
    filter: grayscale(0.3);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }
  .page-siteler .grid > .brand-card .meta .chip-closed {
    background: rgba(239, 68, 68, 0.12) !important;
    border-color: rgba(239, 68, 68, 0.25) !important;
    color: rgba(252, 129, 129, 0.9) !important;
  }

  /* --- Search bar: premium for siteler --- */
  .page-siteler .filter-section {
    margin: var(--space-lg) 0;
  }
  .page-siteler .filter-wrapper {
    background: linear-gradient(135deg, rgba(6, 22, 16, 0.8), rgba(4, 14, 10, 0.9));
    border: 1px solid rgba(82, 255, 117, 0.12);
    border-radius: var(--radius-xl);
    padding: 12px 20px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
  }
  .page-siteler .filter-wrapper:focus-within {
    border-color: rgba(82, 255, 117, 0.35);
    box-shadow:
      0 0 0 3px rgba(82, 255, 117, 0.06),
      0 8px 32px rgba(82, 255, 117, 0.06);
  }
  .page-siteler .filter-input {
    color: #fff;
    font-size: 14px;
  }
  .page-siteler .filter-icon {
    color: rgba(82, 255, 117, 0.5);
  }

  /* --- Card entrance animation --- */
  @keyframes siteCardReveal {
    from {
      opacity: 0;
      transform: translateY(24px) scale(0.95);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  .page-siteler .grid > .brand-card {
    animation: siteCardReveal 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  }
  .page-siteler .grid > .brand-card:nth-child(1) { animation-delay: 0s; }
  .page-siteler .grid > .brand-card:nth-child(2) { animation-delay: 0.04s; }
  .page-siteler .grid > .brand-card:nth-child(3) { animation-delay: 0.08s; }
  .page-siteler .grid > .brand-card:nth-child(4) { animation-delay: 0.12s; }
  .page-siteler .grid > .brand-card:nth-child(5) { animation-delay: 0.16s; }
  .page-siteler .grid > .brand-card:nth-child(6) { animation-delay: 0.2s; }
  .page-siteler .grid > .brand-card:nth-child(7) { animation-delay: 0.24s; }
  .page-siteler .grid > .brand-card:nth-child(8) { animation-delay: 0.28s; }
  .page-siteler .grid > .brand-card:nth-child(n+9) { animation-delay: 0.32s; }

  /* ── 6b. SITELER AJAX SEARCH RESULTS — SAME GRID CARD DESIGN ── */
  .page-siteler #ajaxResults {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-md);
  }
  .page-siteler #ajaxResults > div:first-child {
    grid-column: 1 / -1;
    padding: 8px 0 4px;
    opacity: 0.5;
    font-size: 12px;
    font-weight: 600;
  }
  .page-siteler #ajaxResults > .brand-card {
    grid-column: auto;
    display: block;
    border-radius: var(--radius-xl);
    background: linear-gradient(165deg, rgba(6, 22, 16, 0.92), rgba(4, 14, 10, 0.97));
    border: 1px solid rgba(82, 255, 117, 0.1);
    box-shadow: 0 0 0 1px rgba(82, 255, 117, 0.03) inset, 0 4px 20px rgba(0, 0, 0, 0.35);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
  }
  .page-siteler #ajaxResults > .brand-card:hover {
    border-color: rgba(82, 255, 117, 0.28);
    box-shadow: 0 0 0 1px rgba(82, 255, 117, 0.06) inset, 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 50px rgba(82, 255, 117, 0.05);
    transform: translateY(-8px);
  }
  .page-siteler #ajaxResults > .brand-card > .card-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-wrap: nowrap;
    gap: 0;
    padding: var(--space-md);
    min-height: 0;
    height: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
  }
  .page-siteler #ajaxResults > .brand-card .meta {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin: 0 0 var(--space-sm);
    flex-shrink: 0;
  }
  .page-siteler #ajaxResults > .brand-card .meta .chip {
    font-size: 8px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    background: rgba(82, 255, 117, 0.06);
    border: 1px solid rgba(82, 255, 117, 0.15);
    color: rgba(82, 255, 117, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.4px;
  }
  .page-siteler #ajaxResults > .brand-card .brand-logo {
    width: 84px;
    height: 84px;
    flex: 0 0 84px;
    min-width: 84px;
    margin: 0 auto var(--space-sm);
    border-radius: 20px;
    border: 1px solid rgba(82, 255, 117, 0.12);
    background: linear-gradient(135deg, rgba(10, 28, 20, 0.9), rgba(6, 18, 12, 0.95));
    box-shadow: 0 0 0 3px rgba(82, 255, 117, 0.03), 0 4px 16px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .page-siteler #ajaxResults > .brand-card:hover .brand-logo {
    border-color: rgba(82, 255, 117, 0.3);
    box-shadow: 0 0 0 3px rgba(82, 255, 117, 0.06), 0 0 24px rgba(82, 255, 117, 0.1), 0 8px 24px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
  }
  .page-siteler #ajaxResults > .brand-card .brand-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
  }
  .page-siteler #ajaxResults > .brand-card .brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  .page-siteler #ajaxResults > .brand-card .brand-title {
    display: block;
    width: 100%;
    flex: 0 0 auto;
    margin: 0 0 4px;
    justify-content: center;
  }
  .page-siteler #ajaxResults > .brand-card .brand-title h3 {
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    margin: 0;
  }
  .page-siteler #ajaxResults > .brand-card .brand-title h3 a:hover {
    color: var(--accent);
  }
  .page-siteler #ajaxResults > .brand-card .cta-row {
    margin: auto 0 0;
    padding-top: var(--space-sm);
    gap: 6px;
    flex: 0 0 auto;
    width: 100%;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .page-siteler #ajaxResults > .brand-card .cta-row .btn-telegram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 16px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    background: rgba(36, 161, 222, 0.1);
    border: 1px solid rgba(36, 161, 222, 0.25);
    color: rgba(100, 200, 240, 0.9);
    text-decoration: none;
    transition: all 0.25s ease;
    flex: 0 0 100%;
    order: -1;
  }
  .page-siteler #ajaxResults > .brand-card .cta-row .btn-telegram i {
    font-size: 13px;
    color: #29b6f6;
  }
  .page-siteler #ajaxResults > .brand-card .cta-row .btn-telegram:hover {
    background: rgba(36, 161, 222, 0.18);
    border-color: rgba(36, 161, 222, 0.45);
    box-shadow: 0 4px 16px rgba(36, 161, 222, 0.12);
    transform: translateY(-1px);
  }
  .page-siteler #ajaxResults > .brand-card .cta-row .btn {
    flex: 1;
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
    border-radius: var(--radius-md);
  }
  .page-siteler #ajaxResults > .brand-card .cta-row .ghost {
    flex: 1;
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
    border-radius: var(--radius-md);
    background: rgba(82, 255, 117, 0.04) !important;
    border: 1px solid rgba(82, 255, 117, 0.18) !important;
    color: rgba(146, 255, 185, 0.9) !important;
    transition: all 0.25s ease;
  }
  .page-siteler #ajaxResults > .brand-card .cta-row .ghost:hover {
    background: rgba(82, 255, 117, 0.08) !important;
    border-color: rgba(82, 255, 117, 0.35) !important;
    box-shadow: 0 4px 16px rgba(82, 255, 117, 0.08) !important;
  }
  .page-siteler #ajaxResults > .brand-card .btn-site-name {
    display: none;
  }
  .page-siteler #ajaxResults > .brand-card.site-closed {
    opacity: 0.5;
    filter: grayscale(0.6);
    border-color: rgba(255, 255, 255, 0.04);
  }
  .page-siteler #ajaxResults > .brand-card.site-closed:hover {
    opacity: 0.65;
    filter: grayscale(0.3);
    transform: translateY(-4px);
  }
  .page-siteler #ajaxResults > .brand-card .meta .chip-closed {
    background: rgba(239, 68, 68, 0.12) !important;
    border-color: rgba(239, 68, 68, 0.25) !important;
    color: rgba(252, 129, 129, 0.9) !important;
  }

  /* ── 7. FILTER — STICKY ── */
  .filter-section {
    position: sticky;
    top: 76px;
    z-index: 50;
    margin: var(--space-md) 0;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    background: linear-gradient(165deg, rgba(11, 17, 20, 0.92), rgba(7, 11, 13, 0.96));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(146, 255, 185, 0.06);
  }
  .filter-wrapper {
    padding: var(--space-xs) var(--space-md);
  }
  .filter-input {
    font-size: 14px;
  }
  .filter-dropdowns {
    gap: var(--space-sm);
    padding-top: var(--space-xs);
  }
  .filter-dropdown-btn {
    font-size: 12px;
    padding: 7px 12px;
  }

  /* ── 8. CATEGORY PAGE — BETTER SIDEBAR ── */
  .page-category .cat-layout {
    grid-template-columns: 240px 1fr;
    gap: var(--space-lg);
  }
  .page-category .cat-sidebar {
    top: 90px;
  }
  .page-category .cat-widget {
    padding: var(--space-md);
    border-radius: var(--radius-lg);
  }
  .page-category .cat-item {
    font-size: 13px;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
  }
  .page-category .cat-item:hover {
    transform: translateX(4px);
    border-color: rgba(146, 255, 185, 0.25);
    color: var(--fg);
  }
  .page-category .cat-item.active {
    background: linear-gradient(135deg, rgba(82, 255, 117, 0.06), transparent);
    border-color: rgba(82, 255, 117, 0.3);
    color: var(--accent);
  }

  /* Category filter section within cat-main */
  .filter-section-cat {
    position: sticky;
    top: 76px;
    z-index: 50;
    background: linear-gradient(165deg, rgba(11, 17, 20, 0.92), rgba(7, 11, 13, 0.96));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-md);
  }

  /* ── 9. CATEGORY BAR — REFINED ── */
  .category-bar {
    margin: var(--space-md) 0;
    padding: var(--space-sm) var(--space-md);
    gap: var(--space-xs);
    border-radius: var(--radius-md);
    background: rgba(11, 17, 20, 0.25);
    border: 1px solid rgba(146, 255, 185, 0.04);
  }
  .category-bar .cat-chip {
    font-size: 11px;
    padding: 6px 12px;
    border-color: rgba(146, 255, 185, 0.08);
  }
  .category-bar .cat-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(82, 255, 117, 0.06);
  }

  /* ── 10. DETAIL PAGES — TWO COLUMN ── */
  .detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-xl);
    align-items: start;
  }
  .detail-aside {
    position: sticky;
    top: 90px;
  }
  .detail-aside .content-card {
    margin-top: 0;
  }
  .detail-aside .calc-card {
    margin-top: 0;
  }
  .detail-aside .aside-cta-card {
    margin-top: var(--space-md);
  }
  .detail-aside .aside-cta-card .cta-row {
    margin-top: 0;
  }
  .detail-aside .aside-cta-card .cta-row + .cta-row {
    margin-top: var(--space-sm);
  }

  /* Detail header — horizontal layout (image left, info right) */
  .detail-header {
    gap: var(--space-xl);
  }
  .detail-header .header {
    padding: var(--space-lg) var(--space-xl);
  }
  .detail-header .header:has(.bonus-cover) {
    flex-direction: row;
    align-items: stretch;
    gap: var(--space-xl);
  }
  .detail-header .bonus-cover {
    flex: 0 0 380px;
    max-width: 380px;
    margin-bottom: 0;
  }
  .detail-header .bonus-cover img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    border-radius: var(--radius-lg);
  }
  .detail-header-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    min-width: 0;
  }
  .detail-header-info .meta {
    margin-bottom: 0;
  }
  .detail-header-info .brand-cat h1 {
    font-size: clamp(20px, 2.5vw, 28px);
    line-height: 1.3;
  }
  .detail-header-info p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
  }
  .detail-header-ctas {
    display: flex;
    gap: var(--space-sm);
    margin-top: auto;
  }
  .detail-header-ctas .cta-row {
    margin-top: 0;
    padding-top: 0;
  }
  .detail-header .site-logo-card {
    width: 260px;
    flex-shrink: 0;
  }

  /* ── 11. FOOTER — COMPACT ── */
  .site-footer {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
  }
  .site-footer .footer-inner {
    padding: var(--space-xl) var(--space-2xl);
  }
  .footer-top {
    gap: var(--space-xl);
    padding-bottom: var(--space-lg);
  }
  .footer-bottom {
    padding-top: var(--space-lg);
  }

  /* ── 12. PAGINATION — COMPACT ── */
  .pagination {
    margin: var(--space-xl) auto var(--space-md);
    gap: var(--space-sm);
  }
  .pagination-btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 13px;
    border-radius: var(--radius-md);
  }
  .pagination-num {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }
  .pagination-info {
    font-size: 13px;
    margin-bottom: var(--space-md);
  }

  /* ── 13. MICRO-INTERACTIONS ── */
  @keyframes dkCardIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .grid .brand-card,
  .grid-cat .brand-card {
    animation: dkCardIn 0.35s ease both;
  }
  .grid .brand-card:nth-child(1),
  .grid-cat .brand-card:nth-child(1) { animation-delay: 0s; }
  .grid .brand-card:nth-child(2),
  .grid-cat .brand-card:nth-child(2) { animation-delay: 0.04s; }
  .grid .brand-card:nth-child(3),
  .grid-cat .brand-card:nth-child(3) { animation-delay: 0.08s; }
  .grid .brand-card:nth-child(4),
  .grid-cat .brand-card:nth-child(4) { animation-delay: 0.12s; }
  .grid .brand-card:nth-child(5),
  .grid-cat .brand-card:nth-child(5) { animation-delay: 0.16s; }
  .grid .brand-card:nth-child(n+6),
  .grid-cat .brand-card:nth-child(n+6) { animation-delay: 0.2s; }

  /* Hscroll cards stay compact vertical on desktop too */
  .hscroll-row .brand-card {
    width: clamp(240px, 22vw, 280px);
  }
  .hscroll-row .brand-card .brand-logo {
    height: 140px;
  }

  /* Single-item grid override */
  .grid.grid--single {
    grid-template-columns: clamp(280px, 40vw, 380px);
    justify-content: center;
  }
  .grid.grid--single .brand-card:not(.brand-card-sp) {
    grid-column: auto;
  }
  .grid.grid--single .brand-card:not(.brand-card-sp) .card-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .grid.grid--single .brand-card:not(.brand-card-sp) .meta {
    display: flex;
  }
  .grid.grid--single .brand-card:not(.brand-card-sp) .brand-logo {
    width: 100%;
    height: 160px;
    margin: var(--space-xs) 0;
  }
  .grid.grid--single .brand-card:not(.brand-card-sp) .brand-title {
    width: auto;
    justify-content: center;
    margin: var(--space-sm) 0 var(--space-xs);
  }
  .grid.grid--single .brand-card:not(.brand-card-sp) .brand-title h2,
  .grid.grid--single .brand-card:not(.brand-card-sp) .brand-title h3 {
    text-align: center;
    white-space: normal;
  }
  .grid.grid--single .brand-card:not(.brand-card-sp) .bonus {
    text-align: center;
  }
  .grid.grid--single .brand-card:not(.brand-card-sp) .bonus h2,
  .grid.grid--single .brand-card:not(.brand-card-sp) .bonus h3 {
    white-space: normal;
  }
  .grid.grid--single .brand-card:not(.brand-card-sp) .bonus-features {
    flex-wrap: wrap;
    justify-content: center;
  }
  .grid.grid--single .brand-card:not(.brand-card-sp) .cta-row {
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
  }
  .grid.grid--single .brand-card:not(.brand-card-sp) .cta-row a.btn,
  .grid.grid--single .brand-card:not(.brand-card-sp) .cta-row a.ghost {
    flex: 1;
  }
  /* ── 14. AJAX SEARCH RESULTS — HORIZONTAL LIST ── */
  #ajaxResults .brand-card {
    display: block;
    border-radius: var(--radius-md);
    border: 1px solid rgba(146, 255, 185, 0.06);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
    margin-bottom: 6px;
    overflow: hidden;
  }
  #ajaxResults .brand-card::before,
  #ajaxResults .brand-card::after {
    display: none;
  }
  #ajaxResults .brand-card .card-inner {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: var(--space-md);
    padding: 10px var(--space-md);
    height: auto;
  }
  #ajaxResults .brand-card .brand-logo {
    width: 72px;
    height: 48px;
    min-width: 72px;
    flex: 0 0 72px;
    margin: 0;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(146, 255, 185, 0.08);
    overflow: hidden;
  }
  #ajaxResults .brand-card .brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #ajaxResults .brand-card .brand-title {
    flex: 0 0 120px;
    width: 120px;
    min-width: 0;
    margin: 0;
    justify-content: flex-start;
  }
  #ajaxResults .brand-card .brand-title h3 {
    font-size: 13px;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #ajaxResults .brand-card .bonus {
    flex: 1 1 0%;
    min-width: 0;
    text-align: left;
    margin: 0;
  }
  #ajaxResults .brand-card .bonus h3 {
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #ajaxResults .brand-card .bonus-features {
    flex: 0 1 auto;
    flex-wrap: nowrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  #ajaxResults .brand-card .bf-chip {
    font-size: 10px;
    padding: 3px 8px;
    white-space: nowrap;
  }
  #ajaxResults .brand-card .cta-row {
    flex: 0 0 auto;
    margin: 0;
    margin-left: auto;
    padding: 0;
    padding-top: 0;
    gap: 6px;
  }
  #ajaxResults .brand-card .cta-row a.btn,
  #ajaxResults .brand-card .cta-row a.ghost {
    padding: 8px 14px;
    font-size: 12px;
    flex: 0 0 auto;
    white-space: nowrap;
  }
  #ajaxResults .brand-card .meta {
    display: none;
  }

  /* ══════════════════════════════════════════════
     15. HOMEPAGE PREMIUM — ALL CARDS GOLDEN VERTICAL
     ══════════════════════════════════════════════ */

  /* --- Grid — 4 Columns for Premium Vertical Cards --- */
  .page-home .grid {
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
  }

  /* --- OVERRIDE: Undo Horizontal Row → Back to Vertical --- */
  .page-home .grid > .brand-card:not(.brand-card-sp) {
    grid-column: auto;
    background: linear-gradient(165deg, rgba(22, 18, 10, 0.95), rgba(14, 11, 7, 0.98));
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: var(--radius-xl);
    box-shadow:
      0 0 0 1px rgba(255, 215, 0, 0.1) inset,
      0 4px 24px rgba(0, 0, 0, 0.35),
      0 0 40px rgba(255, 200, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .page-home .grid > .brand-card:not(.brand-card-sp):hover {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow:
      0 0 0 1px rgba(255, 215, 0, 0.15) inset,
      0 16px 48px rgba(0, 0, 0, 0.45),
      0 0 60px rgba(255, 200, 0, 0.12);
    transform: translateY(-6px);
  }

  /* Golden conic glow on hover */
  .page-home .grid > .brand-card:not(.brand-card-sp)::before {
    background: conic-gradient(
      from 0deg at 50% 50%,
      rgba(255, 214, 86, 0.2) 0%,
      transparent 20%,
      rgba(255, 187, 0, 0.15) 40%,
      transparent 60%,
      rgba(255, 230, 120, 0.2) 80%,
      rgba(255, 214, 86, 0.2) 100%
    );
    display: block;
    filter: blur(25px);
    opacity: 0;
  }
  .page-home .grid > .brand-card:not(.brand-card-sp):hover::before {
    opacity: 0.5;
  }
  /* Re-enable shine sweep with gold tint */
  .page-home .grid > .brand-card:not(.brand-card-sp)::after {
    display: block;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 215, 0, 0.04),
      transparent
    );
  }
  .page-home .grid > .brand-card:not(.brand-card-sp):hover::after {
    left: 150%;
  }

  /* --- Card Inner — Back to Column Direction --- */
  .page-home .grid > .brand-card:not(.brand-card-sp) > .card-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-md);
    height: 100%;
    box-sizing: border-box;
  }

  /* --- Meta Tags — Visible, Golden --- */
  .page-home .grid > .brand-card:not(.brand-card-sp) .meta {
    display: flex;
    gap: 6px;
    margin-bottom: var(--space-sm);
  }
  .page-home .grid > .brand-card:not(.brand-card-sp) .chip {
    color: #2b2300;
    border: 1px solid rgba(255, 215, 0, 0.5);
    background: linear-gradient(180deg, rgba(255, 243, 173, 0.95), rgba(255, 223, 120, 0.98));
    box-shadow: 0 2px 8px rgba(255, 210, 0, 0.12);
    font-size: 9px;
    padding: 4px 10px;
  }

  /* --- Brand Logo — Vertical Full Width --- */
  .page-home .grid > .brand-card:not(.brand-card-sp) .brand-logo {
    width: 100%;
    height: 180px;
    flex: 0 0 auto;
    min-width: 0;
    margin: var(--space-xs) 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(30, 25, 15, 0.9), rgba(20, 16, 10, 0.95));
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow:
      0 0 0 1px rgba(255, 215, 0, 0.06) inset,
      0 4px 16px rgba(255, 200, 0, 0.06);
    overflow: hidden;
  }
  .page-home .grid > .brand-card:not(.brand-card-sp) .brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .page-home .grid > .brand-card:not(.brand-card-sp):hover .brand-logo img {
    filter: brightness(1.08) drop-shadow(0 0 16px rgba(255, 200, 0, 0.2));
    transform: scale(1.04);
  }

  /* --- Brand Title — Centered --- */
  .page-home .grid > .brand-card:not(.brand-card-sp) .brand-title {
    flex: 0 0 auto;
    width: auto;
    margin: var(--space-sm) 0 2px;
    justify-content: center;
  }
  .page-home .grid > .brand-card:not(.brand-card-sp) .brand-title h2,
  .page-home .grid > .brand-card:not(.brand-card-sp) .brand-title h3 {
    font-size: 15px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
  .page-home .grid > .brand-card:not(.brand-card-sp) .brand-title a:hover {
    color: #FFE08A;
  }

  /* --- Bonus Title — Centered --- */
  .page-home .grid > .brand-card:not(.brand-card-sp) .bonus {
    flex: 0 0 auto;
    min-width: auto;
    text-align: center;
    margin: 0 0 4px;
  }
  .page-home .grid > .brand-card:not(.brand-card-sp) .bonus h2,
  .page-home .grid > .brand-card:not(.brand-card-sp) .bonus h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    color: rgba(255, 235, 180, 0.75);
  }
  .page-home .grid > .brand-card:not(.brand-card-sp) .bonus a:hover h3 {
    color: #FFE08A;
  }

  /* --- Bonus Features — Centered Wrap --- */
  .page-home .grid > .brand-card:not(.brand-card-sp) .bonus-features {
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin: 0;
    padding: var(--space-xs) 0;
    overflow: visible;
  }
  .page-home .grid > .brand-card:not(.brand-card-sp) .bf-chip {
    font-size: 10px;
    padding: 4px 10px;
    white-space: nowrap;
    background: rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.2);
    color: rgba(255, 235, 180, 0.85);
  }
  .page-home .grid > .brand-card:not(.brand-card-sp) .bf-chip i {
    color: #FFD13D;
  }

  /* --- CTA Row — Golden Buttons --- */
  .page-home .grid > .brand-card:not(.brand-card-sp) .cta-row {
    flex: 0 0 auto;
    margin: auto 0 0;
    margin-left: 0;
    padding: var(--space-sm) 0 0;
    gap: 8px;
    justify-content: center;
  }
  .page-home .grid > .brand-card:not(.brand-card-sp) .cta-row a.btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 13px;
    white-space: nowrap;
    color: #ffe9a6 !important;
    background: linear-gradient(180deg, rgba(32, 26, 12, 0.95), rgba(22, 18, 9, 0.98)) !important;
    border: 1px solid rgba(255, 215, 0, 0.35) !important;
    box-shadow: none !important;
  }
  .page-home .grid > .brand-card:not(.brand-card-sp) .cta-row a.btn:hover {
    border-color: rgba(255, 215, 0, 0.6) !important;
    box-shadow: 0 4px 16px rgba(255, 200, 0, 0.12) !important;
    transform: translateY(-2px);
  }
  .page-home .grid > .brand-card:not(.brand-card-sp) .cta-row a.ghost {
    flex: 1;
    padding: 12px 16px;
    font-size: 13px;
    white-space: nowrap;
    color: #2b2300 !important;
    background: linear-gradient(135deg, #FFE08A 0%, #FFD13D 50%, #FFBD0A 100%) !important;
    border: none !important;
    box-shadow:
      0 4px 16px rgba(255, 193, 39, 0.3),
      0 0 0 1px rgba(255, 255, 255, 0.2) inset !important;
  }
  .page-home .grid > .brand-card:not(.brand-card-sp) .cta-row a.ghost:hover {
    box-shadow:
      0 6px 24px rgba(255, 193, 39, 0.45),
      0 0 30px rgba(255, 193, 39, 0.2),
      0 0 0 1px rgba(255, 255, 255, 0.25) inset !important;
    transform: translateY(-2px);
  }

  /* --- Homepage Card Entrance Animation --- */
  @keyframes homeCardReveal {
    from {
      opacity: 0;
      transform: translateY(24px) scale(0.96);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  .page-home .grid > .brand-card {
    animation: homeCardReveal 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  }
  .page-home .grid > .brand-card:nth-child(1) { animation-delay: 0s; }
  .page-home .grid > .brand-card:nth-child(2) { animation-delay: 0.06s; }
  .page-home .grid > .brand-card:nth-child(3) { animation-delay: 0.12s; }
  .page-home .grid > .brand-card:nth-child(4) { animation-delay: 0.18s; }
  .page-home .grid > .brand-card:nth-child(5) { animation-delay: 0.24s; }
  .page-home .grid > .brand-card:nth-child(6) { animation-delay: 0.3s; }
  .page-home .grid > .brand-card:nth-child(7) { animation-delay: 0.35s; }
  .page-home .grid > .brand-card:nth-child(8) { animation-delay: 0.4s; }
  .page-home .grid > .brand-card:nth-child(n+9) { animation-delay: 0.45s; }

  /* Also style pinned cards on home with same golden vertical */
  .page-home .grid > .brand-card-sp {
    border-color: rgba(255, 215, 0, 0.4);
  }
  .page-home .grid > .brand-card-sp .brand-logo {
    height: 180px;
  }

} /* END desktop media query */
