* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 
   1990s-Inspired Color Palette & Elements:
   - Bright pastels, bold neon-ish combos, and playful shapes
   - Teal, pink, yellow, purple are common
   - Wacky geometric patterns (zig-zags, squiggles, confetti)
*/

/* Body */
body {
    font-family: 'Inter', -apple-system, sans-serif;
    /* A playful pastel teal background for the 90s */
    background: #C2FFF9;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3B3B3B;
    line-height: 1.4;
    /* Optional: Add a repeating "confetti" or "squiggle" pattern overlay:
       background-image: url('path-to-90s-pattern.png');
       background-repeat: repeat;
    */
}

/* Floating Hearts */
.hearts-container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.heart {
    position: absolute;
    width: 20px;
    height: 20px;
    /* Use a bright, 90s gradient for hearts */
    background: linear-gradient(45deg, #FD8BE4, #8BFFDD);
    opacity: 0.7;
    animation: floatingHeart 15s ease-in-out infinite;
    transform: scale(0.8) rotate(45deg);
    /* Add a fun drop shadow for dimension */
    box-shadow: 0 0 6px rgba(253, 139, 228, 0.4);
}

.heart:before,
.heart:after {
    content: '';
    width: 20px;
    height: 20px;
    background: inherit;
    border-radius: 50%;
    position: absolute;
}

.heart:before {
    left: -10px;
}

.heart:after {
    top: -10px;
}

@keyframes floatingHeart {
    0% {
        transform: scale(0.8) rotate(45deg) translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    50% {
        transform: scale(0.8) rotate(60deg) translate(100px, 100px);
    }
    75% {
        transform: scale(0.8) rotate(30deg) translate(-50px, 150px);
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: scale(0.8) rotate(45deg) translate(0, 300px);
        opacity: 0;
    }
}

@keyframes floatingHeartTopDown {
    0% {
        transform: scale(0.8) rotate(45deg) translate(0, -300px);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    50% {
        transform: scale(0.8) rotate(60deg) translate(100px, 0);
    }
    75% {
        transform: scale(0.8) rotate(30deg) translate(-50px, 150px);
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: scale(0.8) rotate(45deg) translate(0, 300px);
        opacity: 0;
    }
}

/* Wrapper */
.wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.center {
    background: #FFF7E0; /* A light pastel “banana” shade */
    border-radius: 20px;
    position: relative;
    /* 90s style "pop" shadow */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.content-block {
    display: flex;
    min-height: 600px;
    position: relative;
}

/* Shapes styling */
.shapes-block {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

.shape {
    width: 150px;
    height: 150px;
    /* A super colorful gradient reminiscent of 90s */
    background: linear-gradient(135deg, #FF9DEA, #FFFC65);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    /* Could optionally swap the shape for squares, triangles, etc. */
}

.shape-item-1 { top: -50px; left: -50px; }
.shape-item-2 { top: 20%; right: -30px; }
.shape-item-3 { bottom: -30px; left: 20%; }
.shape-item-4 { top: 40%; left: -20px; }
.shape-item-5 { bottom: -40px; right: 10%; }
.shape-item-6 { top: 10%; left: 40%; }

/* Step styling */
.step-block {
    flex: 1;
    padding: 50px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-item {
    display: none;
    text-align: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
}

.step-item.visible {
    display: block;
    animation: fadeInStep 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-header {
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 700;
    color: #D45AFF; /* Vibrant purple shade */
    letter-spacing: -0.5px;
    /* Optional 90s style text-shadow or outline effect */
    text-shadow: 1px 1px 0px #fff;
}

.step-header span {
    display: block;
    line-height: 1.3;
}

.step-inner {
    margin-bottom: 30px;
    color: #3B3B3B;
    font-size: 16px;
}

/* Buttons styling */
.buttons-block {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.step-btn {
    padding: 14px 45px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    letter-spacing: 0.3px;
    user-select: none;
}

/* Yes Button */
.yes-btn {
    background: linear-gradient(45deg, #FF78A5, #FFB86C);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 2px 10px rgba(255, 120, 165, 0.3);
}

.yes-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 120, 165, 0.3);
}

/* No Button */
.no-btn {
    background: rgba(59, 59, 59, 0.05);
    color: #3B3B3B;
    border: 1px solid rgba(59, 59, 59, 0.15);
}

.no-btn:hover {
    background: rgba(59, 59, 59, 0.1);
    transform: translateY(-2px);
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(45deg, #FF78A5, #FFB86C);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 2px 10px rgba(255, 120, 165, 0.3);
}

/* Checkbox styling */
.checkbox-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.checkbox-item {
    padding: 16px;
    border: 1px solid rgba(59, 59, 59, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(59, 59, 59, 0.03);
    color: #3B3B3B;
}

.checkbox-item:hover {
    background: rgba(59, 59, 59, 0.06);
    border-color: rgba(212, 90, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(212, 90, 255, 0.2);
}

.checkbox-item.selected {
    animation: selectOption 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(212, 90, 255, 0.2);
    border-color: #D45AFF;
    color: #D45AFF;
}

@keyframes selectOption {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.question-notice {
    color: #3B3B3B;
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* Slider styling */
.slider-block {
    width: 45%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.slider-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.slider-item.active {
    opacity: 1;
    z-index: 1;
}

/* Responsive design */
@media (max-width: 768px) {
    .content-block {
        flex-direction: column;
    }
    
    .slider-block {
        width: 100%;
        aspect-ratio: 1/1;
        height: auto;
        max-width: 400px;
        margin: 0 auto;
        order: -1;
        background: transparent;
    }
    
    .slider-item {
        width: 85%;
        height: 85%;
    }
    
    .step-block {
        padding: 30px 20px;
    }
    
    .step-header {
        font-size: 24px;
    }
    
    .buttons-block {
        flex-direction: column;
        gap: 10px;
    }
    
    .step-btn {
        width: 100%;
        padding: 12px 20px;
    }
    
    .checkbox-block {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Preload optimization */
.preload {
    opacity: 0;
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

/* Print styles */
@media print {
    .wrapper {
        padding: 0;
    }
    
    .slider-block {
        display: none;
    }
    
    .step-block {
        padding: 20px;
    }
    
    .step-item {
        display: block;
        page-break-inside: avoid;
    }
}
