:root{ --bg:#0f1724; --card:#ffffff; --accent:#0066ff; }
*{box-sizing:border-box}
body{
  font-family: Inter, system-ui, Arial;
  margin:0; 
  color:#0b1220; 
  background:#e5e5e5; 
  -webkit-font-smoothing: antialiased
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    color: #0f1724;
}

.hero-container {
    display: flex;
    flex-wrap: wrap;
    padding: 6rem 4rem;
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
    justify-content: flex-start;
}

.hero-container-dop-blok {
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

/* Левая колонка: текст */
.hero-container-blok-1 {
    display: flex;
    z-index: 1;
}

/* Правая колонка: изображение */
.hero-container-blok-2 {
    position: absolute;
    z-index: 0;
    width: 510px;
    bottom: 4%;
    right: 0%;
}

.hero-container-blok-3 {
    z-index: 1;
}


/* Hero header */
.hero {
  	background: linear-gradient(0deg, #e5e5e5 0%, #e5e5e5 100%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #001943;
    font-size: 2rem;
    font-family: 'Montserrat', sans-serif;
    margin: 0rem;
    text-align: start;
}

.hero-subtitle {
    font-size: 17px;
    color: #1b3355;
    max-width: 720px;
     margin: 20px auto 30px;
    line-height: 1.6;
    text-align: left;
}

/* Hero CTA buttons */
.hero-cta {
	display: flex;
    justify-content: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.btn {
	position: relative;
	display: inline-block;
	padding: 16px 28px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 12px;
	text-decoration: none;
	cursor: pointer;
	overflow: visible;
}

.btn-primary {
    position: relative;
    display: inline-block;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    overflow: visible;

    background: linear-gradient(90deg, #0066ff, #3399ff);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);

    /* Плавность туда и обратно */
    transition:
        opacity 1s cubic-bezier(.17,.67,.46,1.18),
        transform 1s cubic-bezier(.17,.67,.46,1.18),
        box-shadow 1s cubic-bezier(.17,.67,.46,1.18),
        background 1s cubic-bezier(.17,.67,.46,1.18);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.35);
    background: linear-gradient(90deg, #3388ff, #66bbff);
}

.btn-secondary {
    position: relative;
    display: inline-block;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    overflow: visible;

    background: #fff;
    color: #0066ff;
    border: 2px solid #0066ff;
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.1);

    /* Плавная анимация туда и обратно */
    transition:
        opacity 1s cubic-bezier(.17,.67,.46,1.18),
        transform 1s cubic-bezier(.17,.67,.46,1.18),
        box-shadow 1s cubic-bezier(.17,.67,.46,1.18),
        background 1s cubic-bezier(.17,.67,.46,1.18);
}

.btn-secondary:hover {
    background: #f0f5ff;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.15);
}

/* Tooltip */
.btn .tooltip {
	position: absolute;

	transform: translateX(-50%) scale(0.85);
	opacity: 0;
	visibility: hidden;

	padding: 12px 16px;
	font-size: 14px;
	line-height: 1.45;

	color: #ffffff;
	background: rgba(15, 23, 42, 0.85); /* прозрачный синий/чёрный */
	backdrop-filter: blur(10px);

	border-radius: 12px;
	white-space: nowrap;

	box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
	transition: 
		opacity 0.5s ease,
		transform 0.5s ease,
		visibility 0.5s;
	pointer-events: none;
	z-index: 20;
}

.btn .tooltip::after {
	content: "";
	position: absolute;
    top: 98%;
    left: 10%;

	transform: translateX(-50%);

	width: 12px;
	height: 12px;
	background: rgba(15, 23, 42, 0.85);
	backdrop-filter: blur(10px);

	clip-path: polygon(50% 100%, 0 0, 100% 0);
}

/* Активация при наведении */
.btn:hover .tooltip,
.btn:focus .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}

/* SEO keywords hidden */
.seo-keywords { display: none; }


/* Изображение */
.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    user-select: none; /* нельзя выделять */
    pointer-events: none; /* нельзя кликать */
    transition: transform 0.6s ease;
}

/* Легкий эффект при наведении на контейнер */
.hero-container:hover .hero-image {
    transform: scale(1.03);
}

.card-content {
    font-size: 1rem;
    padding: 0 12px;
}

.catalog{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}
.card{
    position: relative; /* можно оставить */
    z-index: 1;
    background:#fff;
    border-radius:14px;
    box-shadow:0 6px 18px rgba(10,10,12,0.06);
    overflow:hidden;
    transform:translateY(0);
    transition:transform .28s cubic-bezier(.2,.9,.3,1),box-shadow .28s
}
.card:hover{transform:translateY(-8px);box-shadow:0 18px 40px rgba(8,12,20,0.08)}
.card a.card-link{color:inherit;text-decoration:none;display:block}
.card-media{position:relative;height:140px;overflow:hidden}
.card-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s}
.card:hover .card-media img{transform:scale(1.05)}
.badge{position:absolute;left:8px;top:8px;background:var(--accent);color:#fff;padding:6px 10px;border-radius:999px;font-size:12px}
.card-body{
  display: flex;
  height: 240px;
  padding: 14px;
  flex-direction: column;
  justify-content: flex-start;
}
.card-title{font-size:18px;margin:0 0 6px}
.card-audience{font-size:13px;color:#475569;margin:0 0 10px}
.card-stats{display:flex;gap:14px}
.stat{min-width:0}
.stat-num{font-weight:700;font-size:18px}
.stat-label{font-size:12px;color:#64748b}
/* detail */
.base-detail{padding:24px;background:#fff;border-radius:12px;box-shadow:0 8px 24px rgba(7,13,28,0.04)}
.stats{display:flex;gap:20px;margin:18px 0}
.stat-big{background:#f1f5f9;padding:18px;border-radius:10px;flex:1;text-align:center}
.stat-big .stat-num{font-size:28px}





/* ENHANCED FILTERS BLOCK */
.enhanced-filters {
	display: flex;
	gap: 16px;
	margin: 32px 0;
	opacity: 0;
	transform: translateY(-12px);
	animation: filtersEnter .7s ease forwards;
	position: relative;
	z-index: 100;
}

@keyframes filtersEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Animations for cards during filtering */
.card {
  transition: opacity .25s ease, transform .25s ease;
}

.card.hidden {
  opacity: 0 !important;
  transform: scale(.94);
  pointer-events: none;
  display: none; /* ← ДОЛЖНО БЫТЬ ТУТ */
}



/* CUSTOM DROPDOWN */
.dropdown {
  position: relative;
  width: 100%;
  cursor: pointer;
  user-select: none;
}

.dropdown-selected {
  padding: 12px 42px 12px 42px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #dce2ee;
  font-size: 15px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transition: all .25s ease;
}

.dropdown:hover .dropdown-selected {
  border-color: #c3cde0;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
}

.dropdown.open .dropdown-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, .15);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  width: 100%;
  left: 0;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 28px rgba(10, 14, 28, 0.14);
  padding: 8px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: auto;
  transition: all .25s ease;
  z-index: 20;
}

.open {
  opacity: 1;
}

.dropdown-menu li {
  padding: 10px 16px;
  font-size: 15px;
  transition: background .2s ease, padding .2s ease;
}

.dropdown-menu li:hover {
  background: #f1f5ff;
  padding-left: 22px;
}

.dropdown-menu li.active {
  background: #e7f0ff;
  font-weight: 600;
}

.card-prices {
  height: 100%;
  display: flex;
  justify-content: end;
  font-size: 13px;
  margin-top: 8px;
  color: #475569;
  align-items: flex-end;
}

.card-prices span {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 6px;
    margin-left: 10px
}





.extended-base {
    background: linear-gradient(135deg, #0f1724, #1e293b);
    color: #fff;
    border-radius: 18px;
    padding: 40px 20px;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.extended-container {
  margin: 30px;
}


.extended-base h2 {
    font-size: 32px;
    font-weight: 800;
    text-align: start;
}

.extended-text1 {
    font-size: 16px;
    line-height: 1.7;
    max-width: 800px;
    text-align: start;
}

.extended-text2 {
    font-size: 16px;
    line-height: 1.7;
    max-width: 800px;
    text-align: start;
}

.extended-base a {
    color: #66c0ff;
    text-decoration: underline;
}

.extended-base-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

/* Общие стили для кнопок */
.extended-base-cta .btn {
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    min-width: 220px;
}

/* Первая кнопка — купить контакты */
.btn-buy {
    background: linear-gradient(135deg, #3399ff, #66c0ff);
}
.btn-buy:hover {
    background: linear-gradient(135deg, #66c0ff, #99d1ff);
    transform: translateY(-2px);
}

/* Вторая кнопка — получить бесплатно */
.btn-free {
    background: linear-gradient(135deg, #10b981, #34d399);
}
.btn-free:hover {
    background: linear-gradient(135deg, #34d399, #6ee7b7);
    transform: translateY(-2px);
}

/* Третья кнопка — предложить ресурс */
.btn-suggest {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}
.btn-suggest:hover {
    background: linear-gradient(135deg, #fbbf24, #fde68a);
    transform: translateY(-2px);
}



/* Сетка для категорий */
.grid-menu {
    width: 800px;
    display: none;
    flex-wrap: wrap;
    flex-direction: column;
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px;
    overflow-y: auto;
    z-index: 999;
    transform: translateX(-50%);
}

.grid-row {
    display: flex;
    margin-bottom: 5px;
	align-items: center;
}

.grid-col {
    flex: 0 0 25%; /* 4 столбца */
    padding: 2px 5px;
}

.tag-item {
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: background 0.2s;
}

.tag-item:hover {
    background: #f0f0f0;
}

.faq-answer a {
    color: #0066ff;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.faq-answer a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: #0066ff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.faq-answer a:hover {
    color: #004ccf;
}

.faq-answer a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


/* === ФАГ === */

.faq-section {
    padding: 40px;
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
	margin-bottom: 20px;
}

.faq-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #0f1c3f;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    color: #1a2b5c;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #0066ff;
}

.faq-icon {
    transition: transform 0.3s ease;
}

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

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.4s ease;
}

.faq-answer p {
    margin: 0;
    font-size: 17px;
    color: #3b3b3b;
    line-height: 1.5;
}


.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 30px 0;
    gap: 8px;
}

.pagination .page-link {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    background: #f0f0f0;
    color: #1a2b5c;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pagination .page-link:hover {
    background: #0066ff;
    color: #fff;
}

.pagination .page-link.active {
    background: #0066ff;
    color: #fff;
    cursor: default;
}

#catalog-anchor {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 300%;
    transform: translateY(230%);
    height: 20px;
    width: 20px;
    visibility: hidden;
}



/* =========================
   FILTERS
========================= */

.filters {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 36, 0.08);
    border-radius: 14px;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 1fr 220px;
    grid-gap: 16px;
}

/* Общий элемент */
.filter-item {
    position: relative;
}

/* =========================
   SEARCH
========================= */

.filter-item input[type="search"] {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 36, 0.15);
    background: #fff;
    color: #0f1724;
    font-size: 15px;
    transition: all .2s ease;
}

.filter-item input[type="search"]::placeholder {
    color: rgba(15, 23, 36, 0.45);
}

.filter-item input[type="search"]:focus {
    outline: none;
    border-color: #3399ff;
    box-shadow: 0 0 0 3px rgba(51, 153, 255, 0.15);
}

.filter-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(15, 23, 36, 0.55);
    pointer-events: none;
}

/* =========================
   SELECT
========================= */

.dropdown select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 36, 0.15);
    background: #fff;
    color: #0f1724;
    font-size: 15px;
    cursor: pointer;
}

.dropdown select:focus {
    outline: none;
    border-color: #3399ff;
    box-shadow: 0 0 0 3px rgba(51, 153, 255, 0.15);
}

/* =========================
   MULTI FILTERS
========================= */

.filter-multi {
    grid-column: 1 / -1;
}

.filter-multi strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #0f1724;
    font-weight: 600;
}

.filter-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
    max-height: 180px;
    overflow-y: auto;
    padding-right: 4px;
}

