/* ==========================================================================
   BonusVakti - Neon Blue/Purple Theme
   ========================================================================== */

:root {
  /* Brand Colors - Neon Blue & Purple */
  --bv-blue: #00d4ff;
  --bv-blue-deep: #0088ff;
  --bv-cyan: #00e5ff;
  --bv-purple: #b026ff;
  --bv-purple-deep: #7c00ff;
  --bv-magenta: #ff00d4;
  --bv-pink: #ff3ea5;

  /* Gradients */
  --bv-grad: linear-gradient(135deg, #00d4ff 0%, #7c00ff 50%, #b026ff 100%);
  --bv-grad-rev: linear-gradient(135deg, #b026ff 0%, #7c00ff 50%, #00d4ff 100%);
  --bv-grad-soft: linear-gradient(135deg, rgba(0,212,255,.15), rgba(176,38,255,.15));
  --bv-grad-text: linear-gradient(90deg, #00e5ff, #b026ff);

  /* Dark Surfaces */
  --bv-bg: #070312;
  --bv-bg-2: #0c0620;
  --bv-surface: #120a28;
  --bv-surface-2: #1a0f38;
  --bv-surface-3: #22164a;
  --bv-line: rgba(124, 0, 255, 0.25);
  --bv-line-2: rgba(0, 212, 255, 0.25);

  /* Text */
  --bv-text: #e9e6ff;
  --bv-text-soft: #b6b0d8;
  --bv-text-muted: #7a7399;

  /* Shadows / Glow */
  --bv-glow-blue: 0 0 24px rgba(0, 212, 255, 0.55);
  --bv-glow-purple: 0 0 24px rgba(176, 38, 255, 0.55);
  --bv-glow-mix: 0 0 30px rgba(124, 0, 255, 0.45), 0 0 60px rgba(0, 212, 255, 0.25);
  --bv-shadow-card: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(124, 0, 255, 0.18);
  --bv-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 212, 255, 0.45), 0 0 30px rgba(176, 38, 255, 0.35);

  /* Radii */
  --bv-r-sm: 8px;
  --bv-r: 14px;
  --bv-r-lg: 20px;
  --bv-r-xl: 28px;
}

/* ==========================================================================
   Base & Typography
   ========================================================================== */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bv-bg);
  color: var(--bv-text);
  line-height: 1.6;
  font-weight: 400;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
  position: relative;
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(176, 38, 255, 0.18), transparent 60%),
    radial-gradient(1000px 500px at -10% 30%, rgba(0, 140, 255, 0.15), transparent 60%),
    radial-gradient(800px 400px at 50% 110%, rgba(124, 0, 255, 0.15), transparent 60%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(124, 0, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 80%);
}

main, header, footer, section { position: relative; z-index: 1; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

a { color: var(--bv-blue); text-decoration: none; transition: color .2s ease, text-shadow .2s ease; }
a:hover { color: var(--bv-magenta); text-shadow: 0 0 12px rgba(255, 0, 212, 0.6); }

p { color: var(--bv-text-soft); }

::selection { background: rgba(176, 38, 255, 0.45); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bv-bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--bv-purple), var(--bv-blue)); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--bv-blue), var(--bv-purple)); }

/* ==========================================================================
   Utility: Gradient Text
   ========================================================================== */

.text-gradient,
.bv-text-grad {
  background: var(--bv-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(176, 38, 255, 0.35));
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  border-radius: var(--bv-r);
  padding: 10px 22px;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: var(--bv-r-lg); }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 10px; }

.btn-primary {
  background: var(--bv-grad);
  color: #fff !important;
  border: none;
  box-shadow: 0 8px 24px rgba(124, 0, 255, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .6s ease;
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(176, 38, 255, 0.55), 0 0 30px rgba(0, 212, 255, 0.35);
}

.btn-outline-primary {
  background: transparent;
  color: var(--bv-blue);
  border: 1px solid rgba(0, 212, 255, 0.45);
  backdrop-filter: blur(6px);
}
.btn-outline-primary:hover {
  background: rgba(0, 212, 255, 0.08);
  color: #fff;
  border-color: var(--bv-blue);
  box-shadow: var(--bv-glow-blue);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--bv-blue);
  color: #fff;
  box-shadow: var(--bv-glow-blue);
}

.btn-outline-warning {
  background: transparent;
  color: var(--bv-magenta);
  border: 1px solid rgba(255, 0, 212, 0.45);
}
.btn-outline-warning:hover {
  background: rgba(255, 0, 212, 0.08);
  color: #fff;
  border-color: var(--bv-magenta);
  box-shadow: var(--bv-glow-purple);
}

.btn-light {
  background: #fff;
  color: var(--bv-purple-deep);
  border: none;
}
.btn-light:hover {
  background: #fff;
  color: var(--bv-purple);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255,255,255,0.15);
}

/* ==========================================================================
   Floating Pill Navbar (NEW)
   ========================================================================== */

.nav-wrap {
  position: sticky; top: 16px; z-index: 1000;
  padding: 0 16px;
  margin-top: 16px;
}

.floating-nav {
  max-width: 1240px;
  margin: 0 auto;
  background: rgba(10, 5, 24, 0.72);
  border: 1px solid rgba(124, 0, 255, 0.35);
  border-radius: 999px;
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transition: box-shadow .3s ease, border-color .3s ease, transform .3s ease, background .3s ease;
  position: relative;
}

.floating-nav.scrolled {
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.7), 0 0 32px rgba(176, 38, 255, 0.25);
  transform: scale(0.985);
  background: rgba(7, 3, 18, 0.85);
}

.nav-inner {
  display: flex; align-items: center; gap: 20px;
  padding: 10px 16px 10px 20px;
}

.nav-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav-brand img {
  height: 120px;
  width: auto;
  filter: drop-shadow(0 0 16px rgba(176, 38, 255, 0.6));
  transition: filter .25s, transform .25s;
}
.nav-brand:hover img { transform: scale(1.04); filter: drop-shadow(0 0 22px rgba(0, 212, 255, 0.75)); }

.nav-links {
  display: flex; align-items: center; gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px;
  color: var(--bv-text-soft);
  font-weight: 500;
  font-size: 14px;
  border-radius: 999px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 4px;
  width: 0; height: 2px;
  background: var(--bv-grad);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .25s ease;
}
.nav-link:hover { color: #fff; background: rgba(124, 0, 255, 0.12); }
.nav-link:hover::after { width: 60%; }

.nav-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bv-magenta);
  box-shadow: 0 0 10px rgba(255, 0, 212, 0.7);
}

.nav-link-live {
  background: linear-gradient(135deg, rgba(255, 62, 165, 0.2), rgba(176, 38, 255, 0.2));
  color: #fff !important;
  border: 1px solid rgba(255, 62, 165, 0.4);
}
.nav-link-live:hover { background: linear-gradient(135deg, rgba(255, 62, 165, 0.35), rgba(176, 38, 255, 0.35)); }
.nav-link-live::after { display: none; }
.live-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff3ea5;
  box-shadow: 0 0 0 0 rgba(255, 62, 165, 0.7);
  animation: live-pulse 1.6s infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 62, 165, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 62, 165, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 62, 165, 0); }
}

.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.nav-icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bv-line);
  color: var(--bv-text-soft);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.nav-icon-btn:hover { background: var(--bv-grad-soft); color: #fff; border-color: var(--bv-blue); box-shadow: var(--bv-glow-blue); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--bv-grad);
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 6px 20px rgba(124, 0, 255, 0.45);
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { color: #fff !important; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(176, 38, 255, 0.6); }

.nav-burger {
  display: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bv-line);
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.nav-burger span {
  display: block; width: 100%; height: 2px;
  background: var(--bv-blue);
  border-radius: 2px;
  transition: all .2s;
}
.nav-burger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

.nav-search-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  border-top: 1px solid transparent;
}
.nav-search-drawer.open {
  max-height: 120px;
  padding: 14px 20px;
  border-top: 1px solid var(--bv-line);
}
.nav-search-drawer form {
  display: flex; align-items: center; gap: 10px;
}
.nav-search-drawer i { color: var(--bv-blue); font-size: 14px; }
.nav-search-drawer input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bv-line);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.nav-search-drawer input:focus { border-color: var(--bv-blue); box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2); }
.nav-search-drawer input::placeholder { color: var(--bv-text-muted); }
.nav-search-drawer button {
  background: var(--bv-grad);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: transform .2s;
}
.nav-search-drawer button:hover { transform: translateY(-1px); }

@media (max-width: 991.98px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 12px); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--bv-surface);
    border: 1px solid var(--bv-line);
    border-radius: 20px;
    padding: 12px;
    gap: 4px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height .3s, opacity .2s, padding .3s;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  }
  .nav-links.open {
    max-height: 600px; opacity: 1; pointer-events: auto;
    padding: 12px;
  }
  .nav-link { justify-content: flex-start; }
  .nav-burger { display: flex; }
  .nav-cta span { display: none; }
  .nav-cta { padding: 9px 14px; }
  .nav-brand img { height: 64px; }
  .nav-inner { gap: 10px; padding: 6px 12px; }
  .nav-wrap { padding: 0 10px; margin-top: 10px; top: 10px; }
}
@media (max-width: 575.98px) {
  .nav-brand img { height: 54px; }
  .nav-inner { padding: 5px 10px; gap: 6px; }
  .nav-wrap { padding: 0 8px; margin-top: 8px; top: 8px; }
  .floating-nav { border-radius: 999px; max-width: 100%; }
  .nav-actions { gap: 6px; }
  .nav-icon-btn, .nav-burger { width: 40px; height: 40px; }
  .nav-cta { padding: 8px 12px; border-radius: 999px; }
  .nav-cta i { font-size: 16px; }
}

