.rozygrysh-page {
    padding: 80px 0 160px;
}

.rozygrysh-banner {
    position: relative;
    padding-top: 50px;
    display: flex;
    justify-content: center;
    background-color: #F5F6FB;
}

.rozygrysh-banner img{
    border-radius: 12px;
}

.rozygrysh-banner-mobile {
    display: none;
}

.rozygrysh-banner-mobile img {
    width: 100%;
    height: auto;
    display: block;
}
.rozygrysh-banner__button {
    position: absolute;
    top: 78%;
    left: 27%;
    transform: translate(-50%, -50%);
    border-radius: 32px;
    padding: 29px 100px;
    width: 504px;
    height: 115px;
    background: linear-gradient(90deg, #3f78b4 0%, #67a8dd 100%);
    font-family: "Unbounded", sans-serif;
    font-weight: 600;
    font-size: 64px;
    line-height: 140%;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    text-decoration: none;
    z-index: 2;
}

.rozygrysh-section {
    padding: 120px 0;
}

.rozygrysh-section h2 {
    font-size: 26px;
    margin-bottom: 60px;
}

.rozygrysh-rules-floating {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9000;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
    padding: 10px 14px;
    max-width: 260px;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.rozygrysh-rules-floating__title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.rozygrysh-rules-floating__text {
    font-size: 13px;
    line-height: 1.4;
    color: #2F80ED;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .rozygrysh-rules-floating {
        right: 10px;
        bottom: 10px;
    }
}

.rozygrysh-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.rozygrysh-modal-overlay.rozygrysh-modal-open {
    display: flex;
}

.rozygrysh-modal {
    background: #ffffff;
    max-width: 820px;
    width: calc(100% - 40px);
    max-height: 80vh;
    border-radius: 8px;
    padding: 20px 24px 18px;
    position: relative;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
    overflow-y: auto;
}

.rozygrysh-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.rozygrysh-modal-content {
    padding-right: 0;
}

.rozygrysh-modal-content h2 {
    font-size: 18px;
    margin-bottom: 12px;
}

.rozygrysh-modal-content h3 {
    font-size: 15px;
    margin-top: 14px;
    margin-bottom: 8px;
}

.rozygrysh-modal-content h4 {
    font-size: 13px;
    margin-top: 10px;
    margin-bottom: 6px;
}

.rozygrysh-modal-content p {
    margin-bottom: 6px;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .rozygrysh-modal {
        max-width: 100%;
        margin: 0 10px;
        padding: 18px 14px 14px;
    }
}

.rozygrysh-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    padding: 96px 0 48px;
}

.rozygrysh-hero__text h1 {
    font-size: 30px;
    margin-bottom: 14px;
}

.rozygrysh-hero__subtitle {
    font-size: 15px;
    max-width: 520px;
    margin-bottom: 28px;
}

.rozygrysh-hero__prizes {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.rozygrysh-hero__prizes li {
    margin-bottom: 4px;
}

.rozygrysh-hero__visual {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 32px;
}

.rozygrysh-prize-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 20px 20px;
    min-width: 240px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.rozygrysh-prize-card_main {
    background: #2F80ED;
    color: #ffffff;
}

.rozygrysh-prize-card__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.rozygrysh-prize-card__name {
    font-size: 15px;
    font-weight: 600;
}

.rozygrysh-prize-card__desc {
    font-size: 13px;
    margin-top: 4px;
}

.rozygrysh-prize-card-group {
    display: flex;
    gap: 10px;
}

.rozygrysh-section_steps {
    background: #f5f7fb;
}

.rozygrysh-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px;
}

.rozygrysh-step {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 16px 18px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.rozygrysh-step.rozygrysh-animated {
    opacity: 1;
    transform: translateY(0);
}

.rozygrysh-step__number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2F80ED;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-bottom: 8px;
}

.rozygrysh-step__title {
    font-weight: 600;
    margin-bottom: 6px;
}