/* scrollbar аккуратный */
.filter-list::-webkit-scrollbar {
    width: 6px;
}
.filter-list::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 36, 0.2);
    border-radius: 6px;
}

/* =========================
   CHECKBOX
========================= */

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 36, 0.08);
    cursor: pointer;
    transition: all .15s ease;
    font-size: 14px;
    color: #0f1724;
    background: #fff;
}

.filter-checkbox:hover {
    border-color: #3399ff;
    background: rgba(51, 153, 255, 0.05);
}

.filter-checkbox input {
    accent-color: #3399ff;
    cursor: pointer;
}

/* =========================
   ACTIONS
========================= */

.filter-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 8px;
}

.filter-actions button {
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    background: #3399ff;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

.filter-actions button:hover {
    background: #1f85e6;
}

.filter-actions .reset {
    font-size: 14px;
    color: rgba(15, 23, 36, 0.6);
    text-decoration: none;
}

.filter-actions .reset:hover {
    color: #0f1724;
    text-decoration: underline;
}


/* =========================
   COLLAPSIBLE FILTERS
========================= */

.is-collapsible {
    grid-column: 1 / -1;
}

/* Кнопка-заголовок */
.filter-toggle {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 36, 0.12);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #0f1724;
    cursor: pointer;
    transition: all .2s ease;
}

