.block12 {
    padding: 104px 0 100px;
    background: white;
}

@media (max-width: 1023px) {
    .block12 {
        display: none;
    }
}

.block12-card {
    position: relative;
    max-width: 1328px;
    height: 519px;
    margin: 0 auto;
    background: linear-gradient(90deg, #120E16 0%, #040407 50%, #1B1722 100%);
    border-radius: 60px;
    overflow: visible;
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 32px;
}

.block12-left {
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 2;
}

.block12-title {
    width: 667px;
    margin: 0 0 20px 0;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 40px;
    line-height: 40px;
    color: #FFFFFF;
}

.block12-accent {
    background: linear-gradient(90deg, #A5A0F4 0%, #C0B8FC 89.42%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.block12-timer {
    margin: 16px 0 24px 0;
}

.block12-timer .timer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: max-content;
    height: 55px;
    /* из макета */
    padding: 8px 20px;
    gap: 12px;
    background: linear-gradient(273.96deg, #6764E8 11.01%, #3A3882 89.38%);
    border-radius: 20px;
}

.block12-timer .timer-digit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.block12-timer .timer-number {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1;
    color: #fff;
}

.block12-timer .timer-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1;
    color: #E6E6E6;
    margin-top: 4px;
}

.block12-timer .timer-colon {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1;
    color: #fff;
    padding: 0 2px;
    transform: translateY(-2px);
}

.block12-desc {
    width: 641px;
    margin: 35px 0 24px 0;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #FFFFFF;
    opacity: 0.95;
}

.block12-cta {
    display: flex;
    align-items: center;
    margin-top: auto;
    margin-bottom: 10px;
}

.block12-cta .cta-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 20px;
    gap: 10px;
    width: 249px;
    height: 55px;
    background: linear-gradient(273.96deg, #6764E8 11.01%, #3A3882 89.38%);
    border-radius: 20px;
    border: none;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    cursor: pointer;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.block12-right {
    position: relative;
    height: 100%;
}

.block12-phone {
    position: absolute;
    width: 379px;
    height: 557px;
    /* left: 887px; */
    /* top: 66px; */
    background: url("../images/phone.svg") center/cover no-repeat;
    z-index: 3;
    top: -38px;
    /* right: -32px; */

}

.block12-ellipse {
    position: absolute;
    opacity: 0.5;
    filter: blur(58.1794px);
    z-index: 1;
}

.block12-ellipse.e1 {
    width: 220px;
    height: 170px;
    /* left: 993px; */
    top: 75px;
    background: #C4BAFF;
}

.block12-ellipse.e2 {
    width: 434.02px;
    height: 336.28px;
    /* left: 847.69px; */
    top: 264.72px;
    background: #C4BAFF;
}

.block12-ellipse.e3 {
    width: 326.97px;
    height: 267.63px;
    /* left: 787px; */
    top: 179px;
    background: #6764E8;
}

.block12-ellipse.e4 {
    width: 411.91px;
    height: 351.4px;
    /* left: 950.09px; */
    top: 160px;
    background: #6764E8;
}

.block12-float {
    position: absolute;
    width: 300.77px;
    height: 123px;
    left: 444px;
    top: 397px;
    box-sizing: border-box;
    padding: 17.0669px 15.1706px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 9.48px;

    background: linear-gradient(44.87deg,
            rgba(49, 37, 80, 0.8) 8.15%,
            rgba(58, 56, 130, 0.8) 95.73%);
    backdrop-filter: blur(2.42308px);
    border-radius: 16.1187px 16.1187px 0 0;
    border: 0.95px solid;
    border-image-source: linear-gradient(106.28deg, #C4BAFE 9.64%, #6B68E9 95.5%);
    border-image-slice: 1;
    z-index: 4;
    border: 1px solid;
    border-color: rgba(196, 186, 254, 1);
}

.block12-float-timer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 93.02px;
}

.block12-float-colon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 48px;
    line-height: 1;
    color: #FFFFFF;
    padding: 0 2px;
    transform: translateY(-12px);
}

.block12-float-timer .timer-number {
    width: 65px;
    height: 70px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 58.1538px;
    line-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    flex: none;
}

.block12-float-timer .timer-label {
    width: 65px;
    height: 23.02px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 19.3846px;
    line-height: 23px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: #FFFFFF;
    flex: none;
    align-self: stretch;
}

@media (min-width: 1329px) {
    .block12-card {
        margin-left: calc((100% - 1328px)/2);
        margin-right: calc((100% - 1328px)/2);
    }
}

/* --- Block 12 mobile --- */
.block12-mobile {
    display: none;
    background: #FFFFFF;
    /* padding: 24px 0 36px; */
}

.block12-mobile .container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.block12m-card {
    width: 100%;
    margin: 0;
    background: linear-gradient(90deg, #120E16 0%, #040407 50%, #1B1722 100%);
    border-radius: 30px 30px 0 0;
    padding: 24px 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    overflow: hidden;
    position: relative;
}

.block12m-ellipse {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(34.9519px);
    pointer-events: none;
    z-index: 0;
}

.block12m-ellipse-1 {
    width: 132.17px;
    height: 102.13px;
    left: 38%;
    bottom: 180px;
    background: #C4BAFF;
}

.block12m-ellipse-2 {
    width: 260.74px;
    height: 202.02px;
    left: 16%;
    bottom: 40px;
    background: #C4BAFF;
}

.block12m-ellipse-3 {
    width: 196.43px;
    height: 160.78px;
    left: 7%;
    bottom: 120px;
    background: #6764E8;
}

.block12m-ellipse-4 {
    width: 247.46px;
    height: 211.11px;
    left: 32%;
    bottom: 70px;
    background: #6764E8;
}

.block12m-card>*:not(.block12m-ellipse) {
    position: relative;
    z-index: 1;
}

.block12m-title {
    margin: 4px 0 8px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(24px, 6vw, 28px);
    line-height: 40px;
    color: #FFFFFF;
    max-width: 260px;
}

.block12m-accent {
    background: linear-gradient(90deg, #A5A0F4 0%, #C0B8FC 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nowrap {
    white-space: nowrap;
}

.block12m-timer {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 17px 15px;
    gap: 9.5px;
    width: min(292px, 100%);
    margin: 12px auto 10px;
    border-radius: 16px;
    box-sizing: border-box;
    backdrop-filter: blur(2.4px);
    border: 1px solid transparent;
    background: linear-gradient(rgba(58, 56, 130, 1)) padding-box,
        linear-gradient(95.49deg, #C2BFFF 0%, #A6E2FF 100%) border-box;
}

.block12m-digits {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
}

.block12m-pod {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 72px;
}

.block12m-timer .num {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(46px, 11vw, 58.15px);
    line-height: 1;
    color: #FFFFFF;
}

.block12m-timer .lbl {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: clamp(19px, 4vw, 19.3846px);
    line-height: 23px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    margin-top: 6px;
}

.block12m-timer .colon {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(46px, 8vw, 42px);
    line-height: 1;
    color: #FFFFFF;
    transform: translateY(-31px);
}

.block12m-desc {
    color: #EDEDED;
    opacity: 0.92;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 18px;
    margin: 8px 8px;
}

.block12m-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 55px;
    border-radius: 16px;
    border: 0;
    cursor: pointer;
    margin: 6px auto 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    color: #FFFFFF;
    background: linear-gradient(273.96deg, #6764E8 11.01%, #3A3882 89.38%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 249px;
    text-decoration: none;
}

.block12m-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(103, 100, 232, 0.35);
}

.block12m-cta:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(103, 100, 232, 0.25);
}

.block12m-phone {
    /* width: min(320px, 100%); */
    aspect-ratio: 379 / 557;
    background: url(../images/phone.svg) center / contain no-repeat;
    margin: 8px auto 0;
    width: 225.7979736328125px;
    height: 332px;
    bottom: -20px;
}

@media (max-width: 1023px) {
    .block12-desktop {
        display: none;
    }

    .block12-mobile {
        display: block;
    }
}

@media (min-width: 1023px) {
    .block12-mobile {
        display: none;
    }
}
