.hero {
    position: relative;
    overflow: hidden;
    min-height: 72vh;
    border: 1px solid #f4cdd8;
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 248, 252, 0.96), rgba(255, 242, 234, 0.96)),
        repeating-linear-gradient(
            45deg,
            rgba(236, 72, 153, 0.08) 0 8px,
            rgba(244, 114, 182, 0.04) 8px 16px
        );
    padding: 2rem;
    box-shadow:
        inset 0 0 80px rgba(252, 165, 165, 0.18),
        0 16px 30px rgba(244, 114, 182, 0.2);
}

.pixel-sky {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.pixel-cloud {
    position: absolute;
    width: 90px;
    height: 28px;
    border-radius: 6px;
    background: #fff8fd;
    border: 1px solid #fbcfe8;
    opacity: 0.9;
}

.cloud-a {
    top: 12%;
    left: -140px;
    animation: cloud-slide 18s linear infinite;
}

.cloud-b {
    top: 24%;
    left: -200px;
    animation: cloud-slide 24s linear infinite 1.4s;
}

.pixel-moon {
    position: absolute;
    top: 9%;
    right: 8%;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #fcd34d;
    border: 1px solid #f59e0b;
    box-shadow: 0 0 22px rgba(252, 211, 77, 0.8);
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 720px;
}

.danger-tag {
    color: #be185d;
    font-weight: 700;
    letter-spacing: 0.08rem;
}

.hero h1 {
    color: #3f1d3f;
}

.lead-text {
    font-size: 1.1rem;
    color: #5b355b;
}

.cta-block {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.cta-btn {
    box-shadow: 0 8px 14px rgba(251, 191, 36, 0.42);
}

.cta-secondary {
    border-color: #7c2d6d;
    color: #7c2d6d;
    background: rgba(255, 255, 255, 0.65);
}

.cta-secondary:hover,
.cta-secondary:focus {
    background: #7c2d6d;
    color: #fff;
    border-color: #7c2d6d;
}

.hero-decorations {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.deco-flower {
    position: absolute;
    width: 42px;
    height: 42px;
    animation: sway 3.3s ease-in-out infinite;
}

.flower-a {
    top: 16%;
    left: 4%;
}

.flower-b {
    top: 58%;
    left: 11%;
    animation-delay: 0.8s;
}

.flower-c {
    top: 30%;
    right: 13%;
    animation-delay: 1.6s;
}

.flower-core {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 12px;
    height: 12px;
    background: #f59e0b;
    border: 1px solid #b45309;
    border-radius: 4px;
}

.petal {
    position: absolute;
    width: 14px;
    height: 14px;
    background: #f472b6;
    border: 1px solid #be185d;
    border-radius: 5px;
}

.petal-top {
    top: 2px;
    left: 14px;
}

.petal-right {
    top: 14px;
    right: 2px;
}

.petal-bottom {
    bottom: 2px;
    left: 14px;
}

.petal-left {
    top: 14px;
    left: 2px;
}

.deco-gifts {
    position: absolute;
    right: 8%;
    bottom: 4.8rem;
    display: flex;
    gap: 0.35rem;
    animation: gift-bounce 2.8s ease-in-out infinite;
}

.gift {
    position: relative;
    width: 24px;
    height: 24px;
    border: 1px solid #7c2d12;
    border-radius: 3px;
}

.gift-ribbon {
    position: absolute;
    top: 0;
    left: 9px;
    width: 5px;
    height: 100%;
    background: rgba(255, 255, 255, 0.88);
}

.gift-pink {
    background: #f9a8d4;
}

.gift-mint {
    background: #6ee7b7;
}

.gift-gold {
    background: #fcd34d;
}

.deco-car {
    position: absolute;
    left: -180px;
    bottom: 3.1rem;
    width: 112px;
    height: 44px;
    animation: car-drive 20s linear infinite;
}

.car-body {
    position: absolute;
    left: 10px;
    bottom: 10px;
    width: 74px;
    height: 20px;
    background: #60a5fa;
    border: 1px solid #1d4ed8;
    border-radius: 3px;
}

.car-cabin {
    position: absolute;
    left: 66px;
    bottom: 22px;
    width: 24px;
    height: 16px;
    background: #93c5fd;
    border: 1px solid #1d4ed8;
    border-radius: 2px;
}

.car-wheel {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #1f2937;
    border: 1px solid #111827;
    animation: wheel-spin 0.7s linear infinite;
}

.car-wheel-front {
    left: 64px;
    bottom: 2px;
}

.car-wheel-back {
    left: 20px;
    bottom: 2px;
}

.car-gift {
    position: absolute;
    bottom: 30px;
    width: 12px;
    height: 12px;
    border: 1px solid #9d174d;
    border-radius: 2px;
    animation: gift-bounce 1.9s ease-in-out infinite;
}

.car-gift-a {
    left: 24px;
    background: #fda4af;
}

.car-gift-b {
    left: 40px;
    background: #f9a8d4;
    animation-delay: 0.4s;
}

.deco-phone {
    position: absolute;
    left: 2.6rem;
    bottom: 4.6rem;
    width: 74px;
    height: 40px;
    animation: phone-ring 2.2s ease-in-out infinite;
}

.phone-base {
    position: absolute;
    left: 6px;
    bottom: 2px;
    width: 60px;
    height: 20px;
    background: #fda4af;
    border: 1px solid #9d174d;
    border-radius: 4px;
}

.phone-handle {
    position: absolute;
    left: 10px;
    bottom: 20px;
    width: 52px;
    height: 14px;
    background: #fb7185;
    border: 1px solid #9d174d;
    border-radius: 9px;
}

.ring-wave {
    position: absolute;
    border: 1px solid rgba(190, 24, 93, 0.55);
    border-radius: 50%;
    animation: ring-wave 1.6s ease-out infinite;
}

.ring-wave-a {
    width: 18px;
    height: 18px;
    left: -3px;
    top: 8px;
}

.ring-wave-b {
    width: 18px;
    height: 18px;
    right: -3px;
    top: 8px;
    animation-delay: 0.8s;
}

.scene {
    position: absolute;
    bottom: 0.8rem;
    right: 1rem;
    display: grid;
    grid-template-columns: repeat(2, 62px);
    gap: 0.6rem;
}

.block {
    width: 62px;
    height: 62px;
    border: 2px solid rgba(76, 29, 149, 0.6);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.block-redstone {
    background: #ef4444;
}

.block-fire {
    background: #f97316;
    animation: pulse 1.2s ease-in-out infinite;
}

.block-flower {
    background: #f472b6;
}

.block-beacon {
    background: #22d3ee;
    animation: pulse 1.6s ease-in-out infinite;
}

@keyframes cloud-slide {
    from { transform: translateX(0); }
    to { transform: translateX(120vw); }
}

@keyframes sway {
    0%, 100% { transform: rotate(-4deg) translateY(0); }
    50% { transform: rotate(4deg) translateY(-3px); }
}

@keyframes gift-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes car-drive {
    from { transform: translateX(0); }
    to { transform: translateX(calc(100vw + 280px)); }
}

@keyframes wheel-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes phone-ring {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(-4deg); }
    40% { transform: rotate(4deg); }
    60% { transform: rotate(-3deg); }
    80% { transform: rotate(3deg); }
}

@keyframes ring-wave {
    0% {
        transform: scale(0.7);
        opacity: 0.65;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@media (max-width: 767.98px) {
    .hero {
        min-height: 60vh;
        padding: 1.25rem;
        border-radius: 16px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .lead-text {
        font-size: 1rem;
    }

    .cta-block {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-block .btn {
        width: 100%;
    }

    .scene {
        right: 0.8rem;
        bottom: 0.7rem;
        gap: 0.4rem;
        opacity: 0.9;
    }

    .block {
        width: 44px;
        height: 44px;
    }

    .deco-phone {
        left: 1.1rem;
        bottom: 4.3rem;
        transform: scale(0.86);
    }

    .deco-gifts {
        right: 7%;
        bottom: 3.8rem;
    }

    .deco-car {
        bottom: 2.4rem;
        transform: scale(0.9);
    }

    .pixel-moon {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 575.98px) {
    .hero {
        min-height: 56vh;
        padding: 1rem;
        box-shadow:
            inset 0 0 56px rgba(252, 165, 165, 0.16),
            0 8px 18px rgba(244, 114, 182, 0.18);
    }

    .danger-tag {
        font-size: 0.78rem;
        letter-spacing: 0.06rem;
    }

    .hero h1 {
        font-size: 1.55rem;
    }

    .lead-text {
        font-size: 0.96rem;
    }

    .scene {
        display: none;
    }

    .deco-car,
    .flower-c {
        display: none;
    }

    .deco-phone {
        left: 0.65rem;
        bottom: 1.2rem;
        transform: scale(0.76);
    }

    .deco-gifts {
        right: 1rem;
        bottom: 1.15rem;
    }

    .pixel-cloud {
        width: 66px;
        height: 22px;
        opacity: 0.8;
    }

    .pixel-moon {
        width: 30px;
        height: 30px;
        top: 8%;
        right: 7%;
    }
}