.filter-toggle:hover {
    border-color: #3399ff;
    background: rgba(51, 153, 255, 0.04);
}

/* Стрелка */
.filter-toggle .arrow {
    transition: transform .25s ease;
    color: rgba(15, 23, 36, 0.6);
}

/* Счётчик выбранных */
.filter-count {
    background: #3399ff;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: auto;
}

/* Панель */
.filter-panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height .3s ease, opacity .2s ease;
    opacity: 0;
}

/* Открытое состояние */
.is-collapsible.open .filter-panel {
    max-height: 320px;
    opacity: 1;
    margin-top: 10px;
}

.is-collapsible.open .filter-toggle .arrow {
    transform: rotate(180deg);
}





/* =========================
   CONTAINER
========================= */


/* =========================
   SKELETON BASE
========================= */
.skeleton {
    position: relative;
    overflow: hidden;
    background: #eef2f7;
    border-radius: 12px;
}

.skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0) 100%
    );
    animation: skeleton-shimmer 1.4s infinite;
}

@keyframes skeleton-shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* =========================
   STATISTICS SECTION
========================= */

.stats-skeleton {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-item {
    display: flex;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    align-items: center;
    gap: 10px;
    height: 60px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
}

/* Если хотим, можно добавить "placeholder текста" внутри */
.stat-item.skeleton::before {
    content: " ";
    display: block;
    width: 60%;
    height: 20px;
    border-radius: 6px;
}


/* =========================
   STATISTICS GRID
========================= */
#stats-section {
    margin-bottom: 32px;
    width: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    background: #ffffff;
    padding: 0 20px 0 20px;
    border-radius: 10px;
}