/* ==========================================================================
   Ticker Marquee Bar
   ========================================================================== */

.ticker-bar {
  margin-top: 24px;
  padding: 10px 0;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.1), rgba(176, 38, 255, 0.1));
  border-top: 1px solid var(--bv-line);
  border-bottom: 1px solid var(--bv-line);
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ticker-track {
  display: flex; gap: 40px;
  width: max-content;
  animation: ticker-scroll 60s linear infinite;
}
.ticker-bar:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--bv-text-soft);
  font-size: 13px;
  white-space: nowrap;
  font-weight: 500;
}
.ticker-item strong { color: #fff; font-weight: 700; }
.ticker-sep { color: var(--bv-purple); }
.ticker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bv-blue);
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.8);
  flex-shrink: 0;
}

/* ==========================================================================
   Bento Hero
   ========================================================================== */

.bento-hero { padding: 40px 0 60px; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(120px, auto);
  gap: 14px;
}

.bento {
  position: relative;
  background: linear-gradient(180deg, rgba(26, 15, 56, 0.85), rgba(12, 6, 32, 0.85));
  border: 1px solid var(--bv-line);
  border-radius: 24px;
  padding: 24px;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.bento::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 50%), rgba(0, 212, 255, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.bento:hover { border-color: rgba(0, 212, 255, 0.5); transform: translateY(-3px); }
.bento:hover::before { opacity: 1; }

.bento-main {
  grid-column: span 7;
  grid-row: span 2;
  display: flex; flex-direction: column; gap: 14px;
  padding: 40px;
  background:
    radial-gradient(600px 300px at 80% 10%, rgba(176, 38, 255, 0.25), transparent 60%),
    radial-gradient(500px 300px at 10% 90%, rgba(0, 212, 255, 0.2), transparent 60%),
    linear-gradient(180deg, rgba(26, 15, 56, 0.85), rgba(12, 6, 32, 0.85));
  border-color: rgba(176, 38, 255, 0.35);
}

.bento-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--bv-line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--bv-text-soft);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  align-self: flex-start;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bv-blue);
  box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(0, 212, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
}

.bento-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 4px 0 6px;
}

.bento-sub {
  color: var(--bv-text-soft);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 0 10px;
}

.bento-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 14px 24px;
  border-radius: var(--bv-r-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bv-line);
  color: #fff;
  font-weight: 600;
  backdrop-filter: blur(6px);
  transition: all .2s;
}
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: var(--bv-blue); box-shadow: var(--bv-glow-blue); }

