/* Tall section that captures scroll */
.scroll-stack-section {
    position: relative;
    width: 100%;
}

/* Viewport stays fixed on screen while scrolling through the section */
.scroll-stack-viewport {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    padding: 1rem;
    box-sizing: border-box;
}

/* Individual card */
.scroll-stack-card {
    width: calc(100% - 2rem);
    min-height: 280px;
    padding: 2rem 1.5rem;
    margin: 0 auto;
    border-radius: 20px;
    box-sizing: border-box;
    background: rgba(20, 20, 25, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
    will-change: transform, opacity;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    opacity: 0;
    transition: none;
}