.stat-label {
    font-size: 14px;
    color: #0f1724;
    margin-bottom: 8px;
    font-weight: 600;
    text-align: center;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #3399ff;
    width: 60%;
    height: 24px;
    border-radius: 6px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* =========================
   BASES LIST
========================= */
#bases-section {
    margin-top: 40px;
}

#bases-section h2 {
    font-size: 18px;
    color: #0f1724;
    margin-bottom: 16px;
    font-weight: 600;
}

.bases-skeleton {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}


/* =========================
   SKELETON ANIMATION
========================= */
.skeleton {
    background: #e3e3e3;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0) 100%
    );
    animation: skeleton-shimmer 1.4s infinite;
}

@keyframes skeleton-shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* =========================
   Скелетоны внутри карточки
========================= */
.skeleton-avatar {
    width: 70px;
    height: 70px;
    border-radius: 100%;
}

.skeleton-title {
    width: 90%;
    height: 20px;
    border-radius: 6px;
}

.skeleton-subtitle {
    width: 50%;
    height: 15px;
    border-radius: 6px;
}

.skeleton-meta {
    width: 30%;
    height: 12px;
    border-radius: 6px;
    margin-top: auto;
}


/* ---------- Карточка уникальной базы ---------- */
.base-card {
    background-color: #ffffff;
    color: #0f1724;
    border-radius: 12px;
    overflow: hidden;
    min-width: 280px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    justify-content: space-between;
}

