* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Sans MS', 'Arial', cursive;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    background: #FFD700;
    border: 5px solid #FF6B6B;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 0 #C44569;
    text-align: center;
}

h1 {
    color: #FF1744;
    font-size: 2.5em;
    text-shadow: 3px 3px 0 #000;
    margin-bottom: 15px;
}

.score-board {
    display: flex;
    justify-content: center;
    gap: 40px;
    font-size: 1.3em;
    font-weight: bold;
    color: #2C3E50;
    margin-bottom: 15px;
}

.btn-control {
    background: #4ECDC4;
    color: white;
    border: 3px solid #1A535C;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 4px 0 #1A535C;
    transition: all 0.1s;
}

.btn-control:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #1A535C;
}

.btn-control:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #1A535C;
}

.game-area {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    margin-bottom: 20px;
}

.zone-verbes {
    background: #FFF3CD;
    border: 5px solid #FFB300;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 6px 0 #E65100;
}

.zone-verbes h2 {
    color: #D84315;
    margin-bottom: 15px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}

.verbes-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 200px;
}

.carte-verbe {
    background: #FF6B6B;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    border: 3px solid #C44569;
    font-size: 1.2em;
    font-weight: bold;
    cursor: move;
    box-shadow: 0 4px 0 #8B2E52;
    transition: all 0.2s;
    user-select: none;
}

.carte-verbe:hover {
    transform: scale(1.05) rotate(-2deg);
}

.carte-verbe.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
}

.zone-paniers {
    background: #E8F5E9;
    border: 5px solid #4CAF50;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 6px 0 #2E7D32;
}

.zone-paniers h2 {
    color: #1B5E20;
    margin-bottom: 15px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}

.paniers-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.panier:nth-child(4),
.panier:nth-child(5) {
    grid-column: span 1;
}

.panier:nth-child(4) {
    grid-column: 1 / 2;
}

.panier:nth-child(5) {
    grid-column: 2 / 3;
}

.panier {
    background: white;
    border: 4px solid #9C27B0;
    border-radius: 12px;
    padding: 15px;
    min-height: 150px;
    box-shadow: 0 4px 0 #6A1B9A;
}

.panier h3 {
    color: #4A148C;
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.3em;
    text-transform: uppercase;
}

.panier-drop-zone {
    min-height: 100px;
    border: 3px dashed #9C27B0;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-content: flex-start;
}

.panier-drop-zone.drag-over {
    background: #E1BEE7;
    border-color: #4A148C;
}

.carte-verbe-deposee {
    background: #66BB6A;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    border: 2px solid #2E7D32;
    font-size: 1em;
    font-weight: bold;
    box-shadow: 0 2px 0 #1B5E20;
}

.carte-verbe-erreur {
    background: #EF5350;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.feedback {
    background: #FFC107;
    border: 4px solid #F57C00;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    color: #E65100;
    min-height: 60px;
    box-shadow: 0 4px 0 #BF360C;
    display: none;
}

.feedback.show {
    display: block;
    animation: bounce 0.5s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.btn-primary {
    background: #4CAF50;
    color: white;
    border: 4px solid #2E7D32;
    padding: 15px 40px;
    font-size: 1.3em;
    border-radius: 15px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 6px 0 #1B5E20;
    display: block;
    margin: 0 auto;
    transition: all 0.1s;
}

.btn-primary:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #1B5E20;
}

.btn-primary:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #1B5E20;
}

.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .game-area {
        grid-template-columns: 1fr;
    }
    
    .paniers-container {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 1.8em;
    }
}