.bento-mini-stats {
  display: flex; gap: 28px;
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px dashed rgba(124, 0, 255, 0.3);
}
.bento-mini-stats > div { display: flex; flex-direction: column; }
.bento-mini-stats span {
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--bv-grad-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.bento-mini-stats small { font-size: 11px; color: var(--bv-text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

.bento-label {
  font-size: 11px;
  color: var(--bv-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* Stat card */
.bento-stat {
  grid-column: span 5;
  grid-row: span 1;
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(300px 200px at 80% 20%, rgba(0, 212, 255, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(26, 15, 56, 0.9), rgba(12, 6, 32, 0.9));
}
.bento-big-number {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  margin: 10px 0 0;
  letter-spacing: -0.03em;
}
.bento-caption { color: #fff; font-size: 1.1rem; font-weight: 600; }
.bento-trend {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.35);
  color: var(--bv-blue);
  font-size: 11px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Telegram card */
.bento-telegram {
  grid-column: span 5;
  grid-row: span 1;
  display: flex; align-items: center; gap: 14px;
  background:
    radial-gradient(300px 200px at 0% 100%, rgba(176, 38, 255, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(26, 15, 56, 0.9), rgba(12, 6, 32, 0.9));
}
.bento-tg-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #00d4ff, #7c00ff);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px;
  box-shadow: 0 10px 28px rgba(0, 212, 255, 0.4);
  flex-shrink: 0;
}
.bento-tg-title { color: #fff; font-weight: 700; font-size: 15px; }
.bento-tg-sub { color: var(--bv-text-muted); font-size: 12px; }
.bento-tg-btn {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bv-line);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
}
.bento-tg-btn:hover { color: #fff; background: var(--bv-grad); border-color: transparent; transform: translateX(2px); }

/* Category pills card */
.bento-cats {
  grid-column: span 7;
  grid-row: span 1;
  display: flex; flex-direction: column; gap: 12px;
}
.bento-cat-list { display: flex; flex-wrap: wrap; gap: 8px; }
.bento-cat {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bv-line);
  color: var(--bv-text-soft);
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
}
.bento-cat i { color: var(--bv-blue); transition: color .2s; }
.bento-cat:hover { background: var(--bv-grad-soft); color: #fff; border-color: var(--bv-blue); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 212, 255, 0.2); }
.bento-cat:hover i { color: var(--bv-magenta); }

/* Featured site card */
.bento-feature {
  grid-column: span 5;
  grid-row: span 1;
  display: flex; flex-direction: column; gap: 12px;
}
.bento-site-top { display: flex; align-items: center; gap: 14px; margin: 4px 0; }
.bento-site-top img,
.bento-site-ph {
  width: 84px; height: 84px;
  border-radius: 16px;
  object-fit: contain;
  padding: 6px;
  background: #0a0520;
  border: 1px solid var(--bv-line);
}
.bento-site-ph {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--bv-blue); font-size: 22px;
}
.bento-site-name { color: #fff; font-weight: 700; font-size: 16px; }
.bento-site-rating { color: #ffb300; font-size: 13px; font-weight: 600; }
.bento-site-rating i { margin-right: 4px; }
.bento-site-actions { display: flex; gap: 8px; margin-top: auto; }

.bento-chip {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 1;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bv-line);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
}
.bento-chip:hover { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: var(--bv-blue); }
.bento-chip-primary {
  background: var(--bv-grad);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(124, 0, 255, 0.35);
}
.bento-chip-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(176, 38, 255, 0.5); border-color: transparent; background: var(--bv-grad); }

.bento-placeholder {
  display: flex; flex-direction: column; gap: 10px;
  color: var(--bv-text-soft);
  font-size: 14px;
  padding: 20px 0;
}
.bento-placeholder i { font-size: 32px; color: var(--bv-blue); }

@media (max-width: 991.98px) {
  .bento-hero { padding: 20px 0 30px; }
  .bento-main { grid-column: span 12; grid-row: span 1; padding: 22px; }
  .bento-stat { grid-column: span 6; }
  .bento-telegram { grid-column: span 6; }
  .bento-cats { grid-column: span 12; }
  .bento-feature { grid-column: span 12; }
  .bento-title { font-size: clamp(26px, 7vw, 40px) !important; line-height: 1.15; }
  .bento-sub { font-size: 14px; }
  .bento-ctas { flex-wrap: wrap; gap: 8px; }
  .bento-ctas .btn-lg { padding: 12px 18px; font-size: 14px; }
}
@media (max-width: 575.98px) {
  .container { padding-left: 12px; padding-right: 12px; }
  .bento-hero { padding: 16px 0 24px; }
  .bento-grid { gap: 10px; }
  .bento-main, .bento, .bento-sub, .bento-title { overflow-wrap: break-word; word-break: break-word; }
  .bento-stat, .bento-telegram { grid-column: span 12; }
  .bento-main { padding: 18px; border-radius: 18px; }
  .bento-title { font-size: clamp(22px, 8vw, 32px) !important; }
  .bento-mini-stats { gap: 12px; }
  .bento-mini-stats span { font-size: 1.15rem; }
  .bento-mini-stats small { font-size: 10px; }
  .bento-eyebrow { font-size: 11px; }
  .bento { padding: 16px; }
  .bento-big-number { font-size: 2.4rem; }
  .bento-tg-title { font-size: 14px; }
  .bento-tg-sub { font-size: 11px; }
  .bento-cat { padding: 8px 10px; font-size: 12px; }
  .ticker-bar { margin-top: 12px; padding: 8px 0; font-size: 12px; }
  .features-strip { padding: 20px 0 !important; }
  .features-strip .feature-item { padding: 12px; gap: 10px; }
  .feature-icon { width: 38px; height: 38px; font-size: 16px; border-radius: 10px; }
  .feature-title { font-size: 13px; }
  .feature-sub { font-size: 11px; }
  .rail-tile-logo { width: 96px; height: 96px; }
  .site-card-new .site-logo-area { width: 96px; height: 96px; }
  .bento-site-top img, .bento-site-ph { width: 64px; height: 64px; }
  .landing-h1 { font-size: clamp(22px, 7vw, 32px) !important; }
  .landing-lead { font-size: 14px; line-height: 1.65; }
  .seo-content { padding: 22px 18px; border-radius: 14px; }
  .seo-content h2 { font-size: 20px; margin: 20px 0 10px; }
  .seo-content h3 { font-size: 17px; }
  .seo-content p, .seo-content li { font-size: 14px; line-height: 1.7; }
  .blog-article { padding: 20px; border-radius: 14px; }
  .blog-article-title { font-size: 22px; }
  .blog-article-content { font-size: 14px; }
}

/* ==========================================================================
   Section rail head + sites rail
   ========================================================================== */

.sites-rail-section { padding: 50px 0 30px; }
.mag-section { padding: 30px 0 50px; }

.rail-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 24px;
  gap: 20px;
  flex-wrap: wrap;
}
.rail-num {
  display: inline-block;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: var(--bv-purple);
  letter-spacing: 0.2em;
  margin-bottom: 6px;
  padding: 3px 10px;
  background: rgba(176, 38, 255, 0.1);
  border: 1px solid var(--bv-line);
  border-radius: 999px;
}
.rail-title {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.rail-sub { color: var(--bv-text-muted); font-size: 14px; margin: 0; }
.rail-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bv-line);
  color: var(--bv-blue);
  font-weight: 600;
  font-size: 14px;
  transition: all .2s;
}
.rail-link:hover { color: #fff; background: var(--bv-grad-soft); border-color: var(--bv-blue); gap: 12px; }

/* Sites rail (horizontal) */
.sites-rail {
  display: flex; gap: 14px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.sites-rail::-webkit-scrollbar { height: 6px; }

.rail-tile {
  flex: 0 0 200px;
  min-width: 200px;
  position: relative;
  background: linear-gradient(180deg, rgba(26, 15, 56, 0.85), rgba(12, 6, 32, 0.85));
  border: 1px solid var(--bv-line);
  border-radius: 20px;
  padding: 18px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center;
  scroll-snap-align: start;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.rail-tile-glow {
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(0,212,255,0.6) 90deg, transparent 180deg, rgba(176,38,255,0.6) 270deg, transparent 360deg);
  opacity: 0;
  transition: opacity .3s;
  z-index: -1;
  animation: spin 4s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.rail-tile:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(176, 38, 255, 0.35);
}
.rail-tile:hover .rail-tile-glow { opacity: 0.4; }

.rail-tile-logo {
  width: 160px; height: 160px;
  border-radius: 20px;
  overflow: hidden;
  background: #0a0520;
  border: 1px solid var(--bv-line);
  display: flex; align-items: center; justify-content: center;
}
.rail-tile-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.rail-tile-ph { color: var(--bv-blue); font-size: 28px; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.rail-tile-name { color: #fff; font-weight: 700; font-size: 15px; margin-top: 2px; }
.rail-tile-rating { color: #ffb300; font-size: 13px; font-weight: 600; }
.rail-tile-actions { display: flex; gap: 6px; width: 100%; margin-top: 4px; }
.rail-chip {
  flex: 1;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bv-line);
  color: var(--bv-text-soft);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: all .2s;
}
.rail-chip:hover { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: var(--bv-blue); }
.rail-chip-primary {
  background: var(--bv-grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(124, 0, 255, 0.35);
}
.rail-chip-primary:hover { color: #fff; background: var(--bv-grad); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(176, 38, 255, 0.5); border-color: transparent; }

.rail-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--bv-text-muted);
  background: linear-gradient(180deg, rgba(26, 15, 56, 0.6), rgba(12, 6, 32, 0.6));
  border: 1px dashed var(--bv-line);
  border-radius: 20px;
  width: 100%;
}
.rail-empty i { font-size: 40px; color: var(--bv-purple); opacity: 0.6; margin-bottom: 8px; display: block; }

/* ==========================================================================
   Magazine Grid Bonus Cards
   ========================================================================== */

.mag-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.mag-card {
  grid-column: span 2;
  background: linear-gradient(180deg, rgba(26, 15, 56, 0.9), rgba(12, 6, 32, 0.9));
  border: 1px solid var(--bv-line);
  border-radius: 22px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.mag-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 212, 255, 0.55);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(176, 38, 255, 0.35);
}
.mag-card.mag-card-wide { grid-column: span 4; }

.mag-card-media {
  position: relative;
  aspect-ratio: 16/10;
  background: #0a0520;
  overflow: hidden;
}
.mag-card.mag-card-wide .mag-card-media { aspect-ratio: 16/7; }
.mag-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mag-card:hover .mag-card-media img { transform: scale(1.05); }
.mag-card-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(176, 38, 255, 0.12));
  color: var(--bv-blue);
  font-size: 54px;
}
.mag-card-ph-logo { max-width: 50%; max-height: 60%; object-fit: contain; filter: drop-shadow(0 0 24px rgba(176, 38, 255, 0.45)); }
.mag-card-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 3, 18, 0.95) 100%);
  pointer-events: none;
}
.mag-card-tags {
  position: absolute; top: 12px; left: 12px;
  display: flex; gap: 6px; flex-wrap: wrap;
  z-index: 2;
}
.mag-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.mag-tag i { font-size: 10px; }
.mag-tag-hot { background: linear-gradient(135deg, #ff3ea5, #b026ff); border-color: transparent; }

.mag-card-bottom {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  z-index: 2;
}
.mag-card-siteline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px 4px 4px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  margin-bottom: 8px;
}
.mag-card-siteline img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.mag-card-siteline span { color: #fff; font-size: 12px; font-weight: 600; }
.mag-card-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}
.mag-card-wide .mag-card-title { font-size: 1.5rem; }

.mag-card-actions {
  display: flex; gap: 8px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px dashed rgba(124, 0, 255, 0.25);
}
.mag-btn {
  flex: 1;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bv-line);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: all .2s;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.mag-btn:hover { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: var(--bv-blue); }
.mag-btn-primary {
  background: var(--bv-grad);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(124, 0, 255, 0.4);
}
.mag-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(176, 38, 255, 0.55); background: var(--bv-grad); border-color: transparent; }

.mag-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(180deg, rgba(26, 15, 56, 0.6), rgba(12, 6, 32, 0.6));
  border: 1px dashed var(--bv-line);
  border-radius: 22px;
}
.mag-empty i { font-size: 54px; color: var(--bv-purple); opacity: 0.6; margin-bottom: 12px; display: block; }
.mag-empty h4 { color: #fff; }
.mag-empty p { color: var(--bv-text-muted); }

@media (max-width: 991.98px) {
  .mag-grid { grid-template-columns: repeat(2, 1fr); }
  .mag-card, .mag-card.mag-card-wide { grid-column: span 1; }
}
@media (max-width: 575.98px) {
  .mag-grid { grid-template-columns: 1fr; }
  .mag-card { grid-column: span 1; }
}

/* ==========================================================================
   Split Calculator CTA
   ========================================================================== */

.split-cta-section { padding: 40px 0; }

.split-cta {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--bv-line);
  background: linear-gradient(180deg, rgba(26, 15, 56, 0.85), rgba(12, 6, 32, 0.85));
  box-shadow: var(--bv-shadow-card);
}
.split-cta-left {
  padding: 44px;
  position: relative;
  background:
    radial-gradient(400px 260px at 0% 100%, rgba(0, 212, 255, 0.2), transparent 60%),
    transparent;
}
.split-cta-num {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--bv-purple);
  letter-spacing: 0.2em;
  padding: 3px 10px;
  background: rgba(176, 38, 255, 0.1);
  border: 1px solid var(--bv-line);
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 16px;
}
.split-cta-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  background: var(--bv-grad);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px;
  box-shadow: 0 12px 30px rgba(124, 0, 255, 0.45);
  margin-bottom: 14px;
}
.split-cta-left h3 { color: #fff; font-size: 1.7rem; font-weight: 800; margin: 0 0 8px; }
.split-cta-left p { color: var(--bv-text-soft); max-width: 450px; line-height: 1.65; margin: 0 0 20px; }
.split-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--bv-grad);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(124, 0, 255, 0.45);
  transition: all .2s;
}
.split-cta-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(176, 38, 255, 0.6); gap: 12px; }

