.pfc-flashcard-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.pfc-card-wrapper {
    perspective: 1000px;
    margin-bottom: 30px;
}

.pfc-card {
    position: relative;
    width: 100%;
    height: 400px;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

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

.pfc-card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.pfc-card-front {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.pfc-card-back {
    background: white;
    color: #333;
    transform: rotateY(180deg);
    border: 2px solid #e5e5e5;
}

.pfc-card-content {
    text-align: center;
    font-size: 20px;
    line-height: 1.6;
    font-weight: 400;
}

.pfc-card-front .pfc-card-content {
    font-weight: 500;
}

.pfc-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.pfc-btn {
    padding: 12px 24px;
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.pfc-btn:hover:not(:disabled) {
    background: #f5f5f5;
    border-color: #d0d0d0;
    transform: translateY(-1px);
}

.pfc-btn:active:not(:disabled) {
    transform: translateY(0);
}

.pfc-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pfc-counter {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

@media (max-width: 768px) {
    .pfc-flashcard-container {
        padding: 15px;
    }
    
    .pfc-card {
        height: 300px;
    }
    
    .pfc-card-face {
        padding: 30px 20px;
    }
    
    .pfc-card-content {
        font-size: 18px;
    }
    
    .pfc-controls {
        gap: 15px;
    }
    
    .pfc-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}