.rozygrysh-step__text {
    font-size: 14px;
    line-height: 1.45;
}

.rozygrysh-section_conditions {
    background: #ffffff;
}

.rozygrysh-conditions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    margin-bottom: 40px;
}

.rozygrysh-condition {
    border-radius: 12px;
    padding: 16px 16px 18px;
    border: 1px solid #e2e7f2;
    background: #fafbfe;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.rozygrysh-condition.rozygrysh-animated {
    opacity: 1;
    transform: translateY(0);
}

.rozygrysh-condition__title {
    font-weight: 600;
    margin-bottom: 6px;
}

.rozygrysh-condition__text {
    font-size: 14px;
}

.rozygrysh-note {
    font-size: 13px;
    color: #6c788a;
    margin-top: 4px;
}

.rozygrysh-section_prizes {
    background: #f5f7fb;
}

.rozygrysh-prizes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
}

.rozygrysh-prize-tile {
    border-radius: 12px;
    padding: 18px 16px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.rozygrysh-prize-tile.rozygrysh-animated {
    opacity: 1;
    transform: translateY(0);
}

.rozygrysh-prize-tile_main {
    background: #2F80ED;
    color: #ffffff;
}

.rozygrysh-prize-tile__place {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.rozygrysh-prize-tile__name {
    font-size: 16px;
    font-weight: 600;
}

.rozygrysh-section_examples {
    background: #ffffff;
}

.rozygrysh-examples {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    margin-bottom: 40px;
}

.rozygrysh-example {
    border-radius: 12px;
    padding: 14px 16px 16px;
    border: 1px solid #dde3f1;
    text-align: center;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.rozygrysh-example.rozygrysh-animated {
    opacity: 1;
    transform: translateY(0);
}

.rozygrysh-example__sum {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.rozygrysh-example__text {
    font-size: 14px;
}

.rozygrysh-section_process {
    background: #f5f7fb;
}

.rozygrysh-process {
    padding-left: 18px;
    margin: 0 0 6px;
}

.rozygrysh-process li {
    margin-bottom: 6px;
}

.rozygrysh-section_faq {
    background: #ffffff;
}

.rozygrysh-faq {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 64px;
}

.rozygrysh-faq-item__question {
    font-weight: 600;
    margin-bottom: 4px;
}

.rozygrysh-faq-item__answer {
    font-size: 14px;
}

.rozygrysh-faq-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.rozygrysh-faq-item.rozygrysh-animated {
    opacity: 1;
    transform: translateY(0);
}

.rozygrysh-section_cta {
    background: #2F80ED;
    color: #ffffff;
    padding: 120px 0;
}

.rozygrysh-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 40px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.rozygrysh-cta__text h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.rozygrysh-cta__text p {
    margin: 0;
}

@media (max-width: 1023px) {
    .rozygrysh-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .rozygrysh-hero__visual {
        align-items: flex-start;
    }

    .rozygrysh-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px;
    }

    .rozygrysh-conditions,
    .rozygrysh-prizes-grid,
    .rozygrysh-examples,
    .rozygrysh-faq {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px;
    }

    .rozygrysh-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .rozygrysh-page {
        padding-top: 80px;
    }

    .rozygrysh-banner {
        display: none;
    }

    .rozygrysh-banner-mobile {
        display: block;
        background-color: #F5F6FB;
    }

    .rozygrysh-section {
        padding: 80px 0;
    }

    .rozygrysh-section h2 {
        font-size: 20px;
    }

    .rozygrysh-hero {
        padding-top: 48px;
        gap: 48px;
    }

    .rozygrysh-hero__text h1 {
        font-size: 22px;
    }

    .rozygrysh-prize-card-group {
        flex-direction: column;
    }

    .rozygrysh-steps,
    .rozygrysh-conditions,
    .rozygrysh-prizes-grid,
    .rozygrysh-examples,
    .rozygrysh-faq {
        grid-template-columns: 1fr;
    }
}