.base-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 10px rgba(0,0,0,0.35);
}

/* ---------- Иконка уникальной базы (звездочка) ---------- */
.base-card.u::before {
    content: "";
    position: absolute;
    top: 12px;
    right: 12px;

    width: 28px;
    height: 28px;

    background-image: url("/assets/images/icons/crown-card.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 5;
}

.base-card.u:hover::before {
    transform: scale(1.3) rotate(10deg);
    opacity: 1;
}

/* ---------- Заголовок карточки ---------- */
.base-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-direction: column;
}

.base-header h3 {
    width: 100%;
    margin: 8px 0 0 0;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    padding: 0 15px;
}

/* ---------- Аватар ---------- */
.base-avatar {
    width: 100%;       /* на всю ширину карточки #0f1724 */
    height: 150px;     /* фиксированная высота */
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

/* ---------- Описание ---------- */
.base-card p {
    font-size: 15px;
    line-height: 1.5;
    color: #475569;
}

/* ---------- Мета-информация ---------- */
.base-meta {
    display: flex;
    justify-content: space-around;
    font-size: 13px;
    background-color: #162433;
    padding: 8px 12px;
    border-radius: 0 0 12px 12px;
    color: #ffffff;
    font-weight: 500;
}

.base-meta-count {
    font-size: 14px;
    color: #4199f1;
    font-weight: 600;

}

.base-meta span {
    display: inline-block;
    text-align: center;
}

/* ---------- Акцент при наведении на мета ---------- */
.base-card:hover .base-meta {
    background-color: #162433;
}

.base-avatar-o {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-top: 20px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.base-avatar-o:hover {
    transform: scale(1.08);
    box-shadow: 0 0 0 3px rgba(51, 153, 255, 0.4);
}


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 32px 0;
    flex-wrap: wrap;
}

/* Общий стиль кнопок */
.pagination button {
    min-width: 40px;
    height: 30px;
    padding: 0 12px;

    background: #0f1724;
    color: white;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.2s ease,
        box-shadow 0.25s ease;
}

/* Hover */
.pagination button:hover:not(:disabled):not(.active-page) {
    background: #162033;
    border-color: #3399ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(51, 153, 255, 0.25);
}

/* Активная страница */
.pagination button.active-page {
    background: #3399ff;
    color: #ffffff;
    border-color: #3399ff;
    font-weight: 1000;
    box-shadow: 0 6px 16px rgba(51, 153, 255, 0.45);
    transform: translateY(-3px);
}

/* Кнопки навигации */
.pagination button:first-child,
.pagination button:last-child,
.pagination button:nth-child(2),
.pagination button:nth-last-child(2) {
    font-weight: 600;
}

/* Disabled */
.pagination button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Микро-анимация при клике */
.pagination button:active:not(:disabled) {
    transform: scale(0.95);
}


.base-card-z {
    background-color: #ffffff;
    border-radius: 12px;
    min-width: 280px;
    display: flex;
    transition: all 0.25s ease;
    position: relative;
    justify-content: space-between;
    height: 180px;
    gap: 15px;
    padding: 20px;
    flex-direction: column;
}

.base-card-z:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.35);
}

.count-skeleton {
    display: inline-block;
    min-width: 60px;
    height: 1em;
    border-radius: 6px;

    background: linear-gradient(
        90deg,
        #e3e3e3 25%,
        #ffffffcc 37%,
        #e3e3e3 63%
    );

    background-size: 300% 100%;
    animation: shimmer 3s linear infinite;

    color: transparent;
    user-select: none;
}