.split-cta-right {
  padding: 44px;
  background:
    radial-gradient(400px 260px at 100% 0%, rgba(176, 38, 255, 0.25), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));
  display: flex; align-items: center; justify-content: center;
}
.calc-preview {
  width: 100%;
  max-width: 320px;
  background: rgba(7, 3, 18, 0.6);
  border: 1px solid var(--bv-line);
  border-radius: 18px;
  padding: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.calc-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
}
.calc-row span { color: var(--bv-text-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.calc-row strong { color: #fff; font-size: 1.2rem; font-weight: 700; }
.calc-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--bv-purple), transparent); margin: 6px 0; }
.calc-total strong { font-size: 1.6rem; background: var(--bv-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

@media (max-width: 767.98px) {
  .split-cta { grid-template-columns: 1fr; }
  .split-cta-left, .split-cta-right { padding: 32px; }
}

/* ==========================================================================
   Original sticky navbar (disabled - kept for admin pages)
   ========================================================================== */

.main-header.main-header { /* keep selectors, used only if nav-wrap absent */ }

/* ==========================================================================
   Header & Navbar (legacy used on admin only)
   ========================================================================== */

.header-top-banner {
  width: 100%;
  overflow: hidden;
  background: var(--bv-bg-2);
  border-bottom: 1px solid var(--bv-line);
}
.header-top-banner-img {
  display: block; width: 100%; height: auto; max-height: 90px; object-fit: cover;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 3, 18, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--bv-line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.main-header .navbar { padding: 12px 0; }

.navbar-brand .brand-logo {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 16px rgba(176, 38, 255, 0.55));
  transition: filter .25s ease, transform .25s ease;
}
.navbar-brand:hover .brand-logo {
  transform: scale(1.03);
  filter: drop-shadow(0 0 22px rgba(0, 212, 255, 0.7));
}

.navbar-nav .nav-link {
  color: var(--bv-text-soft) !important;
  font-weight: 500;
  padding: 10px 14px !important;
  border-radius: 10px;
  margin: 0 2px;
  position: relative;
  transition: color .2s ease, background .2s ease;
}
.navbar-nav .nav-link i { color: var(--bv-blue); transition: color .2s ease; }
.navbar-nav .nav-link:hover {
  color: #fff !important;
  background: rgba(124, 0, 255, 0.12);
}
.navbar-nav .nav-link:hover i { color: var(--bv-magenta); }

.navbar-nav .nav-link-live {
  color: #fff !important;
  background: linear-gradient(135deg, #ff3ea5, #b026ff);
  box-shadow: 0 0 18px rgba(255, 62, 165, 0.45);
  animation: bv-pulse 2s ease-in-out infinite;
}
.navbar-nav .nav-link-live:hover { background: linear-gradient(135deg, #b026ff, #00d4ff); }

@keyframes bv-pulse {
  0%, 100% { box-shadow: 0 0 18px rgba(255, 62, 165, 0.45); }
  50% { box-shadow: 0 0 28px rgba(255, 62, 165, 0.85); }
}

.navbar-nav .dropdown-menu {
  background: var(--bv-surface);
  border: 1px solid var(--bv-line);
  border-radius: var(--bv-r);
  box-shadow: var(--bv-shadow-card);
  padding: 8px;
}
.dropdown-item {
  color: var(--bv-text-soft) !important;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 500;
  transition: background .2s, color .2s;
}
.dropdown-item:hover, .dropdown-item:focus {
  background: var(--bv-grad-soft);
  color: #fff !important;
}
.dropdown-divider { border-color: var(--bv-line); }

/* Search */
.search-form { min-width: 260px; }
.search-form .input-group { background: rgba(255,255,255,0.04); border: 1px solid var(--bv-line); border-radius: 999px; overflow: hidden; }
.search-form .form-control {
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  font-size: 14px;
  padding: 9px 16px;
  box-shadow: none !important;
}
.search-form .form-control::placeholder { color: var(--bv-text-muted); }
.search-form .btn-search {
  background: var(--bv-grad);
  color: #fff;
  border: none;
  padding: 0 18px;
  border-radius: 999px;
}
.search-form .btn-search:hover { filter: brightness(1.1); }

/* Telegram buttons */
.btn-telegram-nav {
  background: linear-gradient(135deg, #00d4ff, #7c00ff);
  color: #fff !important;
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.35);
}
.btn-telegram-nav:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(176, 38, 255, 0.55); }

.btn-telegram-mobile {
  background: linear-gradient(135deg, #00d4ff, #7c00ff);
  color: #fff !important;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 212, 255, 0.45);
}

.navbar-toggler {
  border: 1px solid var(--bv-line);
  padding: 6px 10px;
  border-radius: 10px;
}
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(124, 0, 255, 0.25); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2300d4ff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 90px 0 80px;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 120%;
  background:
    radial-gradient(500px 300px at 20% 40%, rgba(0, 212, 255, 0.35), transparent 70%),
    radial-gradient(600px 400px at 80% 60%, rgba(176, 38, 255, 0.4), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

.hero-content { max-width: 620px; }

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 18px;
  color: #fff;
  text-shadow: 0 0 40px rgba(0, 212, 255, 0.25);
}

.hero-text {
  font-size: 1.05rem;
  color: var(--bv-text-soft);
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* Floating cards in hero */
.hero-image { position: relative; min-height: 420px; }
.floating-cards { position: relative; width: 100%; height: 100%; min-height: 420px; }

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 18px 26px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--bv-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--bv-r-lg);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--bv-shadow-card);
  animation: bv-float 6s ease-in-out infinite;
}
.float-card i {
  font-size: 28px;
  background: var(--bv-grad-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(176, 38, 255, 0.65));
}
.float-card.card-1 { top: 10%; left: 15%; animation-delay: 0s; }
.float-card.card-2 { top: 40%; right: 10%; animation-delay: 2s; }
.float-card.card-3 { bottom: 10%; left: 30%; animation-delay: 4s; }

@keyframes bv-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-16px) rotate(1.5deg); }
}

/* ==========================================================================
   Section Headings
   ========================================================================== */

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: #fff;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: "";
  display: block;
  height: 3px; width: 60px;
  margin-top: 6px;
  background: var(--bv-grad);
  border-radius: 3px;
  box-shadow: var(--bv-glow-purple);
}
.section-subtitle { color: var(--bv-text-muted); font-size: 14px; }

.section-header h2, .section-header .section-title { color: #fff; }

/* ==========================================================================
   Cards (Bonus, Site, Generic)
   ========================================================================== */

.bonus-card-new,
.site-card-new,
.site-card-home {
  background: linear-gradient(180deg, rgba(26, 15, 56, 0.9), rgba(12, 6, 32, 0.9));
  border: 1px solid var(--bv-line);
  border-radius: var(--bv-r-lg);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column;
  position: relative;
  height: 100%;
}
.bonus-card-new:hover,
.site-card-new:hover,
.site-card-home:hover {
  transform: translateY(-6px);
  box-shadow: var(--bv-shadow-hover);
  border-color: rgba(0, 212, 255, 0.6);
}

/* Bonus card specifics */
.bonus-image {
  position: relative;
  aspect-ratio: 16/9;
  background: #0a0520;
  overflow: hidden;
}
.bonus-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.bonus-card-new:hover .bonus-image img { transform: scale(1.05); }

.bonus-image-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(176,38,255,0.08));
}
.bonus-image-placeholder .placeholder-logo { max-width: 55%; max-height: 55%; object-fit: contain; filter: drop-shadow(0 0 20px rgba(176, 38, 255, 0.35)); }
.bonus-image-placeholder i { font-size: 56px; color: var(--bv-blue); opacity: 0.55; }

