.logo{
    width:240px;
    margin-bottom:24px;
}

.hero {
    padding: 50px 20px;
    text-align: center;

    background:
    linear-gradient(
        rgba(0,0,0,.75),
        rgba(0,0,0,.75)
    ),
    url("/assets/home/hero-bg.webp");

    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-inner {
    max-width: 1000px;
    margin: auto;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.3rem;
    opacity: .8;
    margin-bottom: 50px;
}

/* КАРТОЧКИ БЫСТРЫХ ДЕЙСТВИЙ */

.quick-actions {
    margin-top: 3rem;
    margin: auto;
    max-width: 1100px;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.action-card {
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(10px);
    position: relative;
    gap: 1rem;
    min-height: 140px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.action-card-image {
    position: absolute;
    right: 0;
    height: 100%;
    object-fit: cover;
    opacity: .35;
    pointer-events: none;
    overflow: hidden;
    border-radius: 16px;
}

.action-card-content {
    padding: 10px;
    overflow: hidden;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.action-card:hover {
    transform: translateY(-4px);
    border-color: #d4a64a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.action-card-primary {
    border-color: rgba(179, 138, 61, 0.6);
    box-shadow:
        0 0 0 1px rgba(179, 138, 61, 0.2),
        0 8px 32px rgba(179, 138, 61, 0.15);
}

.action-card-primary:hover {
    box-shadow:
        0 0 0 1px rgba(179, 138, 61, 0.4),
        0 12px 40px rgba(179, 138, 61, 0.2);
}

.action-card h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.action-card p {
    margin: 0;
    color: #a8afb8;
    line-height: 1.6;
    flex-grow: 1;
    padding-right: 80px;
}

@media (max-width: 900px) {
    .hero h1 {
        font-size: 3rem;
    }
    .quick-actions-grid {

        grid-template-columns: 1fr;
    }
    .action-card {
    background: rgba(25,25,25,0.85);
    backdrop-filter: none;
    }
}

/* ОСНОВНОЙ КОНТЕНТ */

.content {
    max-width: 1400px;
    margin: 50px auto;
    padding: 0 20px;
}

.content h2 {
    margin-bottom: 30px;
    text-align: center;
}

/* СЕТКА */

.grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit,minmax(250px,1fr));

    gap: 18px;
}

.card {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 120px;

    text-decoration: none;

    color: white;

    border-radius: 14px;

    background: #1b1f27;

    border: 1px solid #2b313c;

    transition: .2s;
}

.card:hover {
    transform: translateY(-4px);
    border-color: #d4a64a;
}

/* АВТОРАМ */

.authors {
    max-width: 900px;

    margin: 50px auto;

    padding: 50px;

    text-align: center;

    background: #1b1f27;

    border-radius: 20px;

    border: 1px solid #2b313c;
}

.authors h2 {
    margin-bottom: 20px;
}

.authors p {
    margin-bottom: 30px;
}

.author-button {
    display: inline-block;

    padding: 16px 32px;

    background: #d4a64a;

    color: #111;

    text-decoration: none;

    font-weight: bold;

    border-radius: 12px;
}

.author-button:hover {
    opacity: .9;
}

/* ИСКРЫ */

#sparkCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

#embers {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}