@keyframes shimmer {
    0% {
        background-position: 150% 0;
    }
    100% {
        background-position: -150% 0;
    }
}


.base-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.base-card.u {
    cursor: pointer;
}

.base-card.u:hover {
    transform: translateY(-2px);
}


@media (min-width: 769px) {
	.btn .tooltip { 
		top: -100%;
        left: 150%;
	}

	.hero-container {
		margin-top: 20px;
	}

	.hero {
		padding-top: 90px;
	}
}

/* Адаптив */
@media (max-width: 768px) {

    .hero-container-blok-2 {
        position: relative;
        width: auto;
        bottom: 0;
    }

	.dropdown-menu {
		width: 100%;
		transform: none;
	}

	.hero-container {
        margin-top: 20px;
		padding: 10px 20px;
	}

	.hero-container-dop-blok {
		flex-direction: column-reverse;
		gap: 20px;
        align-items: center;
	}

	.grid-col {
		flex: 0 0 50%;
	}

	.tag-item {
		display: flex;
        justify-content: flex-start;
	}

    .container {
        text-align: center;
        padding: 0 10px 0 10px;
    }

	.hero-cta {
		flex-direction: column;
		gap: 15px;
	}

    
    .hero h1 {
        text-align: left;
    	font-size: 22px;
      	margin-top: 0px;
    }
    .hero-title {
      	font-size: 0; /* скрываем оригинальный текст */
    }

    .hero-subtitle {
      	font-size: 13px;
	  	text-align: left;
	  	margin: 10px auto 10px;
    }

    .hero-cta {
		display: flex;
		justify-content: center;
		gap: 20px;
		flex-wrap: nowrap;
    }

    .btn-primary {
		padding: 13px 13px;
    }

	.btn-secondary {
		padding: 10px 20px;
		font-size: 14px;
    }

    .btn .tooltip { 
		white-space: normal;
		width: 300px;
		height: 90px;
    }
      
    .left-tooltip {
		bottom: 150%;
		left: 100%;
    }

    .reght-tooltip {
		bottom: 150%;
		left: 5%;
    }
    
    .enhanced-filters {
		padding: 20px 20px;
        grid-template-columns: auto;
    }

    .card {
		margin: 10px 20px 10px;
		opacity: 1;
    }

    .card-dop-cont {height: 20px;}

    .extended-base {
        padding: 20px 20px;
        margin: 32px 0;
    }

    .extended-container {
        margin: 10px;
    }

    .extended-container h1 {
        font-size: 30px;
    }
    .extended-text2 {
        font-size: 13px;

    }

    .extended-base h2 {
        font-size: 30px;
    }

    .btn {
        font-size: 16px;
    }

    .extended-base-cta {
        display: flex;
		gap: 16px;
		margin-top: 24px;
		flex-direction: column;
    }

	.extended-text1 {
		font-size: 14px;
	}

	.faq-section {
		padding: 20px;
		width: auto;
	}
	.faq-title {
		font-size: 1.6rem;
		margin-bottom: 15px;
	}
	.faq-answer p {
		text-align: left;
        font-size: 14px;
	}

	.ad-banner-index {
		margin: 20px 0px;
	}

    .grid-row {
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
    }
    .stats-grid {
        grid-template-columns: auto;
        gap: 0px;
        padding: 20px;

    }
    .stat-item {
        height: 40px;
        justify-content: flex-start;
    }
    .stat-label {
        margin-bottom: 0px;
        font-size: 16px;
    }
    .stat-value {
        font-size: 24px;
        justify-content: flex-start;

    }
    .base-header h3 {
        font-size: 20px;
        padding: 0px;
        padding: 0 15px;
    }

    .base-card {
        height: 410px;
    }

    .base-card p {
        text-align: left;
        padding: 0px;
        padding: 0 15px;
    }
    .base-meta {
       font-size: 15px; 
    }
    .base-meta-count {
        font-size: 16px
    }
    .pagination button {
        min-width: 27px;
        padding: 0 8px;
        font-size: 12px;
        font-weight: 1000;
    }
    .base-card-z {
       height: 260px; 
    }


}


