:root {
    --brand-primary: #007bff;
    --surface-bg: #fff;
}

body,
html {
    font-family: arial;
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    width: 100%;
    background: transparent;
}

#outercontainer {
    background: transparent;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 9999998;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes hintSwipe {
    0%,
    100% {
        transform: translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateX(15px) rotate(2deg);
    }
    75% {
        transform: translateX(-15px) rotate(-2deg);
    }
}

.hint-animation {
    animation: hintSwipe 2s infinite ease-in-out;
}

.swipe-card {
    width: 300px;
    height: 450px;
    background: var(--surface-bg);
    position: absolute;
    display: none;
    flex-direction: column;
    overflow: hidden;
    will-change: transform, opacity;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    touch-action: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.swipe-card.active {
    display: flex;
    opacity: 1;
    z-index: 2;
    cursor: grab;
    user-select: none;
    transform: translateX(0px) rotate(0deg);
    pointer-events: auto;
}

.swipe-card.dragging {
    cursor: grabbing;
    transition: none;
}

.ad-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

.swipe-card.active .ad-image {
    pointer-events: auto;
    cursor: pointer;
}