.tarot-widget-wrapper-dff91d3c {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.tarot-card-title-dff91d3c {
    text-align: center;
    margin: 10px 0;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Perspective setup for 3D card flip */
.tarot-card-container-dff91d3c {
    perspective: 1200px;
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: all 0.3s ease;
}

.tarot-card-inner-dff91d3c {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.tarot-card-face-dff91d3c {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background-position: center;
    background-repeat: no-repeat;
    box-sizing: border-box;
}

.tarot-card-back-dff91d3c {
    z-index: 2;
    transform: rotateY(0deg);
    background-size: contain;
}

.tarot-card-front-dff91d3c {
    transform: rotateY(180deg);
    background-size: contain;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

/* Overlay style if title is positioned "on card front" */
.tarot-card-front-overlay-dff91d3c {
    width: 100%;
    background: rgba(0,0,0,0.6);
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tarot-card-front-overlay-dff91d3c .tarot-card-title-dff91d3c {
    color: #ffffff;
    margin: 0;
}

/* --- FLIP EFFECTS --- */

/* 1. Classic Y-Axis Flip (default) */
.tarot-card-container-dff91d3c.effect-flip-y.flipped-dff91d3c .tarot-card-inner-dff91d3c {
    transform: rotateY(180deg);
}

/* 2. X-Axis Flip */
.tarot-card-container-dff91d3c.effect-flip-x .tarot-card-front-dff91d3c {
    transform: rotateX(180deg);
}
.tarot-card-container-dff91d3c.effect-flip-x.flipped-dff91d3c .tarot-card-inner-dff91d3c {
    transform: rotateX(180deg);
}

/* 3. Diagonal Spin */
.tarot-card-container-dff91d3c.effect-diagonal .tarot-card-front-dff91d3c {
    transform: rotate3d(1, 1, 0, 180deg);
}
.tarot-card-container-dff91d3c.effect-diagonal.flipped-dff91d3c .tarot-card-inner-dff91d3c {
    transform: rotate3d(1, 1, 0, 180deg);
}

/* 4. Zoom & Flip */
.tarot-card-container-dff91d3c.effect-zoom-flip.flipped-dff91d3c .tarot-card-inner-dff91d3c {
    transform: scale(0.85) rotateY(180deg);
}

/* 5. Fade & Slide */
.tarot-card-container-dff91d3c.effect-fade-slide .tarot-card-inner-dff91d3c {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
}
.tarot-card-container-dff91d3c.effect-fade-slide.flipped-dff91d3c .tarot-card-inner-dff91d3c {
    transform: translateY(-20px) rotateY(180deg);
}

/* 6. Mystischer Doppel-Wirbel (360° Spin + Flip) */
.tarot-card-container-dff91d3c.effect-super-spin.flipped-dff91d3c .tarot-card-inner-dff91d3c {
    transform: rotateY(540deg) rotateZ(360deg);
}

/* 7. Tornado-Umdrehung */
.tarot-card-container-dff91d3c.effect-tornado.flipped-dff91d3c .tarot-card-inner-dff91d3c {
    transform: rotateY(900deg) scale(0.3) translateY(-100px);
    opacity: 0;
    animation: tarotTornadoReturn_dff91d3c 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes tarotTornadoReturn_dff91d3c {
    0% { transform: rotateY(0deg) scale(0.3) translateY(-100px); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: rotateY(180deg) scale(1) translateY(0); opacity: 1; }
}


/* --- HOVER EFFECTS --- */

/* 1. Schwebend (Floating) */
@keyframes tarotFloat_dff91d3c {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.hover-float-dff91d3c:hover .tarot-card-container-dff91d3c {
    animation: tarotFloat_dff91d3c 2.5s ease-in-out infinite;
}

/* 2. Vergrößern (Scale) */
.hover-scale-dff91d3c .tarot-card-container-dff91d3c {
    transition: transform 0.3s ease;
}
.hover-scale-dff91d3c:hover .tarot-card-container-dff91d3c {
    transform: scale(1.06);
}

/* 3. Magisches Leuchten (Glow) */
.hover-glow-dff91d3c .tarot-card-inner-dff91d3c {
    transition: filter 0.3s ease, box-shadow 0.3s ease;
}
.hover-glow-dff91d3c:hover .tarot-card-inner-dff91d3c {
    filter: drop-shadow(0 0 15px rgba(230, 185, 55, 0.8));
}

/* 4. Bunter Regenbogen Aura-Glow */
@keyframes auraPulse_dff91d3c {
    0% { filter: drop-shadow(0 0 12px #ff007f) drop-shadow(0 0 20px #7f00ff); }
    33% { filter: drop-shadow(0 0 12px #00f0ff) drop-shadow(0 0 20px #00ff66); }
    66% { filter: drop-shadow(0 0 12px #ffea00) drop-shadow(0 0 20px #ff5100); }
    100% { filter: drop-shadow(0 0 12px #ff007f) drop-shadow(0 0 20px #7f00ff); }
}
.hover-color_glow-dff91d3c .tarot-card-inner-dff91d3c {
    transition: filter 0.4s ease;
}
.hover-color_glow-dff91d3c:hover .tarot-card-inner-dff91d3c {
    animation: auraPulse_dff91d3c 3s linear infinite;
}

/* 5. Neigen (Tilt) */
.hover-tilt-dff91d3c .tarot-card-container-dff91d3c {
    transition: transform 0.3s ease;
}
.hover-tilt-dff91d3c:hover .tarot-card-container-dff91d3c {
    transform: rotate(4deg) scale(1.02);
}


/* --- DAUERSPIN (WAGENRAD / WHEEL OF FORTUNE) --- */
@keyframes wheelSpinAnim_dff91d3c {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tarot-card-container-dff91d3c.wheel-spin-active {
    animation: wheelSpinAnim_dff91d3c 12s linear infinite;
}

/* Accelerate Dauerspin on Hover */
.hover-accelerate-dff91d3c:hover .tarot-card-container-dff91d3c.wheel-spin-active {
    animation-duration: 2.5s !important;
}
/* Kein Markieren beim Doppelklick (Titel + Karte) */
.tarot-widget-wrapper-dff91d3c,
.tarot-widget-wrapper-dff91d3c * {
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
