.hero {
    position: relative;
    width: 100%;
    min-height: 70vh;
    max-height: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 30px;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.aurora-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    transform: translate(-50%, -50%);
    background:
        radial-gradient(circle at 20% 30%, hsl(226.18deg 100% 50% / 48%), transparent 30%),
        radial-gradient(circle at 80% 70%, hsl(204.47deg 100% 50% / 71%), transparent 35%);
    animation: aurora-flow 20s infinite linear;
    z-index: 8;
}

@keyframes aurora-flow {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.hero-content {
    width: 100%;
    z-index: 10;
    animation: fade-in-up 1s ease forwards;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(53, 53, 53, 0.4);
    backdrop-filter: blur(2px);
    z-index: 5;
    border-radius: 30px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-title {
    font-size: var(--font-size-xl);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.hero-title .word {
    display: inline-block;
    white-space: nowrap;
}

.hero-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    animation: letter-reveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes letter-reveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-subtitle {
    font-size: var(--font-size-md);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    padding: 1rem 2.5rem;
    font-size: var(--font-size-md);
    text-decoration: none;
}

.hero-benefits {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.hero-benefits span {
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-benefits span.visible {
    opacity: 1;
}

.hero-benefits span.typing::after {
    content: '|';
    position: absolute;
    right: -2px;
    top: 0;
    color: var(--color-primary);
    animation: blink 1s infinite;
    opacity: 1;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bento-section {
    padding: 4rem 2rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bento-card {
    background: var(--color-darklight);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition-base);
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.bento-card.card-large {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
}

.card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    color: var(--color-primary);
}

.card-title {
    font-size: var(--font-size-md);
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.card-text {
    color: var(--color-text-secondary);
    font-size: var(--font-size-base);
}

.stat-highlight {
    margin-top: auto;
    padding-top: 1rem;
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--color-primary);
}

.slider-selection-section {
    position: relative;
    min-width: 0;
    width: 100%;
    min-height: 400px;
    display: flex;
    flex-grow: 1;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.slider-selection-wrapper {
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    flex-direction: row;
    transition: transform 0.5s ease-in-out;
}

.slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 1rem;
    flex-shrink: 0;
}

.selection-kass {
    position: relative;
}

.selection-kass img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 35px;
}

.selection-kass button {
    position: absolute;
    bottom: 80px;
    left: 80px;
}

#sliderPrevBtn,
#sliderNextBtn {
    display: none;
    position: absolute;
    width: 48px;
    height: 48px;
    background: #3d3d3dbe;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    align-content: center;
    font-weight: 400;
    font-size: var(--font-size-base);
    font-family: Inter;
    top: 50%;
}

#sliderPrevBtn:hover,
#sliderNextBtn:hover {
    background: #3d3d3dbe;
    color: var(--color-secondary);
    font-weight: 600;
    font-size: var(--font-size-md);
    transition: color .7s ease-in-out;
}

#sliderNextBtn {
    right: 0;
    transform: translateX(-10px), translateY(-50%);
}

#sliderPrevBtn {
    left: 0px;
    transform: translateX(10px), translateY(-50%);
}

#sliderNextBtn::after {
    content: '>';
}

#sliderPrevBtn::after {
    content: '<';
}

.test-selection>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.offer-container {
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    gap: 1rem;
    color: #fff;
    margin-top: 2rem;
}

.offer {
    min-width: 300px;
    min-height: 500px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: 1rem;
    border-radius: 25px;
    background: var(--color-dark);
    box-shadow: inset 0px 0px 15px rgb(224 224 224 / 31%), 0 0 30px rgb(0 0 0);
}

