.app-container {
    width: 100%;
    max-width: 720px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 30px 50px rgba(0, 30, 0, 0.3);
    border: 1px solid rgba(100, 160, 100, 0.6);
    color: #2e3b2e;
    position: relative;
}
.home-screen, .game-screen, .select-screen, .level-screen {
    display: none;
}
.home-screen.active, .game-screen.active, .select-screen.active, .level-screen.active {
    display: block;
}
.home-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.equipment-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.back-btn-top-left {
    position: absolute;
    top: 5px;
    left: 10px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #81c784;
    color: #2e7d32;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
}
.mode-select {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 15px;
    flex-wrap: wrap;
}
.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e8f5e9;
    border-radius: 40px;
    padding: 8px 15px;
    margin-bottom: 10px;
    border: 1px solid #81c784;
    flex-wrap: wrap;
    gap: 6px;
}
.timer {
    font-size: 1.6rem;
    font-weight: 800;
    color: #2e7d32;
}
.tools {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 8px 0;
}
.game-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}
.level-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
}
.level-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-height: 60vh;
    overflow-y: auto;
    padding: 6px;
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    align-items: center;
}