* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: #0b0e14;
    color: #adbac7;
    padding-bottom: 60px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    background: radial-gradient(circle at top, #1c212b 0%, #0b0e14 100%);
    padding: 60px 0 40px 0;
    text-align: center;
    border-bottom: 1px solid #22272e;
}

header h1 {
    color: #f0f6fc;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

header p {
    color: #768390;
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.quick-info {
    margin-top: 15px;
    color: #539bf5;
    font-size: 0.95rem;
}

.category-title {
    color: #f0f6fc;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 45px 0 20px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 25px;
}

.card {
    background-color: #1c212b;
    border: 1px solid #2d333b;
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.card:hover {
    transform: translateY(-4px);
    border-color: #539bf5;
    box-shadow: 0 8px 30px rgba(83, 155, 245, 0.12);
}

.app-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.app-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background-color: #22272e;
    border: 1px solid #373e47;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem; /* Размер смайлика внутри круга */
    flex-shrink: 0;
}

.app-title-block h3 {
    color: #f0f6fc;
    font-size: 1.2rem;
    font-weight: 600;
}

.security-status {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.sec-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.badge-gatekeeper { background-color: rgba(53, 155, 245, 0.1); color: #539bf5; border: 1px solid rgba(53, 155, 245, 0.2); }
.badge-clean { background-color: rgba(87, 171, 90, 0.1); color: #57ab5a; border: 1px solid rgba(87, 171, 90, 0.2); }

.card p {
    color: #768390;
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 45px;
}

.terminal-box {
    background-color: #0b0e14;
    border: 1px solid #2d333b;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px; 
}

.terminal-box code {
    font-family: "SF Mono", Menlo, Monaco, Consolas, monospace;
    color: #6dbc7f;
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.copy-btn {
    background-color: #22272e;
    border: 1px solid #373e47;
    color: #adbac7;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    flex-shrink: 0;
}

.copy-btn:hover {
    background-color: #2d333b;
    color: #f0f6fc;
    border-color: #768390;
}

.main-btn {
    display: block;
    text-align: center;
    background: linear-gradient(180deg, #34d058 0%, #28a745 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: opacity 0.2s;
}

.main-btn:hover { opacity: 0.9; }

.brew-instruction {
    background-color: #1c212b;
    border: 1px solid #2d333b;
    border-radius: 14px;
    padding: 30px;
    margin-top: 60px;
}

.brew-instruction h3 { color: #f0f6fc; margin-bottom: 12px; font-size: 1.3rem; }
.brew-instruction p { color: #768390; font-size: 0.95rem; margin-bottom: 18px; }
.bg-dark { background-color: #0b0e14 !important; }

footer {
    margin-top: 80px;
    padding: 40px 0;
    border-top: 1px solid #22272e;
    text-align: center;
    font-size: 0.8rem;
    color: #57606a;
    line-height: 1.7;
}