.offers-list {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.contents {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.image {
    width: 128px;
    height: 128px;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 35px;

}

.parametrs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    flex: 1 0 auto;
    font-size: var(--text-size);
}

.variant {
    padding: 8px;
    border-radius: 12px;
    font-size: var(--text-size-additional);
}

.sale {
    display: flex;
    flex-direction: column;
}

.new-price {
    font-size: var(--font-size-xl);
}

.old-price {
    position: relative;
    left: 50px;
    font-size: var(--font-size-lg);
    text-decoration: line-through;
}

.tariffs-section {
    padding: 2rem 1rem;
    width: 100%;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    margin-top: -2.5rem;
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tariff-card {
    background: var(--color-darklight);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
}

.tariff-card.recommended {
    border-color: var(--color-primary);
    transform: scale(1.05);
}

.recommended-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.tariff-level {
    color: var(--color-text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.tariff-name {
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.tariff-description {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.tariff-price {
    font-size: var(--font-size-xl);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.tariff-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.tariff-features li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.8rem;
    color: var(--color-text-secondary);
}

.tariff-features li::before {
    content: '✓';
    color: var(--color-secondary);
    position: absolute;
    left: 0;
}

.tariff-features b {
    color: var(--color-text-primary);
}

.tariff-card .btn-primary,
.tariff-card .btn-primary-outline {
    width: 100%;
}

@keyframes zoomInDown {
    0% {
        opacity: 0;
        transform: scale(0.1) translateY(-200px);
        filter: blur(8px);
    }

    60% {
        opacity: 1;
        transform: scale(1.05) translateY(20px);
        filter: blur(0);
    }

    80% {
        opacity: 1;
        transform: scale(0.98) translateY(-8px);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

.help {
    text-align: center;
}

#protection-hint-icon {
    display: none;
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    background: linear-gradient(45deg, rgb(25, 203, 178) 40%, rgb(23, 207, 130) 60%);
    color: #fff;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: opacity 0.4s;
    opacity: 0;
}

#protection-hint-icon[style*="display: flex"] {
    opacity: 1;
}

#protection-hint-popup {
    display: none;
    position: fixed;
    right: 24px;
    bottom: 90px;
    z-index: 9999;
    background: #fff;
    color: #222;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    padding: 24px 32px;
    max-width: 320px;
    transition: opacity 0.4s;
    opacity: 0;
}

#protection-hint-popup>div {
    font-size: var(--font-size-md);
    margin-bottom: 12px;
}

#protection-hint-popup[style*="display: block"] {
    opacity: 1;
}

#close-protection-hint-popup {
    position: absolute;
    top: 8px;
    right: 12px;
    cursor: pointer;
    font-size: var(--font-size-lg);
}

.register-section {
    position: relative;
    width: 100%;
    height: 600vh;
    overflow: hidden;
}

.scrolly-scene {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    perspective: 1000px;
}

.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    z-index: 1;
}

.register-svg {
    width: 100%;
    height: 100%;
}

.mobile-svg {
    display: none;
}

.desktop-svg {
    display: block;
}

.register {
    width: 100%;
    height: auto;
    display: block;
}

.receipts {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.receipt-mask {
    position: absolute;
    overflow: hidden;
}

.receipt {
    background: url("../../images/register/tape-3n_taD0.png") no-repeat top;
    background-size: 100% 100%;
    color: #222;
    will-change: transform;
    width: 100%;
    height: 100%;
}

.receipt-content {
    padding: 8px;
    font-family: var(--font-accents);
    line-height: 1.4;
    text-align: left;
    color: #222;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow: hidden;
}

.receipt-content h4 {
    /* font-size: var(--font-size-md); */
    text-align: center;
}

.receipt-content ul {
    margin-left: 16px;
    /* font-size: var(--font-size-base); */
}

.stacked-receipts-container {
    position: absolute;
    bottom: 5%;
    right: 5%;
    width: 300px;
    height: 250px;
    z-index: 5;
    pointer-events: none;
}

.receipt-mask.is-stacked {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    pointer-events: all !important;
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bento-card.card-large {
        grid-column: span 2;
    }
}

@media(max-width: 767px) {
    .selection-kass .c-btn-primary-outline {
        position: unset;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card.card-large {
        grid-column: span 1;
    }

    .desktop-svg {
        display: none;
    }

    .mobile-svg {
        display: block;
    }
}

@media(max-width: 480px) {
    .special-offer {
        flex-direction: column;
    }

    .contents {
        flex-direction: column;
    }

    .hero-title {
        font-size: var(--font-size-lg);
    }

    .hero-cta {
        font-size: var(--font-size-base);
        padding: 1rem;
    }

    .stacked-receipts-container {
        position: absolute;
        bottom: 10%;
        right: 5%;
        width: 150px;
        height: 200px;
        z-index: 5;
        pointer-events: none;
    }
}

@media(max-width: 375px) {
    .receipt-content {
        line-height: 1.3;
    }
}