.featured-badge {
  position: absolute;
  top: 10px; left: 10px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb300, #ff3ea5);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 14px rgba(255, 62, 165, 0.6);
  z-index: 2;
  font-size: 13px;
}
.bonus-category-badge {
  position: absolute;
  top: 10px; right: 10px;
  padding: 5px 10px;
  border-radius: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.bonus-content { padding: 16px 18px 4px; }
.bonus-site-info {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
}
.site-mini-logo {
  width: 26px; height: 26px; border-radius: 6px; object-fit: cover;
  border: 1px solid var(--bv-line);
  background: #0a0520;
}
.bonus-site-info .site-name { font-size: 12px; color: var(--bv-text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.bonus-title { font-size: 1.05rem; color: #fff; line-height: 1.35; margin: 0 0 8px; font-weight: 600; }

.bonus-action {
  padding: 14px 18px 16px;
  margin-top: auto;
  border-top: 1px dashed rgba(124, 0, 255, 0.25);
}

/* Site card home */
.site-card-home { padding: 18px 14px; text-align: center; gap: 10px; align-items: center; }
.site-logo-area { width: 64px; height: 64px; border-radius: 14px; overflow: hidden; background: #0a0520; border: 1px solid var(--bv-line); display: flex; align-items: center; justify-content: center; }
.site-logo-area img.site-logo { width: 100%; height: 100%; object-fit: cover; }
.site-logo-placeholder { width: 100%; height: 100%; display:flex; align-items:center; justify-content:center; color: var(--bv-blue); font-size: 24px; }
.site-card-home .site-name { font-size: 15px; font-weight: 700; color: #fff; margin: 4px 0 2px; }
.site-rating { color: #ffb300; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.site-buttons { display: flex; flex-direction: column; gap: 6px; width: 100%; margin-top: 6px; }
.btn-site-info, .btn-site-go {
  width: 100%;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all .2s;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-site-info { background: rgba(0, 212, 255, 0.08); color: var(--bv-blue); border: 1px solid rgba(0, 212, 255, 0.3); }
.btn-site-info:hover { background: rgba(0, 212, 255, 0.15); color: #fff; border-color: var(--bv-blue); }
.btn-site-go { background: var(--bv-grad); color: #fff; border: none; box-shadow: 0 4px 14px rgba(124, 0, 255, 0.35); }
.btn-site-go:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(176, 38, 255, 0.55); }

/* Featured/bg-light override */
.featured-section, .bg-light {
  background: transparent !important;
}

.sites-section, .featured-section, .telegram-section { padding: 60px 0; }

/* ==========================================================================
   Banner Sections
   ========================================================================== */

.banner-section { padding: 20px 0; }
.banner-slider {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.banner-item { border-radius: var(--bv-r); overflow: hidden; border: 1px solid var(--bv-line); }
.banner-link { display: block; line-height: 0; }
.banner-img { width: 100%; height: auto; display: block; transition: transform .3s ease; }
.banner-item:hover { box-shadow: var(--bv-glow-mix); border-color: var(--bv-blue); }
.banner-item:hover .banner-img { transform: scale(1.02); }

.floating-sidebar {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 990;
  display: flex; flex-direction: column; gap: 10px;
  max-width: 160px;
}
.floating-sidebar-left { left: 10px; }
.floating-sidebar-right { right: 10px; }
.sidebar-banner-link { display: block; border-radius: var(--bv-r); overflow: hidden; border: 1px solid var(--bv-line); }
.sidebar-banner-img { width: 100%; height: auto; display: block; }

@media (max-width: 1400px) { .floating-sidebar { display: none; } }

/* ==========================================================================
   CTA Card
   ========================================================================== */

.cta-section { padding: 40px 0; }
.cta-card {
  background: linear-gradient(135deg, #7c00ff 0%, #00d4ff 100%);
  border-radius: var(--bv-r-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(124, 0, 255, 0.4);
}
.cta-card::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(400px 200px at 10% 120%, rgba(255, 0, 212, 0.45), transparent 60%),
    radial-gradient(400px 200px at 90% -20%, rgba(0, 229, 255, 0.5), transparent 60%);
  pointer-events: none;
}
.cta-title { color: #fff; font-size: 1.7rem; font-weight: 700; position: relative; }
.cta-text { color: rgba(255, 255, 255, 0.88); margin-top: 6px; position: relative; }

/* ==========================================================================
   Telegram Grid
   ========================================================================== */

.telegram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.telegram-card-compact {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(26, 15, 56, 0.85), rgba(12, 6, 32, 0.85));
  border: 1px solid var(--bv-line);
  border-radius: var(--bv-r);
  color: #fff;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.telegram-card-compact:hover {
  transform: translateY(-3px);
  border-color: var(--bv-blue);
  box-shadow: var(--bv-glow-mix);
  color: #fff;
}
.tg-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00d4ff, #7c00ff);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px;
  box-shadow: 0 4px 14px rgba(0, 212, 255, 0.35);
  flex-shrink: 0;
}
.tg-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.tg-name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-members { font-size: 11px; color: var(--bv-text-muted); }
.tg-join {
  font-size: 11px; font-weight: 600;
  color: var(--bv-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex; align-items: center; gap: 4px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.main-footer {
  margin-top: 80px;
  background: linear-gradient(180deg, rgba(7,3,18,0) 0%, rgba(12, 6, 32, 0.95) 25%, var(--bv-bg-2) 100%);
  border-top: 1px solid var(--bv-line);
  color: var(--bv-text-soft);
  position: relative;
}
.main-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 60%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--bv-blue), var(--bv-purple), transparent);
  filter: blur(1px);
  opacity: 0.75;
}

.footer-top { padding: 60px 0 30px; }

.footer-widget { color: var(--bv-text-soft); }
.footer-widget p { color: var(--bv-text-soft); line-height: 1.7; font-size: 14px; }
.footer-logo img { filter: drop-shadow(0 0 18px rgba(176, 38, 255, 0.5)); }

.widget-title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.widget-title::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 36px; height: 2px;
  background: var(--bv-grad);
  border-radius: 2px;
}

.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact li { margin-bottom: 10px; font-size: 14px; }
.footer-links a { color: var(--bv-text-soft); transition: color .2s, padding-left .2s; }
.footer-links a::before { content: "›"; color: var(--bv-blue); margin-right: 8px; transition: margin-right .2s, color .2s; }
.footer-links a:hover { color: #fff; padding-left: 3px; }
.footer-links a:hover::before { color: var(--bv-magenta); margin-right: 10px; }

.footer-contact li { display: flex; align-items: center; gap: 10px; color: var(--bv-text-soft); }
.footer-contact i {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--bv-grad-soft);
  color: var(--bv-blue);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  border: 1px solid var(--bv-line);
}

.social-links { display: flex; gap: 10px; margin-top: 14px; }
.social-link {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--bv-line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--bv-blue);
  font-size: 14px;
  transition: all .25s;
}
.social-link:hover {
  background: var(--bv-grad);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--bv-glow-mix);
}

.footer-bottom {
  border-top: 1px solid var(--bv-line);
  padding: 20px 0;
  font-size: 13px;
}
.copyright { color: var(--bv-text-muted); margin: 0; }
.footer-bottom-links { display: inline-flex; gap: 18px; }
.footer-bottom-links a { color: var(--bv-text-muted); transition: color .2s; font-size: 13px; }
.footer-bottom-links a:hover { color: var(--bv-blue); }

.age-warning {
  background: linear-gradient(90deg, rgba(255,0,212,0.12), rgba(124,0,255,0.12));
  color: var(--bv-text-soft);
  padding: 12px 0;
  text-align: center;
  font-size: 12px;
  border-top: 1px solid var(--bv-line);
}
.age-warning i { color: #ffb300; }
.age-warning strong { color: var(--bv-magenta); text-shadow: 0 0 10px rgba(255, 0, 212, 0.5); }

/* ==========================================================================
   Forms / Inputs generic
   ========================================================================== */

.form-control, .form-select {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--bv-line);
  color: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-control::placeholder { color: var(--bv-text-muted); }
.form-control:focus, .form-select:focus {
  background: rgba(255,255,255,0.04);
  border-color: var(--bv-blue);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.18);
  outline: none;
}
.form-label { color: var(--bv-text-soft); font-weight: 500; margin-bottom: 6px; }

/* Alerts */
.alert {
  border-radius: 12px;
  border: 1px solid var(--bv-line);
  background: var(--bv-surface);
  color: var(--bv-text);
}
.alert-success { background: rgba(0, 212, 255, 0.08); border-color: rgba(0, 212, 255, 0.35); color: #cffcff; }
.alert-danger { background: rgba(255, 0, 212, 0.08); border-color: rgba(255, 0, 212, 0.35); color: #ffd0f0; }

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination { gap: 6px; }
.page-item .page-link {
  background: rgba(255,255,255,0.03);
  color: var(--bv-text-soft);
  border: 1px solid var(--bv-line);
  border-radius: 10px !important;
  min-width: 38px;
  text-align: center;
  padding: 8px 12px;
  font-weight: 600;
}
.page-item .page-link:hover { background: var(--bv-grad-soft); color: #fff; border-color: var(--bv-blue); }
.page-item.active .page-link {
  background: var(--bv-grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(124, 0, 255, 0.45);
}
.page-item.disabled .page-link { opacity: 0.4; }

/* ==========================================================================
   Breadcrumb
   ========================================================================== */

.breadcrumb {
  background: transparent;
  padding: 10px 0;
  margin-bottom: 20px;
}
.breadcrumb-item a { color: var(--bv-text-soft); }
.breadcrumb-item a:hover { color: var(--bv-blue); }
.breadcrumb-item.active { color: var(--bv-text-muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--bv-purple); }

/* ==========================================================================
   Pages: listing filters, headers
   ========================================================================== */

.page-header {
  padding: 60px 0 30px;
  position: relative;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 40px rgba(176, 38, 255, 0.35);
}
.page-header p { color: var(--bv-text-soft); max-width: 700px; margin: 12px auto 0; }
.page-header .text-gradient { display: inline-block; }

.filter-bar {
  background: linear-gradient(180deg, rgba(26, 15, 56, 0.7), rgba(12, 6, 32, 0.7));
  border: 1px solid var(--bv-line);
  border-radius: var(--bv-r-lg);
  padding: 18px;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
}

/* ==========================================================================
   Bonus / Site detail
   ========================================================================== */

.detail-hero {
  padding: 50px 0;
  border-bottom: 1px solid var(--bv-line);
  background:
    radial-gradient(600px 300px at 20% 30%, rgba(0, 212, 255, 0.18), transparent 60%),
    radial-gradient(600px 300px at 80% 70%, rgba(176, 38, 255, 0.22), transparent 60%);
}

.info-card {
  background: linear-gradient(180deg, rgba(26, 15, 56, 0.85), rgba(12, 6, 32, 0.85));
  border: 1px solid var(--bv-line);
  border-radius: var(--bv-r-lg);
  padding: 22px;
  box-shadow: var(--bv-shadow-card);
}
.info-card h3, .info-card h4 { color: #fff; }

.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(124, 0, 255, 0.2);
  color: var(--bv-text-soft);
  display: flex; justify-content: space-between; gap: 12px;
}
.info-list li:last-child { border-bottom: none; }
.info-list li strong { color: #fff; }

/* Generic card (Bootstrap .card override) */
.card {
  background: linear-gradient(180deg, rgba(26, 15, 56, 0.85), rgba(12, 6, 32, 0.85));
  border: 1px solid var(--bv-line);
  border-radius: var(--bv-r-lg);
  color: var(--bv-text);
}
.card-header { background: rgba(124, 0, 255, 0.1); border-bottom: 1px solid var(--bv-line); color: #fff; }
.card-title { color: #fff; }

/* Tables */
.table { color: var(--bv-text); }
.table > :not(caption) > * > * { background: transparent; color: var(--bv-text); border-bottom-color: var(--bv-line); }
.table-hover > tbody > tr:hover > * { background: rgba(124, 0, 255, 0.08); color: #fff; }
.table thead th { color: #fff; border-bottom: 2px solid var(--bv-line); }

/* ==========================================================================
   Calculator
   ========================================================================== */

.calculator-card {
  background: linear-gradient(180deg, rgba(26, 15, 56, 0.85), rgba(12, 6, 32, 0.85));
  border: 1px solid var(--bv-line);
  border-radius: var(--bv-r-xl);
  padding: 32px;
  box-shadow: var(--bv-shadow-card);
}
.calculator-result {
  background: var(--bv-grad);
  color: #fff;
  border-radius: var(--bv-r-lg);
  padding: 22px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(124, 0, 255, 0.45);
}
.calculator-result .result-value { font-size: 2.2rem; font-weight: 800; }
.calculator-result .result-label { opacity: 0.85; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }

/* ==========================================================================
   404 / Error
   ========================================================================== */

.error-page {
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 60px 20px;
}
.error-code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 800;
  background: var(--bv-grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin: 0;
  filter: drop-shadow(0 0 30px rgba(176, 38, 255, 0.5));
}
.error-title { color: #fff; margin-top: 8px; }
.error-text { color: var(--bv-text-soft); max-width: 480px; margin: 12px auto 28px; }

/* ==========================================================================
   Popup
   ========================================================================== */

.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.popup-modal {
  position: relative;
  background: var(--bv-surface);
  border: 1px solid var(--bv-line);
  border-radius: var(--bv-r-xl);
  max-width: 520px; width: 100%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 212, 255, 0.35), 0 0 40px rgba(176, 38, 255, 0.35);
}
.popup-close {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
}
.popup-close:hover { background: rgba(255,0,212,0.4); }
.popup-image { width: 100%; display: block; }
.popup-body { padding: 20px; }
.popup-title { color: #fff; font-size: 1.3rem; font-weight: 700; margin: 0 0 8px; }
.popup-description { color: var(--bv-text-soft); font-size: 14px; margin: 0 0 16px; }
.popup-btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--bv-grad);
  color: #fff;
  border-radius: var(--bv-r);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(124, 0, 255, 0.5);
}
.popup-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(176, 38, 255, 0.65); }
.popup-counter-box {
  position: absolute; bottom: 12px; right: 12px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  border: 1px solid var(--bv-line);
}

/* ==========================================================================
   Misc
   ========================================================================== */

.badge-neon {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bv-grad-soft);
  color: #fff;
  border: 1px solid var(--bv-line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.text-muted { color: var(--bv-text-muted) !important; }
.text-info { color: var(--bv-cyan) !important; }
.text-warning { color: #ffb300 !important; }

hr { border-color: var(--bv-line); opacity: 1; }

/* ==========================================================================
   Site detail page
   ========================================================================== */

.site-detail-main {
  background: linear-gradient(180deg, rgba(26, 15, 56, 0.85), rgba(12, 6, 32, 0.85));
  border: 1px solid var(--bv-line);
  border-radius: var(--bv-r-lg);
  padding: 28px;
  box-shadow: var(--bv-shadow-card);
}

.site-logo-xl {
  width: 96px; height: 96px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--bv-line);
  background: #0a0520;
}
.site-logo-placeholder-xl {
  width: 96px; height: 96px;
  border-radius: 18px;
  background: var(--bv-grad-soft);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--bv-blue); font-size: 36px;
  border: 1px solid var(--bv-line);
}

.site-title {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}

.site-rating-lg { display: inline-flex; align-items: center; gap: 10px; }
.site-rating-lg .stars { color: #ffb300; font-size: 15px; }
.site-rating-lg .rating-value { color: #fff; font-weight: 700; font-size: 14px; }

.site-description-full {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--bv-line);
}
.site-description-full h4 { color: #fff; font-size: 1.1rem; margin-bottom: 10px; }
.site-description-full .content { color: var(--bv-text-soft); line-height: 1.75; }

.detail-action { margin-top: 20px; }

.site-bonuses .bonus-card {
  background: linear-gradient(180deg, rgba(26, 15, 56, 0.85), rgba(12, 6, 32, 0.85));
  border: 1px solid var(--bv-line);
  border-radius: var(--bv-r-lg);
  padding: 18px;
  height: 100%;
  display: flex; flex-direction: column; gap: 8px;
  transition: all .25s;
}
.site-bonuses .bonus-card:hover { transform: translateY(-4px); border-color: var(--bv-blue); box-shadow: var(--bv-shadow-hover); }
.site-bonuses .bonus-header { display: flex; justify-content: space-between; align-items: center; }
.site-bonuses .bonus-category {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.site-bonuses .bonus-title { color: #fff; font-size: 1rem; margin: 0; }
.site-bonuses .bonus-amount .percentage { color: var(--bv-blue); font-size: 1.6rem; font-weight: 800; }
.site-bonuses .bonus-amount .amount { color: var(--bv-magenta); font-weight: 700; margin-left: 8px; }
.site-bonuses .bonus-footer { margin-top: auto; }

/* ==========================================================================
   Detail pages: bonus-detail, site-detail
   ========================================================================== */

.bonus-detail-card,
.site-detail-card {
  background: linear-gradient(180deg, rgba(26, 15, 56, 0.85), rgba(12, 6, 32, 0.85));
  border: 1px solid var(--bv-line);
  border-radius: var(--bv-r-lg);
  padding: 28px;
  box-shadow: var(--bv-shadow-card);
}

.detail-header {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--bv-line);
}

.site-logo-lg {
  width: 80px; height: 80px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--bv-line);
  background: #0a0520;
}
.site-logo-placeholder-lg {
  width: 80px; height: 80px;
  border-radius: 16px;
  background: var(--bv-grad-soft);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--bv-blue); font-size: 30px;
  border: 1px solid var(--bv-line);
}

.site-logo-sm {
  width: 24px; height: 24px;
  border-radius: 6px;
  object-fit: cover;
}

.bonus-detail-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #fff;
  margin: 0 0 20px;
}

.featured-ribbon {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffb300, #ff3ea5);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 0 14px rgba(255, 62, 165, 0.5);
}

.promo-code-box {
  background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(176,38,255,0.1));
  border: 1px dashed var(--bv-blue);
  border-radius: var(--bv-r);
  padding: 16px;
  margin-bottom: 20px;
}
.promo-code-box label { color: var(--bv-text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 8px; }
.code-display { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.code-display .code {
  flex: 1; min-width: 160px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--bv-line);
  border-radius: 10px;
  color: var(--bv-blue);
  font-family: 'Courier New', monospace;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 16px;
}
.copy-btn {
  background: var(--bv-grad);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.copy-btn:hover { transform: translateY(-2px); box-shadow: var(--bv-glow-mix); }

.bonus-description,
.bonus-terms {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--bv-line);
}
.bonus-description h4,
.bonus-terms h4 { color: #fff; font-size: 1.1rem; margin-bottom: 10px; }
.bonus-description h4 i,
.bonus-terms h4 i { color: var(--bv-blue); }
.bonus-description .content,
.bonus-terms .content { color: var(--bv-text-soft); line-height: 1.7; }

/* Sidebar */
.info-card .info-title,
.site-info-card .info-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--bv-line);
  position: relative;
}
.info-card .info-title::after,
.site-info-card .info-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 36px; height: 2px;
  background: var(--bv-grad);
}

.info-list li .label { color: var(--bv-text-soft); font-size: 13px; }
.info-list li .label i { color: var(--bv-blue); }
.info-list li .value { color: #fff; font-weight: 700; }

.site-info-card {
  margin-top: 20px;
  background: linear-gradient(180deg, rgba(26, 15, 56, 0.85), rgba(12, 6, 32, 0.85));
  border: 1px solid var(--bv-line);
  border-radius: var(--bv-r-lg);
  padding: 22px;
}
.site-preview { text-align: center; }
.site-preview img.site-logo {
  width: 70px; height: 70px;
  border-radius: 14px;
  object-fit: cover;
  margin: 0 auto 12px;
  display: block;
  border: 1px solid var(--bv-line);
  background: #0a0520;
}
.site-preview h5 { color: #fff; margin-bottom: 12px; }

.calculator-cta {
  margin-top: 20px;
  padding: 22px;
  background: var(--bv-grad);
  border-radius: var(--bv-r-lg);
  text-align: center;
  color: #fff;
  box-shadow: 0 10px 30px rgba(124, 0, 255, 0.4);
}
.calculator-cta i { font-size: 32px; margin-bottom: 10px; opacity: 0.9; }
.calculator-cta h5 { color: #fff; margin-bottom: 6px; }
.calculator-cta p { color: rgba(255,255,255,0.85); font-size: 13px; margin-bottom: 14px; }
.calculator-cta .btn-primary {
  background: #fff !important;
  color: var(--bv-purple-deep) !important;
}
.calculator-cta .btn-primary:hover { background: #fff !important; color: var(--bv-purple) !important; box-shadow: 0 6px 18px rgba(255,255,255,0.3); }

/* Related bonuses mini card */
.bonus-card.mini {
  background: linear-gradient(180deg, rgba(26, 15, 56, 0.85), rgba(12, 6, 32, 0.85));
  border: 1px solid var(--bv-line);
  border-radius: var(--bv-r);
  padding: 14px;
  height: 100%;
  display: flex; flex-direction: column;
  transition: all .2s;
}
.bonus-card.mini:hover { transform: translateY(-3px); border-color: var(--bv-blue); box-shadow: var(--bv-shadow-hover); }
.bonus-card.mini .bonus-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.bonus-card.mini .site-name { font-size: 11px; color: var(--bv-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.bonus-card.mini .bonus-title { font-size: 14px; color: #fff; font-weight: 600; margin: 0 0 8px; line-height: 1.3; }
.bonus-card.mini .bonus-amount { color: var(--bv-blue); font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; }

.related-section { padding-top: 40px; border-top: 1px solid var(--bv-line); }

/* ==========================================================================
   Sites listing: letter filter, site cards
   ========================================================================== */

.letter-filter-section { padding: 20px 0; }
.letter-filter-wrapper {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(26, 15, 56, 0.7), rgba(12, 6, 32, 0.7));
  border: 1px solid var(--bv-line);
  border-radius: var(--bv-r-lg);
  flex-wrap: wrap;
  backdrop-filter: blur(10px);
}
.letter-filter { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.letter-btn {
  min-width: 36px; height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--bv-line);
  color: var(--bv-text-soft);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.letter-btn:hover { background: var(--bv-grad-soft); color: #fff; border-color: var(--bv-blue); }
.letter-btn.active {
  background: var(--bv-grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(124, 0, 255, 0.45);
}

.filter-info {
  display: flex; align-items: center;
  flex-shrink: 0;
}
.site-count {
  font-size: 13px;
  color: var(--bv-text-muted);
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(124, 0, 255, 0.12);
  border: 1px solid var(--bv-line);
}

.site-tags {
  position: absolute;
  top: 8px; left: 8px; right: 8px;
  display: flex; gap: 4px; flex-wrap: wrap;
  z-index: 2;
  pointer-events: none;
}
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.tag i { font-size: 9px; }
.tag-popular { background: linear-gradient(135deg, #ff3ea5, #b026ff); }
.tag-winner { background: linear-gradient(135deg, #ffb300, #ff3ea5); }
.tag-new { background: linear-gradient(135deg, #00d4ff, #7c00ff); }

/* Extend .site-card-new for listing page (already has base) */
.site-card-new { padding: 40px 14px 18px; text-align: center; align-items: center; gap: 8px; }
.site-card-new .site-logo-area { width: 160px; height: 160px; border-radius: 20px; margin: 0 auto; }
.site-card-new .site-logo-area img.site-logo { object-fit: contain; padding: 4px; }
.site-card-new h3.site-name { font-size: 15px; font-weight: 700; color: #fff; margin: 8px 0 4px; }
.site-card-new .site-buttons { width: 100%; margin-top: auto; }

/* ==========================================================================
   Calculator result boxes
   ========================================================================== */

.calculator-form .form-group label { color: #fff; font-weight: 600; margin-bottom: 8px; display: block; }
.calculator-form .form-group label i { color: var(--bv-blue); }
.form-control-lg, .form-select-lg { padding: 14px 18px !important; font-size: 15px; }

.results-title { color: #fff; font-size: 1.25rem; margin-bottom: 16px; }
.results-title i { color: var(--bv-magenta); }

.result-box {
  display: flex; align-items: center; gap: 14px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(176, 38, 255, 0.08));
  border: 1px solid var(--bv-line);
  border-radius: var(--bv-r);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.result-box:hover {
  transform: translateY(-3px);
  border-color: var(--bv-blue);
  box-shadow: var(--bv-glow-mix);
}
.result-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--bv-grad) !important;
  color: #fff !important;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(124, 0, 255, 0.4);
}
.result-content { display: flex; flex-direction: column; min-width: 0; }
.result-label { font-size: 12px; color: var(--bv-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.result-value { font-size: 1.15rem; color: #fff; font-weight: 700; }

.result-summary { margin-top: 20px; }
.summary-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--bv-line);
  border-radius: var(--bv-r);
  margin-bottom: 10px;
}
.summary-item p { color: var(--bv-text-soft); margin: 0; font-size: 14px; }
.summary-item strong { color: #fff; }
.summary-item i { margin-top: 4px; flex-shrink: 0; }

.calculator-info { background: transparent; }
.calculator-info h4 { color: #fff; margin-bottom: 16px; }
.calculator-info h4 i { color: var(--bv-blue); }

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.info-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px;
  background: linear-gradient(180deg, rgba(26, 15, 56, 0.7), rgba(12, 6, 32, 0.7));
  border: 1px solid var(--bv-line);
  border-radius: var(--bv-r);
}
.info-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bv-grad);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(124, 0, 255, 0.4);
}
.info-content h5 { color: #fff; font-size: 14px; margin: 0 0 4px; }
.info-content p { color: var(--bv-text-soft); font-size: 13px; margin: 0; }

/* ==========================================================================
   Listing pages: filters, grid, intro boxes
   ========================================================================== */

.filters-row {
  background: linear-gradient(180deg, rgba(26, 15, 56, 0.7), rgba(12, 6, 32, 0.7));
  border: 1px solid var(--bv-line);
  border-radius: var(--bv-r-lg);
  padding: 16px;
  backdrop-filter: blur(10px);
}

.category-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.category-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--bv-line);
  color: var(--bv-text-soft);
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
}
.category-pill i { color: var(--bv-blue); }
.category-pill:hover {
  background: var(--bv-grad-soft);
  color: #fff;
  border-color: var(--bv-blue);
}
.category-pill.active {
  background: var(--bv-grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(124, 0, 255, 0.45);
}
.category-pill.active i { color: #fff; }

.sort-select {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid var(--bv-line) !important;
  color: #fff !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
}
.sort-select option { background: var(--bv-surface); color: #fff; }

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
}

.bonus-action .btn { flex: 1; }
.bonus-action { display: flex; gap: 8px; }

.pagination-wrapper { margin-top: 40px; }

.empty-state {
  padding: 60px 20px !important;
  background: linear-gradient(180deg, rgba(26, 15, 56, 0.6), rgba(12, 6, 32, 0.6));
  border: 1px dashed var(--bv-line);
  border-radius: var(--bv-r-lg);
}
.empty-state i { color: var(--bv-purple) !important; opacity: 0.6; }
.empty-state h4 { color: #fff; }

/* SEO intro & content boxes */
.seo-intro .intro-box,
.seo-content {
  background: linear-gradient(180deg, rgba(26, 15, 56, 0.6), rgba(12, 6, 32, 0.6));
  border: 1px solid var(--bv-line);
  border-radius: var(--bv-r-lg);
  padding: 24px;
}
.seo-intro .intro-box h2,
.seo-content h2 { color: #fff; font-size: 1.4rem; margin-bottom: 12px; }
.seo-intro .intro-box h3,
.seo-content h3 { color: #fff; font-size: 1.1rem; margin-top: 20px; margin-bottom: 8px; }
.seo-intro .intro-box p,
.seo-content p { color: var(--bv-text-soft); line-height: 1.75; }
.seo-intro .intro-box strong,
.seo-content strong { color: #fff; }
.seo-content ul { color: var(--bv-text-soft); padding-left: 18px; }
.seo-content ul li { margin-bottom: 8px; }

/* Page title fallback */
.page-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 40px rgba(176, 38, 255, 0.35);
  margin: 0 0 12px;
}

/* Contact / About cards helpers */
.about-list { list-style: none; padding: 0; }
.about-list li { padding: 8px 0; color: var(--bv-text-soft); }
.cta-box {
  background: linear-gradient(180deg, rgba(26, 15, 56, 0.85), rgba(12, 6, 32, 0.85));
  border: 1px solid var(--bv-line);
  border-radius: var(--bv-r-lg);
  padding: 22px;
  text-align: center;
}
.cta-box i { font-size: 32px; color: var(--bv-blue); filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5)); margin-bottom: 10px; }
.cta-box h5 { color: #fff; }
.cta-box p { color: var(--bv-text-soft); font-size: 13px; margin-bottom: 12px; }

/* Contact cards */
.contact-card {
  background: linear-gradient(180deg, rgba(26, 15, 56, 0.85), rgba(12, 6, 32, 0.85));
  border: 1px solid var(--bv-line);
  border-radius: var(--bv-r-lg);
  padding: 24px;
  text-align: center;
}
.contact-icon {
  width: 60px; height: 60px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--bv-grad);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px;
  box-shadow: var(--bv-glow-mix);
}
.social-links-lg { display: inline-flex; gap: 12px; margin-top: 10px; }
.social-links-lg .social-link { width: 44px; height: 44px; font-size: 16px; }

/* ==========================================================================
   SEO Landing Pages
   ========================================================================== */
.seo-landing-hero {
    padding: 70px 0 40px;
    background: radial-gradient(ellipse at top, rgba(124,0,255,0.18), transparent 60%),
                linear-gradient(180deg, rgba(12,6,32,0.6), transparent);
}
.seo-landing-hero .breadcrumb { background: none; padding: 0; margin-bottom: 16px; }
.seo-landing-hero .breadcrumb a { color: var(--bv-text-muted); text-decoration: none; }
.landing-h1 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #fff, #c9b8ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.landing-lead {
    color: #c9c4e0;
    font-size: 17px;
    line-height: 1.75;
    max-width: 880px;
    margin-bottom: 24px;
}
.landing-lead strong { color: #fff; }
.landing-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.seo-content-section {
    background: linear-gradient(180deg, rgba(12,6,32,0.3), rgba(12,6,32,0.6));
}
.seo-content {
    max-width: 920px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(26, 15, 56, 0.75), rgba(12, 6, 32, 0.75));
    border: 1px solid var(--bv-line);
    border-radius: 20px;
    padding: 36px;
    color: #d8d2ee;
}
.seo-content h2 {
    font-size: 24px; font-weight: 800; color: #fff;
    margin: 28px 0 14px; line-height: 1.3;
}
.seo-content h2:first-child { margin-top: 0; }
.seo-content h3 {
    font-size: 19px; font-weight: 700; color: #fff;
    margin: 24px 0 10px;
}
.seo-content p { font-size: 16px; line-height: 1.8; margin-bottom: 14px; }
.seo-content strong { color: #fff; }
.seo-content ul, .seo-content ol { padding-left: 22px; margin-bottom: 16px; }
.seo-content li { line-height: 1.8; margin-bottom: 6px; }
.seo-content a { color: var(--bv-blue); text-decoration: none; }
.seo-content a:hover { text-decoration: underline; }
.seo-content details {
    background: rgba(124,0,255,0.08);
    border: 1px solid rgba(124,0,255,0.18);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 10px;
    cursor: pointer;
}
.seo-content details[open] { background: rgba(124,0,255,0.14); }
.seo-content summary { color: #fff; font-weight: 600; outline: none; }
.seo-content details p { margin-top: 10px; margin-bottom: 0; color: #c9c4e0; }

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-card {
    background: linear-gradient(180deg, rgba(26, 15, 56, 0.7), rgba(12, 6, 32, 0.7));
    border: 1px solid var(--bv-line);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--bv-blue); box-shadow: var(--bv-glow-mix); }
.blog-card-media { display: block; aspect-ratio: 16/9; overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-ph { aspect-ratio: 16/9; background: linear-gradient(135deg, rgba(124,0,255,0.15), rgba(0,180,255,0.08)); display: flex; align-items: center; justify-content: center; }
.blog-card-ph i { font-size: 48px; color: rgba(255,255,255,0.3); }
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { font-size: 12px; color: var(--bv-text-muted); margin-bottom: 10px; }
.blog-card-title { font-size: 18px; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.blog-card-title a { color: #fff; text-decoration: none; }
.blog-card-title a:hover { color: var(--bv-blue); }
.blog-card-excerpt { color: var(--bv-text-muted); font-size: 14px; margin-bottom: 16px; flex: 1; }
.blog-card-btn {
    align-self: flex-start;
    background: var(--bv-grad); color: #fff;
    padding: 8px 16px; border-radius: 10px;
    font-size: 13px; font-weight: 600;
    text-decoration: none;
    transition: transform .2s;
}
.blog-card-btn:hover { transform: translateX(3px); color: #fff; }

.blog-article {
    background: linear-gradient(180deg, rgba(26, 15, 56, 0.8), rgba(12, 6, 32, 0.8));
    border: 1px solid var(--bv-line);
    border-radius: 20px;
    padding: 32px;
}
.blog-article-hero { width: 100%; max-height: 420px; object-fit: cover; border-radius: 14px; margin-bottom: 24px; }
.blog-article-meta { color: var(--bv-text-muted); font-size: 13px; margin-bottom: 16px; }
.blog-article-title { font-size: 32px; font-weight: 800; line-height: 1.25; color: #fff; margin-bottom: 20px; }
.blog-article-excerpt { color: #dcd6f7; font-size: 17px; line-height: 1.7; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--bv-line); }
.blog-article-content { color: #cec8e6; font-size: 16px; line-height: 1.85; }
.blog-article-content h2, .blog-article-content h3 { color: #fff; margin-top: 24px; }
.blog-article-share { display: flex; gap: 12px; align-items: center; padding-top: 20px; border-top: 1px solid var(--bv-line); }
.blog-article-share a {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(124,0,255,0.12);
    color: #fff;
    transition: background .2s, transform .2s;
}
.blog-article-share a:hover { background: var(--bv-blue); transform: translateY(-2px); }

.blog-sidebar {
    background: linear-gradient(180deg, rgba(26, 15, 56, 0.7), rgba(12, 6, 32, 0.7));
    border: 1px solid var(--bv-line);
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 90px;
}
.blog-sidebar-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.blog-sidebar-list { list-style: none; padding: 0; margin: 0; }
.blog-sidebar-list li { border-bottom: 1px solid rgba(255,255,255,0.06); }
.blog-sidebar-list a { display: block; padding: 12px 0; color: var(--bv-text-muted); text-decoration: none; transition: color .2s; }
.blog-sidebar-list a .rp-title { display: block; color: #fff; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.blog-sidebar-list a:hover .rp-title { color: var(--bv-blue); }
.blog-sidebar-list a small { color: #888; font-size: 12px; }
.blog-sidebar-cta {
    margin-top: 24px; padding: 20px;
    background: linear-gradient(135deg, rgba(124,0,255,0.15), rgba(0,180,255,0.08));
    border-radius: 12px; text-align: center;
}
.blog-sidebar-cta h3 { color: #fff; font-size: 16px; margin-bottom: 8px; }
.blog-sidebar-cta p { color: var(--bv-text-muted); font-size: 13px; margin-bottom: 12px; }

/* ==========================================================================
   Features Strip
   ========================================================================== */
.features-strip .feature-item {
    display: flex; align-items: center; gap: 14px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(26, 15, 56, 0.7), rgba(12, 6, 32, 0.7));
    border: 1px solid var(--bv-line);
    border-radius: 16px;
    height: 100%;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.features-strip .feature-item:hover {
    transform: translateY(-3px);
    border-color: var(--bv-blue);
    box-shadow: var(--bv-glow-mix);
}
.feature-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--bv-grad);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 20px;
    box-shadow: 0 6px 18px rgba(124, 0, 255, 0.45);
    flex-shrink: 0;
}
.feature-title { color: #fff; font-weight: 700; font-size: 15px; }
.feature-sub { color: var(--bv-text-muted); font-size: 12px; }

/* ==========================================================================
   Popup Grid
   ========================================================================== */
.popup-grid-overlay {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.popup-grid-container {
    max-width: 900px; width: 100%;
    max-height: 90vh; overflow-y: auto;
    scrollbar-width: none; -ms-overflow-style: none;
}
.popup-grid-container::-webkit-scrollbar { display: none; }
.popup-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.popup-grid-item {
    position: relative; border-radius: 12px; overflow: hidden;
    background: #1a1a1a; cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.popup-grid-item:hover { transform: scale(1.02); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5); }
.popup-grid-item img { width: 100%; height: auto; display: block; border-radius: 12px; }
.popup-grid-item .popup-click-btn {
    position: absolute; top: 10px; left: 10px;
    background: #FF6B00; color: #fff;
    padding: 6px 14px; border-radius: 6px;
    font-size: 12px; font-weight: 600;
    text-decoration: none;
    display: flex; align-items: center; gap: 5px;
    z-index: 2; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.popup-grid-item .popup-click-btn i { font-size: 10px; }
.popup-grid-item .popup-close-btn {
    position: absolute; top: 10px; right: 10px;
    width: 28px; height: 28px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff; border-radius: 50%;
    font-size: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 3; transition: all 0.2s ease;
}
.popup-grid-item .popup-close-btn:hover {
    background: rgba(255, 0, 0, 0.7); border-color: #ff0000;
}
@media (max-width: 600px) {
    .popup-grid-overlay { padding: 10px; }
    .popup-grid { gap: 10px; }
    .popup-grid-item .popup-click-btn { padding: 5px 10px; font-size: 10px; top: 8px; left: 8px; }
    .popup-grid-item .popup-close-btn { width: 24px; height: 24px; font-size: 14px; top: 8px; right: 8px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991.98px) {
  .search-form { min-width: 100%; margin-top: 10px; }
  .navbar-nav { gap: 0; margin: 10px 0; }
  .hero-section { padding: 60px 0 40px; text-align: center; }
  .hero-image { min-height: 300px; margin-top: 30px; }
  .floating-cards { min-height: 300px; }
  .hero-buttons { justify-content: center; }
  .navbar-nav .nav-link { padding: 10px 12px !important; }
  .main-header .navbar { padding: 8px 0; }
  .navbar-brand .brand-logo { height: 40px; }
}

@media (max-width: 575.98px) {
  .hero-title { font-size: 1.9rem; }
  .cta-card { padding: 24px; }
  .cta-title { font-size: 1.3rem; }
  .float-card { padding: 12px 16px; font-size: 13px; }
  .float-card i { font-size: 20px; }
  .section-title { font-size: 1.4rem; }
  .page-header { padding: 40px 0 20px; }
}
