* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: #121212;
    color: #e0e0e0;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    width: 100%;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

h1 {
    font-size: 1.8rem;
    margin: 0;
}

.language-selector select {
    background: #2a2a2a;
    color: #fff;
    border: 1px solid #555;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 1rem;
}

.game-area {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.jugs-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 30px;
}

.jug-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s, filter 0.2s;
    flex: 1 1 0; /* will be overridden by inline style */
}

.jug-wrapper:hover {
    transform: translateY(-5px);
}

.jug-wrapper.selected {
    filter: drop-shadow(0 0 12px #00aaff);
}

.jug-wrapper svg {
    width: 100%;
    height: auto;
    max-height: 250px;
}

.jug-label {
    font-size: 18px;
    fill: #aaa;
    font-weight: bold;
}

.jug-content {
    font-size: 16px;
    fill: #ccc;
}

.water {
    fill: #1e90ff;
    transition: height 0.4s ease, y 0.4s ease;
}

.info-panel {
    text-align: center;
    background: #1e1e1e;
    padding: 20px 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 420px;
}

.info-panel p {
    margin: 8px 0;
    font-size: 1.1rem;
}

.info-panel #message {
    font-weight: bold;
    min-height: 2rem;
    color: #ffaa66;
}

button {
    background: #2a6f97;
    border: none;
    color: white;
    padding: 10px 30px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

button:hover {
    background: #1e4e6f;
}