.scroll-stack-scroller {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

.scroll-stack-inner {
    padding: 10vh 2rem 5vh;
    min-height: 100vh;
}

.scroll-stack-card {
    transform-origin: top center;
    will-change: transform, filter;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
    height: 55vh;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 30vh;
    padding: 0;
    border-radius: 30px;
    box-sizing: border-box;
    background: rgba(15, 17, 26, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    display: flex;
    overflow: hidden;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.scroll-stack-card:hover {
    box-shadow: 0 0 40px rgba(108, 92, 231, 0.3), 0 20px 80px rgba(0, 0, 0, 0.8);
    border-color: rgba(108, 92, 231, 0.5);
}

.sponsor-card-layout {
    display: flex;
    width: 100%;
    height: 100%;
}

.sponsor-info {
    flex: 1.2;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.sponsor-visual {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.sponsor-logo-frame {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
}

.scroll-stack-card:hover .sponsor-logo-frame {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--secondary);
    transform: scale(1.05);
}

.scroll-stack-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(108, 92, 231, 0.1), transparent);
    pointer-events: none;
    border-radius: inherit;
}

.scroll-stack-end {
    width: 100%;
    height: 100vh;
}

.sponsor-card-content {
    text-align: center;
    width: 100%;
}

.sponsor-card-tier {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--secondary);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    display: block;
}

.sponsor-card-logo-container {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sponsor-card-logo-container img {
    max-width: 100%;
    max-height: 100%;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
    object-fit: contain;
    border-radius: 10px;
}

.sponsor-card-logo-container i {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.1);
}

.sponsor-card-name {
    font-size: 2.2rem;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #a29bfe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .sponsor-card-layout {
        flex-direction: column-reverse;
    }

    .scroll-stack-card {
        height: auto;
        min-height: 60vh;
    }

    .sponsor-visual {
        flex: none;
        height: 200px;
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* Mouse Scroll Icon */
.mouse-icon {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: var(--secondary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 30px;
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        opacity: 0.4;
        transform: scale(0.98);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0.4;
        transform: scale(0.98);
    }
}

/* Card Counter */
.card-counter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Orbitron', sans-serif;
    font-size: 15rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
    pointer-events: none;
    z-index: 1;
}

/* Side Stack Nav */
.stack-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 1000;
}

.stack-nav-dot {
    width: 10px;
    height: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

.stack-nav-dot.active {
    background: var(--secondary);
    border-color: var(--secondary);
    box-shadow: 0 0 15px var(--secondary);
    height: 25px;
    border-radius: 5px;
}

.dot-label {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 0.7rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.stack-nav-dot:hover .dot-label {
    opacity: 1;
    right: 2.5rem;
}

.stack-nav-dot.active .dot-label {
    opacity: 0.6;
    right: 2.5rem;
}