* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tektur', sans-serif;
}

body {
    background-color: #131314; /* Темный фон */
    color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER ОБНОВЛЕН */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Прозрачность и блюр */
    background: rgba(19, 19, 20, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(64, 83, 27, 0.5);
    z-index: 1000;
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: center; /* Центрируем логотип */
    align-items: center;
    position: relative;
}

.logo-link {
    text-decoration: none;
}

.logo {
    font-size: 36px; /* Увеличенный размер */
    font-weight: bold;
    color: #f0f600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo span {
    color: #ff3cc7;
}

/* Навигация скрыта */
.nav-links {
    display: none; 
}

main {
    margin-top: 100px; /* Отступ под новый хедер */
    padding: 40px 0;
}

/* Герой баннер (Описание игры) */
.software-hero {
    height: 350px;
    margin-top: 50px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #f0c808, #ff3cc7, #00e5e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 20px;
    color: #fff;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* Секция со списком софтов */
.software-list-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #f0c808, #ff3cc7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: #00e5e8;
    font-size: 16px;
    margin-bottom: 30px;
}

/* --- Software Grid --- */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.software-card:hover {
    transform: translateY(-5px);
    border-color: #f0c808;
    box-shadow: 0 0 30px rgba(240, 200, 8, 0.4);
}

.software-image {
    width: 100%;
    height: 160px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f0c808;
    font-size: 14px;
    border-radius: 8px 8px 0 0;
    position: relative;
    overflow: hidden;
}

.software-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.software-card:hover .software-image img {
    transform: scale(1.1);
    opacity: 1;
}

.software-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #f0f600;
    text-transform: capitalize;
}

.software-description {
    font-size: 14px;
    color: #bdb009;
    margin-bottom: 15px;
    line-height: 1.5;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.software-price {
    font-size: 20px;
    font-weight: bold;
    color: #f0c808;
}

footer {
    background: rgba(10, 10, 10, 0.9);
    padding: 50px 0 20px;
    border-top: 1px solid #40531b;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: #f0c808;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdb009;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #00e5e8;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(64, 83, 27, 0.3);
    color: #f0c808;
    transition: all 0.3s;
    border: 1px solid #40531b;
}

.social-links a:hover {
    background: rgba(255, 60, 199, 0.2);
    color: #ff3cc7;
    border-color: #ff3cc7;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #40531b;
    color: #618b4a;
    font-size: 14px;
    position: relative;
}

.author-signature {
    position: absolute;
    bottom: 5px;
    right: 10px;
    color: transparent;
    font-size: 1px;
    user-select: none;
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); /* Чуть шире карточки */
    gap: 25px;
}

/* Новая карточка */
.software-card {
    background: #111;
    border: 2px solid #2a2a2a; /* Фиолетовая обводка, как просили ранее? Или нейтральная? Оставил темную, при наведении подсветим */
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    height: 200px; /* Фиксированная высота как на скрине */
}

/* Эффект при наведении */
.software-card:hover {
    transform: translateY(-5px);
    border-color: #8e44ad; /* Фиолетовый акцент (под "Popular") */
    box-shadow: 0 10px 25px rgba(142, 68, 173, 0.2); 
}

/* Фон карточки (Картинка) */
.software-bg {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    z-index: 0;
}

.software-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
    opacity: 0.6; /* Затемнение, чтобы текст читался */
}

.software-card:hover .software-bg img {
    transform: scale(1.05);
    opacity: 0.4; /* Сильнее затемняем при наведении, чтобы контент выделялся */
}

/* Контент поверх картинки */
.software-overlay {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    z-index: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(to top, #131314 10%, transparent 90%); /* Градиент снизу */
}

/* Верхняя строка: Популярное и Статус */
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.badge {
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge-popular {
    background: #2a2a2a; /* Темная подложка */
    color: #ce93d8;      /* Лиловый текст */
    border: 1px solid #4a148c; /* Рамка */
}

.badge-status {
    background: #1b2e1e; /* Темно-зеленая подложка */
    color: #4cd137;      /* Ярко-зеленый текст */
    border: 1px solid #2ecc71;
}

/* Центральная часть: Название и Функции */
.card-mid {
    margin-top: auto; /* Прижимает к низу (перед футером) */
    margin-bottom: 10px;
}

.software-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* Бейджи функций (Aimbot, Visual) */
.features-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feat-badge {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #444;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 11px;
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(5px);
}

.feat-badge i { color: #bbb; }

/* Нижняя строка: Статус стабильности и Цена */
.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.status-text {
    font-size: 12px;
    font-weight: 600;
    color: #bfa1ce; /* Легкий фиолетовый оттенок "Стабильный" */
    text-transform: uppercase;
    background: rgba(100, 50, 100, 0.2);
    padding: 3px 8px;
    border-radius: 4px;
}

.price-text {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}
.price-text span {
    font-size: 14px;
    font-weight: 400;
    color: #aaa;
    margin-right: 4px;
}

.badge-status {
    /* Зеленый для Undetected */
    background: #1b2e1e;
    color: #4cd137;
    border: 1px solid #2ecc71;
}

.badge-update {
    /* Желтый для On Update */
    background: #2e2a1b;
    color: #f1c40f;
    border: 1px solid #f39c12;
}

.badge-risk {
    /* Красный для Risk (на всякий случай) */
    background: #2e1b1b;
    color: #e74c3c;
    border: 1px solid #c0392b;
}

.price-text span {
    font-size: 14px;
    font-weight: 400;
    color: #aaa;
    margin-right: 4px;
}

.local-search-container {
    max-width: 500px;
    margin: 0 auto 30px auto;
    position: relative;
}

.local-search-input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

.local-search-input:focus {
    border-color: #f0c808;
    box-shadow: 0 0 10px rgba(240, 200, 8, 0.1);
}

.local-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

/* --- ЦЕНЫ И СКИДКИ --- */
.price-container {
    display: flex;
    align-items: center; /* Выравнивание по низу текста */
    gap: 10px;
    margin-top: auto;
}

.software-price {
    font-size: 20px;
    font-weight: bold;
    color: #f0c808;
}

/* Перечеркнутая цена */
.old-price {
    font-size: 14px;
    color: #777;
    text-decoration: line-through;
    font-weight: 400;
}

.software-price.discounted {
    color: #ff4757; /* Красный цвет цены при скидке */
}

/* --- НОВЫЕ БЕЙДЖИ --- */
/* Бейдж АКЦИЯ */
.badge-sale {
    background: rgba(255, 71, 87, 0.1);
    color: #ff6b6b;
    border: 1px solid #ff4757;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(255, 71, 87, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}
/* Желтый цвет для статуса "На обновлении" */
.badge-update {
    background: #ffc107 !important; /* Насыщенный желтый */
    color: #000 !important;
}

/* Стиль для неактивной карточки */
.card-on-update {
    cursor: not-allowed !important;
    filter: grayscale(0.6) brightness(0.7); /* Затемнение и обесцвечивание */
    position: relative;
    overflow: hidden;
}

/* Эффект диагональных полос поверх карточки */
.card-on-update::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.1),
        rgba(0, 0, 0, 0.1) 10px,
        rgba(0, 0, 0, 0.2) 10px,
        rgba(0, 0, 0, 0.2) 20px
    );
    pointer-events: none; /* Чтобы не мешало наведению, если нужно */
    z-index: 5;
}

/* Убираем эффект увеличения при наведении для неактивных карточек */
.card-on-update:hover {
    transform: none !important;
    box-shadow: none !important;
}