* {
    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 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(19, 19, 20, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    margin-right: auto;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #f0f600;
}

.logo span { color: #ff3cc7; }

.nav-links {
    display: flex;
    gap: 30px;
    margin: 0 40px;
}

.nav-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: #f0c808;
    text-shadow: 0 0 10px rgba(240, 200, 8, 0.3);
}

.header-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 16px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.social-icon:hover {
    background: #f0c808;
    color: #000;
    border-color: #f0c808;
    transform: translateY(-2px);
}

main {
    margin-top: 100px;
    padding-bottom: 80px;
}

.promo-girl {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 180px;
    height: 200px;
    cursor: pointer;
    z-index: 99;
}
.promo-gif { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.promo-badge {
    position: absolute;
    top: 5px; right: 5px;
    background: linear-gradient(135deg, #ff3cc7, #f0c808);
    color: #000;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.hero-banner {
    height: 600px;
    background: linear-gradient(rgba(10, 10, 10, 0.8), rgba(76, 26, 87, 0.4)),
                url('../img/waifu.png') center/cover;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

a.software-card {
    text-decoration: none;
    color: inherit; /* или ваш основной цвет текста */
    display: block; /* или flex, в зависимости от вашей верстки */
}

.banner-content {
    max-width: 800px;
    text-align: center;
    padding: 0 20px;
}

.banner-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #f0c808, #ff3cc7, #00e5e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner-content{
    font-size: 18px;
    color: #bdb009;
    margin-bottom: 30px;
}

.software-section {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
    color: #fff;
    letter-spacing: 1px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 14px;
}

/* SEARCH BAR */
.search-container {
    max-width: 600px;
    margin: 0 auto 50px;
    position: relative;
}
.search-container input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background: #1c1c1d;
    border: 1px solid #333;
    color: #fff;
    border-radius: 30px;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}
.search-container input:focus {
    border-color: #f0c808;
    box-shadow: 0 0 15px rgba(240, 200, 8, 0.1);
}
.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 18px;
}

/* GRID & CARDS */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.software-card {
    background: #181819;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

.software-card:hover {
    transform: translateY(-5px);
    border-color: #444;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.software-image {
    width: 100%;
    height: 150px;
    background: #000;
    overflow: hidden;
    position: relative;
}

.software-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: 0.3s;
}

.software-card:hover .software-image img {
    opacity: 1;
    transform: scale(1.05);
}

.software-content {
    padding: 20px;
}

.software-title {
    font-size: 20px; /* Увеличен */
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Строка с ценой и кол-вом */
.software-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.software-price {
    font-size: 22px; /* Увеличен */
    font-weight: bold;
    color: #f0c808;
}

.product-count {
    font-size: 13px;
    color: #666;
    background: #222;
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- СТИЛИ ДЛЯ БЛОКА ПРЕИМУЩЕСТВ --- */
.advantages-section {
    padding: 30px 0;
    margin-bottom: 30px;
    background: rgba(24, 24, 25, 0.5); /* Немного выделим фон секции */
    border-radius: 16px;
    border: 1px solid #2a2a2a;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Три колонки */
    gap: 25px;
    margin-top: 40px;
}

.advantage-card {
    text-align: center;
    padding: 25px;
    background: #181819; /* Такой же фон, как у карточек товаров */
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    border-color: #f0c808;
    transform: translateY(-5px);
}

.advantage-card i {
    font-size: 36px;
    color: #f0c808; /* Наш фирменный желтый */
    margin-bottom: 15px;
}

.advantage-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.advantage-card p {
    font-family: 'Comfortaa', sans-serif; /* Более читаемый шрифт для текста */
    font-size: 14px;
    color: #aaa;
    line-height: 1.7;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr; /* Одна колонка на мобильных */
    }
}
.product-count i { color: #555; }