body {
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
    margin: 0px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 25px;
}

h1 {
    text-align: center;
    color: #231757;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

/* Блок с предметами для путешествия */
.items-pool {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.item {
    padding: 12px;
    background: rgb(137, 248, 224);
    border-radius: 8px;
    cursor: grab;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    color: #231757;
}

.item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.15);
}

.item[data-required]:not(.packed) {
    animation: shake 0.5s infinite;
    border-color: #e74c3c;
}

.item.dragging {
    opacity: 1;
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    background: #f1c40f;
}

.suitcase-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.suitcase {
    width: 250px;
    height: 180px;
    background: #ecf0f1;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
    border: 3px dashed #bdc3c7;
    transition: all 0.3s ease;
}

.suitcase.hovered {
    border-color: #3498db;
    background: rgba(52, 152, 219, 0.1);
}

.suitcase-icon {
    font-size: 60px;
    margin-bottom: 10px;
}

.progress-bar {
    width: 80%;
    height: 10px;
    background: #bdc3c7;
    border-radius: 5px;
    margin-top: 15px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2ecc71, #27ae60);
    transition: width 0.5s ease;
}

.items-counter {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #3498db;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.status-message {
    margin-top: 20px;
    padding: 10px 20px;
    background: #5169ee;
    color: white;
    border-radius: 20px;
    text-align: center;
    min-width: 200px;
    transition: all 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-5px); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(-5px); }
    80% { transform: translateX(5px); }
}

@keyframes dropIn {
    0% { transform: translateY(-15px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.packed-item {
    position: absolute;
    animation: dropIn 0.3s ease-out forwards;
}