* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #090b12;
    color: #f5f6fa;
    font-family: Arial, sans-serif;
}

.header {
    height: 76px;
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #202330;
}

.logo {
    color: white;
    text-decoration: none;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo span, .hero h1 span {
    color: #8d72ff;
}

.header-label, .tag {
    color: #a393ff;
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: bold;
}

.hero {
    min-height: 430px;
    padding: 100px 8%;
    background:
        radial-gradient(ellipse at 75% 40%, #30205b 0%, transparent 45%),
        #0c0e19;
}

.hero h1 {
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.08;
    margin: 24px 0 18px;
    letter-spacing: -3px;
}

.hero p {
    color: #a5a8b7;
    line-height: 1.7;
    max-width: 440px;
}

.main-button {
    display: inline-block;
    margin-top: 28px;
    padding: 15px 23px;
    border-radius: 9px;
    background: #8065f5;
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.catalog {
    padding: 65px 8% 90px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 30px;
    gap: 20px;
}

.section-heading h2 {
    margin-top: 12px;
    font-size: 29px;
}

.count {
    color: #999db0;
    font-size: 13px;
}

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

.app-card {
    background: #121522;
    border: 1px solid #252a3a;
    padding: 24px;
    border-radius: 15px;
    transition: .2s;
}

.app-card:hover {
    transform: translateY(-4px);
    border-color: #8065f5;
}

.app-icon {
    width: 53px;
    height: 53px;
    border-radius: 13px;
    background: #292044;
    display: grid;
    place-items: center;
    font-size: 25px;
    margin-bottom: 20px;
}

.app-card h3 {
    font-size: 19px;
    margin-bottom: 9px;
}

.app-card p, .app-meta {
    color: #999db0;
    font-size: 13px;
}

.app-meta {
    margin-top: 15px;
}

.download-button {
    display: block;
    text-align: center;
    text-decoration: none;
    color: white;
    background: #7459e9;
    padding: 13px;
    margin-top: 20px;
    border-radius: 8px;
    font-weight: bold;
}

.loading, .empty {
    color: #999db0;
    padding: 30px 0;
}

footer {
    border-top: 1px solid #202330;
    padding: 30px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

footer p {
    color: #85899b;
    font-size: 12px;
}

@media(max-width: 600px) {
    .hero {
        padding: 75px 7%;
    }

    .catalog {
        padding: 50px 7%;
    }

    .header {
        padding: 0 7%;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}
