@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700;800&display=swap');

#homebanner,
#homebanner * {
    box-sizing: border-box;
}

#homebanner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    font-family: 'Rubik', sans-serif;
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(20, 0, 0, 0.72) 35%, rgba(20, 0, 0, 0.26) 68%, rgba(20, 0, 0, 0.06) 100%),
        var(--settings-background, url('https://amenscraft.ru/storage/img/backgirl2.png'));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: all ease 0.3s;
}

#homebanner .hommebanner-content {
    position: relative;
    min-height: 100%;
    padding: 52px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#homebanner .title {
    margin: 0 0 18px 0;
    max-width: 760px;
    color: #ff4d4d;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.08;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.55);
    white-space: normal;
}

#homebanner .description {
    margin: 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.96);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.55;
    white-space: normal;
    overflow: visible;
    display: block;
}

#homebanner .ac-banner-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 760px;
    margin-top: 26px;
}

#homebanner .ac-banner-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 112px;
    padding: 20px 18px;
    border-radius: 18px;
    background: rgba(10, 10, 10, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        inset 0 0 10px rgba(255, 255, 255, 0.03),
        0 6px 18px rgba(0, 0, 0, 0.18);
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
}

#homebanner .ac-banner-icon {
    flex: 0 0 auto;
    font-size: 24px;
    line-height: 1;
}

#homebanner .start-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 78px;
    margin: 36px auto 0 auto;
    padding: 22px 32px;
    border-radius: 16px;
    background-color: #b51515;
    color: #ffffff !important;
    text-decoration: none !important;
    text-align: center;
    font-size: 35px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 8px 20px rgba(181, 21, 21, 0.22);
    transition: background-color 0.3s ease, transform 0.2s ease;

}

#homebanner .start-button:hover,
#homebanner .start-button:focus,
#homebanner .start-button:active,
#homebanner .start-button:visited {
    background-color: #991212;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: scale(1.01);
}

@media (max-width: 1100px) {
    #homebanner .hommebanner-content {
        padding: 42px 30px;
    }

    #homebanner .title {
        font-size: 46px;
    }

    #homebanner .description {
        font-size: 21px;
    }

    #homebanner .ac-banner-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 640px;
    }

    #homebanner .start-button {
        max-width: 460px;
        font-size: 24px;
        min-height: 60px;
    }
}

@media (max-width: 700px) {
    #homebanner {
        background-position: 68% center;
    }

    #homebanner .hommebanner-content {
        padding: 28px 20px;
    }

    #homebanner .title {
        font-size: 34px;
        margin-bottom: 14px;
    }

    #homebanner .description {
        font-size: 18px;
        line-height: 1.5;
    }

    #homebanner .ac-banner-features {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }

    #homebanner .ac-banner-feature {
        min-height: 78px;
        font-size: 17px;
        padding: 16px 14px;
    }

    #homebanner .start-button {
        max-width: 100%;
        min-height: 56px;
        margin-top: 22px;
        font-size: 22px;
        padding: 14px 18px;
    }
}