/* Busfahren Game Styles */
.bus-pyramid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.pyramid-row {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.bus-card {
    width: 60px;
    height: 85px;
    background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    user-select: none;
}

.bus-card.hidden-card {
    background: repeating-linear-gradient(45deg, #1f2937, #1f2937 4px, #111827 4px, #111827 8px);
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.1);
}

.bus-card .card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-radius: 8px;
}

.bus-card .card-back {
    background: repeating-linear-gradient(45deg, #1f2937, #1f2937 4px, #111827 4px, #111827 8px);
    border: 2px solid rgba(255,255,255,0.1);
}

.bus-card .card-front {
    background: white;
    transform: rotateY(180deg);
}

.bus-card.is-flipped {
    transform: rotateY(180deg);
}

.card-value {
    font-weight: 800;
    font-size: 1.2rem;
}

.card-suit {
    font-size: 1.5rem;
}

.card-top-left {
    position: absolute;
    top: 2px;
    left: 4px;
    font-size: 0.7rem;
    line-height: 1;
}

.card-bottom-right {
    position: absolute;
    bottom: 2px;
    right: 4px;
    font-size: 0.7rem;
    line-height: 1;
    transform: rotate(180deg);
}

/* Phase Transitions */
.game-phase {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.game-phase.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Specific UI Elements */
.question-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.bus-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.penalty-counter {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    display: inline-block;
}
